Method ConsumeEntitlementAsync
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
ConsumeEntitlementAsync(ulong)
For One-Time Purchase consumable SKUs, marks a given entitlement for the user as consumed.
public ValueTask ConsumeEntitlementAsync(ulong entitlementId)
Parameters
entitlementId
ulongThe id of the entitlement which will be marked as consumed
Returns
- ValueTask
ConsumeEntitlementAsync(DiscordEntitlement)
For One-Time Purchase consumable SKUs, marks a given entitlement for the user as consumed.
public ValueTask ConsumeEntitlementAsync(DiscordEntitlement entitlement)
Parameters
entitlement
DiscordEntitlementThe entitlement which will be marked as consumed
Returns
- ValueTask