create new instance of custom command creator.
Optionalinit: CustomCommand = ...custom command that already listed/registered.
add argument type enum from RegisterEnum
this
get this command name alias.
the name of this command.
get this custom command object so can be use again
get this command description.
the description of this command.
get this command name.
the name of this command.
get this custom command optional arguments
array of optional arguments
get this command permission level.
permissionLevel.
get this custom command required arguments
array of required arguments
convert raw data from the api into an object, that is the same to your arguments, for easy read, then pass it to your function to run it
set this command function to run when called/executed.
function.
this.
set this custom command's optional arguments in batch
an array of cmdParam
this
set this command permission level.
permissionLevel.
this.
set this custom command's required arguments in batch
an array of cmdParam
this
Staticcreatecreate new instance of custom command creator.
name of the command
custom command creator.
Example