Installation
sh npm install discolink sh pnpm add discolink sh yarn add discolink sh bun add discolink Ships with ESM and CJS builds and bundled type declarations. No @types package needed.
Requirements
Section titled “Requirements”- Node.js v22 or later (equivalent bun, deno versions supported)
- A Discord library that lets you send raw payloads and subscribe to raw dispatch events
TSConfig Options
Section titled “TSConfig Options”If you use typescript, try to use modern lib and module resolution to get the most of this package:
{ "compilerOptions": { // ... "lib": ["ESNext"], "target": "ESNext", "module": "NodeNext", "moduleResolution": "NodeNext" // ... }}