Table of Contents

Class SocketAutoModFlaggedMessageAuditLogData

Namespace
Discord.WebSocket
Assembly
Discord.Net.WebSocket.dll

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

public class SocketAutoModFlaggedMessageAuditLogData : ISocketAuditLogData, IAuditLogData
Inheritance
SocketAutoModFlaggedMessageAuditLogData
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