Updates on if the person types the wrong command

This commit is contained in:
Andrew Lee 2017-09-08 16:11:06 -04:00
parent 2a1d4d0a76
commit de3c80eccc

View file

@ -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);
}