DiscordAuditLogEntry
public struct DiscordAuditLogEntry
Represents an audit entry.
-
The type of this entry.
Declaration
Swift
public let actionType: DiscordAuditLogActionType -
The changes done in this entry.
Declaration
Swift
public let changes: [DiscordAuditLogChange] -
The id of this entry.
Declaration
Swift
public let id: Snowflake -
Optional audit entry information for certain action types. Structure
Declaration
Swift
public let options: [String: Any] -
The reason for this entry.
Declaration
Swift
public let reason: String -
The id of the effected entity.
Declaration
Swift
public let targetId: String -
The user’s id who caused this entry.
Declaration
Swift
public let userId: Snowflake
DiscordAuditLogEntry Structure Reference