extend deletion timeout on invalid command

This commit is contained in:
Thomas Zarebczan 2017-11-03 14:19:13 -04:00 committed by GitHub
parent 8bee710104
commit f1bcdf1c1f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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