detritus
On this page

Entitlement Structure

import { Structures } from 'detritus-client';

Structures.Entitlement;
18 properties4 methods15 inheritedsrc/structures/entitlement.ts:36

Constructor

Properties

applicationId
string
Default ''
client
readonly
Inherited from BaseStructure.client
consumed?
boolean
optional
deleted
boolean
Default false
endsAtUnix
number
Default 0
guildId?
string
optional
id
string
Default ''
skuId
string
Default ''
startsAtUnix
number
Default 0
type
number
Default EntitlementTypes.APPLICATION_SUBSCRIPTION
userId?
string
optional

Accessors

createdAt
Date | null
get
createdAtUnix
number | null
get
ended
boolean
get
endsAt
Date | undefined
get
guild
Guild | null
get
isClone
boolean
get
Inherited from BaseStructure.isClone
shardId
number
get
Inherited from BaseStructure.shardId
started
boolean
get
startsAt
Date | undefined
get
user
User | null
get

Methods