Files
discord.js/packages/builders
Rodry 5748dbe087 types: fix regressions (#7649)
* types: fix regressions

* fix: make requested changes

* Apply suggestions from code review

Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com>

* types: action row data should take builders

* types: remove redundant overload

* fix(MessagePayload): ensure components are serialized correctly

* fix(MessagePayload): don't always create new action row

* refactor(UnsafeModalBuilder): make data public

* types: use type union

Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com>

* types: fix types and add tests

Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com>
2022-04-04 00:19:44 +02:00
..
2022-01-07 17:18:25 +01:00
2022-04-04 00:19:44 +02:00
2022-01-11 12:30:08 +01:00
2022-01-11 12:30:08 +01:00
2022-01-07 17:18:25 +01:00
2022-01-07 17:18:25 +01:00
2022-01-07 17:18:25 +01:00
2022-01-24 16:42:33 +01:00
2022-01-07 17:18:25 +01:00
2022-01-07 17:18:25 +01:00
2022-01-07 17:18:25 +01:00
2022-03-15 21:37:07 +01:00
2022-01-07 17:18:25 +01:00


discord.js


Discord server npm version npm downloads Build status Code coverage

Installation

Node.js 16.9.0 or newer is required.

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

Examples

Here are some examples for the builders and utilities you can find in this package:

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.