Table of Contents

Class SocketAutoModTimeoutUserAuditLogData

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

Contains a piece of audit log data related to user getting in timeout by automod.

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