Interface IAuditLogEntry
Represents a generic audit log entry.
Namespace: Discord
Assembly: Discord.Net.Core.dll
Syntax
public interface IAuditLogEntry : ISnowflakeEntity, IEntity<ulong>
Properties
| Improve this Doc View SourceAction
Gets the action which occurred to create this entry.
Declaration
ActionType Action { get; }
Property Value
| Type | Description |
|---|---|
| ActionType | The type of action for this audit log entry. |
Data
Gets the data for this entry.
Declaration
IAuditLogData Data { get; }
Property Value
| Type | Description |
|---|---|
| IAuditLogData | An IAuditLogData for this audit log entry; |
Reason
Gets the reason behind the change.
Declaration
string Reason { get; }
Property Value
| Type | Description |
|---|---|
| System.String | A string containing the reason for the change; |
User
Gets the user responsible for causing the changes.
Declaration
IUser User { get; }
Property Value
| Type | Description |
|---|---|
| IUser | A user object. |