Class EntitlementDeleteEvent
java.lang.Object
net.dv8tion.jda.api.events.Event
net.dv8tion.jda.api.events.entitlement.GenericEntitlementEvent
net.dv8tion.jda.api.events.entitlement.EntitlementDeleteEvent
- All Implemented Interfaces:
GenericEvent
Indicates that an
Entitlement
was deleted. Entitlement
deletions are infrequent and occur strictly when:
- Discord issues a refund for a subscription; or
- Discord removes an
Entitlement
via internal tooling
-
Constructor Summary
ConstructorDescriptionEntitlementDeleteEvent
(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
-
EntitlementDeleteEvent
public EntitlementDeleteEvent(@Nonnull JDA api, long responseNumber, @Nonnull Entitlement entitlement)
-