Manages API methods for entitlements 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 DataManagerMarks an entitlement as consumed Only available for One-Time Purchase consumable SKUs.
| Name | Type | Optional | Description |
|---|---|---|---|
| entitlementId | Snowflake | No | The id of the entitlement to consume |
Creates a test entitlement
| Name | Type | Optional | Description |
|---|---|---|---|
| options | GuildEntitlementCreateOptions | UserEntitlementCreateOptions | No | Options for creating the test entitlement |
Deletes a test entitlement
| Name | Type | Optional | Description |
|---|---|---|---|
| entitlement | EntitlementResolvable | No | The entitlement to delete |
Fetches entitlements for this application
| Name | Type | Optional | Description |
|---|---|---|---|
| options | EntitlementResolvable | FetchEntitlementOptions | No | Options for fetching the entitlements |
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 |