Pulse
Pulse
DIAdiscord.js - Imagine a bot
Created by Pulse on 5/14/2023 in #djs-questions
Events enum vs ClientEvents interface
is there meant to be differences between the Events enum and ClientEvents interface? for example, Raw is in Events but not in ClientEvents. i'm curious if they are meant to have the same events and have fallen out of sync, or if its intended. ClientEvents interface https://github.com/discordjs/discord.js/blob/main/packages/discord.js/typings/index.d.ts#L4726 Events enum https://github.com/discordjs/discord.js/blob/main/packages/discord.js/typings/index.d.ts#L4950 what i would expect to exist in ClientEvents but doesnt
raw: [data: GatewayDispatchPayload, shardId: number];
raw: [data: GatewayDispatchPayload, shardId: number];
7 replies