Table of Contents

Interface IAutoModerationActionExecutionShardedGatewayHandler

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

Sent when a rule is triggered and an action is executed (e.g. when a message is blocked).

public interface IAutoModerationActionExecutionShardedGatewayHandler : IShardedGatewayHandler

Remarks


Required Intents: AutoModerationExecution
Optional Intents:

Methods

HandleAsync(GatewayClient, AutoModerationActionExecutionEventArgs)

Handles the gateway event.

ValueTask HandleAsync(GatewayClient client, AutoModerationActionExecutionEventArgs arg)

Parameters

client GatewayClient

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

arg AutoModerationActionExecutionEventArgs

The event argument.

Returns

ValueTask