Preview environment

function formatEmoji

declare function formatEmoji<EmojiId extends Snowflake>(emojiId: EmojiId, animated?: false): `<:_:${EmojiId}>`;

Formats an emoji id into a fully qualified emoji identifier.

Type Parameters

EmojiId extends Snowflake

Parameters

emojiId: EmojiId
The emoji id to format
optional
animated?: false
Whether the emoji is animated