mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
Debug resume from connection not Client
This commit is contained in:
@@ -13,7 +13,7 @@ class ResumedHandler extends AbstractHandler {
|
||||
|
||||
const replayed = ws.sequence - ws.closeSequence;
|
||||
|
||||
client.emit('debug', `RESUMED ${ws._trace.join(' -> ')} | replayed ${replayed} events. `);
|
||||
ws.debug(`RESUMED ${ws._trace.join(' -> ')} | replayed ${replayed} events.`);
|
||||
client.emit('resume', replayed);
|
||||
ws.heartbeat();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user