mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-23 10:02:05 +02:00
Space after conditionals
This commit is contained in:
@@ -15,7 +15,7 @@ module.exports = class TemmieCommand extends Command {
|
||||
prompt: 'What text would you like to convert to Temmie speak?',
|
||||
type: 'string',
|
||||
validate: text => {
|
||||
if(wordTrans(text, dictionary).length < 1999) return true;
|
||||
if (wordTrans(text, dictionary).length < 1999) return true;
|
||||
return 'Your text is too long.';
|
||||
},
|
||||
parse: text => wordTrans(text, dictionary)
|
||||
|
||||
Reference in New Issue
Block a user