mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Add max attachment size argument option
This commit is contained in:
@@ -11,6 +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.default = typeof options.default === 'undefined' ? null : options.default;
|
||||
this.infinite = options.infinite || false;
|
||||
this.avatarSize = options.avatarSize || 2048;
|
||||
|
||||
Reference in New Issue
Block a user