Preview environment

interface FormatEmojiOptions

export interface FormatEmojiOptions<EmojiId extends Snowflake, EmojiName extends string>

The options for formatting an emoji.

Type Parameters

EmojiId extends Snowflake

This is inferred by the supplied emoji id

EmojiName extends string

This is inferred by the supplied emoji name

optional
animated? : boolean

Whether the emoji is animated

id : EmojiId

The emoji id to format

optional
name? : EmojiName

The name of the emoji