Method DeleteGuildAutoModerationRuleAsync
- Namespace
 - DSharpPlus.Net
 
- Assembly
 - DSharpPlus.dll
 
DeleteGuildAutoModerationRuleAsync(ulong, ulong, string?)
Internal method to delete an auto-moderation rule in a guild.
public ValueTask DeleteGuildAutoModerationRuleAsync(ulong guildId, ulong ruleId, string? reason = null)
Parameters
guildIdulongThe id of the guild where the rule is in.
ruleIdulongThe rule id that will be deleted.
reasonstringThe reason for audits logs.