DiscordCloseEvent
class DiscordCloseEvent(val kord: Kord, val shard: Int, val closeCode: GatewayCloseCode, val recoverable: Boolean, val customContext: Any?) : DisconnectEvent(source)
Discord closed the connection with a closeCode.
Parameters
recoverable
true if the gateway will automatically try to reconnect.
Constructors
Link copied to clipboard
constructor(kord: Kord, shard: Int, closeCode: GatewayCloseCode, recoverable: Boolean, customContext: Any?)