Table of Contents

Method HandleAutoModerationRuleExecuted

Namespace
DSharpPlus
Assembly
DSharpPlus.dll

HandleAutoModerationRuleExecuted(Func<DiscordClient, AutoModerationRuleExecutedEventArgs, Task>)

Fired when an auto-moderation is executed.

public EventHandlingBuilder HandleAutoModerationRuleExecuted(Func<DiscordClient, AutoModerationRuleExecutedEventArgs, Task> handler)

Parameters

handler Func<DiscordClient, AutoModerationRuleExecutedEventArgs, Task>

Returns

EventHandlingBuilder