Manages API methods for GuildEmojis and stores their cache.
Extends
BaseGuildEmojiManagerThe 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 in the guild.
Returns
The created emoji| Name | Type | Optional | Description |
|---|---|---|---|
| options | GuildEmojiCreateOptions | No | Options for creating the emoji |
Deletes an emoji.
| Name | Type | Optional | Description |
|---|---|---|---|
| emoji | EmojiResolvable | No | The Emoji resolvable to delete |
| reason | string | Yes | Reason for deleting the emoji |
Edits an emoji.
| Name | Type | Optional | Description |
|---|---|---|---|
| emoji | EmojiResolvable | No | The Emoji resolvable to edit |
| options | GuildEmojiEditOptions | No | The options to provide |
Obtains one or more emojis from Discord, or the emoji cache if they're already available.
| 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 | K | Holds | No | The id or instance of something in this Manager |
Resolves an EmojiResolvable to an emoji identifier.
Returns
| Name | Type | Optional | Description |
|---|---|---|---|
| emoji | EmojiIdentifierResolvable | No | The emoji resolvable to resolve |