mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-16 15:57:54 +02:00
And do that
This commit is contained in:
@@ -14,9 +14,8 @@ module.exports = class ZalgoCommand extends Command {
|
||||
prompt: 'What text would you like to convert to zalgo?',
|
||||
type: 'string',
|
||||
validate: text => {
|
||||
if(text.length < 500) {
|
||||
if(text.length < 500)
|
||||
return true;
|
||||
}
|
||||
return `Please keep your text under 500 characters, you have ${text.length}.`;
|
||||
},
|
||||
parse: text => zalgo(text)
|
||||
|
||||
Reference in New Issue
Block a user