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