Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
sealed interface ComponentBuilder
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

A button that prompts the user to purchase an SKU.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class SelectOptionBuilder(var label: String, var value: String)

A builder for a Discord Select Option.

Link copied to clipboard
Link copied to clipboard
class TextInputBuilder(var style: TextInputStyle, var customId: String, var label: String) : ActionRowComponentBuilder

A builder for a Discord Text Input.

Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
inline fun StringSelectBuilder.option(label: String, value: String, builder: SelectOptionBuilder.() -> Unit = {})

Adds a new option to the select menu with the given label and value that can be configured by the builder.