Skip to main content

CreateEntitlement

@discordeno/botDocs


Documentation / @discordeno/bot / CreateEntitlement

Interface: CreateEntitlement

https://discord.com/developers/docs/monetization/entitlements#create-test-entitlement-json-params

Properties

ownerId

ownerId: BigString

ID of the guild or user to grant the entitlement to

Defined in

packages/types/dist/types/discordeno.d.ts:1338


ownerType

ownerType: CreateEntitlementOwnerType

The type of entitlement, guild subscription or user subscription

Defined in

packages/types/dist/types/discordeno.d.ts:1340


skuId

skuId: BigString

ID of the SKU to grant the entitlement to

Defined in

packages/types/dist/types/discordeno.d.ts:1336