Go to Latest
function createGatewayManager
import { createGatewayManager } from "https://dotland.deno.dev/x/discordeno@17.2.0/plugins/validations/deps.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.

import createGatewayManager
import { createGatewayManager } from "https://dotland.deno.dev/x/discordeno@17.2.0/plugins/validations/deps.ts";