Results

Namespace

Type

Options to specify during the creation of a guild emoji with discord.Guild.createEmoji.

Hierarchy

  • ICreateEmojiOptions <-- You are here!

Index

Properties

Properties

image

image: ArrayBuffer | string

The image data for this emoji, can be an ArrayBuffer containing JPEG, PNG, or GIF image data, or a "Data URI scheme" string (see https://discord.com/developers/docs/reference#image-data).

The 'animated' flag will be interpreted by Discord based on the uploaded image data.

Note: Emojis must be no more than 256kb.

name

name: string

The name of the emoji, can only contain alpha-numeric characters including dashes and underscores.

Optional roles

An optional list of role ids that this emoji will be exclusive to.

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc