Table of Contents

Class AutoModFlaggedMessageAuditLogData

Namespace
Discord.Rest
Assembly
Discord.Net.Rest.dll

Contains a piece of audit log data related to message getting flagged by automod.

public class AutoModFlaggedMessageAuditLogData : IAuditLogData
Inheritance
AutoModFlaggedMessageAuditLogData
Implements
Inherited Members

Properties

AutoModRuleName

Gets the name of the auto moderation rule that got triggered.

public string AutoModRuleName { get; set; }

Property Value

string

AutoModRuleTriggerType

Gets the trigger type of the auto moderation rule that got triggered.

public AutoModTriggerType AutoModRuleTriggerType { get; set; }

Property Value

AutoModTriggerType

ChannelId

Gets the channel the message was sent in. Will be 0 if a user profile was flagged.

public ulong? ChannelId { get; set; }

Property Value

ulong?