Methods
create
- create(guildId: string, data: RESTPostAPIGuildEmojiJSONBody): Promise<APIEmoji>
-
Parameters
-
guildId: string
-
data: RESTPostAPIGuildEmojiJSONBody
Returns Promise<APIEmoji>
delete
- delete(guildId: string, emojiId: string): Promise<never>
-
Parameters
-
guildId: string
-
emojiId: string
Returns Promise<never>
edit
- edit(guildId: string, emojiId: string, data: RESTPatchAPIGuildEmojiJSONBody): Promise<APIEmoji>
-
Parameters
-
guildId: string
-
emojiId: string
-
data: RESTPatchAPIGuildEmojiJSONBody
Returns Promise<APIEmoji>
get
- get(guildId: string, emojiId: string): Promise<APIEmoji>
-
Parameters
-
guildId: string
-
emojiId: string
Returns Promise<APIEmoji>
getMany
- getMany(guildId: string): Promise<RESTGetAPIGuildEmojisResult>
-
Parameters
Returns Promise<RESTGetAPIGuildEmojisResult>
Emojis resource