Class ReconnectEvent


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

    This event is dispatched by Discord4J.

    • Method Detail

      • getCurrentAttempt

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