This commit is contained in:
Daniel Odendahl Jr
2017-11-11 23:22:20 +00:00
parent 35b61e1105
commit 75fdf490b1
+1 -1
View File
@@ -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()
},