Event OnReconnected
Called when the internal connection of this shard reconnected to the Discord Gateway.
This can be used to reset things such as the user presence, which is cleared when a new session has been created. This event will always be fired before Gateway OnReady.
Namespace: Discore.WebSocket
Assembly: Discore.dll
Syntax
public event EventHandler<ShardReconnectedEventArgs>? OnReconnected
Returns
| Type | Description |
|---|---|
| EventHandler<ShardReconnectedEventArgs> |