Commit Graph
8444 Commits
Author SHA1 Message Date
16fd248c64 feat: add shared client theme support (#11454)
* feat: add shared client theme support

* Apply suggestion from @Qjuh

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

* chore: tests

* chore: format

* chore: apply suggestions from code review

---------

Co-authored-by: Almeida <github@almeidx.dev>
Co-authored-by: Qjuh <76154676+Qjuh@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2026-07-14 21:04:12 +01:00
Almeidaandkodiakhq[bot] 24a0606a74 feat(ClientApplication): add fetchActivityInstance method (#11481)
* feat(ClientApplication): add fetchActivityInstance method

* refactor: requested changes

---------

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2026-07-14 20:50:12 +01:00
Almeida 0aabb6cde2 fix(StageInstanceManager#create): correctly resolve guildScheduledEvent (#11540) 2026-07-14 20:42:44 +01:00
221680dbd1 fix(RoleManager): allow null in RoleColorsResolvable to clear gradient colors (#11536)
* fix(RoleManager): allow null in RoleColorsResolvable to clear gradient colors

* docs(RoleManager): document nullable secondary/tertiary role colors

* refactor: split RoleColorsResolvable for create vs edit

* style: apply prettier formatting

* refactor: deduplicate RoleColors interfaces via inheritance

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

* refactor: move colors out of RoleData

---------

Co-authored-by: Qjuh <76154676+Qjuh@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2026-07-14 20:35:40 +01:00
Jaxson Bunch 0df0628d46 docs: fix incorrect casing in the ready event deprecation (#11574)
Fix incorrect casing in the ready event deprecation notice
2026-07-14 20:05:04 +01:00
VAKilinerandkodiakhq[bot] 1e2fdf4a65 fix(GuildChannel): Handle empty overwrite must only handle @everyone (#11221)
* Add check overwrite id

* Update GuildChannel.js

* Update GuildChannel.js

* chore: fmt

---------

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2026-07-10 09:33:37 +01:00
63cd9926bb docs: fix typos and duplicated words in comments and guide (#11502)
- fix "wether" -> "whether" and "dependant" -> "dependent" in RedisGateway JSDoc
- fix duplicated "the" in useful-packages guide
- fix duplicated "for" in two internal JSDoc param descriptions

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2026-07-10 09:28:29 +01:00
Jiralite 0fb54145c5 chore(discord.js): release discord.js@14.26.5 14.26.5 2026-07-10 09:14:42 +01:00
Jiralite 67705f8fc2 build: upgrade nan to 2.28.0
Includes Node.js 26 support
2026-07-10 09:10:31 +01:00
advaith ce29ae9815 fix: detect spoiler attachments with flag (v14) (#11561)
fix: detect spoiler attachments with flag
2026-06-26 02:29:59 +01:00
Jiralite d1f74384cf chore(core): release @discordjs/core@2.5.0 @discordjs/core@2.5.0 2026-06-13 22:30:40 +01:00
Jiralite 32fd336e54 build: upgrade discord-api-types 2026-06-13 22:26:06 +01:00
Jiraliteandkodiakhq[bot] 32c33710bb feat(guild): Support message search (#11552)
feat(guild): message search

Co-Authored-By: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2026-06-13 22:14:30 +01:00
Jiralite f28753b5bc fix(invite): Return RESTDeleteAPIInviteResult on delete (#11551)
fix(invite): return `RESTDeleteAPIInviteResult` on delete
2026-06-13 13:28:35 +01:00
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
QjuhandJiralite 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
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
NaiyarandAlmeida 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
JiraliteandQjuh 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 CristeaandJiralite 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