mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix?
This commit is contained in:
@@ -7,8 +7,7 @@ module.exports = class DefaultEmojiArgumentType extends ArgumentType {
|
||||
}
|
||||
|
||||
validate(value) {
|
||||
if (!emojiRegex.test(value)) return false;
|
||||
return true;
|
||||
return emojiRegex.test(value);
|
||||
}
|
||||
|
||||
parse(value) {
|
||||
|
||||
Reference in New Issue
Block a user