Class RestAuditLogEntry
Represents a REST-based audit log entry.
Assembly: Discord.Net.Rest.dll​
View Source​
Declaration
public class RestAuditLogEntry : RestEntity<ulong>, IAuditLogEntry, ISnowflakeEntity, IEntity<ulong>
Properties​
CreatedAt​
Gets when the snowflake was created.
View Source​
Declaration
public DateTimeOffset CreatedAt { get; }
Action​
Gets the action which occurred to create this entry.
View Source​
Declaration
public ActionType Action { get; }
Data​
Gets the data for this entry.
View Source​
Declaration
public IAuditLogData Data { get; }
User​
Gets the user responsible for causing the changes.
View Source​
Declaration
public IUser User { get; }
Reason​
Gets the reason behind the change.
View Source​
Declaration
public string Reason { get; }