Skip to main content

Installation

Packages

Install the core package, the discord.js adapter, and discord.js itself:

pnpm add @nodecord/core @nodecord/djs-adapter discord.js

TypeScript configuration

Nodecord relies on TypeScript decorators and metadata reflection. Add these two flags to your tsconfig.json:

{
"compilerOptions": {
"experimentalDecorators": true,
"emitDecoratorMetadata": true
}
}