types: add missing shard types (v13)

v13.9.0 #8192
This commit is contained in:
Cinnamon
2022-07-01 09:59:57 +07:00
parent 6f6ba368b0
commit 354fe2a7be
2 changed files with 7 additions and 2 deletions

View File

@@ -466,6 +466,10 @@ class WebSocketShard extends EventEmitter {
// Set the status to reconnecting
this.status = Status.RECONNECTING;
// Finally, emit the INVALID_SESSION event
/**
* Emitted when the session has been invalidated.
* @event WebSocketShard#invalidSession
*/
this.emit(ShardEvents.INVALID_SESSION);
break;
case Opcodes.HEARTBEAT_ACK: