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