mirror of
https://github.com/tiramisulabs/seyfert.git
synced 2025-07-03 05:26:07 +00:00
fix: workerclient lmao
This commit is contained in:
parent
48bf52a269
commit
04e5146ac5
@ -349,6 +349,7 @@ export class WorkerClient<Ready extends boolean = boolean> extends BaseClient {
|
|||||||
//rest of the events
|
//rest of the events
|
||||||
default:
|
default:
|
||||||
{
|
{
|
||||||
|
await this.events?.execute(packet.t, packet, this, shardId);
|
||||||
switch (packet.t) {
|
switch (packet.t) {
|
||||||
case 'READY':
|
case 'READY':
|
||||||
for (const g of packet.d.guilds) {
|
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;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user