Skip to content

GatewayDispatchPayload doesn't include GatewayGuildAuditLogEntryCreateDispatch #714

Closed
@ironm00n

Description

@ironm00n

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions