Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AuditLogMethods

Methods for interacting with Guild Audit Logs

Hierarchy

  • AuditLogMethods

Index

Constructors

Properties

Methods

Constructors

  • Create a new Audit Log Method Handler

    Usually SnowTransfer creates a method handler for you, this is here for completion

    You can access the methods listed via client.auditLog.method, where client is an initialized SnowTransfer instance

    Parameters

    Returns <internal>.AuditLogMethods

Properties

requestHandler: <internal>.RequestHandler

Methods

  • Get the audit logs of the specified guild id

    Parameters

    • guildId: string

      id of a guild

    • Optional data: Partial<Pick<<internal>.AuditLogEntry, "user_id" | "action_type"> & { before: string; limit: number }>

      optional audit log filter values

    Returns Promise<<internal>.AuditLog>

    An object with audit log data

    Permissions needed Condition
    VIEW_AUDIT_LOG always

Generated using TypeDoc