Skip to main content
Module

x/oasis/mod.ts>createGatewayManager

An object oriented Discordeno framework
Latest
function createGatewayManager
Re-export
import { createGatewayManager } from "https://deno.land/x/oasis@2.1.0/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.