From 97450778f4bb490c83ce55d5cfc019005d1e92f0 Mon Sep 17 00:00:00 2001 From: Alee Date: Sun, 1 Apr 2018 16:51:25 -0400 Subject: fixes --- bot_discord.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bot_discord.js b/bot_discord.js index 666b8cf..d05c086 100644 --- a/bot_discord.js +++ b/bot_discord.js @@ -54,8 +54,8 @@ fs.readdir('./commands', (err, files) => { }); } catch (err) { - console.log('[X] An error has occured trying to load a command. Here is the error.'); - (err.stack); + log('[X] An error has occured trying to load a command. Here is the error.'); + console.log(err.stack); } }); log('[>] Command Loading complete!'); -- cgit v1.2.3