DiscordEntitlement
@discordeno/bot • Docs
Documentation / @discordeno/bot / DiscordEntitlement
Interface: DiscordEntitlement
Properties
application_id
application_id:
string
ID of the parent application
Defined in
packages/types/dist/types/discord.d.ts:3404
consumed?
optional
consumed:boolean
For consumable items, whether or not the entitlement has been consumed
Defined in
packages/types/dist/types/discord.d.ts:3414
deleted
deleted:
boolean
Entitlement was deleted
Defined in
packages/types/dist/types/discord.d.ts:3408
ends_at?
optional
ends_at:string
Date at which the entitlement is no longer valid. Not present when using test entitlements
Defined in
packages/types/dist/types/discord.d.ts:3412
guild_id?
optional
guild_id:string
ID of the guild that is granted access to the entitlement's sku
Defined in
packages/types/dist/types/discord.d.ts:3402
id
id:
string
ID of the entitlement
Defined in
packages/types/dist/types/discord.d.ts:3396
sku_id
sku_id:
string
ID of the SKU
Defined in
packages/types/dist/types/discord.d.ts:3398
starts_at?
optional
starts_at:string
Start date at which the entitlement is valid. Not present when using test entitlements
Defined in
packages/types/dist/types/discord.d.ts:3410
type
type:
DiscordEntitlementType
Type of entitlement
Defined in
packages/types/dist/types/discord.d.ts:3406
user_id?
optional
user_id:string
ID of the user that is granted access to the entitlement's sku
Defined in
packages/types/dist/types/discord.d.ts:3400