Class AuditLogEntry

Represents a guild audit log entry.

Hierarchy

Constructors

Properties

_cachedUser?: any

The type of this action.

See the audit log documentation for more information.

id: string

Additional info for specific event types

reason?: string

The reason for the change.

targetID: null | string

The ID of what was targeted (webhook, user, role, etc).

userID: null | string

The ID of the user or application that made the changes.

Accessors

  • get createdAt(): Date
  • Returns Date

  • get user(): undefined | null | User
  • The user or application that made the changes.

    Returns undefined | null | User

Methods

  • Returns JSONBase

  • Returns string

  • Parameters

    • data: unknown

    Returns void

  • Parameters

    • Optional timestamp: number | Date

    Returns string

  • Parameters

    • id: string

    Returns Date

  • Parameters

    • id: string

    Returns number

Generated using TypeDoc