SpamAutoModerationRule
An AutoModerationRule with trigger type Spam.
Properties
The actions which will execute when the rule is triggered.
The behavior of the Member which first created this rule.
The rule event type.
The IDs of the GuildMessageChannels that should not be affected by the rule.
The behaviors of the GuildMessageChannels that should not be affected by the rule.
The IDs of the Roles that should not be affected by the rule.
The behaviors of the Roles that should not be affected by the rule.
The behavior of the Guild which this rule belongs to.
The supplier used to request entities.
The rule trigger type.
Functions
Requests to delete this AutoModerationRule.
Requests to edit this AutoModerationRule and returns the edited rule.
Requests to edit this SpamAutoModerationRule and returns the edited rule.
Requests to get the Guild which this rule belongs to. Returns null
if it wasn't found.