Table of Contents

Method GetAutoModerationRuleAsync

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

GetAutoModerationRuleAsync(ulong)

Gets an auto-moderation rule by an id.

public Task<DiscordAutoModerationRule> GetAutoModerationRuleAsync(ulong ruleId)

Parameters

ruleId ulong

The rule id.

Returns

Task<DiscordAutoModerationRule>

The found rule.