Preparing search index...
The search index is not available
Oceanic
Oceanic
Entitlement
Class Entitlement
Represents an entitlement.
Hierarchy (
view full
)
BaseEntitlement
Entitlement
Index
Constructors
constructor
Properties
applicationID
client
consumed
deleted
ends
At
gift
Code
Flags
guildID
id
promotionID
skuID
starts
At
subscriptionID
type
userID
Accessors
created
At
Methods
toJSON
to
String
generateID
get
Created
At
get
Discord
Epoch
Constructors
constructor
new
Entitlement
(
data
,
client
)
:
Entitlement
Parameters
data
:
RawEntitlement
client
:
Client
<
ClientEvents
>
Returns
Entitlement
Properties
applicationID
applicationID
:
string
client
client
:
Client
<
ClientEvents
>
consumed
consumed
:
boolean
deleted
deleted
:
boolean
ends
At
ends
At
:
Date
gift
Code
Flags
gift
Code
Flags
:
number
guildID
guildID
:
null
|
string
id
id
:
string
promotionID
promotionID
:
null
|
string
skuID
skuID
:
string
starts
At
starts
At
:
Date
subscriptionID
subscriptionID
:
string
type
type
:
APPLICATION_SUBSCRIPTION
userID
userID
:
null
|
string
Accessors
created
At
get
createdAt
(
)
:
Date
Returns
Date
Methods
toJSON
toJSON
(
)
:
JSONEntitlement
Returns
JSONEntitlement
to
String
to
String
(
)
:
string
Returns
string
Static
generateID
generateID
(
timestamp
?
)
:
string
Parameters
timestamp
:
number
|
Date
= ...
Returns
string
Static
get
Created
At
get
Created
At
(
id
)
:
Date
Parameters
id
:
string
Returns
Date
Static
get
Discord
Epoch
get
Discord
Epoch
(
id
)
:
number
Parameters
id
:
string
Returns
number
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
applicationID
client
consumed
deleted
ends
At
gift
Code
Flags
guildID
id
promotionID
skuID
starts
At
subscriptionID
type
userID
created
At
toJSON
to
String
generateID
get
Created
At
get
Discord
Epoch
Oceanic
AnnouncementChannel
AnnouncementThreadChannel
Application
ApplicationCommand
Attachment
AuditLogEntry
AutoModerationRule
AutocompleteInteraction
Base
BaseEntitlement
Bucket
CategoryChannel
Channel
Client
ClientApplication
Collection
CommandInteraction
ComponentInteraction
DependencyError
DiscordHTTPError
DiscordRESTError
Loading...
Represents an entitlement.