TriggerMetadata class

Additional metadata associated with the trigger for an AutoModerationRule.

Implemented types

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?>
defaultToString() String
Same as toString, but only called when dart:mirrors is not available.
inherited
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