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