Manages API methods for Guild Stickers and stores their cache.
Extends
CachedManager<Snowflake, Sticker, StickerResolvable>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 sticker in the guild.
Returns
The created sticker| Name | Type | Optional | Description |
|---|---|---|---|
| options | GuildStickerCreateOptions | No | Options for creating a guild sticker |
Deletes a sticker.
| Name | Type | Optional | Description |
|---|---|---|---|
| sticker | StickerResolvable | No | The sticker to delete |
| reason | string | Yes | Reason for deleting this sticker |
Edits a sticker.
| Name | Type | Optional | Description |
|---|---|---|---|
| sticker | StickerResolvable | No | The sticker to edit |
| options | GuildStickerEditOptions | Yes | The new data for the sticker |
Obtains one or more stickers from Discord, or the sticker cache if they're already available.
| Name | Type | Optional | Description |
|---|---|---|---|
| id | Snowflake | No | The Sticker's id |
| options | BaseFetchOptions | Yes | Additional options for this fetch |
Fetches the user who uploaded this sticker, if this is a guild sticker.
| Name | Type | Optional | Description |
|---|---|---|---|
| sticker | StickerResolvable | No | The sticker to fetch the user for |
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 |