Table of Contents

Interface IVoiceServerUpdateShardedGatewayHandler

Namespace
NetCord.Hosting.Gateway
Assembly
NetCord.Hosting.dll

Sent when a guild's voice server is updated. This is sent when initially connecting to voice, and when the current voice instance fails over to a new server.

public interface IVoiceServerUpdateShardedGatewayHandler : IShardedGatewayHandler

Remarks


Required Intents: None
Optional Intents: None

Methods

HandleAsync(GatewayClient, VoiceServerUpdateEventArgs)

ValueTask HandleAsync(GatewayClient client, VoiceServerUpdateEventArgs arg)

Parameters

client GatewayClient
arg VoiceServerUpdateEventArgs

Returns

ValueTask