Entitlement
Documentation / @discordeno/bot / Entitlement
Interface: Entitlement
Defined in: transformers/types.ts:878
Properties
applicationId
applicationId:
bigint
Defined in: transformers/types.ts:888
ID of the parent application
consumed?
optionalconsumed?:boolean
Defined in: transformers/types.ts:898
For consumable items, whether or not the entitlement has been consumed
deleted
deleted:
boolean
Defined in: transformers/types.ts:892
Entitlement was deleted
endsAt?
optionalendsAt?:number
Defined in: transformers/types.ts:896
Date at which the entitlement is no longer valid.
guildId?
optionalguildId?:bigint
Defined in: transformers/types.ts:886
ID of the guild that is granted access to the entitlement's sku
id
id:
bigint
Defined in: transformers/types.ts:880
ID of the entitlement
skuId
skuId:
bigint
Defined in: transformers/types.ts:882
ID of the SKU
startsAt?
optionalstartsAt?:number
Defined in: transformers/types.ts:894
Start date at which the entitlement is valid.
type
type:
DiscordEntitlementType
Defined in: transformers/types.ts:890
Type of entitlement
userId?
optionaluserId?:bigint
Defined in: transformers/types.ts:884
ID of the user that is granted access to the entitlement's sku