mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-03 17:30:07 +00:00
another missing await
This commit is contained in:
@@ -92,7 +92,7 @@ export async function handleOnMessage(message: any, shardId: number) {
|
||||
}
|
||||
}
|
||||
|
||||
if (ws.url) ws.handleDiscordPayload(messageData, shardId);
|
||||
if (ws.url) await ws.handleDiscordPayload(messageData, shardId);
|
||||
else {
|
||||
eventHandlers.raw?.(messageData);
|
||||
await eventHandlers.dispatchRequirements?.(messageData, shardId);
|
||||
|
||||
Reference in New Issue
Block a user