message: fix: endless testing
diff: @@ -51,14 +51,17 @@ export function identify(shardId: number, maxShards: number) {
  };
  return new Promise((resolve, reject) => {
  + const timeout = setTimeout(() => {
  + reject(`[Identify Failure] Shard ${shardId} has not received READY event in over a minute.`);
  + }, 600000);
  +
  ws.loadingShards.set(shardId, {
  shardId,
  - resolve,
  + resolve: (args) => {
  + clearTimeout(timeout);
  + resolve(args);
  + },
  startedAt: Date.now(),
  });
  -
  - setTimeout(() => {
  - reject(`[Identify Failure] Shard ${shardId} has not received READY event in over a minute.`);
  - }, 600000);
  });
  }
  