Update bot.js

This commit is contained in:
tendev_kh 2020-08-31 19:11:39 +07:00 committed by GitHub
parent 987c896491
commit 11e3065e26
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

4
bot.js
View file

@ -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();
var instance = new Bot();