Table of Contents

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 ulong

The rule id.

reason string

Reason for audit logs.

Returns

Task