DiscordEntitlement
Documentation / @discordeno/bot / DiscordEntitlement
Interface: DiscordEntitlement
Defined in: packages/types/dist/types/discord.d.ts:3397
Properties
application_id
application_id:
string
Defined in: packages/types/dist/types/discord.d.ts:3407
ID of the parent application
consumed?
optional
consumed:boolean
Defined in: packages/types/dist/types/discord.d.ts:3417
For consumable items, whether or not the entitlement has been consumed
deleted
deleted:
boolean
Defined in: packages/types/dist/types/discord.d.ts:3411
Entitlement was deleted
ends_at
ends_at:
null
|string
Defined in: packages/types/dist/types/discord.d.ts:3415
Date at which the entitlement is no longer valid.
guild_id?
optional
guild_id:string
Defined in: packages/types/dist/types/discord.d.ts:3405
ID of the guild that is granted access to the entitlement's sku
id
id:
string
Defined in: packages/types/dist/types/discord.d.ts:3399
ID of the entitlement
sku_id
sku_id:
string
Defined in: packages/types/dist/types/discord.d.ts:3401
ID of the SKU
starts_at
starts_at:
null
|string
Defined in: packages/types/dist/types/discord.d.ts:3413
Start date at which the entitlement is valid.
type
type:
DiscordEntitlementType
Defined in: packages/types/dist/types/discord.d.ts:3409
Type of entitlement
user_id?
optional
user_id:string
Defined in: packages/types/dist/types/discord.d.ts:3403
ID of the user that is granted access to the entitlement's sku