Table of Contents

Interface IVoiceChannelEffectSendShardedGatewayHandler

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

Sent when someone sends an effect, such as an emoji reaction or a soundboard sound, in a voice channel the current user is connected to. Inner payload is a VoiceChannelEffectSendEventArgs object.

public interface IVoiceChannelEffectSendShardedGatewayHandler : IShardedGatewayHandler

Remarks


Required Intents: GuildVoiceStates
Optional Intents: None

Methods

HandleAsync(GatewayClient, VoiceChannelEffectSendEventArgs)

Handles the gateway event.

ValueTask HandleAsync(GatewayClient client, VoiceChannelEffectSendEventArgs arg)

Parameters

client GatewayClient

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

arg VoiceChannelEffectSendEventArgs

The event argument.

Returns

ValueTask