Syntax validations
Last updated
Last updated
You can provide your own syntax validations that will be ran against every command. This function should throw an error if the syntax is incorrect.
Callback functions will be checked by WOKCommands automatically. There is no need to actually implement this functionality yourself.