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