export interface AutoModerationRuleCreateOptions
Options used to create an auto moderation rule.
readonly AutoModerationActionOptions[] actions :
The actions that will execute when the auto moderation rule is triggered
optionalboolean enabled? :
Whether the auto moderation rule should be enabled
AutoModerationRuleEventType eventType :
The event type of the auto moderation rule
optionalReadonlyCollection<Snowflake, GuildBasedChannel> | readonly GuildChannelResolvable[] exemptChannels? :
The channels that should not be affected by the auto moderation rule
optionalReadonlyCollection<Snowflake, Role> | readonly RoleResolvable[] exemptRoles? :
The roles that should not be affected by the auto moderation rule
string name :
The name of the auto moderation rule
optionalstring reason? :
The reason for creating the auto moderation rule
optionalAutoModerationTriggerMetadataOptions triggerMetadata? :
The trigger metadata of the auto moderation rule This property is required if using a triggerType
of AutoModerationRuleTriggerType, AutoModerationRuleTriggerType, AutoModerationRuleTriggerType, or AutoModerationRuleTriggerType.
AutoModerationRuleTriggerType triggerType :
The trigger type of the auto moderation rule