Method CreateTestEntitlementAsync
- Namespace
 - DSharpPlus.Net
 
- Assembly
 - DSharpPlus.dll
 
CreateTestEntitlementAsync(ulong, ulong, ulong, DiscordTestEntitlementOwnerType)
Create a test entitlement which can be granted to a user or a guild
public ValueTask<DiscordEntitlement> CreateTestEntitlementAsync(ulong applicationId, ulong skuId, ulong ownerId, DiscordTestEntitlementOwnerType ownerType)
Parameters
applicationIdulongThe id of the application the SKU belongs to
skuIdulongThe id of the SKU the entitlement belongs to
ownerIdulongThe id of the entity which should recieve the entitlement
ownerTypeDiscordTestEntitlementOwnerTypeThe type of the entity which should recieve the entitlement
Returns
- ValueTask<DiscordEntitlement>
 Returns a partial entitlment