mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-01 16:30:08 +00:00
Update sharding_manager.ts
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
import { WebSocket } from "https://deno.land/std/ws/mod.ts"import { Client_Options } from "../types/options"
|
||||
import { WebSocket } from "https://deno.land/std/ws/mod.ts"
|
||||
import { Client_Options } from "../types/options.ts"
|
||||
|
||||
export const spawnShards = (total: number, id = 1) => {
|
||||
// this.ShardingManager.spawnShard(id);
|
||||
if (id < total) spawnShards(total, id + 1)
|
||||
|
||||
Reference in New Issue
Block a user