From d54d0d15345a1aac7660a1c645d4d79b5992d897 Mon Sep 17 00:00:00 2001 From: Christopher Angelo Date: Thu, 4 Jun 2020 21:32:47 +0700 Subject: [PATCH] fix: ClientOptions not applied I'm so dumb. Signed-off-by: Christopher Angelo --- index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.ts b/index.ts index 374e5d2..1a0653f 100644 --- a/index.ts +++ b/index.ts @@ -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