Table of Contents

Class AutomodTriggerMetadata

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

Represents the rule's meta data.

public class AutomodTriggerMetadata : ObservableApiObject
Inheritance
AutomodTriggerMetadata
Inherited Members

Properties

AllowList

The substrings which will be exempt from triggering the preset type. Maximum of 1000.

KeywordFilter

The substrings which will be searched for in content. Maximum of 1000.

A keyword can be a phrase which contains multiple words. Wildcard symbols (not available to allow lists) can be used to customize how each keyword will be matched.

See keyword matching strategies. Each keyword must be 30 characters or less.

MentionRaidProtectionEnabled

Whether to automatically detect mention raids.

MentionTotalLimit

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

Presets

The internally predefined word-sets which will be searched for in content.

RegexPatterns

The regex patterns the content will be checked against. Maximum of 10.

Only Rust flavored regex is currently supported, which can be tested in online editors such as Rustexp.

Each regex pattern must be 75 characters or less.