Update to latest

This commit is contained in:
Daniel Odendahl Jr
2017-11-02 22:42:12 +00:00
parent 96c762a552
commit 7560246f26
37 changed files with 89 additions and 120 deletions
+2 -4
View File
@@ -21,10 +21,8 @@ module.exports = class PruneCommand extends Command {
label: 'amount of messages',
prompt: 'How many messages do you want to delete? Limit of up to 99.',
type: 'integer',
validate: count => {
if (count < 100 && count > 0) return true;
return 'Invalid count, please enter a number from 1-99.';
}
min: 1,
max: 99
}
]
});