Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open class SelectMenuBuilder constructor(var customId: String) : ActionRowComponentBuilder

A builder for a Discord Select Menu.

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
fun ChannelSelectBuilder.channelType(type: ChannelType)
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.

Properties

Link copied to clipboard

The choices in the select, max 25.