export interface AutoModerationRuleCreateOptions
Options used to create an auto moderation rule.
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
optionalCollection<Snowflake, GuildBasedChannel> | GuildChannelResolvable[] exemptChannels? :
The channels that should not be affected by the auto moderation rule
optionalCollection<Snowflake, Role> | 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, or AutoModerationRuleTriggerType.
AutoModerationRuleTriggerType triggerType :
The trigger type of the auto moderation rule