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
Jiralite
8ed93b3269
types(DiscordjsErrorCodes): Add missing permission overwrites error codes ( #11256 )
...
types: add missing types
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-11-12 07:25:30 +00:00
Josef
c85f18c1ee
feat: optimize role manager cache getter ( #11239 )
...
Co-authored-by: Almeida <github@almeidx.dev >
2025-11-09 10:51:40 +00:00
Naiyar
06a75e80bc
docs: clarify wording for maximum values ( #11231 )
...
* docs(FileUpload): clarify wording
* chore: missed instances
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-11-01 14:33:34 +00:00
Danial Raza
f26a5ed869
fix: only pass relevant options to API when fetching ( #11228 )
...
* fix: only pass relevant options to API when fetching
* chore: requested changes
* fix: missed instance
2025-10-31 20:48:51 +00:00
Almeida
fb5c629638
chore: bump dependencies ( #11225 )
2025-10-31 11:15:45 +00:00
TÆMBØØ
178c9cb348
fix(GuildMember): joinedAt possibly being NaN ( #11224 )
2025-10-30 20:59:02 +00:00
Danial Raza
94a9b4d03c
fix(Message): update pinnable to use PinMessages ( #11202 )
...
* fix(Message): update `pinnable` to use `PinMessages`
* refactor: use bitwise OR
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
* fix: check if in voice based channel for pinnable
* Update packages/discord.js/src/structures/Message.js
* Update packages/discord.js/src/structures/Message.js
Co-authored-by: Almeida <github@almeidx.dev >
* Update packages/discord.js/src/structures/Message.js
Co-authored-by: Almeida <github@almeidx.dev >
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: Almeida <github@almeidx.dev >
2025-10-28 14:54:22 +00:00
Copilot
ed143a6cda
fix(GuildMemberFlagsBitField): Remove duplicate "guild" word ( #11212 )
...
* Initial plan
* Fix duplicate 'guild' word in GuildMemberFlagsBitField documentation
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2025-10-26 10:46:16 +00:00
Jiralite
56662ebad7
types(FileUploadModalData): Correct fields ( #11210 )
...
* types(FileUploadModalData): update fields
* docs: update more fields
2025-10-25 22:57:00 +00:00
Jiralite
8066821faa
types(LabelModalData): Singular ModalData ( #11207 )
...
types(LabelModalData): no array
2025-10-25 19:12:17 +00:00
Jiralite
3048c3c0aa
types(FileUploadComponentData): required should be a boolean ( #11205 )
...
types(FileUploadComponentData): `boolean`
2025-10-25 16:19:50 +00:00
ckohen
ee3be2c3c3
refactor(ApplicationCommand)!: make options nullable ( #11167 )
...
BREAKING CHANGE: ApplicationCommand#options is now nullable
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2025-10-24 20:32:41 +01:00
ckohen
63417e8b6c
refactor(makeCache)!: make params an object ( #11172 )
...
BREAKING CHANGE: `Options.makeCache` now sends all of its parameters in an object rather than 3 individual parameters
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2025-10-24 15:55:29 +01:00
Naiyar
c9a9b6ce9d
feat: file upload component ( #11114 )
...
* feat: file upload component
* docs: correct min values
* chore: rebase
* chore: resolve attachments
* chore: typings
* chore: whyyyyyyyyy
* types: `Snowflake`
* types: `Snowflake`
* docs: `Snowflake`
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2025-10-24 11:09:33 +00:00
Jiralite
25b22c67aa
fix(ModalSubmitInteraction): Resolve components correctly ( #11168 )
...
* fix: resolve components correctly
* fix: remove redundant parameter
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-10-14 22:01:10 +00:00
Naiyar
1a305fe4ad
build: bump discord-api-types to 0.38.30 ( #11178 )
...
* build: bump discord-api-types to 0.38.30
* chore: slap the errors
2025-10-14 18:02:10 +00:00
Denis-Adrian Cristea
f9ca29e3e4
chore: update readme badges ( #11152 )
...
* chore: update readme badges
* chore: add href
* chore: other readmes
* chore: reintroduce badge
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-10-13 12:54:08 +00:00
Almeida
dd795252d6
refactor!: remove special cases for bot guild owner ( #11160 )
...
BREAKING CHANGE: The `GuildOwned` error code and message has been removed.
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2025-10-11 11:57:20 +01:00
Denis-Adrian Cristea
847fa9938d
fix(GuildChannel): manageable perm check ( #11166 )
2025-10-11 09:01:39 +00:00
Jiralite
a97ac82619
fix(guide): Miscellaneous fixes ( #11147 )
...
* fix: miscellaneous fixes
* docs: fix contributing link
* fix: link
* fix: you
* fix: main links
* fix: update source
* fix: update link
* fix: update update link
* fix: [
* fix: remove locale
* fix: update links
* fix: update GitHub link
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-10-09 12:41:15 +00:00
Almeida
7f29356950
fix: ending uncached polls ( #11157 )
2025-10-08 21:04:05 +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
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
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
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
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
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
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
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
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
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
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
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
J4C0B3Y
b1d96e251f
refactor(ActionsManager): register actions without using class name ( #11047 )
2025-08-19 08:51:52 +00:00
Jiralite
8f5ac55d82
fix!: Remove API related to guild ownership ( #11021 )
...
BREAKING CHANGE: API related to guild ownership has been removed, such as setting the MFA level, deleting a guild, creating a guild, and creating a guild from a guild template.
2025-07-31 19:24:17 +01:00
Almeida
08a61ca8e3
refactor(WebSocketManager)!: remove deprecated rest option ( #10998 )
...
BREAKING CHANGE: The `rest` option in the `WebSocketManager` constructor has been removed. Pass a `fetchGatewayInformation` function instead.
2025-07-27 11:49:29 +01:00
Jiralite
2e9bfba5f4
fix!: Remove guild creation ( #11012 )
...
BREAKING CHANGE: Guild creation is no longer possible.
2025-07-26 12:25:36 +01:00