Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/oasis/packages/deps.ts>ShardGatewayConfig

An object oriented Discordeno framework
Latest
interface ShardGatewayConfig
Re-export
import { type ShardGatewayConfig } from "https://deno.land/x/oasis@2.1.0/packages/deps.ts";

Properties

compress: boolean

Whether incoming payloads are compressed using zlib.

intents: number

The calculated intent value of the events which the shard should receive.

properties: { $os: string; $browser: string; $device: string; }

Identify properties to use

token: string

Bot token which is used to connect to Discord

url: string

The URL of the gateway which should be connected to.

version: number

The gateway version which should be used.