Delegate OnCloseEvent
- Namespace
- DiscordRPC.Events
- Assembly
- DiscordRPC.dll
Called when connection to the Discord Client is lost. The connection will remain close and unready to accept messages until the Ready event is called again.
public delegate void OnCloseEvent(object sender, CloseMessage args)
Parameters
sender
objectThe Discord client handler that sent this event
args
CloseMessageThe arguments supplied with the event