Requirements
- Node.js with ESM support
- TypeScript
- A Discord bot token
Install
- ESM runtime at
dist/index.js - Type declarations at
dist/index.d.ts
Project assumptions
The package itself is ESM-first. If you are using TypeScript, make sure your project is configured for ESM-compatible output and resolution. Typical expectations:"type": "module"inpackage.json- modern TypeScript module resolution
- import syntax instead of
require(...)