1.3.1 • Published 4 years ago
@neocord/gateway v1.3.1
A library used to connect to the discord gateway. NeoCord Support • GitHub Repository
Requires node.js v14.x.x to work.
yarn add @neocord/gateway
import { ShardManager, Intents } from "@neocord/gateway";
const manager = new ShardManager({
shards: "auto", // Creates the amount of recommended shards according to discord.
compression: "zlib-sync", // see "1".
useEtf: true, // enables erlpack encoding, requires the "etf.js" module
intents: Intents.DEFAULTS, // Default Intents (defaults to it anyways lol)
...
});
1: Enables zlib compression.
"zlib-sync": requires the zlib-sync package.
"pako": requires the pako package.
"zlib": uses the built-in zlib module node.js provides.
1.3.1
4 years ago
1.3.0
4 years ago
1.2.3
4 years ago
1.2.2
4 years ago
1.2.1
4 years ago
1.2.0
4 years ago
1.1.1
4 years ago
1.1.0
4 years ago
1.0.11
4 years ago
1.0.10
4 years ago
1.0.9
4 years ago
1.0.8
4 years ago
1.0.7
4 years ago
1.0.6
4 years ago
1.0.5-2
4 years ago
1.0.5-1
4 years ago
1.0.5
4 years ago
1.0.4
4 years ago
1.0.1
4 years ago
1.0.3
4 years ago
1.0.0
4 years ago