Module

x/discordeno/mod.ts>calculateTotalShards

Discord API library for Deno
Extremely Popular
Go to Latest
function calculateTotalShards
import { calculateTotalShards } from "https://dotland.deno.dev/x/discordeno@13.0.0-rc45/mod.ts";

Handler used to determine max number of shards to use based upon the max concurrency.

Returns

number
import calculateTotalShards
import { calculateTotalShards } from "https://dotland.deno.dev/x/discordeno@13.0.0-rc45/mod.ts";