Skip to main content
Latest
interface DiscordenoAuditLogEntry
import { type DiscordenoAuditLogEntry } from "https://deno.land/x/discordeno_cache_plugin@0.0.21/deps.ts";

Properties

optional
targetId: bigint

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

optional
changes: DiscordenoAuditLogChange[]

Changes made to the target_id

optional
userId: bigint

The user who made the changes

id: bigint

id of the entry

actionType: AuditLogEvents

Type of action that occured

optional
options: { deleteMemberDays: number; membersRemoved: number; channelId?: bigint; messageId?: bigint; count: number; id?: bigint; type?: number; roleName?: string; }

Additional info for certain action types

optional
reason: string

The reason for the change (0-512 characters)