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