Manages API methods for ApplicationEmojis and stores their cache.
The cache of items for this manager.
Inherited from DataManagerThe client that instantiated this Manager
Inherited from BaseManagerThe data structure belonging to this manager.
Inherited from DataManagerCreates a new custom emoji of the application.
Returns
The created emojiExample
Example
| Name | Type | Optional | Description |
|---|---|---|---|
| options | ApplicationEmojiCreateOptions | No | Options for creating the emoji |
Deletes an emoji.
| Name | Type | Optional | Description |
|---|---|---|---|
| emoji | EmojiResolvable | No | The Emoji resolvable to delete |
Edits an emoji.
| Name | Type | Optional | Description |
|---|---|---|---|
| emoji | EmojiResolvable | No | The Emoji resolvable to edit |
| options | ApplicationEmojiEditOptions | No | The options to provide |
Obtains one or more emojis from Discord, or the emoji cache if they're already available.
Example
Example
| Name | Type | Optional | Description |
|---|---|---|---|
| id | Snowflake | No | The emoji's id |
| options | BaseFetchOptions | Yes | Additional options for this fetch |
Fetches the author for this emoji
| Name | Type | Optional | Description |
|---|---|---|---|
| emoji | EmojiResolvable | No | The emoji to fetch the author of |
Resolves a data entry to a data Object.
Returns
An instance from this Manager| Name | Type | Optional | Description |
|---|---|---|---|
| idOrInstance | Holds | No | The id or instance of something in this Manager |
Resolves a data entry to an instance id.
Returns
| Name | Type | Optional | Description |
|---|---|---|---|
| idOrInstance | Key | Holds | No | The id or instance of something in this Manager |