TriggerMetadataBuilder class

Inheritance
Implementers

Constructors

TriggerMetadataBuilder({List<String>? keywordFilter, List<String>? regexPatterns, List<KeywordPresetType>? presets, List<String>? allowList, int? mentionTotalLimit, bool? isMentionRaidProtectionEnabled})

Properties

allowList List<String>?
A list of words allowed to bypass the rule.
final
hashCode int
The hash code for this object.
no setterinherited
isMentionRaidProtectionEnabled bool?
Whether mention raid protection is enabled.
final
keywordFilter List<String>?
A list of words that trigger the rule.
final
mentionTotalLimit int?
The maximum number of mentions in a message.
final
presets List<KeywordPresetType>?
A list of preset keyword types that trigger the rule.
final
regexPatterns List<String>?
A list of regex patterns that trigger the rule.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

build() Map<String, Object?>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited