import { type APIAutoModerationRuleTriggerMetadata } from "https://deno.land/x/discord_api_types@0.37.30/payloads/v9/mod.ts";
Properties
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 See keyword matching strategies
Associated trigger type: AutoModerationRuleTriggerType.Keyword
The internally pre-defined wordsets which will be searched for in content
Associated trigger type: AutoModerationRuleTriggerType.KeywordPreset
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 See keyword matching strategies
Associated trigger type: AutoModerationRuleTriggerType.KeywordPreset
Regular expression patterns which will be matched against content (Maximum of 10)
Only Rust flavored regex is currently supported (Maximum of 75 characters)
Associated trigger type: AutoModerationRuleTriggerType.Keyword