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