This commit is contained in:
Daniel Odendahl Jr
2017-06-01 08:44:02 +00:00
parent 7802bb49cb
commit 14f85f94bd
129 changed files with 1915 additions and 1720 deletions
+7 -4
View File
@@ -13,11 +13,14 @@ module.exports = class ZalgoCommand extends Command {
key: 'text',
prompt: 'What text would you like to convert to zalgo?',
type: 'string',
validate: text => {
if (text.length < 500) return true;
return 'Invalid Text. Text must be under 500 characters.';
validate: (text) => {
if (text.length < 500) {
return true;
} else {
return 'Invalid Text. Text must be under 500 characters.';
}
},
parse: text => zalgo(text)
parse: (text) => zalgo(text)
}
]
});