EmojiImpl

class EmojiImpl(val yde: YDE, val json: JsonNode) : Emoji(source)

Constructors

Link copied to clipboard
constructor(yde: YDE, json: JsonNode)

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
open 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 id: String?

The id of the emoji as String.

Link copied to clipboard
open override val idLong: Long?

The id of the emoji.

Link copied to clipboard
open override var isAnimated: Boolean

Gets whether this emoji is animated.

Link copied to clipboard
open override var isAvailable: Boolean

Gets whether this emoji is available.

Link copied to clipboard
open override var isManaged: Boolean

Gets whether this emoji is managed by an external service.

Link copied to clipboard
open override val json: JsonNode

The json representation of this entity.

Link copied to clipboard
open override var name: String
Link copied to clipboard
open override var requireColons: Boolean

Gets whether this emoji must be wrapped in colons.

Link copied to clipboard
open override var roles: List<Role>

The roles that are allowed to use this emoji.

Link copied to clipboard
open override var user: User?

The user that created this emoji.

Link copied to clipboard
open override val yde: YDE

The main YDE instance.