Class ScheduledEventUserRemoveEvent

All Implemented Interfaces:
GenericEvent

public class ScheduledEventUserRemoveEvent extends GenericScheduledEventUserEvent
Indicates that a User has unsubscribed from a ScheduledEvent.

Can be used to detect when someone unsubscribed to an event and also retrieve their User object as well as the ScheduledEvent.

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 Details

    • ScheduledEventUserRemoveEvent

      public ScheduledEventUserRemoveEvent(@Nonnull JDA api, long responseNumber, @Nonnull ScheduledEvent scheduledEvent, long userId)