mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Remove Choices Validator
This commit is contained in:
@@ -14,10 +14,7 @@ module.exports = class ChooseCommand extends commando.Command {
|
||||
args: [{
|
||||
key: 'choices',
|
||||
prompt: 'What choices do you want me pick from? Split them with " | "!',
|
||||
type: 'string',
|
||||
validate: (str) => {
|
||||
str.includes(" | ");
|
||||
}
|
||||
type: 'string'
|
||||
}]
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user