Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/natico/examples/deps.ts>DiscordenoAuditLogEntry

A powerful and customizable framework for Discordeno
Latest
interface DiscordenoAuditLogEntry
import { type DiscordenoAuditLogEntry } from "https://deno.land/x/natico@4.0.0-pre.4/examples/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)