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
ulongThe rule id.
Returns
- Task<DiscordAutoModerationRule>
The found rule.