GuildEmojiBehavior

Properties

Link copied to clipboard

The behavior of the guild this emoji is part of.

Link copied to clipboard
abstract val guildId: Snowflake

The id of the guild this emojis is part of.

Link copied to clipboard
abstract val id: Snowflake

The unique identifier of this entity.

Link copied to clipboard
abstract val kord: Kord

The kord instance that created this object.

Link copied to clipboard
abstract val supplier: EntitySupplier

The supplier used to request entities.

Functions

Link copied to clipboard
open operator override fun compareTo(other: Entity): Int

Compares entities on id.

Link copied to clipboard
open suspend fun delete(reason: String? = null)

Requests to delete this emoji.

Link copied to clipboard
inline suspend fun GuildEmojiBehavior.edit(builder: EmojiModifyBuilder.() -> Unit): GuildEmoji

Requests to edit this emoji.

Link copied to clipboard
open override fun withStrategy(strategy: EntitySupplyStrategy<*>): GuildEmojiBehavior

Returns a new GuildEmojiBehavior with the given strategy.