Represents a custom emoji.
Extends
EmojiDeletes the emoji.
Edits the emoji.
Example
| Name | Type | Optional | Description |
|---|---|---|---|
| options | ApplicationEmojiEditOptions | No | The options to provide |
Whether this emoji is the same as another one.
| Name | Type | Optional | Description |
|---|---|---|---|
| other | ApplicationEmoji | unknown | No | The emoji to compare it to |
Fetches the author for this emoji
Returns a URL for the emoji or
null if this is not a custom emoji.Returns
| 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 |
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