Package-level declarations
Types
An AutoModerationRuleBuilder for building rules that can have allowedKeywords.
A RequestBuilder for building actions which will execute whenever a rule is triggered.
An AuditBuilder for building Auto Moderation Rules.
An AutoModerationActionBuilder for building actions with type BlockMemberInteraction.
An AutoModerationActionBuilder for building actions with type BlockMessage.
An AutoModerationRuleBuilder for building rules that can have a BlockMessage action.
An AutoModerationRuleBuilder for building rules that can have keywords and regexPatterns.
An AutoModerationRuleBuilder for building rules with trigger type Keyword.
A KeywordAutoModerationRuleBuilder for building AutoModerationRuleCreateRequests.
An AutoModerationRuleBuilder for building rules with trigger type KeywordPreset.
A KeywordPresetAutoModerationRuleBuilder for building AutoModerationRuleCreateRequests.
An AutoModerationRuleBuilder for building rules with trigger type MemberProfile.
A MemberProfileAutoModerationRuleBuilder for building AutoModerationRuleCreateRequests.
An AutoModerationRuleBuilder for building rules with trigger type MentionSpam.
A MentionSpamAutoModerationRuleBuilder for building AutoModerationRuleCreateRequests.
An AutoModerationActionBuilder for building actions with type SendAlertMessage.
An AutoModerationRuleBuilder for building rules with trigger type Spam.
A SpamAutoModerationRuleBuilder for building AutoModerationRuleCreateRequests.
An AutoModerationActionBuilder for building actions with type Timeout.
An AutoModerationRuleBuilder for building rules that can have a Timeout action.
An AutoModerationRuleBuilder with a non-null triggerType.
An AutoModerationRuleModifyBuilder with an always null
triggerType.
Functions
Add a keyword with keyword matching strategy Anywhere to allowedKeywords.
Add a keyword to allowedKeywords.
Add a keyword with keyword matching strategy Prefix to allowedKeywords.
Add a keyword with keyword matching strategy Suffix to allowedKeywords.
Add a BlockMemberInteraction action which will execute whenever the rule is triggered.
Add a BlockMessage action which will execute whenever the rule is triggered.
Exempt a channel from being affected by the rule (maximum of 50).
Exempt a role from being affected by the rule (maximum of 20).
Add a pattern to regexPatterns (maximum of 10).
Add a SendAlertMessage action which will execute whenever the rule is triggered.
Add a Timeout action which will execute whenever the rule is triggered.