publicSlashCommand
DSL function for easily registering a public slash command, with arguments.
Use this in your setup function to register a slash command that may be executed on Discord.
Parameters
Arguments builder (probably a reference to the class constructor).
Builder lambda used for setting up the slash command object.
DSL function for easily registering a public slash command, with a modal form.
Use this in your setup function to register a slash command that may be executed on Discord.
Parameters
ModalForm builder (probably a reference to the class constructor).
Builder lambda used for setting up the slash command object.
DSL function for easily registering a public slash command, with arguments and a modal form.
Use this in your setup function to register a slash command that may be executed on Discord.
Parameters
Arguments builder (probably a reference to the class constructor).
ModalForm builder (probably a reference to the class constructor).
Builder lambda used for setting up the slash command object.
Function for registering a custom public slash command object.
You can use this if you have a custom public slash command subclass you need to register.
Parameters
PublicSlashCommand object to register.
DSL function for easily registering a public slash command, without arguments.
Use this in your setup function to register a slash command that may be executed on Discord.
Parameters
Builder lambda used for setting up the slash command object.