MemberProfileAutoModerationRuleCreateBuilder
A MemberProfileAutoModerationRuleBuilder for building AutoModerationRuleCreateRequests.
Properties
The actions which will execute when the rule is triggered.
Substrings which should not trigger the rule.
The rule event type.
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).
Substrings which will be searched for in content (maximum of 1000).
Regular expression patterns which will be matched against content (maximum of 10).
The rule trigger type.
Functions
Add a keyword with keyword matching strategy Anywhere to allowedKeywords.
Add a keyword to allowedKeywords.
Add a keyword with keyword matching strategy Prefix to allowedKeywords.
Add a keyword with keyword matching strategy Suffix to allowedKeywords.
Add a BlockMemberInteraction action which will execute whenever the rule is triggered.
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 pattern to regexPatterns (maximum of 10).
Add a SendAlertMessage action which will execute whenever the rule is triggered.