Skip to main content

Entitlement

Documentation


Documentation / @discordeno/bot / Entitlement

Interface: Entitlement

Defined in: transformers/types.ts:757

Properties

applicationId

applicationId: bigint

Defined in: transformers/types.ts:767

ID of the parent application


consumed?

optional consumed: boolean

Defined in: transformers/types.ts:777

For consumable items, whether or not the entitlement has been consumed


deleted

deleted: boolean

Defined in: transformers/types.ts:771

Entitlement was deleted


endsAt?

optional endsAt: number

Defined in: transformers/types.ts:775

Date at which the entitlement is no longer valid.


guildId?

optional guildId: bigint

Defined in: transformers/types.ts:765

ID of the guild that is granted access to the entitlement's sku


id

id: bigint

Defined in: transformers/types.ts:759

ID of the entitlement


skuId

skuId: bigint

Defined in: transformers/types.ts:761

ID of the SKU


startsAt?

optional startsAt: number

Defined in: transformers/types.ts:773

Start date at which the entitlement is valid.


type

type: DiscordEntitlementType

Defined in: transformers/types.ts:769

Type of entitlement


userId?

optional userId: bigint

Defined in: transformers/types.ts:763

ID of the user that is granted access to the entitlement's sku