You are reading the documentation for the next version of discord.js. Documentation for v13/v14+ has been moved to old.discordjs.dev

About

@discordjs/builders is a utility package for easily building Discord API payloads.

Installation

Node.js 16.11.0 or newer is required.

npm install @discordjs/builders
yarn add @discordjs/builders
pnpm add @discordjs/builders
npm install @discordjs/builders
yarn add @discordjs/builders
pnpm add @discordjs/builders

Examples

You can find examples of how to use the builders in the Slash Command Builders examples.

Contributing

Before creating an issue, please ensure that it hasn't already been reported/suggested, and double-check the documentation.
See the contribution guide if you'd like to submit a PR.

Help

If you don't understand something in the documentation, you are experiencing problems, or you just need a gentle nudge in the right direction, please don't hesitate to join our official discord.js Server.