Entitlement
Documentation / @discordeno/bot / Entitlement
Interface: Entitlement
Defined in: packages/bot/src/transformers/types.ts:647
Properties
applicationId
applicationId:
bigint
Defined in: packages/bot/src/transformers/types.ts:657
ID of the parent application
consumed?
optional
consumed:boolean
Defined in: packages/bot/src/transformers/types.ts:667
For consumable items, whether or not the entitlement has been consumed
deleted
deleted:
boolean
Defined in: packages/bot/src/transformers/types.ts:661
Entitlement was deleted
endsAt?
optional
endsAt:number
Defined in: packages/bot/src/transformers/types.ts:665
Date at which the entitlement is no longer valid.
guildId?
optional
guildId:bigint
Defined in: packages/bot/src/transformers/types.ts:655
ID of the guild that is granted access to the entitlement's sku
id
id:
bigint
Defined in: packages/bot/src/transformers/types.ts:649
ID of the entitlement
skuId
skuId:
bigint
Defined in: packages/bot/src/transformers/types.ts:651
ID of the SKU
startsAt?
optional
startsAt:number
Defined in: packages/bot/src/transformers/types.ts:663
Start date at which the entitlement is valid.
type
type:
DiscordEntitlementType
Defined in: packages/bot/src/transformers/types.ts:659
Type of entitlement
userId?
optional
userId:bigint
Defined in: packages/bot/src/transformers/types.ts:653
ID of the user that is granted access to the entitlement's sku