Change Variable Names, Remove Useless Commands

This commit is contained in:
Daniel Odendahl Jr
2017-04-29 19:53:01 +00:00
parent 3c773a8952
commit 988912f471
52 changed files with 236 additions and 312 deletions
+2 -2
View File
@@ -13,8 +13,8 @@ module.exports = class PirateCommand extends Command {
key: 'text',
prompt: 'What text would you like to convert to pirate?',
type: 'string',
validate: content => {
if (wordTrans(content, dictionary).length < 1999)
validate: text => {
if (wordTrans(text, dictionary).length < 1999)
return true;
return 'Your message content is too long.';
},