Method CreateTestEntitlementAsync
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
CreateTestEntitlementAsync(ulong, EntitlementOwnerType)
Creates a test entitlement for this sku.
public Task<DiscordEntitlement> CreateTestEntitlementAsync(ulong ownerId, EntitlementOwnerType ownerType)
Parameters
ownerId
ulongThe owner id to create the entitlement for.
ownerType
EntitlementOwnerTypeThe owner type to create the entitlement for.
Returns
- Task<DiscordEntitlement>
A partial DiscordEntitlement.