discordjs / discord-api-types

Up to date Discord API Typings, versioned by the API version

Home Page:https://discord-api-types.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GatewayDispatchPayload doesn't include GatewayGuildAuditLogEntryCreateDispatch

IRONM00N opened this issue · comments

Issue description

  1. Go to GatewayDispatchPayload
  2. Observe it does not include GatewayGuildAuditLogEntryCreateDispatch

introduced in #692

Code sample

import { GatewayDispatchEvents, GatewayDispatchPayload } from 'discord-api-types/v10';

type Payload = {
	[K in GatewayDispatchPayload['t']]: any;
};
type Events = {
	[K in GatewayDispatchEvents]: any;
};

type Check = Payload[keyof Events];
//                   ^ Property 'GUILD_AUDIT_LOG_ENTRY_CREATE' does not exist on type 'Payload'

Package version

0.37.32

Runtime

Node.js

Runtime version

v19.6.0

Priority this issue should have

Medium (should be fixed soon)

Aaa. Feel free to PR and we'll expedite a release for it