interface AutoModerationRuleEditOptions
extends
Partial<Omit<AutoModerationRuleCreateOptions, 'triggerType'>>export interface AutoModerationRuleEditOptions extends Partial<Omit<AutoModerationRuleCreateOptions, 'triggerType'>>Options used to edit an auto moderation rule.
actions : Array<AutoModerationActionOptions>
The actions that will execute when the auto moderation rule is triggered
enabled : boolean
Whether the auto moderation rule should be enabled
eventType : AutoModerationRuleEventType
The event type of the auto moderation rule
exemptChannels : Collection<Snowflake, (GuildChannel|ThreadChannel)> | Array<GuildChannelResolvable>
The channels that should not be affected by the auto moderation rule
exemptRoles : Collection<Snowflake, Role> | Array<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
triggerMetadata : AutoModerationTriggerMetadataOptions
The trigger metadata of the auto moderation rule