Class ScheduledEventDeleteEvent
java.lang.Object
net.dv8tion.jda.api.events.Event
net.dv8tion.jda.api.events.guild.GenericGuildEvent
net.dv8tion.jda.api.events.guild.scheduledevent.GenericScheduledEventGatewayEvent
net.dv8tion.jda.api.events.guild.scheduledevent.ScheduledEventDeleteEvent
- All Implemented Interfaces:
GenericEvent
Indicates that a
ScheduledEvent
object has been deleted.
Can be used to detect when a ScheduledEvent
was deleted and retrieve the deleted scheduled event.
Requirements
This event requires the SCHEDULED_EVENTS
intent and CacheFlag.SCHEDULED_EVENTS
to be enabled.
createDefault(String)
and
createLight(String)
disable this by default!
-
Constructor Summary
ConstructorDescriptionScheduledEventDeleteEvent
(JDA api, long responseNumber, ScheduledEvent scheduledEvent) -
Method Summary
Methods inherited from class net.dv8tion.jda.api.events.guild.scheduledevent.GenericScheduledEventGatewayEvent
getScheduledEvent
Methods inherited from class net.dv8tion.jda.api.events.guild.GenericGuildEvent
getGuild
Methods inherited from class net.dv8tion.jda.api.events.Event
getJDA, getRawData, getResponseNumber, toString
-
Constructor Details
-
ScheduledEventDeleteEvent
public ScheduledEventDeleteEvent(@Nonnull JDA api, long responseNumber, @Nonnull ScheduledEvent scheduledEvent)
-