Skip to main content
Module

x/discord_api_types/v6.ts>APIAuditLogOptions

Up to date Discord API Typings, versioned by the API version
Go to Latest
interface APIAuditLogOptions
Deprecated
Deprecated

API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.

import { type APIAuditLogOptions } from "https://deno.land/x/discord_api_types@0.37.11/v6.ts";

Properties

optional
delete_member_days: string

Present from:

  • MEMBER_PRUNE
optional
members_removed: string

Present from:

  • MEMBER_PRUNE
optional
channel_id: string

Present from:

  • MEMBER_MOVE
  • MESSAGE_PIN
  • MESSAGE_UNPIN
  • MESSAGE_DELETE
optional
message_id: string

Present from:

  • MESSAGE_PIN
  • MESSAGE_UNPIN
optional
count: string

Present from:

  • MESSAGE_DELETE
  • MESSAGE_BULK_DELETE
  • MEMBER_DISCONNECT
  • MEMBER_MOVE
optional
id: string

Present from:

  • CHANNEL_OVERWRITE_CREATE
  • CHANNEL_OVERWRITE_UPDATE
  • CHANNEL_OVERWRITE_DELETE

Present from:

  • CHANNEL_OVERWRITE_CREATE
  • CHANNEL_OVERWRITE_UPDATE
  • CHANNEL_OVERWRITE_DELETE
optional
role_name: string

Present from:

  • CHANNEL_OVERWRITE_CREATE
  • CHANNEL_OVERWRITE_UPDATE
  • CHANNEL_OVERWRITE_DELETE

Present only if the APIAuditLogOptions#type | entry type is "role"