diff --git a/framework/Argument.js b/framework/Argument.js index 76f380e3..c2223c54 100644 --- a/framework/Argument.js +++ b/framework/Argument.js @@ -11,7 +11,7 @@ module.exports = class Argument { this.min = typeof options.min === 'undefined' ? null : options.min; this.max = typeof options.max === 'undefined' ? null : options.max; this.oneOf = typeof options.oneOf === 'undefined' ? null : options.oneOf; - this.maxAttachmentSize = typeof options.maxAttachmentSize === 'undefined' ? null : options.maxAttachmentSize; + this.maxAttachmentSize = options.maxAttachmentSize || 8e+6; this.default = typeof options.default === 'undefined' ? null : options.default; this.infinite = options.infinite || false; this.avatarSize = options.avatarSize || 2048;