export interface AutoModerationRuleCreateOptionsOptions used to create an auto moderation rule.
actions : readonly AutoModerationActionOptions[]
The actions that will execute when the auto moderation rule is triggered
optionalenabled? : boolean
Whether the auto moderation rule should be enabled
eventType : AutoModerationRuleEventType
The event type of the auto moderation rule
optionalexemptChannels? : ReadonlyCollection<Snowflake, GuildBasedChannel> | readonly GuildChannelResolvable[]
The channels that should not be affected by the auto moderation rule
optionalexemptRoles? : 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
optionalreason? : string
The reason for creating the auto moderation rule
optionaltriggerMetadata? : AutoModerationTriggerMetadataOptions
The trigger metadata of the auto moderation rule This property is required if using a triggerType of AutoModerationRuleTriggerType.Keyword, AutoModerationRuleTriggerType.KeywordPreset, AutoModerationRuleTriggerType.MentionSpam, or AutoModerationRuleTriggerType.MemberProfile.
triggerType : AutoModerationRuleTriggerType
The trigger type of the auto moderation rule