Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AuditLogEntry<T>

Type parameters

  • T

Hierarchy

Index

Constructors

constructor

Properties

actionType

actionType: AuditLogEvent

Optional changes

changes: APIAuditLogChangeData[]

Changes made to the {@link AuditLogEntry#targetID}.

since

0.0.1

see

https://discord.com/developers/docs/resources/audit-log#audit-log-change-object

Readonly client

client: T

id

id: string

Id of the entry.

since

0.0.1

Optional options

options: APIAuditLogOptionsData

Optional reason

reason: undefined | string

The reason for the change (0-512 characters).

since

0.0.1

targetID

targetID: string | null

Id of the affected entity (webhook, user, role, etc).

since

0.0.1

userID

userID: string

The user who made the changes.

since

0.0.1

Accessors

createdAt

  • get createdAt(): Date

createdTimestamp

  • get createdTimestamp(): number

Methods

Protected _patch

  • _patch(): this

clone

  • clone(): this

toJSON

  • toJSON(): Record<string, any>

valueOf

  • valueOf(): string

Generated using TypeDoc