aboutsummaryrefslogtreecommitdiff
path: root/bot_discord.js
diff options
context:
space:
mode:
Diffstat (limited to 'bot_discord.js')
-rw-r--r--bot_discord.js4
1 files 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!');