Table of Contents

Class DiscordAutoModerationActionExecution

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

Represents a Discord rule executed action.

public class DiscordAutoModerationActionExecution
Inheritance
object
DiscordAutoModerationActionExecution

Properties

Action

Gets the action which was executed.

AlertSystemMessageId

Gets the id of the message sent by the alert system.

ChannelId

Gets the id of the channel in which user triggered the rule.

Content

Gets the content of the message.

GuildId

Gets the id of the guild in which action was executed.

MatchedContent

Gets the substring in content that triggered the rule.

MatchedKeyword

Gets the keywords (word or phrase) configured in the rule that triggered it.

MessageId

Gets the id of any user message which content belongs to.

RuleId

Gets the id of the rule which was triggered.

TriggerType

Gets the rule trigger type.

UserId

Gets the id of the user which triggered the rule.