You are reading the documentation for the next version of discord.js. Documentation for v13/v14+ has been moved to old.discordjs.dev

formatEmoji

export declare function formatEmoji<C extends Snowflake>(emojiId: C, animated?: false): `<:_:${C}>`;
export declare function formatEmoji<C extends Snowflake>(emojiId: C, animated?: false): `<:_:${C}>`;
Formats a non-animated emoji id into a fully qualified emoji identifier.
NameConstraintsOptionalDefaultDescription
CSnowflakeNoThis is inferred by the supplied emoji id
NameTypeOptionalDescription
emojiIdCNoThe emoji id to format
animatedfalseYesNone