Skip to main content
Module

x/harmony/mod.ts>AuditLogEntry

An easy to use Discord API Library for Deno.
Latest
interface AuditLogEntry
import { type AuditLogEntry } from "https://deno.land/x/harmony@v2.9.0/mod.ts";

Properties

target_id: string | null

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

optional
changes: AuditLogChangePayload[]

changes made to the target_id

userID: string

the user who made the changes

id: string

id of the entry

action_type: AuditLogEvents

type of action that occurred

optional
options: OptionalAuditEntryInfo

additional info for certain action types

optional
reason: string

the reason for the change (0-512 characters)