mirror of
https://github.com/danbulant/discord.js
synced 2026-05-25 21:12:06 +00:00
Debug resume from connection not Client
This commit is contained in:
parent
2e33bf583e
commit
584961b04b
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue