mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-13 18:13:29 +01:00
fix heartbeats once and for all (#1016)
This commit is contained in:
@@ -7,7 +7,7 @@ class ReadyHandler extends AbstractHandler {
|
||||
const client = this.packetManager.client;
|
||||
const data = packet.d;
|
||||
|
||||
client.manager.ping();
|
||||
client.ws.heartbeat();
|
||||
|
||||
const clientUser = new ClientUser(client, data.user);
|
||||
client.user = clientUser;
|
||||
|
||||
Reference in New Issue
Block a user