fix: workerclient lmao

This commit is contained in:
MARCROCK22 2024-05-25 13:30:58 -04:00
parent 48bf52a269
commit 04e5146ac5

View File

@ -349,6 +349,7 @@ export class WorkerClient<Ready extends boolean = boolean> extends BaseClient {
//rest of the events
default:
{
await this.events?.execute(packet.t, packet, this, shardId);
switch (packet.t) {
case 'READY':
for (const g of packet.d.guilds) {
@ -393,7 +394,6 @@ export class WorkerClient<Ready extends boolean = boolean> extends BaseClient {
}
}
}
await this.events?.execute(packet.t, packet, this, shardId);
}
break;
}