MenuBuilder

class MenuBuilder

Type-safe builder for creating paginated embeds with button components.

Constructors

Link copied to clipboard
fun MenuBuilder()

Functions

Link copied to clipboard
fun buttons(rowBuilder: MenuButtonRowBuilder.() -> Unit)

Create a new row of buttons using the button or linkButton builders.

Link copied to clipboard
suspend fun page(construct: suspend EmbedBuilder.() -> Unit)

Add a new page to this menu using an EmbedBuilder.