From 25f0d79987a59dd5b24fcf64b531423f228332bb Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Tue, 20 Feb 2018 03:30:37 +0000 Subject: [PATCH] 2MB image limit --- types/image.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/image.js b/types/image.js index 087885b6..d6a9943c 100644 --- a/types/image.js +++ b/types/image.js @@ -12,7 +12,7 @@ class ImageArgumentType extends ArgumentType { return valid; } if (!attachment.height || !attachment.width) return false; - if (attachment.size > 4e+6) return false; + if (attachment.size > 2e+6) return false; return true; }