AutoModerationActionExecutionEvent class
Emitted when an auto moderation action is taken.
- Inheritance
-
- Object
- GatewayEvent
- DispatchEvent
- AutoModerationActionExecutionEvent
Properties
- action → AutoModerationAction
-
The action that was taken.
final
- alertSystemMessageId → Snowflake?
-
The ID of the message sent in the alert channel.
final
- channel → PartialChannel?
-
The channel in which the rule was triggered.
no setter
- channelId → Snowflake?
-
The ID of the channel in which the action was taken.
final
- content → String?
-
The content of the message which triggered the action.
final
- gateway → Gateway
-
The gateway that handled this event.
finalinherited
- guild → PartialGuild
-
The guild the rule was triggered in.
no setter
- guildId → Snowflake
-
The ID of the guild the event was triggered in.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- matchedContent → String?
-
The content of the message which was matched.
final
- matchedKeyword → String?
-
The keyword which was matched.
final
- member → PartialMember
-
The member that triggered the rule.
no setter
- message → PartialMessage?
-
The message that triggered the rule.
no setter
- messageId → Snowflake?
-
The ID of the message the action was taken on.
final
- opcode → Opcode
-
The opcode of this event.
finalinherited
- rule → PartialAutoModerationRule
-
The rule that was triggered.
no setter
- ruleId → Snowflake
-
The ID of the rule that was triggered.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- triggerType → TriggerType
-
The trigger type that triggered the action.
final
- user → PartialUser
-
The user that triggered the rule.
no setter
- userId → Snowflake
-
The ID of the user that triggered the action.
final
Methods
-
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