Interface CreateGuildEmojiOptions

interface CreateGuildEmojiOptions {
    image: string | Buffer;
    name: string;
    reason?: string;
    roles?: string[];
}

Properties

image: string | Buffer

The image (buffer, or full data url).

name: string

The name of the emoji.

reason?: string

The reason for creating the emoji.

roles?: string[]

The roles to restrict the emoji to.