You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Document Blocking Words in Member Profiles Automod (#6040)
* feat: add blocking words in member profile
* fix: allow type in trigger metadata
Co-authored-by: Puncher <65789180+Puncher1@users.noreply.github.com>
* chore: format
---------
Co-authored-by: Puncher <65789180+Puncher1@users.noreply.github.com>
| keyword_filter | array of strings * | KEYWORD| substrings which will be searched for in content (Maximum of 1000) |
77
-
| regex_patterns | array of strings **| KEYWORD| regular expression patterns which will be matched against content (Maximum of 10) |
78
-
| presets | array of [keyword preset types](#DOCS_RESOURCES_AUTO_MODERATION/auto-moderation-rule-object-keyword-preset-types)| KEYWORD_PRESET | the internally pre-defined wordsets which will be searched for in content |
79
-
| allow_list | array of strings ***| KEYWORD, KEYWORD_PRESET| substrings which should not trigger the rule (Maximum of 100 or 1000) |
80
-
| mention_total_limit | integer | MENTION_SPAM | total number of unique role and user mentions allowed per message (Maximum of 50) |
| keyword_filter | array of strings * | KEYWORD, MEMBER_PROFILE| substrings which will be searched for in content (Maximum of 1000) |
78
+
| regex_patterns | array of strings **| KEYWORD, MEMBER_PROFILE| regular expression patterns which will be matched against content (Maximum of 10) |
79
+
| presets | array of [keyword preset types](#DOCS_RESOURCES_AUTO_MODERATION/auto-moderation-rule-object-keyword-preset-types)| KEYWORD_PRESET | the internally pre-defined wordsets which will be searched for in content |
80
+
| allow_list | array of strings ***| KEYWORD, KEYWORD_PRESET, MEMBER_PROFILE| substrings which should not trigger the rule (Maximum of 100 or 1000) |
81
+
| mention_total_limit | integer | MENTION_SPAM | total number of unique role and user mentions allowed per message (Maximum of 50) |
\* A keyword can be a phrase which contains multiple words. [Wildcard symbols](#DOCS_RESOURCES_AUTO_MODERATION/auto-moderation-rule-object-keyword-matching-strategies) can be used to customize how each keyword will be matched. Each keyword must be 60 characters or less.
84
85
@@ -88,12 +89,12 @@ value of [trigger_type](#DOCS_RESOURCES_AUTO_MODERATION/auto-moderation-rule-obj
88
89
89
90
###### Trigger Metadata Field Limits
90
91
91
-
| Field | Trigger Type| MAX ARRAY LENGTH | MAX CHARACTERS PER STRING |
| BLOCK_MESSAGE | 1 | blocks a member's message and prevents it from being posted. A custom explanation can be specified and shown to members whenever their message is blocked. |
175
-
| SEND_ALERT_MESSAGE | 2 | logs user content to a specified channel |
176
-
| TIMEOUT | 3 | timeout user for a specified duration * |
| BLOCK_MESSAGE | 1 | blocks a member's message and prevents it from being posted. A custom explanation can be specified and shown to members whenever their message is blocked. |
177
+
| SEND_ALERT_MESSAGE | 2 | logs user content to a specified channel |
178
+
| TIMEOUT | 3 | timeout user for a specified duration * |
179
+
| BLOCK_MEMBER_INTERACTION | 4 | prevents a member from using text, voice, or other interactions |
177
180
178
181
\* A `TIMEOUT` action can only be set up for `KEYWORD` and `MENTION_SPAM` rules. The `MODERATE_MEMBERS` permission is required to use the `TIMEOUT` action type.
0 commit comments