import { calculateTotalShards } from "https://deno.land/x/discordeno_patched@18.0.2/gateway/manager/mod.ts";
Handler used to determine max number of shards to use based upon the max concurrency.
Parameters
gateway: GatewayManager
x/discordeno_patched/gateway/manager/mod.ts>calculateTotalShards
import { calculateTotalShards } from "https://deno.land/x/discordeno_patched@18.0.2/gateway/manager/mod.ts";
Handler used to determine max number of shards to use based upon the max concurrency.