RESTPostAPIAutoModerationRuleJSONBody

export interface RESTPostAPIAutoModerationRuleJSONBody
export interface RESTPostAPIAutoModerationRuleJSONBody
https://discord.com/developers/docs/resources/auto-moderation#create-auto-moderation-rule
The actions which will execute when this rule is triggered
enabled?:boolean | undefined
Whether this rule is enabled false
The rule event type
exempt_channels?:Snowflake[] | undefined
The channel ids that shouldn't be affected by this rule (Maximum of 50)
exempt_roles?:Snowflake[] | undefined
The role ids that shouldn't be affected by this rule (Maximum of 20)
name:string
The rule name
The rule trigger metadataCan be omitted if the trigger type is or Spam
The rule trigger type