Class ScheduledEventCreateEvent


  • public class ScheduledEventCreateEvent
    extends GuildEvent
    Dispatched when a guild scheduled event is created.

    This event is dispatched by Discord.

    See Also:
    Discord
    • Method Detail

      • getScheduledEvent

        public ScheduledEvent getScheduledEvent()
        Return the ScheduledEvent associated with this create event.
        Returns:
        a created scheduled event
      • getGuild

        public Mono<Guild> getGuild()
        Requests to retrieve the Guild where a scheduled event was created.
        Returns:
        a Mono where, upon successful completion, emits the Guild involved. If an error is received, it is emitted through the Mono.