Skip to main content

GetEntitlements

@discordeno/botDocs


Documentation / @discordeno/bot / GetEntitlements

Interface: GetEntitlements

https://discord.com/developers/docs/monetization/entitlements#list-entitlements-query-params

Properties

after?

optional after: BigString

Retrieve entitlements after this entitlement ID

Defined in

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


before?

optional before: BigString

Retrieve entitlements before this entitlement ID

Defined in

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


excludeEnded?

optional excludeEnded: boolean

Whether or not ended entitlements should be omitted

Defined in

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


guildId?

optional guildId: BigString

Guild ID to look up entitlements for

Defined in

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


limit?

optional limit: number

Number of entitlements to return, 1-100, default 100

Defined in

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


skuIds?

optional skuIds: BigString[]

Optional list of SKU IDs to check entitlements for

Defined in

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


userId?

optional userId: BigString

User ID to look up entitlements for

Defined in

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