From c1c5cd8452a4cf41c297daae409f05030a1b1613 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Sat, 10 Nov 2018 15:48:09 +0000 Subject: [PATCH] Fix --- types/image.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/image.js b/types/image.js index 4709fcb6..c2fcea28 100644 --- a/types/image.js +++ b/types/image.js @@ -11,7 +11,7 @@ module.exports = class ImageArgumentType extends ArgumentType { if (attachment) { if (!attachment.height || !attachment.width) return false; if (attachment.size > 8e+6) return 'Please provide an image under 8 MB.'; - if (!fileTypeRe.test(attachment.name)) return 'Please only send PNG or JPG format images.'; + if (!fileTypeRe.test(attachment.name)) return 'Please only send PNG, JPG, or GIF format images.'; return true; } return this.client.registry.types.get('user').validate(value, msg, arg);