public class ReconnectFailEvent extends GatewayLifecycleEvent
ReconnectStartEvent
.
This event is dispatched by Discord4J.
Constructor and Description |
---|
ReconnectFailEvent(DiscordClient client,
int currentAttempt) |
Modifier and Type | Method and Description |
---|---|
int |
getCurrentAttempt()
Gets the current reconnect attempt.
|
String |
toString() |
public ReconnectFailEvent(DiscordClient client, int currentAttempt)