function parseEmoji

export function parseEmoji(text: string): PartialEmoji | null;

Parses emoji info out of a string. The string must be one of:* A UTF-8 emoji (no id)* A URL-encoded UTF-8 emoji (no id)* A Discord custom emoji (<:name:id> or <a:name:id>)

Parameters

text: string
Emoji string to parse