Fix BulkDelete

This commit is contained in:
Daniel Odendahl Jr
2017-03-31 00:01:40 +00:00
parent 64388142cc
commit daac22f385
+1 -1
View File
@@ -22,7 +22,7 @@ module.exports = class PruneCommand extends commando.Command {
prompt: 'How many messages do you want to delete? Limit of up to 99.',
type: 'integer',
validate: count => {
if (count > 99 || count < 1) {
if (count < 100 && count > 0) {
return true;
}
return "Too many or two few messages to delete. Limit 1-99.";