Files
discordeno/module/sharding-manager.ts
2020-02-26 13:56:52 -05:00

5 lines
143 B
TypeScript

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