bugfix
This commit is contained in:
parent
6005e0735f
commit
cdab7930cd
@ -57,7 +57,7 @@ class CommandOption implements ICommandOption {
|
|||||||
this.choices = def.choices || [];
|
this.choices = def.choices || [];
|
||||||
|
|
||||||
this.strict = def.strict || false;
|
this.strict = def.strict || false;
|
||||||
this.type = def.type || OptionType.STRING;
|
this.type = def.type ?? OptionType.STRING;
|
||||||
this.flag = def.flag || false;
|
this.flag = def.flag || false;
|
||||||
|
|
||||||
this.valueOptional = def.valueOptional || false;
|
this.valueOptional = def.valueOptional || false;
|
||||||
|
Loading…
Reference in New Issue
Block a user