Skip to content

Commit

Permalink
fix: ClientOptions not applied
Browse files Browse the repository at this point in the history
I'm so dumb.

Signed-off-by: Christopher Angelo <[email protected]>
  • Loading branch information
angeloanan committed Jun 4, 2020
1 parent 5102ed5 commit d54d0d1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import Discord from 'discord.js'
import { clientOpts } from './config'
require('dotenv').config()

const bot = new Discord.Client()
const bot = new Discord.Client(clientOpts)

bot.on('message', async (message) => {
if (message.author.bot) return // Bot user
Expand Down

0 comments on commit d54d0d1

Please sign in to comment.