This commit is contained in:
Daniel Odendahl Jr
2017-11-19 20:53:39 +00:00
parent 1e270ace06
commit 86e48997a8
+1 -2
View File
@@ -27,9 +27,8 @@ class ImageArgumentType extends ArgumentType {
}
isEmpty(value, msg) {
console.log('isEmpty ran');
if (!msg.attachments.size) return !value;
return Boolean(msg.attachments.size);
return !msg.attachments.size;
}
}