mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-23 01:53:51 +02:00
Fix
This commit is contained in:
@@ -19,6 +19,6 @@ module.exports = class ImageOrAvatarArgumentType extends ArgumentType {
|
||||
|
||||
isEmpty(value, msg, arg) {
|
||||
return this.client.registry.types.get('image').isEmpty(value, msg, arg)
|
||||
|| this.client.registry.types.get('user').isEmpty(value, msg, arg);
|
||||
&& this.client.registry.types.get('user').isEmpty(value, msg, arg);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user