Represents an emoji, see ApplicationEmoji, GuildEmoji and ReactionEmoji.
Extends
BaseConstructs a new instance of the
Emoji
className | Type | Optional | Description |
---|---|---|---|
client | Client<true> | No | None |
emoji | RawEmojiData | No | None |
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.