GetEntitlements
Documentation / @discordeno/bot / GetEntitlements
Interface: GetEntitlements
Defined in: packages/types/dist/types/discordeno.d.ts:1317
https://discord.com/developers/docs/monetization/entitlements#list-entitlements-query-params
Properties
after?
optional
after:BigString
Defined in: packages/types/dist/types/discordeno.d.ts:1325
Retrieve entitlements after this entitlement ID
before?
optional
before:BigString
Defined in: packages/types/dist/types/discordeno.d.ts:1323
Retrieve entitlements before this entitlement ID
excludeDeleted?
optional
excludeDeleted:boolean
Defined in: packages/types/dist/types/discordeno.d.ts:1333
Whether or not deleted entitlements should be omitted. Defaults to true, deleted entitlements are not included by default.
excludeEnded?
optional
excludeEnded:boolean
Defined in: packages/types/dist/types/discordeno.d.ts:1331
Whether or not ended entitlements should be omitted. Defaults to false, ended entitlements are included by default.
guildId?
optional
guildId:BigString
Defined in: packages/types/dist/types/discordeno.d.ts:1329
Guild ID to look up entitlements for
limit?
optional
limit:number
Defined in: packages/types/dist/types/discordeno.d.ts:1327
Number of entitlements to return, 1-100, default 100
skuIds?
optional
skuIds:BigString
[]
Defined in: packages/types/dist/types/discordeno.d.ts:1321
Optional list of SKU IDs to check entitlements for
userId?
optional
userId:BigString
Defined in: packages/types/dist/types/discordeno.d.ts:1319
User ID to look up entitlements for