RESTPostAPIAutoModerationRuleJSONBody

export interface RESTPostAPIAutoModerationRuleJSONBody
export interface RESTPostAPIAutoModerationRuleJSONBody
The actions which will execute when this rule is triggered
enabled?:boolean | undefined
Whether this rule is enabled
Default value
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 Spam
The rule trigger type