mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 00:37:22 +00:00
bot.start() derived lastShardId from the recommended shard count whenever `!options.gateway?.lastShardId` held, so an explicit `lastShardId: 0` — a valid single shard configuration — was treated as absent and overwritten, spawning every recommended shard in a process meant to run one. Compare against undefined instead. Co-authored-by: Claude Opus 5 <noreply@anthropic.com> Co-authored-by: Fleny <Fleny113@outlook.com>