Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
type alias ShardManager
Re-export
import { type ShardManager } from "https://deno.land/x/discordeno@18.0.1/template/beginner/deps.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>