Class ReconnectFailEvent


public class ReconnectFailEvent extends GatewayLifecycleEvent
Indicates that a reconnection attempt has failed and a new attempt should be scheduled, in that case, this event will be followed by a ReconnectStartEvent.

This event is dispatched by Discord4J.

  • Constructor Details

  • Method Details

    • getCurrentAttempt

      public long getCurrentAttempt()
      Gets the current reconnect attempt.
      Returns:
      The current reconnect attempt.
    • toString

      public String toString()
      Overrides:
      toString in class Object