The actions which will execute when this rule is triggered
Optional
enabledWhether this rule is enabled
false
The rule event type
Optional
exempt_The channel ids that shouldn't be affected by this rule (Maximum of 50)
Optional
exempt_The role ids that shouldn't be affected by this rule (Maximum of 20)
The rule name
Optional
trigger_The rule trigger metadata
Can be omitted if the trigger type is AutoModerationRuleTriggerType.HarmfulLink or Spam
The rule trigger type
Generated using TypeDoc
https://discord.com/developers/docs/resources/auto-moderation#create-auto-moderation-rule