Compare commits
No commits in common. "cdab7930cd47b61c1fc21b8daf57c3809d81a6dd" and "34445b6422f8cbcea0d90275dffc5cf53074eaeb" have entirely different histories.
cdab7930cd
...
34445b6422
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "commandparser",
|
||||
"version": "1.1.0",
|
||||
"version": "1.0.25",
|
||||
"description": "Parser meant to parse commands and their options for discord bots",
|
||||
"main": "build/index.js",
|
||||
"author": "Navy.gif",
|
||||
@ -17,7 +17,6 @@
|
||||
"build"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "tsc",
|
||||
"release": "tsc && yarn publish"
|
||||
}
|
||||
}
|
||||
|
@ -57,7 +57,7 @@ class CommandOption implements ICommandOption {
|
||||
this.choices = def.choices || [];
|
||||
|
||||
this.strict = def.strict || false;
|
||||
this.type = def.type ?? OptionType.STRING;
|
||||
this.type = def.type || OptionType.STRING;
|
||||
this.flag = def.flag || false;
|
||||
|
||||
this.valueOptional = def.valueOptional || false;
|
||||
|
Loading…
Reference in New Issue
Block a user