Sticker

This class is used to represent a discord sticker object.

Inheritors

Functions

Link copied to clipboard
open fun format(format: String): String

Formats the name of the entity

Link copied to clipboard
open override fun formatTo(formatter: Formatter?, flags: Int, width: Int, precision: Int)

Formats the object using the provided {@link Formatter formatter}.

Link copied to clipboard
abstract override fun toString(): String

Converts this entity to a string using the io.github.ydwk.ydwk.util.EntityToStringBuilder.

Properties

Link copied to clipboard
open val asIncrement: Long

The increment of this snowflake.

Link copied to clipboard
open val asProcessId: Long

The process id of this snowflake.

Link copied to clipboard
open val asTimestamp: Long

The timestamp of this snowflake. (Milliseconds since Discord Epoch, the first second of 2015 or 1420070400000.)

Link copied to clipboard
open val asWorkerId: Long

The worker id of this snowflake.

Link copied to clipboard
abstract var available: Boolean

Gets weather this sticker can be used, may be false due to loss of Server Boosts.

Link copied to clipboard
abstract var description: String?

The description of this sticker.

Link copied to clipboard

The format type of sticker.

Link copied to clipboard
abstract val guild: Guild?

The guild that owns this sticker.

Link copied to clipboard
open val id: String

The id of this snowflake as a String.

Link copied to clipboard
abstract val idAsLong: Long

The id of this snowflake as a Long.

Link copied to clipboard
abstract val json: JsonNode

The json representation of this entity.

Link copied to clipboard
abstract var name: String
Link copied to clipboard
abstract val packId: GetterSnowFlake?

The ID of the pack this sticker is from.

Link copied to clipboard
abstract var sortvarue: Int?

The standard sticker's sort order within its pack.

Link copied to clipboard
abstract var tags: List<String>

The autocomplete/suggestion tags for the sticker (max 200 characters).

Link copied to clipboard
abstract var type: StickerType

The type of sticker.

Link copied to clipboard
abstract var user: User?

The user that uploaded the sticker.

Link copied to clipboard
abstract val yde: YDE

The main YDE instance.