mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix?
This commit is contained in:
+1
-1
@@ -17,7 +17,7 @@ class ImageArgumentType extends ArgumentType {
|
||||
}
|
||||
|
||||
isEmpty(value, msg) {
|
||||
return !msg.attachments.size;
|
||||
return msg.attachments.size === 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user