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

x/oasis/packages/deps.ts>DiscordOptionalAuditEntryInfo

An object oriented Discordeno framework
Latest
interface DiscordOptionalAuditEntryInfo
import { type DiscordOptionalAuditEntryInfo } from "https://deno.land/x/oasis@2.1.0/packages/deps.ts";

Properties

delete_member_days: string

Number of days after which inactive members were kicked.

Event types: MEMBER_PRUNE

members_removed: string

Number of members removed by the prune.

Event types: MEMBER_PRUNE

channel_id: string

Channel in which the entities were targeted.

Event types: MEMBER_MOVE, MESSAGE_PIN, MESSAGE_UNPIN, MESSAGE_DELETE, STAGE_INSTANCE_CREATE, STAGE_INSTANCE_UPDATE, STAGE_INSTANCE_DELETE

message_id: string

ID of the message that was targeted.

Event types: MESSAGE_PIN, MESSAGE_UNPIN, STAGE_INSTANCE_CREATE, STAGE_INSTANCE_UPDATE, STAGE_INSTANCE_DELETE

count: string

Number of entities that were targeted.

Event types: MESSAGE_DELETE, MESSAGE_BULK_DELETE, MEMBER_DISCONNECT, MEMBER_MOVE

id: string

ID of the overwritten entity.

Event types: CHANNEL_OVERWRITE_CREATE, CHANNEL_OVERWRITE_UPDATE, CHANNEL_OVERWRITE_DELETE

type: string

Type of overwritten entity - "0", for "role", or "1" for "member".

Event types: CHANNEL_OVERWRITE_CREATE, CHANNEL_OVERWRITE_UPDATE, CHANNEL_OVERWRITE_DELETE

role_name: string

Name of the role if type is "0" (not present if type is "1").

Event types: CHANNEL_OVERWRITE_CREATE, CHANNEL_OVERWRITE_UPDATE, CHANNEL_OVERWRITE_DELETE

application_id: string

ID of the app whose permissions were targeted.

Event types: APPLICATION_COMMAND_PERMISSION_UPDATE