The actions which will execute when this rule is triggered
OptionalenabledWhether this rule is enabled
The rule event type
Optionalexempt_The channel ids that shouldn't be affected by this rule (Maximum of 50)
Optionalexempt_The role ids that shouldn't be affected by this rule (Maximum of 20)
The rule name
Optionaltrigger_The rule trigger metadata
Can be omitted if the trigger type is AutoModerationRuleTriggerType.Spam
The rule trigger type
See
https://discord.com/developers/docs/resources/auto-moderation#create-auto-moderation-rule