mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-19 21:40:51 +02:00
Change some strings
This commit is contained in:
@@ -15,7 +15,7 @@ module.exports = class BCommand extends Command {
|
||||
type: 'string',
|
||||
validate: text => {
|
||||
if (text.replace(/(b|d|g|p|q)/gi, '🅱').length < 2000) return true;
|
||||
return 'Your text is too long.';
|
||||
return 'Invalid text, your text is too long.';
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user