From a968c5f78add6fe121d660d7c23772733347ca99 Mon Sep 17 00:00:00 2001 From: Almeida Date: Fri, 17 Feb 2023 15:51:31 +0000 Subject: [PATCH] docs(AutoModerationRuleTriggerType): increase keyword limits (#709) --- deno/payloads/v10/autoModeration.ts | 8 ++++---- deno/payloads/v9/autoModeration.ts | 8 ++++---- payloads/v10/autoModeration.ts | 8 ++++---- payloads/v9/autoModeration.ts | 8 ++++---- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/deno/payloads/v10/autoModeration.ts b/deno/payloads/v10/autoModeration.ts index 3f35cda1..9b08e73e 100644 --- a/deno/payloads/v10/autoModeration.ts +++ b/deno/payloads/v10/autoModeration.ts @@ -59,7 +59,7 @@ export interface APIAutoModerationRule { */ export enum AutoModerationRuleTriggerType { /** - * Check if content contains words from a user defined list of keywords (Maximum of 3 per guild) + * Check if content contains words from a user defined list of keywords (Maximum of 6 per guild) */ Keyword = 1, /** @@ -83,7 +83,7 @@ export interface APIAutoModerationRuleTriggerMetadata { /** * Substrings which will be searched for in content (Maximum of 1000) * - * 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 + * 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 * See [keyword matching strategies](https://discord.com/developers/docs/resources/auto-moderation#auto-moderation-rule-object-keyword-matching-strategies) * * Associated trigger type: {@link AutoModerationRuleTriggerType.Keyword} @@ -98,7 +98,7 @@ export interface APIAutoModerationRuleTriggerMetadata { /** * Substrings which will be exempt from triggering the preset trigger type (Maximum of 1000) * - * 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 + * 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 * See [keyword matching strategies](https://discord.com/developers/docs/resources/auto-moderation#auto-moderation-rule-object-keyword-matching-strategies) * * Associated trigger type: {@link AutoModerationRuleTriggerType.KeywordPreset} @@ -107,7 +107,7 @@ export interface APIAutoModerationRuleTriggerMetadata { /** * Regular expression patterns which will be matched against content (Maximum of 10) * - * Only Rust flavored regex is currently supported (Maximum of 75 characters) + * Only Rust flavored regex is currently supported (Maximum of 260 characters) * * Associated trigger type: {@link AutoModerationRuleTriggerType.Keyword} */ diff --git a/deno/payloads/v9/autoModeration.ts b/deno/payloads/v9/autoModeration.ts index 3f35cda1..9b08e73e 100644 --- a/deno/payloads/v9/autoModeration.ts +++ b/deno/payloads/v9/autoModeration.ts @@ -59,7 +59,7 @@ export interface APIAutoModerationRule { */ export enum AutoModerationRuleTriggerType { /** - * Check if content contains words from a user defined list of keywords (Maximum of 3 per guild) + * Check if content contains words from a user defined list of keywords (Maximum of 6 per guild) */ Keyword = 1, /** @@ -83,7 +83,7 @@ export interface APIAutoModerationRuleTriggerMetadata { /** * Substrings which will be searched for in content (Maximum of 1000) * - * 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 + * 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 * See [keyword matching strategies](https://discord.com/developers/docs/resources/auto-moderation#auto-moderation-rule-object-keyword-matching-strategies) * * Associated trigger type: {@link AutoModerationRuleTriggerType.Keyword} @@ -98,7 +98,7 @@ export interface APIAutoModerationRuleTriggerMetadata { /** * Substrings which will be exempt from triggering the preset trigger type (Maximum of 1000) * - * 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 + * 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 * See [keyword matching strategies](https://discord.com/developers/docs/resources/auto-moderation#auto-moderation-rule-object-keyword-matching-strategies) * * Associated trigger type: {@link AutoModerationRuleTriggerType.KeywordPreset} @@ -107,7 +107,7 @@ export interface APIAutoModerationRuleTriggerMetadata { /** * Regular expression patterns which will be matched against content (Maximum of 10) * - * Only Rust flavored regex is currently supported (Maximum of 75 characters) + * Only Rust flavored regex is currently supported (Maximum of 260 characters) * * Associated trigger type: {@link AutoModerationRuleTriggerType.Keyword} */ diff --git a/payloads/v10/autoModeration.ts b/payloads/v10/autoModeration.ts index 1c2bea35..2670e14f 100644 --- a/payloads/v10/autoModeration.ts +++ b/payloads/v10/autoModeration.ts @@ -59,7 +59,7 @@ export interface APIAutoModerationRule { */ export enum AutoModerationRuleTriggerType { /** - * Check if content contains words from a user defined list of keywords (Maximum of 3 per guild) + * Check if content contains words from a user defined list of keywords (Maximum of 6 per guild) */ Keyword = 1, /** @@ -83,7 +83,7 @@ export interface APIAutoModerationRuleTriggerMetadata { /** * Substrings which will be searched for in content (Maximum of 1000) * - * 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 + * 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 * See [keyword matching strategies](https://discord.com/developers/docs/resources/auto-moderation#auto-moderation-rule-object-keyword-matching-strategies) * * Associated trigger type: {@link AutoModerationRuleTriggerType.Keyword} @@ -98,7 +98,7 @@ export interface APIAutoModerationRuleTriggerMetadata { /** * Substrings which will be exempt from triggering the preset trigger type (Maximum of 1000) * - * 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 + * 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 * See [keyword matching strategies](https://discord.com/developers/docs/resources/auto-moderation#auto-moderation-rule-object-keyword-matching-strategies) * * Associated trigger type: {@link AutoModerationRuleTriggerType.KeywordPreset} @@ -107,7 +107,7 @@ export interface APIAutoModerationRuleTriggerMetadata { /** * Regular expression patterns which will be matched against content (Maximum of 10) * - * Only Rust flavored regex is currently supported (Maximum of 75 characters) + * Only Rust flavored regex is currently supported (Maximum of 260 characters) * * Associated trigger type: {@link AutoModerationRuleTriggerType.Keyword} */ diff --git a/payloads/v9/autoModeration.ts b/payloads/v9/autoModeration.ts index 1c2bea35..2670e14f 100644 --- a/payloads/v9/autoModeration.ts +++ b/payloads/v9/autoModeration.ts @@ -59,7 +59,7 @@ export interface APIAutoModerationRule { */ export enum AutoModerationRuleTriggerType { /** - * Check if content contains words from a user defined list of keywords (Maximum of 3 per guild) + * Check if content contains words from a user defined list of keywords (Maximum of 6 per guild) */ Keyword = 1, /** @@ -83,7 +83,7 @@ export interface APIAutoModerationRuleTriggerMetadata { /** * Substrings which will be searched for in content (Maximum of 1000) * - * 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 + * 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 * See [keyword matching strategies](https://discord.com/developers/docs/resources/auto-moderation#auto-moderation-rule-object-keyword-matching-strategies) * * Associated trigger type: {@link AutoModerationRuleTriggerType.Keyword} @@ -98,7 +98,7 @@ export interface APIAutoModerationRuleTriggerMetadata { /** * Substrings which will be exempt from triggering the preset trigger type (Maximum of 1000) * - * 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 + * 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 * See [keyword matching strategies](https://discord.com/developers/docs/resources/auto-moderation#auto-moderation-rule-object-keyword-matching-strategies) * * Associated trigger type: {@link AutoModerationRuleTriggerType.KeywordPreset} @@ -107,7 +107,7 @@ export interface APIAutoModerationRuleTriggerMetadata { /** * Regular expression patterns which will be matched against content (Maximum of 10) * - * Only Rust flavored regex is currently supported (Maximum of 75 characters) + * Only Rust flavored regex is currently supported (Maximum of 260 characters) * * Associated trigger type: {@link AutoModerationRuleTriggerType.Keyword} */