Almeida
a6685a319e
build: bump dependencies ( #10671 )
2024-12-31 21:31:34 +01:00
Denis Cristea
8ab4124ef9
feat: implement zod-validation-error ( #10534 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-10-06 14:43:06 +00:00
Denis Cristea
ab32f26cbb
refactor: builders ( #10448 )
...
BREAKING CHANGE: formatters export removed (prev. deprecated)
BREAKING CHANGE: `SelectMenuBuilder` and `SelectMenuOptionBuilder` have been removed (prev. deprecated)
BREAKING CHANGE: `EmbedBuilder` no longer takes camalCase options
BREAKING CHANGE: `ActionRowBuilder` now has specialized `[add/set]X` methods as opposed to the current `[add/set]Components`
BREAKING CHANGE: Removed `equals` methods
BREAKING CHANGE: Sapphire -> zod for validation
BREAKING CHANGE: Removed the ability to pass `null`/`undefined` to clear fields, use `clearX()` instead
BREAKING CHANGE: Renamed all "slash command" symbols to instead use "chat input command"
BREAKING CHANGE: Removed `ContextMenuCommandBuilder` in favor of `MessageCommandBuilder` and `UserCommandBuilder`
BREAKING CHANGE: Removed support for passing the "string key"s of enums
BREAKING CHANGE: Removed `Button` class in favor for specialized classes depending on the style
BREAKING CHANGE: Removed nested `addX` styled-methods in favor of plural `addXs`
Co-authored-by: Vlad Frangu <me@vladfrangu.dev >
Co-authored-by: Almeida <github@almeidx.dev >
2024-10-01 19:11:56 +03:00
Jiralite
4f59b740d0
feat: Premium buttons ( #10353 )
...
* feat: premium buttons
* docs: deprecation string
* feat(InteractionResponses): add deprecation message
* feat(builders): add tests
* chore: remove @ts-expect-errors
* test: update method name
* refactor(formatters): stricter types
* docs: deprecate method in typings
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-07-04 18:57:35 +00:00
Jiralite
15021990e8
build: Bump discord-api-types to 0.37.90 ( #10354 )
...
build: bump discord-api-types
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-06-18 18:37:16 +00:00
Jiralite
8073561824
docs(builders): Add some basic documentation ( #9359 )
2023-04-10 22:09:51 +02:00
Almeida
8444576f45
docs(builders/components): document constructors ( #8636 )
2022-09-19 02:32:28 +02:00
iCrawl
3b7ba4062e
chore: fix leftover eslint exceptions
2022-09-01 21:26:09 +02:00
Suneet Tipirneni
edadb9fe5d
refactor: use eslint-config-neon for packages. ( #8579 )
...
Co-authored-by: Noel <buechler.noel@outlook.com >
2022-09-01 20:50:16 +02:00
Suneet Tipirneni
e42fd16369
feat(website): Show constructor information ( #8540 )
2022-08-22 09:45:53 +02:00
Suneet Tipirneni
e475b63f25
feat(website): show descriptions for @typeParam blocks ( #8523 )
2022-08-19 10:55:43 +02:00
Parbez
a4d1862982
refactor(builder): remove unsafe*Builders ( #8074 )
2022-07-06 20:42:51 +02:00
iCrawl
b2776c22d4
ci: api-extractor support for docs
2022-06-30 15:46:14 +02:00
iCrawl
bcf7f1cfad
chore: deps
2022-04-17 11:27:36 +02:00
Suneet Tipirneni
75b6770933
chore(builders): simplify types ( #7784 )
...
* chore(builders): simplify types
* chore: removed uneeded partial
2022-04-17 10:51:11 +02:00
Suneet Tipirneni
72577c4bfd
feat: add API v10 support ( #7477 )
...
* feat: add API v10 support
* refactor: update deps
* chore: rebase fixes
2022-03-15 21:37:07 +01:00
Suneet Tipirneni
549716e4fc
refactor: Don't return builders from API data ( #7584 )
...
* refactor: don't return builders from API data
* Update packages/discord.js/src/structures/ActionRow.js
Co-authored-by: Antonio Román <kyradiscord@gmail.com >
* fix: circular dependency
* fix: circular dependency pt.2
* chore: make requested changes
* chore: bump dapi-types
* chore: convert text input
* chore: convert text input
* feat: handle cases of unknown component types better
* refactor: refactor modal to builder
* feat: add #from for easy builder conversions
* refactor: make requested changes
* chore: make requested changes
* style: fix linting error
Co-authored-by: Antonio Román <kyradiscord@gmail.com >
Co-authored-by: almeidx <almeidx@pm.me >
2022-03-12 19:39:23 +01:00
Rodry
b12214922c
refactor(components): default set boolean methods to true ( #7502 )
2022-02-20 13:35:00 +01:00
Suneet Tipirneni
f7257f0765
feat: add missing v13 component methods ( #7466 )
...
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
Co-authored-by: Rodry <38259440+ImRodry@users.noreply.github.com >
Co-authored-by: Antonio Román <kyradiscord@gmail.com >
2022-02-18 01:04:34 +01:00
Suneet Tipirneni
e8252ed3b9
refactor: make public builder props getters ( #7422 )
...
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: Antonio Román <kyradiscord@gmail.com >
2022-02-13 13:06:11 +01:00
Suneet Tipirneni
6b6222bf51
feat(components): Add unsafe message component builders ( #7387 )
2022-02-04 20:29:41 +01:00