Method DeleteAutoModerationRuleAsync
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
DeleteAutoModerationRuleAsync(ulong, string?)
Deletes a auto-moderation rule by an id.
public Task DeleteAutoModerationRuleAsync(ulong ruleId, string? reason = null)
Parameters
ruleId
ulongThe rule id.
reason
stringReason for audit logs.
Returns
- Task