Package-level declarations

Types

Link copied to clipboard
sealed interface DiscordEmoji

A Unicode emoji supported by Discord's client.

Link copied to clipboard
object Emojis

List of all supported discord emojis.

Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard
var ButtonBuilder.discordEmoji: DiscordEmoji?

Allows setting ButtonBuilder.emoji to a DiscordEmoji.

Functions

Link copied to clipboard
suspend fun MessageBehavior.addReaction(emoji: DiscordEmoji)

Requests to add the emoji to the messages.

Link copied to clipboard
suspend fun MessageBehavior.deleteOwnReaction(emoji: DiscordEmoji)

Requests to delete an emoji from this message made by this bot.

Link copied to clipboard
suspend fun MessageBehavior.deleteReaction(emoji: DiscordEmoji)

Requests to delete all emoji reactions from this message.

Link copied to clipboard
fun ReactionEmoji.Companion.from(emoji: DiscordEmoji): ReactionEmoji.Unicode

transforms a DiscordEmoji into a reaction.

Link copied to clipboard
fun DiscordEmoji.toReaction(): ReactionEmoji.Unicode

Transforms the emoji into a ReactionEmoji.Unicode emoji.