EmojiResolver
EmojiResolver
A utility class for resolving and transforming emojis.
EmojiResolver.transformEmoji(emoji, client) ⇒ string
Transforms an emoji object or string into a formatted emoji string.
Kind: static method of EmojiResolver
Returns: string
- The formatted emoji string.
Throws:
RangeError
If the emoji is not found in the emoji cache.
Param | Type | Description |
---|---|---|
emoji | Object | string | The emoji object or string to transform. |
client | Client | The Discord client instance. |