Skip to main content

Variable: TriggerMetadataLimits

const TriggerMetadataLimits: object

Namespace containing limits related to Discord Auto Moderation Trigger Metadata.

Type declaration

MaximumCharactersPerRegexPattern

readonly MaximumCharactersPerRegexPattern: 260 = 260

Maximum number of characters allowed in a regular expression pattern.

MaximumKeywordAllowListKeywordLength

readonly MaximumKeywordAllowListKeywordLength: 60 = 60

Maximum characters per keyword that should not trigger the keyword rule.

MaximumKeywordAllowListLength

readonly MaximumKeywordAllowListLength: 100 = 100

Maximum number of substrings which should not trigger the keyword rule.

MaximumKeywordFilterLength

readonly MaximumKeywordFilterLength: 60 = 60

Maximum number of characters allowed in a keyword filter.

MaximumKeywordFilters

readonly MaximumKeywordFilters: 1000 = 1000

Maximum number of substrings which will be searched for in content.

MaximumKeywordPresetAllowListKeywordPresetLength

readonly MaximumKeywordPresetAllowListKeywordPresetLength: 60 = 60

Maximum characters per keyword should not trigger the keyword preset rule.

MaximumKeywordPresetAllowListLength

readonly MaximumKeywordPresetAllowListLength: 1000 = 1000

Maximum number of substrings which should not trigger the keyword preset rule.

MaximumMentionSpamTotalMentions

readonly MaximumMentionSpamTotalMentions: 50 = 50

Maximum number of unique role and user mentions allowed per message.

MaximumRegexPatterns

readonly MaximumRegexPatterns: 10 = 10

Maximum number of regular expression patterns which will be matched against content.

Source

projects/utilities/packages/discord-utilities/src/lib/limits.ts:715