Entitlement
Documentation / @discordeno/bot / Entitlement
Interface: Entitlement
Defined in: bot/src/transformers/types.ts:701
Properties
applicationId
applicationId:
bigint
Defined in: bot/src/transformers/types.ts:711
ID of the parent application
consumed?
optionalconsumed:boolean
Defined in: bot/src/transformers/types.ts:721
For consumable items, whether or not the entitlement has been consumed
deleted
deleted:
boolean
Defined in: bot/src/transformers/types.ts:715
Entitlement was deleted
endsAt?
optionalendsAt:number
Defined in: bot/src/transformers/types.ts:719
Date at which the entitlement is no longer valid.
guildId?
optionalguildId:bigint
Defined in: bot/src/transformers/types.ts:709
ID of the guild that is granted access to the entitlement's sku
id
id:
bigint
Defined in: bot/src/transformers/types.ts:703
ID of the entitlement
skuId
skuId:
bigint
Defined in: bot/src/transformers/types.ts:705
ID of the SKU
startsAt?
optionalstartsAt:number
Defined in: bot/src/transformers/types.ts:717
Start date at which the entitlement is valid.
type
type:
DiscordEntitlementType
Defined in: bot/src/transformers/types.ts:713
Type of entitlement
userId?
optionaluserId:bigint
Defined in: bot/src/transformers/types.ts:707
ID of the user that is granted access to the entitlement's sku