emojis
list
Returns list of emojis in guild
get
Returns emoji object for given guild and emoji ids
create
Creates a new emoji for a guild
name
string
name of the emoji
image
base64 string
the 128x128 image
roles
Snowflake[]
roles allowed to use this emoji
edit
Edits the given emoji
name?
string
name of the emoji
roles?
?Snowflake[]
roles allowed to use this emoji
delete
Deletes the given emoji
classes
Emoji
properties
id
Snowflake
emoji id
name
?string
emoji name
roles?
string[]
roles allowed to use this emoji
user?
User
user that created this emoji
require_colons?
boolean
whether this emoji must be wrapped in colons
managed?
boolean
whether this emoji is managed
animated?
boolean
whether this emoji is animated
available?
boolean
whether this emoji can be used, may be false due to loss of Server Boosts
guild_id
Snowflake
id of guild this emoji is in
methods
get
Gets this emoji (Updates this class instance)
edit
Edits this emoji (Updates this class instance)
delete
Deletes this emoji
Last updated
Was this helpful?