Files
discordeno/module/sharding_manager.ts
2020-03-14 13:13:24 -04:00

5 lines
143 B
TypeScript

export const spawnShards = (total: number, id = 1) => {
// this.ShardingManager.spawnShard(id);
if (id < total) spawnShards(total, id + 1)
}