diff options
| author | Unknown <Alee14498@gmail.com> | 2017-08-25 19:39:19 -0400 |
|---|---|---|
| committer | Unknown <Alee14498@gmail.com> | 2017-08-25 19:39:19 -0400 |
| commit | bf6741638d0d9bc508b9a891804efdcc40c11ceb (patch) | |
| tree | 7102d996b10ddfc5d5a355a3657971c72e93da05 | |
| parent | 8c823de8124ea528287c12d60fdcfdf33aaa0d16 (diff) | |
| parent | 8e662d695129421b7647df52c1d5cf542ff5eede (diff) | |
| download | AleeBot-bf6741638d0d9bc508b9a891804efdcc40c11ceb.tar.gz AleeBot-bf6741638d0d9bc508b9a891804efdcc40c11ceb.tar.bz2 AleeBot-bf6741638d0d9bc508b9a891804efdcc40c11ceb.zip | |
Merge branch 'beta'
| -rw-r--r-- | aleebot.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -100,8 +100,8 @@ client.on("message", function(message) { let commandFile = require(`./commands/${command}.js`); commandFile.run(client, message, args, config, abversion); } catch (err) { - message.reply(`:no_entry_sign: Error!\nThe command ${command} isn't found. (Reported to console.)`) - console.error(err); + message.channel.send(":no_entry_sign: Error!\n`"+ err +"`"); + log(err); } |
