diff options
Diffstat (limited to 'aleebot.js')
| -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); } |
