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


Discord server npm version npm downloads Build status Code coverage

Vercel Cloudflare Workers


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


Node.js 16.9.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


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


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.


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.