AutoModerationRuleCreateOptions

export interface AutoModerationRuleCreateOptions
export interface AutoModerationRuleCreateOptions
Options used to create an auto moderation rule.
actions:readonly AutoModerationActionOptions[]
The actions that will execute when the auto moderation rule is triggered
enabled?:boolean
Whether the auto moderation rule should be enabled
The event type of the auto moderation rule
The channels that should not be affected by the auto moderation rule
exemptRoles?:ReadonlyCollection<Snowflake, Role> | readonly RoleResolvable[]
The roles that should not be affected by the auto moderation rule
name:string
The name of the auto moderation rule
reason?:string
The reason for creating the auto moderation rule
The trigger type of the auto moderation rule