StickerBehavior

Properties

Link copied to clipboard
abstract val guildId: Snowflake
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 suspend fun asSticker(): Sticker
Link copied to clipboard
open suspend fun asStickerOrNull(): Sticker?
Link copied to clipboard
open operator override fun compareTo(other: Entity): Int

Compares entities on id.

Link copied to clipboard
open suspend fun delete()
Link copied to clipboard
inline suspend fun StickerBehavior.edit(builder: StickerModifyBuilder.() -> Unit): Sticker
Link copied to clipboard
open suspend fun fetchSticker(): Sticker
Link copied to clipboard
open suspend fun fetchStickerOrNull(): Sticker?
Link copied to clipboard
abstract fun withStrategy(strategy: EntitySupplyStrategy<*>): Strategizable

Returns a copy of this class with a new supplier provided by the strategy.