mirror of
https://github.com/tiramisulabs/seyfert.git
synced 2025-07-02 04:56:07 +00:00
fix: guildCreate cache
This commit is contained in:
parent
eef42a9a9f
commit
3c1465c0ee
@ -188,7 +188,7 @@ export class Client<Ready extends boolean = boolean> extends BaseClient {
|
||||
await this.events?.runEvent('BOT_READY', this, this.me, -1);
|
||||
}
|
||||
if (!this.__handleGuilds.size) delete this.__handleGuilds;
|
||||
return;
|
||||
return this.cache.onPacket(packet);
|
||||
}
|
||||
await this.events?.execute(packet.t, packet, this as Client<true>, shardId);
|
||||
break;
|
||||
|
@ -345,7 +345,7 @@ export class WorkerClient<Ready extends boolean = boolean> extends BaseClient {
|
||||
await this.events?.runEvent('WORKER_READY', this, this.me, -1);
|
||||
}
|
||||
if (!this.__handleGuilds.size) delete this.__handleGuilds;
|
||||
return;
|
||||
return this.cache.onPacket(packet);
|
||||
}
|
||||
await this.events?.execute(packet.t, packet, this, shardId);
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user