Skip to content

CreateEmojiInput

Defined in: bot/bot.type.ts:657

What POST /guilds/{id}/emojis takes.

image: string

Defined in: bot/bot.type.ts:661

The image as a data: URI (data:image/png;base64,...).


name: string

Defined in: bot/bot.type.ts:659

The emoji’s name, the name of :name:.


optional roles?: string[]

Defined in: bot/bot.type.ts:663

Roles allowed to use the emoji; everyone when left out.