Represents a custom emoji.
Extends
BaseGuildEmojiWhether this emoji is available
Inherited from BaseGuildEmojiThe time the emoji was created at, or null if unicode
Inherited from BaseGuildEmojiThe timestamp the emoji was created at, or null if unicode
Inherited from BaseGuildEmojiThe emoji's id
Inherited from BaseGuildEmojiThe identifier of this emoji, used for message reactions
Inherited from EmojiWhether this emoji is managed by an external service
Inherited from BaseGuildEmojiWhether or not this emoji requires colons surrounding it
Inherited from BaseGuildEmojiInherited from BaseGuildEmoji
Deletes the emoji.
Name | Type | Optional | Description |
---|---|---|---|
reason | string | Yes | Reason for deleting the emoji |
Edits the emoji.
Example
Name | Type | Optional | Description |
---|---|---|---|
options | GuildEmojiEditOptions | No | The options to provide |
Whether this emoji is the same as another one.
Name | Type | Optional | Description |
---|---|---|---|
other | GuildEmoji | unknown | No | The emoji to compare it to |
Fetches the author for this emoji
Returns a URL for the emoji.
Name | Type | Optional | Description |
---|---|---|---|
options | BaseImageURLOptions | Yes | Options for the image URL |
Sets the name of the emoji.
When concatenated with a string, this automatically returns the text required to form a graphical emoji on Discord instead of the Emoji object.
Inherited from Emoji