From 0f2233a529d80b242732bd40ebaecf3fbb56cecf Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Sun, 5 Jan 2020 14:19:48 -0500 Subject: removed eslint and fixes --- bot_discord.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bot_discord.js') 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); }); -- cgit v1.2.3