Class ScheduledEventCreateEvent
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.ScheduledEventCreateEvent
- All Implemented Interfaces:
GenericEvent
Indicates that a
ScheduledEvent
object has been created.
Can be used to detect when a ScheduledEvent
was created and retrieve the created 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
ConstructorDescriptionScheduledEventCreateEvent
(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
-
ScheduledEventCreateEvent
public ScheduledEventCreateEvent(@Nonnull JDA api, long responseNumber, @Nonnull ScheduledEvent scheduledEvent)
-