From de3c80eccc8d09bc63c3694afdeba40795dd6539 Mon Sep 17 00:00:00 2001 From: Unknown Date: Fri, 8 Sep 2017 16:11:06 -0400 Subject: Updates on if the person types the wrong command --- aleebot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aleebot.js b/aleebot.js index 0a3fbce..da7a719 100644 --- a/aleebot.js +++ b/aleebot.js @@ -100,7 +100,7 @@ client.on("message", function(message) { let commandFile = require(`./commands/${command}.js`); commandFile.run(client, message, args, config, abversion); } catch (err) { - message.channel.send(":no_entry_sign: Error!\n`"+ err +"`"); + message.channel.send(`:no_entry_sign: Error!\n The command ${command} isn't found!`); log(err); } -- cgit v1.2.3