Table of Contents

Interface IMessageReactionAddShardedGatewayHandler

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

Sent when a user adds a reaction to a message.

public interface IMessageReactionAddShardedGatewayHandler : IShardedGatewayHandler

Remarks


Required Intents: GuildMessageReactions, DirectMessageReactions
Optional Intents: None

Methods

HandleAsync(GatewayClient, MessageReactionAddEventArgs)

Handles the gateway event.

ValueTask HandleAsync(GatewayClient client, MessageReactionAddEventArgs arg)

Parameters

client GatewayClient

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

arg MessageReactionAddEventArgs

The event argument.

Returns

ValueTask