Files
discord.js/packages/builders
Jaw0r3k 4ff3ea4a1b feat: default select menu values (#9867)
* feat: default select menu values

* feat(Message): support

* fix: fix crashes when an array is supplied and remove assertion

* docs(transformResolved): `BaseChannel` is the correct type

* refactor: prefer assignment

* chore: export function again

* fix(Util): fix circular dependency

* refactor(MentionableSelectMenu): clone in method

* docs: remove semicolon

* feat(MentionableSelectMenu): add `addDefaultValues()`

* refactor: reduce overhead

* types: adjust `channel`

---------

Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>
2023-11-12 16:32:41 +00:00
..
2023-08-22 09:40:11 +02:00
2023-05-03 02:14:22 +02:00
2023-05-03 02:14:22 +02:00
2022-07-22 01:32:19 +02:00
2023-04-02 01:55:39 +02:00
2022-01-07 17:18:25 +01:00


discord.js


Discord server npm version npm downloads Build status Code coverage

Vercel Cloudflare Workers

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

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.