Remove Choices Validator

This commit is contained in:
Daniel Odendahl Jr
2017-03-25 05:14:30 +00:00
parent 22e08355b4
commit eb1786ea01
+1 -4
View File
@@ -14,10 +14,7 @@ module.exports = class ChooseCommand extends commando.Command {
args: [{ args: [{
key: 'choices', key: 'choices',
prompt: 'What choices do you want me pick from? Split them with " | "!', prompt: 'What choices do you want me pick from? Split them with " | "!',
type: 'string', type: 'string'
validate: (str) => {
str.includes(" | ");
}
}] }]
}); });
} }