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)

ValueTask HandleAsync(GatewayClient client, AutoModerationActionExecutionEventArgs arg)

Parameters

client GatewayClient
arg AutoModerationActionExecutionEventArgs

Returns

ValueTask