diff options
| author | Alee <alee14498@gmail.com> | 2018-04-01 16:51:25 -0400 |
|---|---|---|
| committer | Alee <alee14498@gmail.com> | 2018-04-01 16:51:25 -0400 |
| commit | 97450778f4bb490c83ce55d5cfc019005d1e92f0 (patch) | |
| tree | 0b2eb379407bab0e2e04b6f5dc569390c7defbc6 | |
| parent | 0709fc78ce199f4fd2a0c3c7f81d0d93fc1a7799 (diff) | |
| download | AleeBot-97450778f4bb490c83ce55d5cfc019005d1e92f0.tar.gz AleeBot-97450778f4bb490c83ce55d5cfc019005d1e92f0.tar.bz2 AleeBot-97450778f4bb490c83ce55d5cfc019005d1e92f0.zip | |
fixes
| -rw-r--r-- | bot_discord.js | 4 |
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!');
|
