ephemeralSubCommand
DSL function for easily registering an ephemeral 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 an ephemeral 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 an ephemeral subcommand, with 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 ephemeral slash command object, for subcommands.
You can use this if you have a custom ephemeral slash command subclass you need to register.
Parameters
EphemeralSlashCommand object to register as a subcommand.
DSL function for easily registering an ephemeral 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 an ephemeral 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.
DSL function for easily registering an ephemeral 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.