Merge pull request #66 from lbryio/extend-timeout

extend deletion timeout on invalid command
This commit is contained in:
filipnyquist 2017-11-03 20:10:06 +01:00 committed by GitHub
commit 1836a2eaa4
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