mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-27 06:37:32 +02:00
Remove some
This commit is contained in:
@@ -16,7 +16,7 @@ module.exports = class RandomNameCommand extends Command {
|
||||
default: 'both',
|
||||
validate: (gender) => {
|
||||
if (['male', 'female', 'both'].includes(gender.toLowerCase())) return true;
|
||||
else return 'Please enter either `male`, `female`, or `both`.';
|
||||
else return 'Please enter either male, female, or both.';
|
||||
},
|
||||
parse: (gender) => gender.toLowerCase()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user