interface AutoModerationRuleEditOptions

export interface AutoModerationRuleEditOptions

Options used to edit an auto moderation rule.

optional
actions? : readonly AutoModerationActionOptions[]

The actions that will execute when the auto moderation rule is triggered

optional
enabled? : boolean

Whether the auto moderation rule should be enabled

optional
eventType? : AutoModerationRuleEventType

The event type of the auto moderation rule

optional
exemptChannels? : ReadonlyCollection<Snowflake, GuildBasedChannel> | readonly GuildChannelResolvable[]

The channels that should not be affected by the auto moderation rule

optional
exemptRoles? : ReadonlyCollection<Snowflake, Role> | readonly RoleResolvable[]

The roles that should not be affected by the auto moderation rule

optional
name? : string

The name of the auto moderation rule

optional
reason? : string

The reason for creating the auto moderation rule

optional
triggerMetadata? : AutoModerationTriggerMetadataOptions

The trigger metadata of the auto moderation rule