Readonly
client: Client<true>Readonly
data: The data for the operation. If the before/after properties are present, the audit log will be presented as a settings change.
Optional
Readonly
date?: DateThe date the operation was performed, defaults to "now".
Optional
Readonly
guild?: GuildThe guild this operation is taking place in, if any.
Optional
Readonly
onFinish?: (log: PopulatedAuditLog) => voidA function to run after the audit log has been created.
Readonly
type: AuditLogTypeThe type of operation that is being performed.
Readonly
user: stringThe user who initiated the operation.
The client to use for logging, needs to be logged in/ready.