Table of Contents

Interface IVoiceStateUpdateShardedGatewayHandler

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

Sent when someone joins/leaves/moves voice channels. Inner payload is a VoiceState object.

public interface IVoiceStateUpdateShardedGatewayHandler : IShardedGatewayHandler

Remarks


Required Intents: GuildVoiceStates
Optional Intents: None

Methods

HandleAsync(GatewayClient, VoiceState)

Handles the gateway event.

ValueTask HandleAsync(GatewayClient client, VoiceState arg)

Parameters

client GatewayClient

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

arg VoiceState

The event argument.

Returns

ValueTask