APIAutoModerationRule
Index
Properties
actions
The actions which will execute when this rule is triggered
creator_id
The user id who created this rule
enabled
Whether this rule is enabled
event_type
The rule event type
exempt_channels
The channel ids that shouldn't be affected by this rule (Maximum of 50)
exempt_roles
The role ids that shouldn't be affected by this rule (Maximum of 20)
guild_id
The guild which this rule belongs to
id
The id of this rule
name
The rule name
trigger_metadata
The rule trigger metadata
trigger_type
The rule trigger type
https://discord.com/developers/docs/resources/auto-moderation#auto-moderation-rule-object-auto-moderation-rule-structure