mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-04 15:56:52 +02:00
Fix
This commit is contained in:
@@ -18,7 +18,7 @@ module.exports = class DeviantartCommand extends Command {
|
||||
type: 'string',
|
||||
validate: section => {
|
||||
if (sections.includes(section.toLowerCase())) return true;
|
||||
return `Invalid section, please enter either ${list(sections), 'or'}.`;
|
||||
return `Invalid section, please enter either ${list(sections, 'or')}.`;
|
||||
},
|
||||
parse: section => section.toLowerCase()
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user