Method CreateTestEntitlementAsync
- Namespace
- DisCatSharp
- Assembly
- DisCatSharp.dll
CreateTestEntitlementAsync(ulong, ulong, EntitlementOwnerType)
Creates a test entitlement.
[RequiresFeature(Features.MonetizedApplication)]
public Task<DiscordEntitlement> CreateTestEntitlementAsync(ulong skuId, ulong ownerId, EntitlementOwnerType ownerType)
Parameters
skuIdulongThe sku id to create the entitlement for.
ownerIdulongThe owner id to create the entitlement for.
ownerTypeEntitlementOwnerTypeThe owner type to create the entitlement for.
Returns
- Task<DiscordEntitlement>
A partial DiscordEntitlement.