Class GuildAuditLogsEntry<TAction, TActionType, TTargetType, TResolvedType>

Type Parameters

Hierarchy

  • GuildAuditLogsEntry

Constructors

Properties

action: TResolvedType
actionType: TActionType
changes: AuditLogChange[]
executor: null | User
executorId: null | string
extra: TResolvedType extends keyof GuildAuditLogsEntryExtraField
    ? GuildAuditLogsEntryExtraField[TResolvedType]
    : null
id: string
reason: null | string
target: TTargetType extends keyof GuildAuditLogsEntryTargetField<TActionType>
    ? GuildAuditLogsEntryTargetField<TActionType>[TTargetType]
    : null | Role | GuildEmoji | {
        id: string;
    }
targetId: null | string
targetType: TTargetType

Accessors

  • get createdAt(): Date
  • Returns Date

  • get createdTimestamp(): number
  • Returns number

Methods

  • Returns unknown

Generated using TypeDoc