Readonly
clientThe client instance.
Optional
creator_The ID of the user who created the emoji, or null
if not available.
The unique identifier for the object.
Optional
nameThe name of the emoji, or null
if not set.
Optional
parentThe parent object of the emoji, which can be a server or other entity.
Retrieves the user who created the emoji.
The creator of the emoji, or null
if not found.
Retrieves the server associated with the emoji, if any.
The server instance, or null
if the emoji is not associated with a server.
Creates a deep clone of the object.
A clone of the object.
Updates the object with new data and returns a clone of the object.
The data to update the object with.
Optional
clear: string[]Fields to clear in the object.
A clone of the updated object.
Compares this object with another to determine if they are equal.
Optional
obj: null | EmojiThe object to compare with.
true
if the objects are equal, otherwise false
.
Represents an emoji in the client.