parseEmoji

export function parseEmoji(text: string): PartialEmoji | null;
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>)
Returns
NameTypeOptionalDescription
textstringNoEmoji string to parse