Class SessionRecreateEvent

All Implemented Interfaces:
GenericEvent

public class SessionRecreateEvent extends GenericSessionEvent
Indicates if JDA successfully re-established its connection to the gateway.
All Objects have been replaced when this is fired and events were likely missed in the downtime.

Can be used to mark the continuation of event flow which was stopped by the SessionDisconnectEvent. User should replace any cached Objects (like User/Guild objects).

  • Constructor Details

    • SessionRecreateEvent

      public SessionRecreateEvent(@Nonnull JDA api)