Update bot.js
This commit is contained in:
parent
987c896491
commit
11e3065e26
1 changed files with 2 additions and 2 deletions
4
bot.js
4
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();
|
||||
var instance = new Bot();
|
||||
|
|
Loading…
Reference in a new issue