Class: Emoji
The base class for all structures.
Extends
Constructors
Constructor
new Emoji(
client,data):Emoji
Parameters
| Parameter | Type |
|---|---|
client | Client |
data | { } |
Returns
Emoji
Overrides
Properties
animated
animated:
boolean=false
cachedAt
cachedAt:
number
Inherited from
client
protectedreadonlyclient:Client
Inherited from
creatorId
creatorId:
string
id
readonlyid:string
Inherited from
name
name:
string
nsfw
nsfw:
boolean=false
parent
parent:
EmojiParent
Methods
_clone()
_clone():
this
Helper to quickly clone a structure
Returns
this
Inherited from
_patch()
_patch(
data):void
Parameters
| Parameter | Type |
|---|---|
data | { } |
Returns
void
equals()
equals(
other):boolean
Compares this object with another to see if they represent the same entity.
Parameters
| Parameter | Type |
|---|---|
other | string | Base |
Returns
boolean
Inherited from
toString()
toString():
string
Returns the UUID string when the object is cast to a string.
Returns
string