Method HandleAutoModerationRuleCreated
- Namespace
- DSharpPlus
- Assembly
- DSharpPlus.dll
HandleAutoModerationRuleCreated(Func<DiscordClient, AutoModerationRuleCreatedEventArgs, Task>)
Fired when a new auto-moderation rule is created.
public EventHandlingBuilder HandleAutoModerationRuleCreated(Func<DiscordClient, AutoModerationRuleCreatedEventArgs, Task> handler)
Parameters
handler
Func<DiscordClient, AutoModerationRuleCreatedEventArgs, Task>