publicSubCommand
DSL function for easily registering a public subcommand, with arguments.
Use this in your setup function to register a subcommand 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 subcommand, with a modal form.
Use this in your setup function to register a subcommand 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 subcommand, with arguments and a modal form.
Use this in your setup function to register a subcommand 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, for subcommands.
You can use this if you have a custom public slash command subclass you need to register.
Parameters
PublicSlashCommand object to register as a subcommand.
DSL function for easily registering a public subcommand, without arguments.
Use this in your slash command function to register a subcommand that may be executed on Discord.
Parameters
Builder lambda used for setting up the subcommand object.
DSL function for easily registering a public subcommand, with a modal.
Use this in your setup function to register a subcommand 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 subcommand, with arguments.
Use this in your setup function to register a subcommand 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.