diff --git a/src/types/audit_log/audit_log_payload.ts b/src/types/audit_log/audit_log.ts similarity index 75% rename from src/types/audit_log/audit_log_payload.ts rename to src/types/audit_log/audit_log.ts index 649d65567..f715c90c9 100644 --- a/src/types/audit_log/audit_log_payload.ts +++ b/src/types/audit_log/audit_log.ts @@ -2,15 +2,15 @@ import { SnakeCaseProps } from "../util.ts"; import { AuditLogEntry } from "./audit_log_entry.ts"; /** https://discord.com/developers/docs/resources/audit-log#audit-log-object */ -export interface AuditLogPayload { +export interface AuditLog { /** list of webhooks found in the audit log */ webhooks: Webhook[]; /** list of users found in the audit log */ users: User[]; /** list of audit log entries */ - auditLogEntriesA: AuditLogEntry[]; + auditLogEntries: AuditLogEntry[]; /** list of partial integration objects */ integrations: Partial[]; } -export type DiscordAuditLogPayload = SnakeCaseProps; +export type DiscordAuditLog = SnakeCaseProps;