Table of Contents

Interface IAuditLogEntry

Namespace
Discord
Assembly
Discord.Net.Core.dll

Represents a generic audit log entry.

public interface IAuditLogEntry : ISnowflakeEntity, IEntity<ulong>
Inherited Members

Properties

Action

Gets the action which occurred to create this entry.

ActionType Action { get; }

Property Value

ActionType

The type of action for this audit log entry.

Data

Gets the data for this entry.

IAuditLogData Data { get; }

Property Value

IAuditLogData

An IAuditLogData for this audit log entry; null if no data is available.

Reason

Gets the reason behind the change.

string Reason { get; }

Property Value

string

A string containing the reason for the change; null if none is provided.

User

Gets the user responsible for causing the changes.

IUser User { get; }

Property Value

IUser

A user object.