AutoModRuleEditOptions

interface AutoModRuleEditOptions

Properties that can be changed on an auto moderation rule.

exported from lib.weeble.d

Properties

Property

Type

Description

actions?

AutoModAction[]

Replacement actions performed when the rule triggers.

enabled?

boolean

Whether the rule is enabled.

exemptChannels?

string[]

Channel IDs exempt from the rule.

exemptRoles?

string[]

Role IDs exempt from the rule.

name?

string

Rule name.

reason?

string

Audit-log reason for the change.

triggerMetadata?

AutoModTriggerMetadata

Metadata used by the rule trigger.