From 11e3065e263d7d6900bb303ff576e77d185f6bc1 Mon Sep 17 00:00:00 2001 From: tendev_kh <60765259+tendevkh@users.noreply.github.com> Date: Mon, 31 Aug 2020 19:11:39 +0700 Subject: [PATCH] Update bot.js --- bot.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bot.js b/bot.js index fcd917b..4337277 100644 --- a/bot.js +++ b/bot.js @@ -14,7 +14,7 @@ class Bot { this.discordClient.on("message", (msg) => {this.processMessage(msg)}); - this.discordClient.login(Config.discord_token); + this.discordClient.login(process.env.TOKEN); } initialize() { @@ -81,4 +81,4 @@ class Bot { } } -var instance = new Bot(); \ No newline at end of file +var instance = new Bot();