Asad
0b19058cda
chore: update deps
2025-12-21 21:59:49 +00:00
Asad
7ae2f4bcad
feat(structures): add emoji structure
2025-12-21 21:29:54 +00:00
Pavel-Boyazov
427636ee75
types(Message): specify rawData arg type ( #11123 )
...
Co-authored-by: Almeida <github@almeidx.dev >
2025-12-17 19:04:17 +00:00
Almeida
cad826fc03
feat(RoleManager): add fetchMemberCounts ( #11352 )
...
* feat(RoleManager): add `fetchMemberCounts`
* docs: improve description
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-12-17 18:59:50 +00:00
Vlad Frangu
51b5d38342
feat: proper authorizing integration owners structure ( #11366 )
...
* feat: proper authorizing integration owners structure
chore: fix ci
chore: fix types
chore: fix types
chore: nits
chore: tests
chore: requested changes
chore: drop it from apitypes
chore: requested 2
chore: rofl
chore: docs
* chore: docs
* chore: docs
* 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: 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>
2025-12-17 18:55:05 +00:00
Marko Kajzer
5f93fbd0f2
fix(voice): handle negative timeouts ( #11362 )
2025-12-17 18:53:10 +00:00
Snazzah
c4fc79a3cd
fix(voice): handle multiple transitions simultaneously ( #11100 )
...
* fix(voice): handle multiple transitions simultaneously
* fix: fix execute transition return
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-12-12 15:49:37 +00:00
Vlad Frangu
5b4dbd541e
feat: zstd streaming support ( #10758 )
...
* feat(ws): zstd streaming support
* chore: naming of the mode
* fix: remove `@ts-expect-error`
---------
Co-authored-by: Almeida <github@almeidx.dev >
2025-12-12 13:01:25 +00:00
Almeida
df0c28afc2
feat(GuildsAPI): add getRoleMemberCounts ( #11353 )
...
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2025-12-11 01:48:28 +00:00
Almeida
01f31f374a
chore: bump dependencies ( #11356 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-12-10 17:53:48 +00:00
Denis-Adrian Cristea
9bf1f739e0
chore: remove usage of the prefer-global rules ( #11279 )
2025-12-10 14:05:29 +00:00
Copilot
548d75258b
perf: Optimize Collection.equals() to reduce redundant map lookups ( #11344 )
...
* Initial plan
* Optimize Collection.equals() to avoid redundant map lookups
Co-authored-by: iCrawl <20760160+iCrawl@users.noreply.github.com >
* Add explanatory comment for equals() undefined check optimization
Co-authored-by: iCrawl <20760160+iCrawl@users.noreply.github.com >
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: iCrawl <20760160+iCrawl@users.noreply.github.com >
Co-authored-by: Almeida <github@almeidx.dev >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-12-09 21:22:14 +00:00
Almeida
6a129bc054
chore: lower concurrency on index upload ( #11351 )
...
* chore: lower concurrency on index upload
* chore: increase timeout
2025-12-09 21:02:57 +00:00
Almeida
f60d3d65fe
refactor!: move embedLength function to util package ( #11327 )
...
BREAKING CHANGE: Builders no longer exports a `embedLength` function. Import it from `@discordjs/util` instead.
Co-authored-by: Danial Raza <danialrazafb@gmail.com >
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2025-12-09 18:40:34 +00:00
jNullj
4db1092f8f
docs(voice): add DAVE dependency section ( #11061 )
...
* docs(voice): add DAVE dependency section
continues work found at https://github.com/discordjs/discord.js/issues/10735
Read more at https://discord.com/developers/docs/change-log#voice-endtoend-encryption-dave-protocol
* docs(voice): fix dave dependency note order
* remove explicit warning regarding optional dependency being optional
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: Almeida <github@almeidx.dev >
2025-12-09 17:48:24 +00:00
Almeida
06c8da23d1
chore: update deps & search indice action refactor ( #11339 )
...
* chore: update deps & search indice action refactor
- Updated pnpm, dependencies and regenerated the lockfile
- Removed immer and some eslint plugins that weren't being used
- Updated the version of `@types/node` to v24 on internal packages as
that's the version that is being used on github actions
- Refactored the uploadSearchIndices action slightly and upgraded the
meilisearch dependency
* chore: remove more deps
2025-12-09 13:47:46 +01:00
Jiralite
2c3bf5c817
ci: Upload README.md files ( #11342 )
...
* feat: upload README.md files
* ci: build actions
* fix: build action
* chore: force rename
2025-12-09 03:22:39 +01:00
Almeida
ec3ef7b1bd
feat: use native node typescript ( #11259 )
...
* feat: use native node typescript
* fix: use basename
* Update packages/create-discord-bot/template/Bun/TypeScript/tsconfig.json
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Change module and moduleResolution to ESNext and Bundler
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-12-09 03:22:16 +01:00
Almeida
c9bc33c758
fix(stringOptionPredicate): min_length and max_length min values ( #11340 )
...
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2025-12-09 00:20:15 +00:00
Almeida
ec76b17be3
chore: workflow and docker image tweaks ( #11341 )
2025-12-09 00:15:14 +01:00
Jiralite
d90a86a048
fix(Message): Optional parameter for setting allowed mentions ( #11338 )
...
feat: allow empty allowed mentions
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-12-08 23:14:34 +00:00
Egologics
fa43c40d34
fix(builders): handle 0 as valid attachment ID ( #11330 )
...
* fix(builders): handle 0 as valid attachment ID
Fixes #11314
The AttachmentBuilder.getRawFile() method was using a falsy check that treated 0 as invalid. Changed to use the 'in' operator to properly check for the existence of the id property.
* Update packages/builders/__tests__/messages/fileBody.test.ts
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
* Apply suggestion from @almeidx
* fix: lint
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: Almeida <github@almeidx.dev >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-12-08 23:08:36 +00:00
Almeida
d0745afbea
chore: upgrade vitest to v4 ( #11336 )
2025-12-08 18:55:45 +00:00
Almeida
d518c97840
chore: upgrade storybook to v10 ( #11334 )
...
- Replaced deprecated `@storybook/addon-styling` with `@storybook/addon-themes`
- Removed deprecated `@storybook/addon-essentials` and `@storybook/addon-interactions`
- Upgraded `chromatic`, although it's seemingly unused anywhere
- Upgraded `@types/node` to match the ones in the guide and website
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-12-08 08:27:04 +00:00
Denis-Adrian Cristea
9005c8ae9c
refactor!: remove AttachmentBuilder and support new file body encodables ( #11278 )
...
BREAKING CHANGE: Remove AttachmentBuilder
---------
Co-authored-by: Vlad Frangu <me@vladfrangu.dev >
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2025-12-08 10:19:43 +02:00
Almeida
5888663392
test: fix type errors ( #11325 )
...
* test: fix type errors
* chore: use MockedFunction
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-12-08 00:24:29 +00:00
Jiralite
5e6bd4b3d7
build: Bump dependencies ( #11333 )
...
* build: bump dependencies
* fix: guide build
* build: amend package.json.hbs
* build: create-discord-bot
* style: formatting
* build: final change
---------
Co-authored-by: almeidx <github@almeidx.dev >
2025-12-06 22:55:07 +00:00
Almeida
0aaba0305f
fix(undiciRequest): file uploading ( #11320 )
...
* fix(undiciRequest): file uploading
* fix: different approach
* fix: revert to the previous approach
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-12-03 14:40:15 +00:00
IllagerCaptain
633fdd8f28
feat(Guild): Add maximumStageBitrate ( #11313 )
...
* Add `maximumStageBitrate : number`
* Add `maximumStageBitrate : number`
* oops
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-12-02 23:26:15 +00:00
Almeida
87b359e44d
fix: replace usages of Buffer#slice() with Buffer#subarray() ( #11326 )
...
fix: replace usages of Buffer.slice() with Buffer.subarray()
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-12-02 23:13:10 +00:00
Jiralite
2520a0fb96
chore: @favware/cliff-jumper schema ( #11328 )
...
* chore: add schema
* chore: template pain
* build: remove from docgen
2025-11-30 21:54:51 +00:00
Jiralite
a57b4d4d29
fix: Allow mixing subcommands with subcommand groups ( #11303 )
...
fix: allow subcommand with groups
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-11-30 16:48:19 +00:00
Jiralite
8162ae8ce0
test: Add toJSON() to tests ( #11321 )
...
test: fix validation
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-11-30 16:41:48 +00:00
Jiralite
ace834b274
fix: Adjust label predicates and fix buttons emoji/label behaviour ( #11317 )
...
* fix: buttons with custom id
* fix: button labels
* fix: also add refinement to link buttons
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-11-30 16:17:50 +00:00
Rie
d59857e901
fix(builders): add proper snowflake validation ( #11290 )
...
* fix(builders): add proper snowflake validation
close #11289
* fix(builders): use snowflake validation for attachment id
* test(builders): add validation tests for snowflake attachment IDs
* fix: better regex
Co-authored-by: Almeida <github@almeidx.dev >
* test(builders): fix snowflake validation in fileBody test
* Update packages/builders/src/Assertions.ts
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
* fix: update regex
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: Almeida <github@almeidx.dev >
Co-authored-by: Vlad Frangu <me@vladfrangu.dev >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-11-30 15:30:04 +00:00
Qjuh
19253f6b7b
feat: message structures ( #10982 )
...
* feat: message structures
* fix: docs
* chore: components and more
* feat: embed and more
* feat: more substructures and code review suggestions
* chore: tests and date conversions
* chore: jsdoc strings
* fix: tests
* fix: tests
* feat: hexColor getters
* chore: remove getters for nested data
* chore: apply suggestions from code review
* fix: burst_colors in toJSON
* docs: rephrase SectionBuilder remark
* chore: add LabelComponent
* fix: add name and size to file component
* chore: move resolved interaction data to interactions dir
* fix: code review
* chore: bump discord-api-types
* chore: apply code review suggestions
* fix: lockfile
* chore: update remark
* fix: missing export
* chore: code review and tests
* build: fix file
* fix: typo
* fix: missing toJSON
* fix: remove redundant patch overrides
* chore: missing component suffix
* chore: better name
* chore: add comment explaining timestamp conversion
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2025-11-28 16:52:42 +00:00
VAKiliner
aeb8986aa1
fix(Client): Move client initialization code ( #11184 )
...
* Update index.js
* Fix
* Fix path to ClientUser
* Update Client.js
* Migrating back to READY.js
* Move _checkReady()
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: Denis-Adrian Cristea <didinele.dev@gmail.com >
2025-11-28 14:12:23 +00:00
Jiralite
02fc101069
fix(DJSError): Differentiate error type ( #11295 )
...
* fix(DJSError): differentiate error type
* fix: remove `?.`
2025-11-22 20:22:55 +00:00
Jiralite
db41d5cb68
refactor(DJSError): Prefer this.constructor.name ( #11294 )
...
refactor(DJSError): prefer `this.constructor.name`
2025-11-22 12:45:33 +00:00
Jiralite
0b12263371
fix(GuildEmojiManager)!: Allow CreateGuildExpressions for retrieving author data ( #11283 )
...
* fix(GuildEmojiManager): allow `CreateGuildExpressions`
* fix!: update error code
BREAKING CHANGE: `MissingManageGuildExpressionsPermission` has become `MissingGuildExpressionsPermission`.
2025-11-20 23:15:58 +00:00
Jiralite
5dea94602e
ci: Remove tags instead of only deprecating ( #11263 )
...
ci: deprecate -> remove
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-11-20 20:17:00 +00:00
Denis-Adrian Cristea
68bb8af58a
feat(builders): multipart form data output support ( #11248 )
...
* feat(builders): multipart form data output support
* refactor: proper key management
* chore: add missing remarks
* chore: requested changes
* chore: rename encodables file
* chore: requested changes
* chore: requested changes
* chore: nits
Co-authored-by: Almeida <github@almeidx.dev >
* chore: requested change
* chore: requested change
---------
Co-authored-by: Almeida <github@almeidx.dev >
2025-11-19 21:59:51 +00:00
Jiralite
9d5c6b4588
fix(Util): Resolve circular dependency ( #11276 )
...
* fix(Util): resolve circular
* refactor: lazily load all other circulars
2025-11-15 10:06:05 +00:00
Danial Raza
7349a6ee3e
refactor(client)!: remove BaseClient ( #11274 )
...
BREAKING CHANGE: `BaseClient` has been removed and its functionality has been merged into `Client`.
2025-11-14 23:03:39 +01:00
Jiralite
87364c7ed9
docs(MessageManager): Update fetchPins() wording ( #11275 )
...
docs(MessageManager): update `fetchPins()` wording
2025-11-14 21:23:58 +00:00
Denis-Adrian Cristea
25aff7e218
feat(GuildMemberManager): handle gateway request rate limit ( #11252 )
...
* feat(GuildMemberManager): handle gateway request ratelimit
* chore: typo no one saw
* fix: cleanup listener properly
* types: add error code
* refactor: requested changes
* fix: update emitted warning
* chore: requested changes
* refactor: remove event
* refactor: warning
* chore: wording
Co-authored-by: Vlad Frangu <me@vladfrangu.dev >
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: Vlad Frangu <me@vladfrangu.dev >
2025-11-14 20:51:54 +00:00
ckohen
9f18cb2129
refactor(Webhooks)!: remove WebhookClient ( #11266 )
...
BREAKING CHANGE: WebhookClient has been removed, use @discordjs/core instead or fetch webhooks. Alternative solutions are in the works
BREAKING CHANGE: `WebhookURLInvalid` is no longer an error code (obsolete).
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2025-11-13 12:57:00 -08:00
Jiralite
837af56cf8
fix: Remove data conditional check ( #11250 )
...
* fix: remove conditional
* types: sort types
2025-11-12 13:31:13 +00:00
Danial Raza
e8217e335c
feat!: support new s/S timestamp styles ( #11267 )
...
BREAKING CHANGE: `TimestampStyles.LongTime` has been removed. Use `TimestampStyles.MediumTime` instead.
BREAKING CHANGE: `TimestampStyles.ShortDateTime` has been removed. Use `TimestampStyles.LongDateShortTime` instead.
BREAKING CHANGE: `TimestampStyles.LongDateTime` has been removed. Use `TimestampStyles.FullDateShortTime` instead.
2025-11-12 10:55:20 +00:00
Almeida
538b47dd00
feat: upgrade zod to v4 ( #11258 )
...
* feat: upgrade zod to v4
* fix: requested changes
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-11-12 10:07:58 +00:00