mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-01 08:20:08 +00:00
5 lines
143 B
TypeScript
5 lines
143 B
TypeScript
export const spawnShards = (total: number, id = 1) => {
|
|
// this.ShardingManager.spawnShard(id);
|
|
if (id < total) spawnShards(total, id + 1)
|
|
}
|