Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GuildEmoji

Structure for Emojis that were created in a Guild

Hierarchy

Index

Constructors

constructor

Properties

animated

animated: boolean | undefined

Whether this emoji is animated

available

available: boolean | undefined

Whether this emoji can be used, may be false due to loss of Server Boosts

bot

bot: Bot

The Bot operating this structure

emojiId

emojiId: Snowflake | null

The ID of the emoji. Possibly null if the emoji class was generated from a standard emoji

guild

guild: Guild

Every guild emoji is associated to a guild

managed

managed: boolean | undefined

Whether this emoji is managed

name

name: string

Every guild emoji has a name

requiresColons

requiresColons: boolean | undefined

Whether this emoji must be wrapped in colons

roles

roles: Collection<Snowflake, Role> | undefined

Collection of Roles this emoji is whitelisted to

user

user: User | undefined

The user that created this emoji

Accessors

id

  • get id(): string

Methods

URL

  • Returns the guild emoji's URL

    Parameters

    • Default value format: GuildEmojiFormat = GuildEmojiFormat.PNG

      The format of the returned emoji image

    • Optional size: undefined | number

      The size of the returned emoji image

    Returns string

clone

  • clone(): this

delete

  • delete(): Promise<void>

modify

update

Static resolve

Generated using TypeDoc