Still errors, 1MB limit

This commit is contained in:
Daniel Odendahl Jr
2018-02-20 03:43:41 +00:00
parent 25f0d79987
commit 0cab1494a5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xiao",
"version": "65.3.1",
"version": "65.3.2",
"description": "Your personal server companion.",
"main": "Xiao.js",
"scripts": {
+1 -1
View File
@@ -12,7 +12,7 @@ class ImageArgumentType extends ArgumentType {
return valid;
}
if (!attachment.height || !attachment.width) return false;
if (attachment.size > 2e+6) return false;
if (attachment.size > 1000000) return false;
return true;
}