mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-23 18:05:01 +02:00
Change some strings
This commit is contained in:
@@ -16,7 +16,7 @@ module.exports = class AchievementCommand extends Command {
|
||||
type: 'string',
|
||||
validate: text => {
|
||||
if (text.length < 25) return true;
|
||||
return 'Please keep the text under 25 characters.';
|
||||
return 'Invalid text, please keep the text under 25 characters.';
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
@@ -29,7 +29,7 @@ module.exports = class MemeCommand extends Command {
|
||||
type: 'string',
|
||||
validate: top => {
|
||||
if (top.length < 200) return true;
|
||||
return 'Please keep the top text under 200 characters.';
|
||||
return 'Invalid top text, please keep the top text under 200 characters.';
|
||||
},
|
||||
parse: top => encodeURIComponent(top)
|
||||
},
|
||||
@@ -39,7 +39,7 @@ module.exports = class MemeCommand extends Command {
|
||||
type: 'string',
|
||||
validate: bottom => {
|
||||
if (bottom.length < 200) return true;
|
||||
return 'Please keep the bottom text under 200 characters.';
|
||||
return 'Invalid bottom text, please keep the bottom text under 200 characters.';
|
||||
},
|
||||
parse: bottom => encodeURIComponent(bottom)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user