Event OnVoiceServerUpdate
Called when the voice server for a guild is updated.
Namespace: Discore.WebSocket
Assembly: Discore.dll
Syntax
event EventHandler<VoiceServerUpdateEventArgs>? OnVoiceServerUpdate
Returns
| Type | Description |
|---|---|
| EventHandler<VoiceServerUpdateEventArgs> |
Remarks
This is sent when initially connecting to voice and when the current voice instance fails over to a new server.
Usually, applications do not need to listen for this as DiscordVoiceConnection will handle it for you.