Almeida
aac247cc18
feat: add {add,remove}GroupDMRecipient methods ( #11135 )
...
* feat: add `{add,delete}GroupDMRecipient methods`
* fix: requested changes
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-10-08 08:37:02 +00:00
Jiralite
a78dd012dc
feat(guild): Support incident actions ( #11131 )
...
* feat(guild): add incident actions
* fix: add result
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-10-08 08:07:17 +00:00
Denis-Adrian Cristea
af923fee8e
fix(WebSocketShard): bad error re-throw ( #11151 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-10-07 09:59:40 +00:00
Pavel-Boyazov
b80dd8ce7f
types(ClientEventTypes): fix messageDeleteBulk event arg ( #11122 )
...
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2025-10-07 08:44:26 +00:00
Almeida
985b525556
chore: bump dependencies ( #11133 )
...
* chore: bump dependencies
* chore: another bump
2025-10-06 22:42:31 +00:00
Jiralite
2c08b0f975
feat(thread)!: Add query to getting a thread member ( #11136 )
...
BREAKING CHANGE: Third parameter of `ThreadsAPI#getMember()` is now `query`, pushing `options` to the fourth.
* feat(thread): add query to getting a thread member
* Apply suggestion from @almeidx
Co-authored-by: Almeida <github@almeidx.dev >
* Apply suggestion from @almeidx
Co-authored-by: Almeida <github@almeidx.dev >
---------
Co-authored-by: Almeida <github@almeidx.dev >
2025-10-06 10:35:31 +01:00
Almeida
fbdec3d828
feat!: add escapeQuote and escapeBlockQuote ( #11129 )
...
BREAKING CHANGE: `escapeMarkdown` now escapes quotes and block quotes by default.
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2025-10-06 10:30:36 +01:00
Pavel-Boyazov
cf88ef91fd
types(Webhook): specify message type ( #11142 )
...
* types(Webhook): specify message type
* test(Webhook): update types
2025-10-05 20:42:15 +00:00
Vlad Frangu
05224e78ec
fix(builders): correct assertion for select menu string min/max values ( #11139 )
...
* fix(builders): correct assertion for select menu string min/max values
* fix: actually fix the logic
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-10-05 15:28:34 +00:00
Almeida
612c49b546
fix: adjust types for typescript upgrade ( #11132 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-10-05 12:43:49 +00:00
Jiralite
ffbb7b6936
feat: Add gateway endpoints ( #11130 )
...
feat: add gateway
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-10-04 16:35:21 +00:00
Denis-Adrian Cristea
d251e065cd
feat(RedisBroker): ability to explicitly tell the library to pick a random group ( #11002 )
...
feat(RedisBroker): randomly pick group via symbol
2025-10-04 14:20:27 +00:00
Denis-Adrian Cristea
cf89260c98
feat(RedisBroker): poll for unacked events ( #11004 )
...
Co-authored-by: Noel <buechler.noel@outlook.com >
2025-10-04 10:59:48 +02:00
Denis-Adrian Cristea
2c750a4e00
refactor!: make RedisBroker require consumer name ( #11001 )
...
* refactor(RedisBroker): require consumer name
* chore: spelling
Co-authored-by: Noel <buechler.noel@outlook.com >
---------
Co-authored-by: Noel <buechler.noel@outlook.com >
2025-10-04 10:51:43 +02:00
ckohen
6431cea24b
ci(release): use main action always ( #11125 )
...
* ci(release): use main action always
* ci(release): use more descriptive names
* ci: review fixes
* ci(release): fixes from testing
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-10-04 08:50:30 +00:00
Naiyar
f510b5ffab
docs(ModalComponentResolver): correct getTextInputValue return type ( #11128 )
2025-10-01 18:09:54 +00:00
Almeida
1c5674d9b2
fix(ThreadMemberFlagsBitField): use ThreadMemberFlags enum in Flags ( #11118 )
...
feat(ThreadMemberFlagsBitField): use `ThreadMemberFlags` enum in `Flags`
2025-09-27 15:36:51 +00:00
Almeida
5efde1162f
docs: use LocalizationMap where applicable ( #11117 )
2025-09-27 14:48:06 +00:00
Jiralite
9201243f32
docs(APITypes): Add APISelectMenuDefaultValue ( #11111 )
...
docs: add `APISelectMenuDefaultValue`
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-09-26 16:40:22 +00:00
Jiralite
0d76f1149f
fix: Add idPredicate ( #11109 )
...
* fix: `idPredicate`
* fix: add test
* test: add negative test
2025-09-26 16:06:22 +00:00
Naiyar
b3705df547
fix: use in operator when resolving modal component ( #11115 )
2025-09-26 09:10:51 +00:00
Jiralite
2d740d5279
fix(GuildMember): Use editMe() conditionally for setNickname() helper ( #11113 )
...
fix(GuildMember): use `editMe()` conditionally
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-09-24 20:38:47 +00:00
Jiralite
beed098bf2
fix: Add type to some predicates ( #11110 )
...
fix: add `type`
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-09-22 09:10:20 +00:00
Jiralite
7886d9b098
feat(GuildMemberManager)!: Add new modify self fields ( #11089 )
...
BREAKING CHANGE: `GuildMemberManager#edit()` no longer handles the /@me route for editing the current application's guild member. This has split out into `GuildMemberManager#editMe()`
2025-09-21 22:51:57 +01:00
Naiyar
5247afe983
feat!: text display and other select menus for modal ( #11097 )
...
BREAKING CHANGE: `ModalSubmitFields` is no longer exported
BREAKING CHANGE: `ModalSubmitInteraction#fields` is removed
BREAKING CHANGE: `ModalSubmitInteraction#components` is now `ModalOptionResolver`
BREAKING CHANGE: `DjsErrorCodes#ModalSubmitInteractionFieldNotFound` & `DjsErrorCodes#ModalSubmitInteractionFieldType` are now renamed to `DjsErrorCodes#ModalSubmitInteractionComponentNotFound` & `DjsErrorCodes#ModalSubmitInteractionComponentType` respectively
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2025-09-21 22:18:18 +01:00
Jiralite
b66f52f9aa
feat!: More label components and text display in modal ( #11078 )
...
BREAKING CHANGE: Modals only have adding (no setting) and splicing has been replaced with a generalised splice method to support all components.
2025-09-14 09:09:56 +01:00
Jiralite
90aac127fa
fix(users): Correct type for editing current guild member ( #11099 )
...
* fix(user): use correct type
* fix: imports
* fix: imports
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-09-10 21:11:52 +00:00
Naiyar
4ec03ae517
feat!: label component and selects in modal ( #11081 )
...
BREAKING CHANGE: TextInputComponentData no longer accepts label
BREAKING CHANGE: ActionRow and ActionRowData no longer accept TextInput
BREAKING CHANGE: `ModalSubmitInteraction#transformComponent` is now private and no longer exposed publicly
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2025-09-10 21:34:57 +01:00
ckohen
f1bcff46b6
feat(rest): callbacks for timeout and retry backoff ( #11067 )
...
* feat(rest): callbacks for timeout and retry backoff
* test: add tests for callback utils
* test: fix typo
Co-authored-by: Qjuh <76154676+Qjuh@users.noreply.github.com >
* fix(retryBackoff): efficient math
* docs: minor tweaks
* docs: captalisation
---------
Co-authored-by: Qjuh <76154676+Qjuh@users.noreply.github.com >
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2025-09-10 09:23:28 +00:00
Jiralite
5d5a6945e4
build: Update discord-api-types to 0.38.23 ( #11095 )
...
build: update
2025-09-10 08:30:00 +00:00
Almeida
352c9819b6
feat: send voice messages ( #10462 )
...
* feat: send voice messages
* fix: title reference
Co-authored-by: ckohen <chaikohen@gmail.com >
* docs: clarify voice message attachment properties in documentation
---------
Co-authored-by: ckohen <chaikohen@gmail.com >
2025-09-06 11:12:24 +00:00
Jiralite
f7c77a73de
feat(builders)!: Support select in modals ( #11034 )
...
BREAKING CHANGE: Text inputs no longer accept a label.
BREAKING CHANGE: Modals now only set labels instead of action rows.
2025-09-05 17:56:14 +01:00
VAKiliner
ddf9f818e8
fix: Ensure discriminator detection respects webhooks too ( #11062 )
...
* Replace discriminator === '0' to Number(discriminator)
* Fix
* Replacing !Number() to ['0', '0000'].includes
* chore: fmt
* perf: no array
---------
Co-authored-by: almeidx <github@almeidx.dev >
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2025-09-05 07:39:35 +00:00
Almeida
8ca279e0c3
refactor: update deno template and loader logic ( #11060 )
...
* refactor: update deno template and loader logic
* yeet
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-09-04 12:36:26 +00:00
Almeida
5a656b849f
refactor(PollAnswer)!: remove fetchVoters ( #11059 )
...
BREAKING CHANGE: The `PollAnswer#fetchVoters` method has been removed. Use `PollAnswer#voters#fetch` instead.
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2025-09-02 17:51:24 +01:00
Jiralite
bb67f3c154
feat: Guest invites ( #11055 )
...
* feat: guest invites
* types: add types
* docs: add `InviteFlags`
* docs: grammar
Co-authored-by: Sören Stabenow <71461991+thehairy@users.noreply.github.com >
---------
Co-authored-by: Sören Stabenow <71461991+thehairy@users.noreply.github.com >
2025-09-01 22:14:24 +00:00
Almeida
90813b33aa
build: use the same timestamp for release versions ( #11069 )
2025-08-31 20:43:22 +00:00
Almeida
cc43dadcae
chore: bump dependencies ( #11051 )
...
* chore: bump dependencies
* build: bump discord-api-types to 0.38.22
* fix: fix builders
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-08-29 12:01:54 +00:00
ckohen
368edeaaff
fix(rest): emit warning on HTTP 401 with non-zero code ( #11066 )
...
* fix(rest): emit warning on HTTP 401 with non-zero code
* fix: typos
Co-authored-by: Almeida <github@almeidx.dev >
* fix: explicit globalThis
---------
Co-authored-by: Almeida <github@almeidx.dev >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-08-29 10:33:17 +00:00
Jiralite
d548a5911e
fix(Guild)!: Remove setting owner ( #11068 )
...
BREAKING CHANGE: Setting the owner of a guild is removed.
2025-08-29 11:12:14 +01:00
Almeida
50018979ed
feat: add email and phoneNumber formatters ( #11050 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-08-26 21:26:05 +00:00
Souji
55ab46dbc3
fix(GuildChannel): account for everyone base permissions ( #11053 )
...
When calculating permissions after overwrites, the base permission of the at-everyone role need to be accounted for.
Role#permissions is not sufficient, as it only describes base permissions of the role itself.
fixes #11052
2025-08-22 11:03:33 +00:00
Vlad Frangu
4b6060dcd8
feat: bump discord.js in create-discord-bot/app ( #11048 )
...
* feat: bump discord.js in create-discord-bot/app
* chore: forgot core
2025-08-21 06:58:35 +00:00
J4C0B3Y
b1d96e251f
refactor(ActionsManager): register actions without using class name ( #11047 )
2025-08-19 08:51:52 +00:00
ckohen
7710decf6a
ci(release): use full commit hash ( #11046 )
2025-08-18 07:57:24 +00:00
ckohen
29173f12f3
chore(voice): release @discordjs/voice@0.19.0 ( #11045 )
2025-08-17 22:33:16 +00:00
Almeida
e68829770f
build: fix package name argument parsing ( #11044 )
2025-08-17 22:12:19 +00:00
Jiralite
059d274aff
chore: Fix typos ( #11043 )
...
chore: fix typos
2025-08-17 19:45:38 +00:00
ckohen
ac290aea95
ci(release): use app user ( #11038 )
...
* ci(release): set git user
* ci(release): refactor to use app
* ci(release): use only app token
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-08-16 21:05:36 +00:00
Jiralite
bdcb3e1df7
build: Upgrade pnpm-lock.yaml ( #11036 )
...
* build: upgrade pnpm-lock.yaml
* style: format
2025-08-09 21:45:57 +00:00