mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-03 01:10:07 +00:00
* Improve logging, keep shard collections separated * revert to erroring in getSessionInfo. Fill the value in createBot * removed useless if * remove same number of shards check Co-authored-by: Awesome Stickz <awesome@stickz.dev> * Update manager.ts * revert shard.events.message assignment for the spread * use new Collection instead of .clear() + for-of * Use fixed formula and note in the comment the inaccuracy * Apply suggestions from code review Co-authored-by: Awesome Stickz <awesome@stickz.dev> * Add a remark to shardsFullPercentage to let the user know of the inaccuracy * Update comment and add a clearInterval The clearInterval is not strictly needed, however it is better to ensure there is always one and only one internal running at a given point * revert check for all shards online It was bugged as gateway.resharding.shards gets populated overtime and not instantly --------- Co-authored-by: Awesome Stickz <awesome@stickz.dev>