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
Jiralite
698b92c2ad
fix(guild)!: Remove API related to guild ownership ( #11029 )
...
* fix(guild): deprecate guild owner API
* style: prettier
2025-08-06 21:36:09 +03:00
Jiralite
a2ee3932b6
fix(guild): Creating a template actually creates a template ( #11030 )
...
feat(guild): add creating a template
2025-08-04 18:46:26 +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
c3dc58169b
fix: attachment sending ( #11015 )
...
* fix: attachment sending
* test: add tests
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2025-07-30 10:53:44 +00:00
Jiralite
c0c1ac2879
ci(release): Miscellaneous fixes ( #11014 )
...
* ci: some fixes
* ci: typo in property
* fix: yaml-schema errors
* ci: oven-sh/setup-bun@v2
* ci: typo in dev release
---------
Co-authored-by: ckohen <chaikohen@gmail.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-07-27 10:53:48 +00: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
ckohen
6cdfa3864b
ci: better release workflow ( #10325 )
...
* ci: better release workflow
* ci: simplify + use changelog
* ci(release): better parsing and exclusions
* ci(release): remove tree log
* ci(release): improve logs
* ci(release): properly check inputs
* ci(release): better promise handling
Co-authored-by: Aura <kyradiscord@gmail.com >
* ci: refactor release to use bun
* ci(release): whitespace
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
* ci(release): add dev release handling
* ci(release): fixes from testing
* ci(release): make the promise run
* ci(release): when specifying package, skip exclusions
* ci(dev): create-discord-bot dev release
* ci(release): improve changelog detection
* ci: fix typo and allow releasing branches
* ci(release): set make_latest for gh releases
* ci(release): add ssh_key so pushed tags run workflow
---------
Co-authored-by: Aura <kyradiscord@gmail.com >
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-07-25 11:56:02 +02:00
Jiralite
f2fec9177f
feat: Enforce limit of URLs for link buttons ( #11011 )
...
feat: enforce limit of URLs for link buttons
2025-07-23 14:20:56 +00:00
Jiralite
3a060f7494
docs: Replace Discord API with Discord Developers ( #10968 )
...
docs: replace with Discord Developers
2025-07-22 10:33:42 +00:00
Jiralite
a7f711b30f
fix: Remove trailing color references ( #11007 )
...
fix: role colour fixes
2025-07-20 12:26:24 +00:00
Jiralite
43a995bef0
refactor!: Invite classes ( #10888 )
...
BREAKING CHANGE: Invites are now split up into classes based on their type.
2025-07-17 13:34:25 +01:00
Jiralite
aee6d311c0
fix(Container): Use the same discord-api-types version ( #10999 )
...
fix(Container): use v10
2025-07-17 07:38:16 +00:00
Jiralite
1dfc511e4f
fix(contextMenu): Remove regular expression validation ( #10994 )
...
* fix: remove regex validation
* test: remove incorrect test
This is fine to create.
* fix: guard against whitespace
2025-07-16 15:47:29 +00:00
Danial Raza
9ff04820b3
feat: support user guilds ( #10962 )
...
* feat: support user guilds
* chore: add cdn test
* chore: suggested changes
* refactor: move to user primary guild to its own class
* docs: update description of `badgeHash` parameter
* chore: export UserPrimaryGuild
* refactor: revert to no `UserPrimaryGuild`
* fix: use key in data
* fix: both `in` and is truthy check
* docs: remove `-`
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2025-07-16 07:26:00 +00:00
Jiralite
d03cacbde4
feat(MessageManager)!: New pinned messages routes ( #10989 )
...
BREAKING CHANGE: `fetchPinned()` has been renamed to `fetchPins()`, which is a paginated endpoint to fetch pinned messages.
2025-07-15 16:13:24 +01:00
Danial Raza
5a611be8de
feat(User): add collectibles ( #10939 )
...
* feat(User): add `collectibles`
* docs: nullable collectibles and nameplate data
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2025-07-14 23:35:00 +00:00
Jiralite
1105ec9abc
feat(channel)!: New pinned messages routes ( #10988 )
...
* feat(channel): new pinned messages routes
* fix: `query` is optional
Co-authored-by: Almeida <github@almeidx.dev >
---------
Co-authored-by: Almeida <github@almeidx.dev >
2025-07-14 22:11:04 +01:00
Jiralite
7e3d4e536c
refactor(ThreadChannel): Remove trimming of name ( #10984 )
...
refactor(ThreadChannel): no need to trim name
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-07-13 20:00:12 +00:00
Jiralite
8a36c42942
fix(DirectoryChannel): Export class ( #10985 )
...
fix: export directory channels
2025-07-13 19:57:40 +00:00