fix: ignore when closing

This commit is contained in:
MARCROCK22 2025-01-18 20:59:22 -04:00
parent ed9c63fb11
commit c3ba598804

View File

@ -402,6 +402,9 @@ export class Shard {
switch (close.code) {
case ShardSocketCloseCodes.Shutdown:
case ShardSocketCloseCodes.Reconnect:
case ShardSocketCloseCodes.Resharding:
case ShardSocketCloseCodes.ShutdownAll:
//Force disconnect, ignore
break;
case 1000: