Base
↳ Emoji
client
, data
): Emoji
Represents an emoji on the Discord platform.
Name | Type | Description |
---|---|---|
client | YorClient | The client object. |
data | APIEmoji | The APIEmoji data. |
Emoji
Optional
animated: boolean
Optional
available: boolean
YorClient
Optional
creator: User
string
Optional
managed: boolean
string
APIEmoji
Optional
requireColons: boolean
Optional
roles: string
[]
Date
Returns the creation date of the object.
Date
The creation date of the object.
number
Returns the created timestamp as a Date object.
number
The created timestamp.
string
The identifier of this emoji, used for message reactions
string
The identifier string for the object.
options?
): string
Generates the URL of the image with the given options.
Name | Type | Description |
---|---|---|
options? | BaseImageURLOptions | Optional options for generating the image URL. |
string
The generated image URL.
string
Returns a string representation of the emoji
string
The string representation of the emoji