mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-05 00:06:42 +02:00
Beep
This commit is contained in:
@@ -19,7 +19,7 @@ module.exports = class iTunesCommand extends Command {
|
||||
prompt: `What country should results be obtained for? Either ${list(countries, 'or')}.`,
|
||||
type: 'string',
|
||||
validate: country => {
|
||||
if (countries.includes(country)) return true;
|
||||
if (countries.includes(country.toLowerCase())) return true;
|
||||
return `Invalid country, please enter either ${list(countries, 'or')}.`;
|
||||
},
|
||||
parse: country => country.toLowerCase()
|
||||
|
||||
Reference in New Issue
Block a user