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
senderobjectThe Discord client handler that sent this event
argsCloseMessageThe arguments supplied with the event