Table of Contents

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 ulong

The owner id to create the entitlement for.

ownerType EntitlementOwnerType

The owner type to create the entitlement for.

Returns

Task<DiscordEntitlement>

A partial DiscordEntitlement.