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