Preview environment

function formatEmoji

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

Formats a non-animated emoji id into a fully qualified emoji identifier.

Type Parameters

EmojiId extends Snowflake

This is inferred by the supplied emoji id

Parameters

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