Class ReconnectEvent


public class ReconnectEvent extends GatewayLifecycleEvent
Indicates that a gateway connection has correctly reconnected.

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