Skip to content

Commit a968c5f

Browse files
authored
docs(AutoModerationRuleTriggerType): increase keyword limits (#709)
1 parent b37b342 commit a968c5f

File tree

4 files changed

+16
-16
lines changed

4 files changed

+16
-16
lines changed

deno/payloads/v10/autoModeration.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export interface APIAutoModerationRule {
5959
*/
6060
export enum AutoModerationRuleTriggerType {
6161
/**
62-
* Check if content contains words from a user defined list of keywords (Maximum of 3 per guild)
62+
* Check if content contains words from a user defined list of keywords (Maximum of 6 per guild)
6363
*/
6464
Keyword = 1,
6565
/**
@@ -83,7 +83,7 @@ export interface APIAutoModerationRuleTriggerMetadata {
8383
/**
8484
* Substrings which will be searched for in content (Maximum of 1000)
8585
*
86-
* A keyword can be a phrase which contains multiple words. Wildcard symbols can be used to customize how each string will be matched. Each keyword must be 30 characters or less
86+
* A keyword can be a phrase which contains multiple words. Wildcard symbols can be used to customize how each string will be matched. Each keyword must be 60 characters or less
8787
* See [keyword matching strategies](https://discord.com/developers/docs/resources/auto-moderation#auto-moderation-rule-object-keyword-matching-strategies)
8888
*
8989
* Associated trigger type: {@link AutoModerationRuleTriggerType.Keyword}
@@ -98,7 +98,7 @@ export interface APIAutoModerationRuleTriggerMetadata {
9898
/**
9999
* Substrings which will be exempt from triggering the preset trigger type (Maximum of 1000)
100100
*
101-
* A allowed-word can be a phrase which contains multiple words. Wildcard symbols can be used to customize how each string will be matched. Each keyword must be 30 characters or less
101+
* A allowed-word can be a phrase which contains multiple words. Wildcard symbols can be used to customize how each string will be matched. Each keyword must be 60 characters or less
102102
* See [keyword matching strategies](https://discord.com/developers/docs/resources/auto-moderation#auto-moderation-rule-object-keyword-matching-strategies)
103103
*
104104
* Associated trigger type: {@link AutoModerationRuleTriggerType.KeywordPreset}
@@ -107,7 +107,7 @@ export interface APIAutoModerationRuleTriggerMetadata {
107107
/**
108108
* Regular expression patterns which will be matched against content (Maximum of 10)
109109
*
110-
* Only Rust flavored regex is currently supported (Maximum of 75 characters)
110+
* Only Rust flavored regex is currently supported (Maximum of 260 characters)
111111
*
112112
* Associated trigger type: {@link AutoModerationRuleTriggerType.Keyword}
113113
*/

deno/payloads/v9/autoModeration.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export interface APIAutoModerationRule {
5959
*/
6060
export enum AutoModerationRuleTriggerType {
6161
/**
62-
* Check if content contains words from a user defined list of keywords (Maximum of 3 per guild)
62+
* Check if content contains words from a user defined list of keywords (Maximum of 6 per guild)
6363
*/
6464
Keyword = 1,
6565
/**
@@ -83,7 +83,7 @@ export interface APIAutoModerationRuleTriggerMetadata {
8383
/**
8484
* Substrings which will be searched for in content (Maximum of 1000)
8585
*
86-
* A keyword can be a phrase which contains multiple words. Wildcard symbols can be used to customize how each string will be matched. Each keyword must be 30 characters or less
86+
* A keyword can be a phrase which contains multiple words. Wildcard symbols can be used to customize how each string will be matched. Each keyword must be 60 characters or less
8787
* See [keyword matching strategies](https://discord.com/developers/docs/resources/auto-moderation#auto-moderation-rule-object-keyword-matching-strategies)
8888
*
8989
* Associated trigger type: {@link AutoModerationRuleTriggerType.Keyword}
@@ -98,7 +98,7 @@ export interface APIAutoModerationRuleTriggerMetadata {
9898
/**
9999
* Substrings which will be exempt from triggering the preset trigger type (Maximum of 1000)
100100
*
101-
* A allowed-word can be a phrase which contains multiple words. Wildcard symbols can be used to customize how each string will be matched. Each keyword must be 30 characters or less
101+
* A allowed-word can be a phrase which contains multiple words. Wildcard symbols can be used to customize how each string will be matched. Each keyword must be 60 characters or less
102102
* See [keyword matching strategies](https://discord.com/developers/docs/resources/auto-moderation#auto-moderation-rule-object-keyword-matching-strategies)
103103
*
104104
* Associated trigger type: {@link AutoModerationRuleTriggerType.KeywordPreset}
@@ -107,7 +107,7 @@ export interface APIAutoModerationRuleTriggerMetadata {
107107
/**
108108
* Regular expression patterns which will be matched against content (Maximum of 10)
109109
*
110-
* Only Rust flavored regex is currently supported (Maximum of 75 characters)
110+
* Only Rust flavored regex is currently supported (Maximum of 260 characters)
111111
*
112112
* Associated trigger type: {@link AutoModerationRuleTriggerType.Keyword}
113113
*/

payloads/v10/autoModeration.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export interface APIAutoModerationRule {
5959
*/
6060
export enum AutoModerationRuleTriggerType {
6161
/**
62-
* Check if content contains words from a user defined list of keywords (Maximum of 3 per guild)
62+
* Check if content contains words from a user defined list of keywords (Maximum of 6 per guild)
6363
*/
6464
Keyword = 1,
6565
/**
@@ -83,7 +83,7 @@ export interface APIAutoModerationRuleTriggerMetadata {
8383
/**
8484
* Substrings which will be searched for in content (Maximum of 1000)
8585
*
86-
* A keyword can be a phrase which contains multiple words. Wildcard symbols can be used to customize how each string will be matched. Each keyword must be 30 characters or less
86+
* A keyword can be a phrase which contains multiple words. Wildcard symbols can be used to customize how each string will be matched. Each keyword must be 60 characters or less
8787
* See [keyword matching strategies](https://discord.com/developers/docs/resources/auto-moderation#auto-moderation-rule-object-keyword-matching-strategies)
8888
*
8989
* Associated trigger type: {@link AutoModerationRuleTriggerType.Keyword}
@@ -98,7 +98,7 @@ export interface APIAutoModerationRuleTriggerMetadata {
9898
/**
9999
* Substrings which will be exempt from triggering the preset trigger type (Maximum of 1000)
100100
*
101-
* A allowed-word can be a phrase which contains multiple words. Wildcard symbols can be used to customize how each string will be matched. Each keyword must be 30 characters or less
101+
* A allowed-word can be a phrase which contains multiple words. Wildcard symbols can be used to customize how each string will be matched. Each keyword must be 60 characters or less
102102
* See [keyword matching strategies](https://discord.com/developers/docs/resources/auto-moderation#auto-moderation-rule-object-keyword-matching-strategies)
103103
*
104104
* Associated trigger type: {@link AutoModerationRuleTriggerType.KeywordPreset}
@@ -107,7 +107,7 @@ export interface APIAutoModerationRuleTriggerMetadata {
107107
/**
108108
* Regular expression patterns which will be matched against content (Maximum of 10)
109109
*
110-
* Only Rust flavored regex is currently supported (Maximum of 75 characters)
110+
* Only Rust flavored regex is currently supported (Maximum of 260 characters)
111111
*
112112
* Associated trigger type: {@link AutoModerationRuleTriggerType.Keyword}
113113
*/

payloads/v9/autoModeration.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export interface APIAutoModerationRule {
5959
*/
6060
export enum AutoModerationRuleTriggerType {
6161
/**
62-
* Check if content contains words from a user defined list of keywords (Maximum of 3 per guild)
62+
* Check if content contains words from a user defined list of keywords (Maximum of 6 per guild)
6363
*/
6464
Keyword = 1,
6565
/**
@@ -83,7 +83,7 @@ export interface APIAutoModerationRuleTriggerMetadata {
8383
/**
8484
* Substrings which will be searched for in content (Maximum of 1000)
8585
*
86-
* A keyword can be a phrase which contains multiple words. Wildcard symbols can be used to customize how each string will be matched. Each keyword must be 30 characters or less
86+
* A keyword can be a phrase which contains multiple words. Wildcard symbols can be used to customize how each string will be matched. Each keyword must be 60 characters or less
8787
* See [keyword matching strategies](https://discord.com/developers/docs/resources/auto-moderation#auto-moderation-rule-object-keyword-matching-strategies)
8888
*
8989
* Associated trigger type: {@link AutoModerationRuleTriggerType.Keyword}
@@ -98,7 +98,7 @@ export interface APIAutoModerationRuleTriggerMetadata {
9898
/**
9999
* Substrings which will be exempt from triggering the preset trigger type (Maximum of 1000)
100100
*
101-
* A allowed-word can be a phrase which contains multiple words. Wildcard symbols can be used to customize how each string will be matched. Each keyword must be 30 characters or less
101+
* A allowed-word can be a phrase which contains multiple words. Wildcard symbols can be used to customize how each string will be matched. Each keyword must be 60 characters or less
102102
* See [keyword matching strategies](https://discord.com/developers/docs/resources/auto-moderation#auto-moderation-rule-object-keyword-matching-strategies)
103103
*
104104
* Associated trigger type: {@link AutoModerationRuleTriggerType.KeywordPreset}
@@ -107,7 +107,7 @@ export interface APIAutoModerationRuleTriggerMetadata {
107107
/**
108108
* Regular expression patterns which will be matched against content (Maximum of 10)
109109
*
110-
* Only Rust flavored regex is currently supported (Maximum of 75 characters)
110+
* Only Rust flavored regex is currently supported (Maximum of 260 characters)
111111
*
112112
* Associated trigger type: {@link AutoModerationRuleTriggerType.Keyword}
113113
*/

0 commit comments

Comments
 (0)