Module

x/discordeno/mod.ts>ShardManager

Discord API library for Deno
Go to Latest
type alias ShardManager
import { type ShardManager } from "https://dotland.deno.dev/x/discordeno@17.0.0/mod.ts";

This is a Shard manager. This does not manage a specific range of Shard but the provided Shards on create or when an identify is requested. The aim of this is to provide an easy to use manager which can be used by workers or any other kind of separate process.

definition: ReturnType<createShardManager>
import ShardManager
import { ShardManager } from "https://dotland.deno.dev/x/discordeno@17.0.0/mod.ts";