Interface IVoiceStateUpdateShardedGatewayHandler
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
clientGatewayClientThe gateway client that represents the shard that received the event.
argVoiceStateThe event argument.