Commit Graph
895 Commits
Author SHA1 Message Date
Fleny 451894ce7c fix: Add missing optional modifier to event_webhooks_status in DiscordApplication interface (#5198) 2026-07-29 11:15:37 +05:30
Fleny a0fb820e8a fix: Update comment on CreateApplicationCommand.handler (#5187)
The comment change to InteractionCallbackOptions is included as it looks like there was a mistake as "create-guild-application-command-json-params" does not have a with_response parameter
2026-07-29 11:12:44 +05:30
FlenyandAwesome Stickz ad26db8c98 feat: document modify guild channel positions parent_id and permissions restrictions (#5184)
* feat: document modify guild channel positions parent_id and permissions restrictions

* Update opcode name

Co-authored-by: Awesome Stickz <38146668+AwesomeStickz@users.noreply.github.com>
2026-07-26 22:03:18 +05:30
FlenyandAwesome Stickz b0b27a2aab fix: Add notes for min_values requirement for required components (#5199)
* fix: Add notes for min_values requirement for required components

* Apply suggestions from code review

Co-authored-by: Awesome Stickz <38146668+AwesomeStickz@users.noreply.github.com>
2026-07-26 21:54:36 +05:30
Fleny 4a28ac4ff0 feat: Add IdentifyPremium scope to OAuth2Scope enum (#5183) 2026-07-26 06:16:17 +05:30
Fleny 98f87b9bf7 fix!: Match the Activity and DiscordActivity structure (#5180) 2026-07-26 06:08:51 +05:30
Fleny b202faf3f4 fix: update approval required oauth2 scopes wording (#5181) 2026-07-26 06:00:31 +05:30
Fleny 2b90d29f68 fix!: Use "age-restricted" terminology instead of "nsfw" (#5189) 2026-07-26 05:57:19 +05:30
Fleny 4f5ed276f2 fix!: Update SDK DM Message/Passthrough Message model (#5190) 2026-07-26 05:54:36 +05:30
Fleny 834f4fa718 fix: unit of bitrate fields in bits per second (#5194) 2026-07-26 05:49:22 +05:30
Fleny 9afac8d291 build(dev): Remove dotenv, use process.loadEnvFile instead (#5223) 2026-07-26 05:46:14 +05:30
Fleny aa5dd155cf fix: user global_name description for bots (#5196) 2026-07-26 05:42:51 +05:30
Fleny 422b572777 fix: update attachments description to clarify components & embeds behavior (#5200) 2026-07-26 05:39:20 +05:30
Fleny fb46470862 fix: check for the GUILD_MEMBERS intent when requesting members (#5229) 2026-07-26 05:32:20 +05:30
Fleny 8df275c8ec feat: add CannotForwardUnreadableMessage error code (#5201) 2026-07-26 05:28:53 +05:30
Fleny c0a149f7a3 fix: Add missing banner in reverse member transformer (#5203) 2026-07-26 05:23:27 +05:30
Fleny 00ac3989c6 fix: Add missing type in route channels.reactions.message (#5228) 2026-07-26 05:18:11 +05:30
Fleny dac284a01e fix: make scope optional in createOAuth2Link (#5182) 2026-07-25 00:22:16 +05:30
FlenyandAwesome Stickz 8ab0c293af fix: subscription status enum values (#5178)
Co-authored-by: Awesome Stickz <38146668+AwesomeStickz@users.noreply.github.com>
2026-07-24 20:22:43 +02:00
dependabot[bot]andAwesome Stickz 1a165eda8a build(deps-dev): bump @swc/core from 1.15.43 to 1.15.46 (#5215)
Bumps [@swc/core](https://github.com/swc-project/swc/tree/HEAD/packages/core) from 1.15.43 to 1.15.46.
- [Release notes](https://github.com/swc-project/swc/releases)
- [Changelog](https://github.com/swc-project/swc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/swc-project/swc/commits/v1.15.46/packages/core)

---
updated-dependencies:
- dependency-name: "@swc/core"
  dependency-version: 1.15.46
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Awesome Stickz <38146668+AwesomeStickz@users.noreply.github.com>
2026-07-24 19:57:15 +02:00
dependabot[bot] b3d81b8c4d build(deps-dev): bump c8 from 11.0.0 to 12.0.0 (#5219)
Bumps [c8](https://github.com/bcoe/c8) from 11.0.0 to 12.0.0.
- [Release notes](https://github.com/bcoe/c8/releases)
- [Changelog](https://github.com/bcoe/c8/blob/main/CHANGELOG.md)
- [Commits](https://github.com/bcoe/c8/compare/v11.0.0...v12.0.0)

---
updated-dependencies:
- dependency-name: c8
  dependency-version: 12.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-24 19:31:49 +02:00
Fleny 86470adc22 ci: Simplify GitHub Actions workflows (#5207)
* ci: Simplify GitHub Actions workflows

* Restore codecov flags using script

* use gpgv instead of gpg --verify

* Remove verbose

* remove test script
2026-07-24 22:52:22 +05:30
FlenyandAwesome Stickz 867c7c5b1f feat: add error code 50278 to HTTPJsonErrorCodes enum (#5192)
Co-authored-by: Awesome Stickz <38146668+AwesomeStickz@users.noreply.github.com>
2026-07-24 17:13:24 +02:00
FlenyandAwesome Stickz 7b73915670 fix: update description of error code 20028 (#5193)
Co-authored-by: Awesome Stickz <38146668+AwesomeStickz@users.noreply.github.com>
2026-07-24 19:02:14 +05:30
Fleny c3e9a790fc feat: Application flags_new property (#5172)
* feat: Application flags_new property

* Update packages/types/src/discord/application.ts

* run biome
2026-07-24 18:04:42 +05:30
Fleny dd18449ce6 fix: Document required permissions for get voice state (#5176) 2026-07-24 17:57:48 +05:30
Fleny 7bcebecf99 feat: Add IsSpoilerChannel flag to ChannelFlags enum (#5174) 2026-07-24 17:53:43 +05:30
FlenyandAwesome Stickz 0acbbde3e4 fix!: Riot Games deprecation for DiscordConnectionServiceType (#5173)
Co-authored-by: Awesome Stickz <38146668+AwesomeStickz@users.noreply.github.com>
2026-07-24 17:43:03 +05:30
FlenyandAwesome Stickz 97fe169ce8 feat: document error code 340015 (#5179)
* feat: document error code 340015

* Update packages/types/src/discord/opcodes.ts

---------

Co-authored-by: Awesome Stickz <38146668+AwesomeStickz@users.noreply.github.com>
2026-07-24 17:35:42 +05:30
Fleny 40abc1ee21 feat: Add 20015 & 50167 HTTPJsonErrorCodes (#5177) 2026-07-24 17:27:15 +05:30
Fleny 0e579bdb0b fix: Update comment for HTTPJsonErrorCodes max pins (#5175) 2026-07-24 17:23:49 +05:30
Fleny 0ccff5056b feat!: Always use builtin WebSocket (#5166)
* feat: Always use builtin WebSocket

ws is now a dev deps as we use it in tests

* refresh lock file
2026-07-24 17:18:23 +05:30
Fleny 6c57211303 fix(gateway): Use gateway instead of options in functions (#5169) 2026-07-23 01:29:27 +05:30
FlenyandAwesome Stickz 94d14db0ec feat!: Remove fzstd (#5165)
* feat: Remove fzstd

Given node v20 EOL, we can now drop fzstd in favor of node:zlib's zstd implementation

* ci: Bump bun and deno

We don't really have a support policy for deno and bun (for node is the supported upstream) so we bump them to the latest versions

---------

Co-authored-by: Awesome Stickz <38146668+AwesomeStickz@users.noreply.github.com>
2026-07-23 01:12:41 +05:30
dependabot[bot]andFleny e99d8f4057 build(deps-dev): bump @types/node from 26.0.1 to 26.1.1 (#5135)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 26.0.1 to 26.1.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 26.1.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Fleny <Fleny113@outlook.com>
2026-07-22 14:35:46 +02:00
dependabot[bot]andFleny a0149e41d8 build(deps-dev): bump @biomejs/biome from 2.5.1 to 2.5.5 (#5134)
* build(deps-dev): bump @biomejs/biome from 2.5.1 to 2.5.5

Bumps [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome) from 2.5.1 to 2.5.5.
- [Release notes](https://github.com/biomejs/biome/releases)
- [Changelog](https://github.com/biomejs/biome/blob/main/packages/@biomejs/biome/CHANGELOG.md)
- [Commits](https://github.com/biomejs/biome/commits/@biomejs/biome@2.5.5/packages/@biomejs/biome)

---
updated-dependencies:
- dependency-name: "@biomejs/biome"
  dependency-version: 2.5.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* build(deps-dev): bump @biomejs/biome from 2.5.1 to 2.5.5 in /website (#5145)

* build(deps-dev): bump webpack from 5.108.2 to 5.108.4 in /website (#5131)

Bumps [webpack](https://github.com/webpack/webpack) from 5.108.2 to 5.108.4.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Changelog](https://github.com/webpack/webpack/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack/compare/v5.108.2...v5.108.4)

---
updated-dependencies:
- dependency-name: webpack
  dependency-version: 5.108.4
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Fleny <Fleny113@outlook.com>

* build(deps-dev): bump @biomejs/biome from 2.5.1 to 2.5.5 in /website

Bumps [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome) from 2.5.1 to 2.5.5.
- [Release notes](https://github.com/biomejs/biome/releases)
- [Changelog](https://github.com/biomejs/biome/blob/main/packages/@biomejs/biome/CHANGELOG.md)
- [Commits](https://github.com/biomejs/biome/commits/@biomejs/biome@2.5.5/packages/@biomejs/biome)

---
updated-dependencies:
- dependency-name: "@biomejs/biome"
  dependency-version: 2.5.3
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Fleny <Fleny113@outlook.com>

* Migrate biome conf

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Fleny <Fleny113@outlook.com>
2026-07-22 14:06:47 +02:00
FlenyandAwesome Stickz b08617364a fix: Call the reverse transformer for applicationCommand (#5154)
Co-authored-by: Awesome Stickz <38146668+AwesomeStickz@users.noreply.github.com>
2026-07-17 00:25:17 +05:30
Fleny c60a7bb844 fix: Use correct fields in activity reverse transformer (#5153) 2026-07-17 00:15:54 +05:30
dependabot[bot]andAwesome Stickz f04637866b build(deps-dev): bump @types/node from 25.9.2 to 26.0.1 (#5117)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 25.9.2 to 26.0.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 26.0.1
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Awesome Stickz <38146668+AwesomeStickz@users.noreply.github.com>
2026-06-29 19:32:41 +05:30
dependabot[bot]andAwesome Stickz 28ddc11178 build(deps-dev): bump @biomejs/biome from 2.4.16 to 2.5.1 (#5083)
Bumps [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome) from 2.4.16 to 2.5.1.
- [Release notes](https://github.com/biomejs/biome/releases)
- [Changelog](https://github.com/biomejs/biome/blob/main/packages/@biomejs/biome/CHANGELOG.md)
- [Commits](https://github.com/biomejs/biome/commits/@biomejs/biome@2.5.1/packages/@biomejs/biome)

---
updated-dependencies:
- dependency-name: "@biomejs/biome"
  dependency-version: 2.5.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Awesome Stickz <38146668+AwesomeStickz@users.noreply.github.com>
2026-06-24 16:34:48 +05:30
dependabot[bot]andAwesome Stickz 23482fef70 build(deps-dev): bump @swc/core from 1.15.40 to 1.15.43 (#5080)
Bumps [@swc/core](https://github.com/swc-project/swc/tree/HEAD/packages/core) from 1.15.40 to 1.15.43.
- [Release notes](https://github.com/swc-project/swc/releases)
- [Changelog](https://github.com/swc-project/swc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/swc-project/swc/commits/v1.15.43/packages/core)

---
updated-dependencies:
- dependency-name: "@swc/core"
  dependency-version: 1.15.41
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Awesome Stickz <38146668+AwesomeStickz@users.noreply.github.com>
2026-06-24 16:23:56 +05:30
Awesome Stickz f334bb8f6c refactor(rest)!: rename rest.editBotMember() to rest.editCurrentMember() to be consistent with rest.getCurrentMember() (#5104)
* refactor(rest)!: rename rest.editBotMember() to rest.editCurrentMember() to be consistent with rest.getCurrentMember()

* refactor(type)!: rename ModifyCurrentMemberOptions to ModifyCurrentMember to be consistent with other types
2026-06-24 16:18:13 +05:30
NoahandAwesome Stickz b878b3cb43 feat(rest): strip trailing slash from proxy baseUrl if present in createRestManager() (#5101)
* support docker swarm urls

* Update packages/rest/tests/unit/manager.spec.ts

Co-authored-by: Awesome Stickz <38146668+AwesomeStickz@users.noreply.github.com>

* Update packages/rest/tests/unit/manager.spec.ts

Co-authored-by: Awesome Stickz <38146668+AwesomeStickz@users.noreply.github.com>

* Apply suggestion from @AwesomeStickz

* remove property

* Update packages/rest/src/types.ts

---------

Co-authored-by: Awesome Stickz <38146668+AwesomeStickz@users.noreply.github.com>
2026-06-24 16:10:42 +05:30
NotDemonix 9102fc4ecc feat(rest): add request timeout to manage stalled requests (#5085)
* feat(rest): add request timeout feature to manage request retries

* fix(rest): avoid calling Node-only Timeout.unref() on non-Node runtimes

* fix(rest): use try/catch for fetch to guarantee a Response on the success path

* refactor(rest): use AbortSignal.timeout and retry proxy requests on timeout

* refactor(rest): simplify timeout detection and use .catch() in proxy path

* refactor(rest): move isTimeoutError helper to bottom of file
2026-06-16 19:25:40 +02:00
dependabot[bot]andAwesome Stickz c274a2688f build(deps-dev): bump @types/node from 25.9.1 to 25.9.2 (#5056)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 25.9.1 to 25.9.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 25.9.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Awesome Stickz <awesome@stickz.dev>
2026-06-09 06:55:48 +05:30
dependabot[bot]andAwesome Stickz 6117f569d4 build(deps-dev): bump mocha from 11.7.5 to 11.7.6 (#5041)
Bumps [mocha](https://github.com/mochajs/mocha) from 11.7.5 to 11.7.6.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/v11.7.6/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v11.7.5...v11.7.6)

---
updated-dependencies:
- dependency-name: mocha
  dependency-version: 11.7.6
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Awesome Stickz <awesome@stickz.dev>
2026-06-02 20:44:30 +05:30
dependabot[bot]andAwesome Stickz e8cf59e9b5 build(deps-dev): bump @types/node from 25.6.2 to 25.9.1 (#5040)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 25.6.2 to 25.9.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 25.9.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Awesome Stickz <awesome@stickz.dev>
2026-06-02 20:37:16 +05:30
dependabot[bot] 8e95525ec5 build(deps): bump ws from 8.20.1 to 8.21.0 (#5039)
Bumps [ws](https://github.com/websockets/ws) from 8.20.1 to 8.21.0.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/8.20.1...8.21.0)

---
updated-dependencies:
- dependency-name: ws
  dependency-version: 8.21.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-02 20:16:53 +05:30
dependabot[bot]andAwesome Stickz ff678fd25c build(deps): bump ws in the npm_and_yarn group across 1 directory (#5037)
Bumps the npm_and_yarn group with 1 update in the / directory: [ws](https://github.com/websockets/ws).


Updates `ws` from 8.20.0 to 8.20.1
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/8.20.0...8.20.1)

---
updated-dependencies:
- dependency-name: ws
  dependency-version: 8.20.1
  dependency-type: direct:production
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Awesome Stickz <awesome@stickz.dev>
2026-06-01 19:18:17 +05:30
dependabot[bot]andAwesome Stickz 9326b86360 build(deps-dev): bump @swc/core from 1.15.30 to 1.15.40 (#5022)
Bumps [@swc/core](https://github.com/swc-project/swc/tree/HEAD/packages/core) from 1.15.30 to 1.15.40.
- [Release notes](https://github.com/swc-project/swc/releases)
- [Changelog](https://github.com/swc-project/swc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/swc-project/swc/commits/v1.15.40/packages/core)

---
updated-dependencies:
- dependency-name: "@swc/core"
  dependency-version: 1.15.33
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Awesome Stickz <awesome@stickz.dev>
2026-06-01 18:52:17 +05:30