Table of Contents

Method GetAutoModerationRulesAsync

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

GetAutoModerationRulesAsync()

Gets all auto-moderation rules in the guild.

public Task<IReadOnlyList<DiscordAutoModerationRule>> GetAutoModerationRulesAsync()

Returns

Task<IReadOnlyList<DiscordAutoModerationRule>>

All rules available in the guild.