From a9843a0b71bd104f18e5781a24e398a31d726f37 Mon Sep 17 00:00:00 2001 From: Alee14 Date: Mon, 26 Mar 2018 16:11:02 -0400 Subject: Updates --- bot_discord.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/bot_discord.js b/bot_discord.js index 08f180d..872282f 100644 --- a/bot_discord.js +++ b/bot_discord.js @@ -112,13 +112,13 @@ client.on('message', (msg) => { } } }); - -process.on('unhandledRejection', function(err, p) { - -log("[X | UNCAUGHT PROMISE] " + err.stack); - -}); - + +process.on('unhandledRejection', function(err, p) { + +console.log("[X | UNCAUGHT PROMISE] " + err.stack); + +}); + client.login(config.abtoken).catch(function() { console.log('[X] Login failed. Please contact Alee14#9928 or email him at alee14498@gmail.com.'); }); -- cgit v1.2.3