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
guildId
ulongThe id of the guild where the rule is in.
ruleId
ulongThe rule id that will be deleted.
reason
stringThe reason for audits logs.
Returns
- ValueTask