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