Table of Contents

Class AutomodActionExecutedEventArgs

Namespace
DisCatSharp.EventArgs
Assembly
DisCatSharp.dll

Represents arguments for AutomodActionExecuted event.

public class AutomodActionExecutedEventArgs : DiscordEventArgs
Inheritance
AutomodActionExecutedEventArgs
Inherited Members

Constructors

AutomodActionExecutedEventArgs(IServiceProvider)

Properties

Action

The action that was executed.

AlertMessageId

The id of any system auto moderation messages posted as a result of this action. This will not exist if the event doesn't correspond to an action with type SendAlertMessage.

Channel
ChannelId

Fall-back channel id this event happened in.

Guild

The guild associated with this event.

MatchedContent

The substring in the content which triggered the rule.

MatchedKeyword

The word or phrase configured in the rule that triggered this.

Member

The member which caused this event.

MessageContent

The user-generated text content.

MessageId

The id of any user message the content belongs to. This will not exist if the message was blocked or content was not part of message.

RuleId

The id of the rule the action belongs to.

TriggerType

The type of trigger of the rule which was executed.

UserId

The user id which caused this event.