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
| KEYWORD_PRESET | 4 | check if content contains words from internal pre-defined wordsets | 1 |
64
67
65
68
###### Trigger Metadata
66
69
@@ -135,7 +138,6 @@ Use the `*` wildcard symbol at the beginning and end of a keyword to define how
135
138
| the mat |**the mat**|
136
139
137
140
138
-
139
141
### Auto Moderation Action Object
140
142
141
143
An action which will execute whenever a rule is triggered.
@@ -178,17 +180,6 @@ value of [action type](#DOCS_RESOURCES_AUTO_MODERATION/auto-moderation-action-ob
178
180
Users are required to have the `MANAGE_GUILD` permission to access all Auto Moderation resources.
179
181
Some [action types](#DOCS_RESOURCES_AUTO_MODERATION/auto-moderation-action-object-action-types) require additional permissions, e.g. the `TIMEOUT` action type requires an additional `MODERATE_MEMBERS` permission.
180
182
181
-
### Auto Moderation Limits Per Trigger Type
182
-
183
-
Number of rules allowed per trigger type in each guild.
184
-
185
-
| Type | Max Per Guild |
186
-
| -------------- | ------------- |
187
-
| KEYWORD | 3 |
188
-
| HARMFUL_LINK | 1 |
189
-
| SPAM | 1 |
190
-
| KEYWORD_PRESET | 1 |
191
-
192
183
## List Auto Moderation Rules for Guild % GET /guilds/{guild.id#DOCS_RESOURCES_GUILD/guild-object}/auto-moderation/rules
193
184
194
185
Get a list of all rules currently configured for guild. Returns a list of [auto moderation rule](#DOCS_RESOURCES_AUTO_MODERATION/auto-moderation-rule-object) objects for the given guild.
@@ -223,10 +214,10 @@ Create a new rule. Returns an [auto moderation rule](#DOCS_RESOURCES_AUTO_MODERA
223
214
| exempt_roles? | array of snowflakes | the role ids that should not be affected by the rule (Maximum of 20) |
224
215
| exempt_channels? | array of snowflakes | the channel ids that should not be affected by the rule (Maximum of 50) |
225
216
226
-
\* Can be omitted based on `trigger_type`. See the `Associated Trigger Types` column in [trigger metadata](#DOCS_RESOURCES_AUTO_MODERATION/auto-moderation-rule-object-trigger-types) to understand which `trigger_type` values require `trigger_metadata` to be set.
217
+
\* Can be omitted based on `trigger_type`. See the `Associated Trigger Types` column in [trigger metadata](#DOCS_RESOURCES_AUTO_MODERATION/auto-moderation-rule-object-trigger-metadata) to understand which `trigger_type` values require `trigger_metadata` to be set.
227
218
228
219
> info
229
-
> See [Auto Moderation Limits Per Trigger Type](#DOCS_RESOURCES_AUTO_MODERATION/auto-moderation-limits-per-trigger-type) for limits on how many rules of each trigger type can be created per guild.
220
+
> See [Trigger Types](#DOCS_RESOURCES_AUTO_MODERATION/auto-moderation-rule-object-trigger-types) for limits on how many rules of each trigger type can be created per guild.
230
221
231
222
232
223
## Modify Auto Moderation Rule % PATCH /guilds/{guild.id#DOCS_RESOURCES_GUILD/guild-object}/auto-moderation/rules/{auto_moderation_rule.id#DOCS_RESOURCES_AUTO_MODERATION/auto-moderation-rule-object}
@@ -251,13 +242,11 @@ Modify an existing rule. Returns an [auto moderation rule](#DOCS_RESOURCES_AUTO_
251
242
| exempt_roles | array of snowflakes | the role ids that should not be affected by the rule (Maximum of 20) |
252
243
| exempt_channels | array of snowflakes | the channel ids that should not be affected by the rule (Maximum of 50) |
253
244
254
-
\* Can be omitted based on `trigger_type`. See the `Associated Trigger Types` column in [trigger metadata](#DOCS_RESOURCES_AUTO_MODERATION/auto-moderation-rule-object-trigger-types) to understand which `trigger_type` values require `trigger_metadata` to be set.
245
+
\* Can be omitted based on `trigger_type`. See the `Associated Trigger Types` column in [trigger metadata](#DOCS_RESOURCES_AUTO_MODERATION/auto-moderation-rule-object-trigger-metadata) to understand which `trigger_type` values require `trigger_metadata` to be set.
255
246
256
247
## Delete Auto Moderation Rule % DELETE /guilds/{guild.id#DOCS_RESOURCES_GUILD/guild-object}/auto-moderation/rules/{auto_moderation_rule.id#DOCS_RESOURCES_AUTO_MODERATION/auto-moderation-rule-object}
0 commit comments