Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/discordeno_patched/gateway/mod.ts>createGatewayManager

Discord API library for Node and Deno
Latest
function createGatewayManager
import { createGatewayManager } from "https://deno.land/x/discordeno_patched@18.0.3/gateway/mod.ts";

Create a new Gateway Manager.

Parameters

options: PickPartial<CreateGatewayManager, "handleDiscordPayload" | "gatewayBot" | "gatewayConfig">

Customize every bit of the manager. If something is not provided, it will fallback to a default which should be suitable for most bots.