GuildSticker

class GuildSticker(val data: StickerData, val kord: Kord, val supplier: EntitySupplier = kord.defaultSupplier) : Sticker, StickerBehavior(source)

Constructors

Link copied to clipboard
constructor(data: StickerData, kord: Kord, supplier: EntitySupplier = kord.defaultSupplier)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The description of the sticker.

Link copied to clipboard

The type of sticker image.

Link copied to clipboard
open override val guildId: Snowflake
Link copied to clipboard
open override val id: Snowflake

The id of the sticker.

Link copied to clipboard
open override val kord: Kord

The kord instance that created this object.

Link copied to clipboard

The name of the sticker.

Link copied to clipboard

The id of the pack that contains this sticker.

Link copied to clipboard
Link copied to clipboard
open override val supplier: EntitySupplier

The supplier used to request entities.

Link copied to clipboard

The tags of the sticker.

Link copied to clipboard
val user: User?

Functions

Link copied to clipboard
open suspend override fun asSticker(): Sticker
Link copied to clipboard
open suspend override 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
open override fun withStrategy(strategy: EntitySupplyStrategy<*>): Strategizable

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