Represents an emoji, see GuildEmoji and ReactionEmoji.
Extends
BaseConstructs a new instance of the
Emoji class| Name | Type | Optional | Description |
|---|---|---|---|
| client | Client<true> | No | None |
| emoji | RawEmojiData | No | None |
Use imageURL instead.
Deprecated
null if this is not a custom 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 |
When concatenated with a string, this automatically returns the text required to form a graphical emoji on Discord instead of the Emoji object.