summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlee <alee14498@gmail.com>2018-04-01 16:51:25 -0400
committerAlee <alee14498@gmail.com>2018-04-01 16:51:25 -0400
commit97450778f4bb490c83ce55d5cfc019005d1e92f0 (patch)
tree0b2eb379407bab0e2e04b6f5dc569390c7defbc6
parent0709fc78ce199f4fd2a0c3c7f81d0d93fc1a7799 (diff)
downloadAleeBot-97450778f4bb490c83ce55d5cfc019005d1e92f0.tar.gz
AleeBot-97450778f4bb490c83ce55d5cfc019005d1e92f0.tar.bz2
AleeBot-97450778f4bb490c83ce55d5cfc019005d1e92f0.zip
fixes
-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!');