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)

Handles the gateway event.

ValueTask HandleAsync(GatewayClient client, VoiceServerUpdateEventArgs arg)

Parameters

client GatewayClient

The gateway client that represents the shard that received the event.

arg VoiceServerUpdateEventArgs

The event argument.

Returns

ValueTask