Commit Graph

8430 Commits

Author SHA1 Message Date
Jiralite
0516dc7862 chore(discord.js): release discord.js@14.26.4 14.26.4 2026-05-01 14:31:45 +01:00
Qjuh
b8d8812a05 fix(MessageCreateAction): receive DMs in uncached DMChannels again (#11495) 2026-05-01 13:29:54 +01:00
Jiralite
f95b629d44 chore(TeamMember): update permissions comment 2026-04-15 11:37:20 +01:00
Jiralite
666fce0516 chore(discord.js): release discord.js@14.26.3 14.26.3 2026-04-14 13:36:49 +01:00
Jiralite
dced1970eb fix(TeamMember): allow a default permissions
Discord stopped sending this field at some point on or before 2026-04-14.
2026-04-14 13:21:04 +01:00
Vlad Frangu
e662290faa chore(discord.js): release discord.js@14.26.2 14.26.2 2026-04-04 00:22:54 +03:00
Qjuh
b86573db3c fix(Action): don't add recipients to guild channels (#11479)
* fix(Action): don't add recipients to guild channels

* pref: no array

---------

Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>
2026-04-03 23:18:30 +02:00
Jiralite
cd1b6a0f63 chore(discord.js): release discord.js@14.26.1 14.26.1 2026-04-03 20:32:44 +01:00
Qjuh
67566d0b0e fix: only return DMChannel that have the user as known recipient (#11478) 2026-04-03 20:19:26 +01:00
Jiralite
6a0cd82566 chore(builders): increase @discordjs/builders version @discordjs/builders@1.14.1 2026-03-31 18:35:30 +01:00
Jiralite
2eaec32414 chore(builders): release @discordjs/builders@1.14.1 2026-03-31 18:25:46 +01:00
ducktrshessami
6e45ddc067 fix: actually accept rest in RadioGroup/CheckBoxGroupBuilder#setOptions (#11472) 2026-03-31 19:21:57 +02:00
Vlad Frangu
eee6f948ee chore(discord.js): release discord.js@14.26.0 14.26.0 2026-03-31 11:30:58 +03:00
Qjuh
45bd430c0d feat: allow partial DMChannel without client user (#11462)
* feat(DMChannel): allow partial DMChannel without client user

* chore: apply code review comments

* chore: apply code review suggestion
2026-03-27 14:34:33 +01:00
Vlad Frangu
d20e10305b chore(builders): release @discordjs/builders@1.14.0 @discordjs/builders@1.14.0 2026-03-23 02:02:08 +02:00
Vlad Frangu
f7bc2d0db8 chore(rest): release @discordjs/rest@2.6.1 @discordjs/rest@2.6.1 2026-03-23 01:32:17 +02:00
Jiralite
baeeb38185 build: upgrade Undici 2026-03-19 08:03:53 +00:00
Jiralite
1a0da18b36 fix: Remove manage messages check for pinnable (#11453)
fix: remove manage messages check
2026-03-18 19:40:12 +00:00
faceboy
ca7719e822 feat(builders): add checkbox, checkboxgroup, and radiogroup builders (#11410)
* feat(builders): add checkbox, checkboxgroup, and radiogroup builders

* Update packages/builders/src/components/checkbox/Assertions.ts

fix incorrect wording about default option count in radio groups

Co-authored-by: Qjuh <76154676+Qjuh@users.noreply.github.com>

* fix(builders): remove length validators from add/splice options

* chore: remove directives

* fix(builders): documentation fixes

* fix(builders): return Result.err instead of throw in validators

---------

Co-authored-by: Qjuh <76154676+Qjuh@users.noreply.github.com>
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>
2026-03-11 13:39:16 +01:00
faceboy
ec5d921b75 docs(builders): edited docs to correctly link to splice (#11430)
fix(builders): edited docs to correctly link to splice

StringSelectMenuBuilder.splice()'s docs incorrectly linked to slice instead of splice in MDN docs, fixed that
2026-03-11 08:14:49 +00:00
Naiyar
b42e499410 feat: modal radio group and checkbox components for v14 (#11437)
feat: modal radio group and checkbox components

* feat: radio group and checkbox component in modal

* chore: some doc and type fixes

* chore: missing types

* chore: update component names

* docs: radio group value now returns null if not selected

* Remove empty line at the beginning of ModalSubmitInteraction.js

* Change value property to be nullable in RadioGroupModalData

* chore: review

* chore: missing "type"

* chore: suggestion



* chore: review



---------

Co-authored-by: Almeida <github@almeidx.dev>
2026-03-11 09:11:29 +01:00
Qjuh
374a6785ae ci: fix docs workflow on v14 tag push (#11438) 2026-03-05 15:14:09 +01:00
Jiralite
319a73f8e6 build: Upgrade v14 dependencies (#11427)
* build: upgrade dependencies

* build: please Undici please

* build: regenerate file

* chore: fix docs by using bundler

* fix: revert upgrade for package

* build: fix versions
2026-02-24 23:18:54 +00:00
Qjuh
16d70b9232 types: broadcastEval overload order (#11422)
types: broadcastEval overload order (#11421)

* types: broadcastEval overload order

* types: also apply to ShardClientUtil
2026-02-16 17:59:58 +01:00
Jiralite
4476fadd19 chore(builders): release @discordjs/builders@1.13.1 @discordjs/builders@1.13.1 2025-11-30 19:35:11 +00:00
Jiralite
61251cfcb8 fix: Adjust label predicates (#11318)
* fix: labels in 14

* test: add variable for at limit

* docs(jsonOptionValidator): deprecate

* fix: export `selectMenuStringOptionPredicate`

* fix: export everything

Co-authored-by: Qjuh <76154676+Qjuh@users.noreply.github.com>

---------

Co-authored-by: Qjuh <76154676+Qjuh@users.noreply.github.com>
2025-11-30 18:38:46 +00:00
Jiralite
e77793898a docs(Container): update example usage
Resolves #11297.
2025-11-28 10:24:58 +00:00
Jiralite
f5b3f842e3 fix(DJSError): Differentiate error type (#11295)
* fix(DJSError): differentiate error type

* fix: remove `?.`
2025-11-22 20:23:09 +00:00
Jiralite
e32f0c141a refactor(DJSError): Prefer this.constructor.name (#11294)
refactor(DJSError): prefer `this.constructor.name`
2025-11-22 12:50:54 +00:00
Jiralite
fdac8c5bdd chore(discord.js): release discord.js@14.25.1 14.25.1 2025-11-21 16:23:04 +00:00
Jiralite
0d64ea0528 fix(GuildEmojiManager): Allow CreateGuildExpressions for retrieving author data (#11288)
* fix(GuildEmojiManager)!: Allow `CreateGuildExpressions` for retrieving author data (#11283)

* fix(GuildEmojiManager): allow `CreateGuildExpressions`

* fix: tests
2025-11-21 16:22:20 +00:00
Vlad Frangu
cce8194b9f chore(discord.js): release discord.js@14.25.0 @discordjs/util@1.2.0 @discordjs/formatters@0.6.2 14.25.0 @discordjs/core@2.4.0 2025-11-18 08:26:54 +02:00
Vlad Frangu
f4b4918200 chore(core): release @discordjs/core@2.4.0 2025-11-18 08:26:01 +02:00
Vlad Frangu
d500d97666 chore(formatters): release @discordjs/formatters@0.6.2 2025-11-18 08:22:03 +02:00
Vlad Frangu
6727634758 chore(util): release @discordjs/util@1.2.0 2025-11-18 08:19:50 +02:00
Denis-Adrian Cristea
a3c6bce3a8 feat(GuildMemberManager): handle gateway request rate limit (#11253)
* feat(GuildMemberManager): handle gateway request ratelimit

* fix: account for ws abstraction layer

* chore: yada yada

* refactor: use new error class

* fix: linter

---------

Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>
2025-11-17 10:24:12 +00:00
Jiralite
214c6cbdd6 build: unify discord-api-types versions 2025-11-17 10:23:20 +00:00
Jiralite
492039c4f6 docs(MessageManager): update fetchPins() wording 2025-11-14 21:24:18 +00:00
Jiralite
b0542f30e2 style: ESLint 2025-11-12 13:59:08 +00:00
Jiralite
84197a0ee0 fix: Remove data conditional check (#11250)
* fix: remove conditional

* types: sort types
2025-11-12 13:41:09 +00:00
Danial Raza
33bfdedf35 feat(Client): add request soundboard sounds (#10608)
* feat(Client): add request soundboard sounds

* docs: add `guildId` to example

Co-authored-by: Almeida <github@almeidx.dev>

* refactor: remove `groupBy` polyfill

---------

Co-authored-by: Almeida <github@almeidx.dev>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-11-12 13:39:35 +00:00
Naiyar
caa7833ffb feat(interactions): add launchActivity method (#10646)
* feat(interactions): add launchActivity method

* chore: suggestion

Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>

* chore: suggestion

Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>

* fix: overload and add tests

* chore: wording

* chore: wording

* chore: spacing

---------

Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-11-12 13:37:43 +00:00
Jiralite
b14d8d970b docs(guild): Remove "all" for listing guild members (#10719)
docs(guild): remove "all" for listing

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-11-12 13:35:46 +00:00
Naiyar
d4d326b70d types(interactions): fix overloads (#10702)
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>
2025-11-12 13:34:21 +00:00
Jiralite
d4b0f4de5f fix(interactions): options should be optional (#10683)
fix(interactions): fix optional overloads
2025-11-12 13:30:54 +00:00
Jiralite
f040c6f6a5 types: Export some core-specific types (#10620)
types: export core-specific types
Co-Authored-By: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-11-12 13:29:27 +00:00
Naiyar
6f05c96ab4 fix(interactions): wrong return type and missing implementation of with_response in core (#10644)
* fix(types): wrong return type with with_response

* fix: missing implementation of with_response

---------

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-11-12 13:23:08 +00:00
Jiralite
62f2ca5fbb feat(monetization): Add get entitlement endpoint (#10605)
feat(monetization): add get entitlement endpoint

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-11-12 13:22:27 +00:00
Jiralite
610b4bbacb fix: query is optional for some endpoints (#10621)
* fix(monetization): `query` is optional

* refactor: more defaults
2025-11-12 13:20:17 +00:00
Ryan Munro
8469fb3bad feat(interactions): support with_response query parameter in core (#10512)
* feat(interactions): support with_response query parameter

* fix: address feedback from comments

* chore: remove extraneous documentation

* fix: return type is now undefined

---------

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-11-12 13:17:17 +00:00