Event OnDisconnected
Called when this shard disconnects from the Discord Gateway for any reason.
If a shard failure is the cause, OnFailure will be fired right before this event.Namespace: Discore.WebSocket
Assembly: Discore.dll
Syntax
public event EventHandler<ShardEventArgs>? OnDisconnected
Returns
| Type | Description |
|---|---|
| EventHandler<ShardEventArgs> |