Skip to content

DiscordEmoji

The DiscordEmoji class represents a Discord emoji and provides a structure for emoji data.

Properties

id

DiscordEmoji.id  :: string

name

DiscordEmoji.name  :: string

roles

DiscordEmoji.roles  :: { string }

requireColons

DiscordEmoji.requireColons  :: boolean

managed

DiscordEmoji.managed  :: boolean

animated

DiscordEmoji.animated  :: boolean

available

DiscordEmoji.available  :: boolean

type

DiscordEmoji.type  :: string

The type of the DiscordEmoji. Default is “DiscordEmoji”.

Methods

The DiscordEmoji instance has no set methods!

Functions

new

DiscordEmoji . new (

     discordClient: any
     emojiData: table
)  -> ()

Creates a new DiscordEmoji instance.