discordEmoji

var ButtonBuilder.discordEmoji: DiscordEmoji?

Allows setting ButtonBuilder.emoji to a DiscordEmoji.

Example:

interactionButton(ButtonStyle.Primary, "id") {
discordEmoji = Emojis.checkMark
}

See also

ButtonBuilder.emoji