BaseGuildEmoji

export class BaseGuildEmoji extends Emoji
export class BaseGuildEmoji extends Emoji
Parent class for GuildEmoji and GuildPreviewEmoji.

Extends

Emoji
constructor(client, data, guild)
Constructs a new instance of the BaseGuildEmoji class
NameTypeOptionalDescription
clientClient<true>NoNone
dataRawGuildEmojiDataNoNone
guildGuild | GuildPreviewNoNone
animated:boolean | null
Whether or not the emoji is animated
Inherited from Emoji
available:boolean | null
Whether this emoji is available
Readonly
client:Client<true>
The client that instantiated this
Inherited from Base
Readonly
createdAt:Date
The time the emoji was created at, or null if unicode
Readonly
createdTimestamp:number
The timestamp the emoji was created at, or null if unicode
The guild this emoji is a part of
The emoji's id
Readonly
identifier:string
The identifier of this emoji, used for message reactions
Inherited from Emoji
managed:boolean | null
Whether this emoji is managed by an external service
name:string | null
The emoji's name
Inherited from Emoji
requiresColons:boolean | null
Whether or not this emoji requires colons surrounding it
DeprecatedReadonly
url:string
Use imageURL instead.
Deprecated
Returns a URL for the emoji.
imageURL(options?):string
Returns a URL for the emoji.
NameTypeOptionalDescription
optionsBaseImageURLOptionsYesOptions for the image URL
toJSON():unknown
toString():string
When concatenated with a string, this automatically returns the text required to form a graphical emoji on Discord instead of the Emoji object.
Inherited from Emoji
valueOf():string