Interface IAutoModerationActionExecutionGatewayHandler
Sent when a rule is triggered and an action is executed (e.g. when a message is blocked).
public interface IAutoModerationActionExecutionGatewayHandler : IGatewayHandler
Remarks
Required Intents: AutoModerationExecution
Optional Intents:
- MessageContent For receiving Content and MatchedContent.
Methods
HandleAsync(AutoModerationActionExecutionEventArgs)
Handles the gateway event.
ValueTask HandleAsync(AutoModerationActionExecutionEventArgs arg)
Parameters
argAutoModerationActionExecutionEventArgsThe event argument.