fail silently if a command doesn't exist

because it most likely does now....
This commit is contained in:
Niko 2017-12-19 02:21:26 +01:00 committed by GitHub
parent 065facf799
commit e5b39ccd8b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -145,7 +145,7 @@ function checkMessageForCommand(msg, isEdit) {
msg.channel.send(msgTxt);
}
} else {
msg.channel.send(cmdTxt + ' not recognized as a command!').then(message => message.delete(10000));
//msg.channel.send(cmdTxt + ' not recognized as a command!').then(message => message.delete(10000));
}
} else {
//message isn't a command or is from us