SimpleSelectBuilder

class SimpleSelectBuilder

A simplified builder for a select menu.

Constructors

Link copied to clipboard
fun SimpleSelectBuilder()

Functions

Link copied to clipboard
fun content(text: String? = null, embed: EmbedBuilder.() -> Unit? = null)

Set the content of the message above the menu.

Link copied to clipboard
fun option(    label: String,     value: String = label,     description: String? = null,     emoji: DiscordPartialEmoji? = null)

Create an option in a select menu.

Properties

Link copied to clipboard
var selectionCount: IntRange

The number of selections allowed