Table of Contents

Interface IInteractionCreateShardedGatewayHandler

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

Sent when a user uses an interaction. Inner payload is an Interaction.

public interface IInteractionCreateShardedGatewayHandler : IShardedGatewayHandler

Remarks


Required Intents: None
Optional Intents: None

Methods

HandleAsync(GatewayClient, Interaction)

Handles the gateway event.

ValueTask HandleAsync(GatewayClient client, Interaction arg)

Parameters

client GatewayClient

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

arg Interaction

The event argument.

Returns

ValueTask