message: fix: lastShardId bug in sbbb
diff: @@ -97,9 +97,12 @@ export async function startBigBrainBot(options: BigBrainBotConfig) {
  // Initial API connection to get info about bots connection
  ws.botGatewayData = await getGatewayBot();
  - ws.maxShards = options.lastShardId || ws.maxShards ||
  + ws.maxShards = ws.maxShards ||
  ws.botGatewayData.shards;
  - ws.lastShardId = options.lastShardId || ws.botGatewayData.shards;
  + ws.lastShardId = options.lastShardId || (ws.lastShardId === 1
  + ? 0
  + : ws.lastShardId) ||
  + ws.botGatewayData.shards - 1;
  // Explicitly append gateway version and encoding
  ws.botGatewayData.url += `?v=${GATEWAY_VERSION}&encoding=json`;
  proxyWSURL = ws.botGatewayData.url;
  