Table of Contents

Class SocketAutoModBlockedMessageAuditLogData

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

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

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

public ulong ChannelId { get; set; }

Property Value

ulong