diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2020-01-05 14:19:48 -0500 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2020-01-05 14:19:48 -0500 |
| commit | 0f2233a529d80b242732bd40ebaecf3fbb56cecf (patch) | |
| tree | 8ebcae6c1445c8e8d590eb6643fb82053909bd54 /bot_discord.js | |
| parent | 671f0bd1f997ae2c798703e1700b92a9dcc79acb (diff) | |
| download | AleeBot-0f2233a529d80b242732bd40ebaecf3fbb56cecf.tar.gz AleeBot-0f2233a529d80b242732bd40ebaecf3fbb56cecf.tar.bz2 AleeBot-0f2233a529d80b242732bd40ebaecf3fbb56cecf.zip | |
removed eslint and fixes
Diffstat (limited to 'bot_discord.js')
| -rw-r--r-- | bot_discord.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bot_discord.js b/bot_discord.js index e8d18e1..4a9b109 100644 --- a/bot_discord.js +++ b/bot_discord.js @@ -210,7 +210,7 @@ client.on('ready', () => { });
}, 200000);
client.user.setStatus('online');
- //client.channels.find('id', '606602551634296968').send("**AleeBot Status:** AleeBot has started.");
+ client.channels.find('id', '606602551634296968').send("**AleeBot Status:** AleeBot has started.");
rl.prompt();
});
@@ -324,4 +324,5 @@ client.on('reconnecting', function() { client.on('disconnect', function() {
log("[X] AleeBot has disconnected from Discord and will not attempt to reconnect.".red);
console.log("At this point, you'll need to restart AleeBot.".red);
+ process.exit(0);
});
|
