Discore
Show / Hide Table of Contents

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>
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX