Package-level declarations

Functions

Link copied to clipboard

DSL function for creating an unsafe button and adding it to the current ComponentContainer.

suspend fun <M : UnsafeModalForm> ComponentContainer.unsafeButton(modal: () -> M?, row: Int? = null, builder: suspend UnsafeInteractionButton<M>.() -> Unit): UnsafeInteractionButton<M>

DSL function for creating an unsafe button with modal, and adding it to the current ComponentContainer.

Link copied to clipboard

Register a custom instance of an unsafe message command.

Register an unsafe message command, DSL-style.

Link copied to clipboard
Link copied to clipboard

Function for registering a custom unsafe slash command object.

DSL function for easily registering an unsafe slash command, without arguments.

DSL function for easily registering an unsafe slash command, with arguments.

Link copied to clipboard
Link copied to clipboard

Function for registering a custom unsafe slash command object, for subcommands.

DSL function for easily registering an unsafe subcommand, without arguments.

suspend fun <T : Arguments> SlashCommand<*, *, *>.unsafeSubCommand(arguments: () -> T, body: suspend UnsafeSlashCommand<T, UnsafeModalForm>.() -> Unit): UnsafeSlashCommand<T, UnsafeModalForm>

DSL function for easily registering an unsafe subcommand, with arguments.

Link copied to clipboard

Register a custom instance of an unsafe user command.

Register an unsafe user command, DSL-style.

Link copied to clipboard