mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-21 14:04:38 +02:00
Fix
This commit is contained in:
@@ -18,7 +18,7 @@ module.exports = class DeviantartCommand extends Command {
|
|||||||
type: 'string',
|
type: 'string',
|
||||||
validate: section => {
|
validate: section => {
|
||||||
if (sections.includes(section.toLowerCase())) return true;
|
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()
|
parse: section => section.toLowerCase()
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user