action Button
fun actionButton( label: String?, emoji: DiscordEmoji?, style: ButtonStyle = ButtonStyle.Secondary, disabled: Boolean = false, action: suspend ComponentInteraction.() -> Unit)
Content copied to clipboard
A Discord button component. Exposes the button press interaction.
Parameters
label
The Button text
emoji
The Button emoji
style
The Button style
disabled
Whether this button is disabled