Table of Contents

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 ulong

The 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 DiscordEntitlement

The entitlement which will be marked as consumed

Returns

ValueTask