Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AuditLog

Guild Audit Log

Hierarchy

Index

Constructors

constructor

Properties

_keys

_keys: BaseSet<string> = keysAuditLog

actionType

actionType: AuditLogActions

changes

changes: BaseCollection<string, any> = new BaseCollection<string, any>()

client

client: ShardClient

guildId

guildId: string = ""

id

id: string = ""

Optional options

Optional reason

reason: undefined | string

Optional target

target: User | Webhook

Optional targetId

targetId: undefined | string

Optional user

user: User

Optional userId

userId: undefined | string

Accessors

createdAt

  • get createdAt(): Date
  • Returns Date

createdAtUnix

  • get createdAtUnix(): number
  • Returns number

guild

  • get guild(): Guild | null
  • Returns Guild | null

shardId

  • get shardId(): number
  • Returns number

Methods

[inspect.custom]

  • [inspect.custom](): object

_getFromSnake

  • _getFromSnake(key: string): any
  • Parameters

    • key: string

    Returns any

_setFromSnake

  • _setFromSnake(key: string, value: any): any
  • Parameters

    • key: string
    • value: any

    Returns any

difference

  • difference(key: string, value: any): [boolean, any]
  • Parameters

    • key: string
    • value: any

    Returns [boolean, any]

differences

merge

mergeValue

  • mergeValue(key: string, value: any): void
  • Parameters

    • key: string
    • value: any

    Returns void

toJSON

  • toJSON(): object
  • Returns object

Generated using TypeDoc