mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-15 00:12:38 +02:00
Add arg infinite support
This commit is contained in:
@@ -10,6 +10,7 @@ module.exports = class Argument {
|
||||
this.max = options.max;
|
||||
this.oneOf = options.oneOf;
|
||||
this.default = options.default;
|
||||
this.infinite = options.infinite || false;
|
||||
this.avatarSize = options.avatarSize || 2048;
|
||||
this.validator = options.validate;
|
||||
this.parser = options.parse;
|
||||
|
||||
Reference in New Issue
Block a user