public class ReconnectFailEvent extends GatewayLifecycleEvent
ReconnectStartEvent
.
This event is dispatched by Discord4J.
Constructor and Description |
---|
ReconnectFailEvent(GatewayDiscordClient gateway,
ShardInfo shardInfo,
long currentAttempt) |
Modifier and Type | Method and Description |
---|---|
long |
getCurrentAttempt()
Gets the current reconnect attempt.
|
String |
toString() |
getClient, getShardInfo
public ReconnectFailEvent(GatewayDiscordClient gateway, ShardInfo shardInfo, long currentAttempt)