Inferred slash command arguments
Slash commands handle arguments differently, however WOKCommands will allow you to specify your slash command arguments in the same way as normal commands.
add.js
Behind the scenes WOKCommands will create an array of options for your slash commands. As you will see in the next section you can always customize these options if need be.
When using inferred arguments with slash commands, it's very important that you provide minArgs
and expectedArgs
properties.
Last updated