Represents a custom emoji.
Extends
BaseGuildEmojiWhether or not the emoji is animated
Inherited from EmojiWhether 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 BaseGuildEmojiThe emoji's name
Inherited from EmojiWhether or not this emoji requires colons surrounding it
Inherited from BaseGuildEmojiUse imageURL instead.
Deprecated
Deletes the emoji.
Name | Type | Optional | Description |
---|---|---|---|
reason | string | Yes | Reason for deleting the emoji |
Edits the emoji.
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.
Name | Type | Optional | Description |
---|---|---|---|
name | string | No | The new name for the emoji |
reason | string | Yes | Reason for changing the emoji's name |
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