Class EntitlementUpdateEvent
java.lang.Object
net.dv8tion.jda.api.events.Event
net.dv8tion.jda.api.events.entitlement.GenericEntitlementEvent
net.dv8tion.jda.api.events.entitlement.EntitlementUpdateEvent
- All Implemented Interfaces:
GenericEvent
Indicates an
Entitlement
has renewed for the next billing period.
The timeEnding
will have an updated value with the new expiration date.
Notice
The timeEnding
is updated for active subscriptions at the end of every billing period to
indicate renewal. When an Entitlement
has not been renewed, Discord will indicate this by not emitting
an EntitlementUpdateEvent
with the new timeEnding
date
- See Also:
-
Constructor Summary
ConstructorDescriptionEntitlementUpdateEvent
(JDA api, long responseNumber, Entitlement entitlement) -
Method Summary
Methods inherited from class net.dv8tion.jda.api.events.entitlement.GenericEntitlementEvent
getEntitlement
Methods inherited from class net.dv8tion.jda.api.events.Event
getJDA, getRawData, getResponseNumber, toString
-
Constructor Details
-
EntitlementUpdateEvent
public EntitlementUpdateEvent(@Nonnull JDA api, long responseNumber, @Nonnull Entitlement entitlement)
-