Mention Spam Auto Moderation Rule Create Builder
A MentionSpamAutoModerationRuleBuilder for building AutoModerationRuleCreateRequests.
Functions
Add a BlockMessage action which will execute whenever the rule is triggered.
Exempt a channel from being affected by the rule (maximum of 50).
Exempt a role from being affected by the rule (maximum of 20).
Add a SendAlertMessage action which will execute whenever the rule is triggered.
Add a Timeout action which will execute whenever the rule is triggered.
Properties
The actions which will execute when the rule is triggered.
The IDs of the channels that should not be affected by the rule (maximum of 50).
The IDs of the roles that should not be affected by the rule (maximum of 20).
Total number of unique role and user mentions allowed per message (maximum of 50).
The rule trigger type.