Commit Graph
6329 Commits
Author SHA1 Message Date
Fleny fca3cbba5e build(dev-deps): Replace ts-node with tsx (#5261)
ts-node hasn't been maintained for a long time now and breaks with TS 7 due to the removal of varius APIs
2026-08-03 13:55:10 +05:30
dependabot[bot]andFleny 0016560de5 build(deps-dev): bump @swc/core from 1.15.46 to 1.15.47 (#5260)
Bumps [@swc/core](https://github.com/swc-project/swc/tree/HEAD/packages/core) from 1.15.46 to 1.15.47.
- [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.47/packages/core)

---
updated-dependencies:
- dependency-name: "@swc/core"
  dependency-version: 1.15.47
  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>
2026-08-02 15:07:14 +02:00
dependabot[bot]andFleny 8606d4bc1c build(deps-dev): bump webpack from 5.109.0 to 5.109.2 in /website (#5257)
Bumps [webpack](https://github.com/webpack/webpack) from 5.109.0 to 5.109.2.
- [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.109.0...v5.109.2)

---
updated-dependencies:
- dependency-name: webpack
  dependency-version: 5.109.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: Fleny <Fleny113@outlook.com>
2026-08-02 15:04:56 +02:00
dependabot[bot]andFleny f7e2925d5a build(deps): bump @easyops-cn/docusaurus-search-local in /website (#5256)
Bumps [@easyops-cn/docusaurus-search-local](https://github.com/easyops-cn/docusaurus-search-local/tree/HEAD/packages/docusaurus-search-local) from 0.55.2 to 0.55.3.
- [Release notes](https://github.com/easyops-cn/docusaurus-search-local/releases)
- [Commits](https://github.com/easyops-cn/docusaurus-search-local/commits/v0.55.3/packages/docusaurus-search-local)

---
updated-dependencies:
- dependency-name: "@easyops-cn/docusaurus-search-local"
  dependency-version: 0.55.3
  dependency-type: direct:production
  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>
2026-08-02 15:01:33 +02:00
dependabot[bot]andFleny 302a5bb577 build(deps-dev): bump @types/node from 26.1.1 to 26.1.2 (#5255)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 26.1.1 to 26.1.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: 26.1.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: Fleny <Fleny113@outlook.com>
2026-08-02 14:58:31 +02:00
dependabot[bot]andFleny e93676fae3 build(deps-dev): bump typescript from 6.0.3 to 7.0.2 in /website (#5254)
Bumps [typescript](https://github.com/microsoft/TypeScript) from 6.0.3 to 7.0.2.
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Commits](https://github.com/microsoft/TypeScript/commits)

---
updated-dependencies:
- dependency-name: typescript
  dependency-version: 7.0.2
  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: Fleny <Fleny113@outlook.com>
2026-08-02 14:55:28 +02:00
dependabot[bot]andFleny a275bc51d0 build(deps-dev): bump @biomejs/biome from 2.5.5 to 2.5.6 (#5253)
* build(deps-dev): bump @biomejs/biome from 2.5.5 to 2.5.6

Bumps [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome) from 2.5.5 to 2.5.6.
- [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.6/packages/@biomejs/biome)

---
updated-dependencies:
- dependency-name: "@biomejs/biome"
  dependency-version: 2.5.6
  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.5 to 2.5.6 in /website (#5259)

Bumps [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome) from 2.5.5 to 2.5.6.
- [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.6/packages/@biomejs/biome)

---
updated-dependencies:
- dependency-name: "@biomejs/biome"
  dependency-version: 2.5.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>

* Update biome.jsonc

---------

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-08-02 14:52:53 +02:00
dependabot[bot] e0439d864b build(deps): bump actions/stale from 10 to 11 (#5252)
Bumps [actions/stale](https://github.com/actions/stale) from 10 to 11.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v10...v11)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-version: '11'
  dependency-type: direct:production
  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-08-02 14:48:46 +02:00
a6b940677e feat(rest): add guild message search support (#5233)
* feat(rest): add guild message search support

* fix(types): address guild message search review feedback

* Update packages/rest/src/routes.ts

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

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

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

* Update packages/rest/src/routes.ts

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

* apply requested changes

---------

Co-authored-by: Fleny <Fleny113@outlook.com>
Co-authored-by: Awesome Stickz <38146668+AwesomeStickz@users.noreply.github.com>
2026-08-02 10:25:05 +02:00
Awesome Stickz 4c9522f14d fix(types): structure typo in discord docs link (#5245) 2026-08-01 08:32:19 +02:00
dependabot[bot]andAwesome Stickz 9b55419952 build(deps): bump brace-expansion (#5250)
Bumps the npm_and_yarn group with 1 update in the /examples/bigbot directory: [brace-expansion](https://github.com/juliangruber/brace-expansion).


Updates `brace-expansion` from 2.1.2 to 2.1.4
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](https://github.com/juliangruber/brace-expansion/compare/v2.1.2...v2.1.4)

---
updated-dependencies:
- dependency-name: brace-expansion
  dependency-version: 2.1.4
  dependency-type: indirect
  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 <38146668+AwesomeStickz@users.noreply.github.com>
2026-08-01 05:22:41 +05:30
dependabot[bot]andAwesome Stickz c795790038 build(deps): bump brace-expansion (#5248)
Bumps the npm_and_yarn group with 1 update in the /website directory: [brace-expansion](https://github.com/juliangruber/brace-expansion).


Updates `brace-expansion` from 1.1.16 to 1.1.18
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](https://github.com/juliangruber/brace-expansion/commits)

---
updated-dependencies:
- dependency-name: brace-expansion
  dependency-version: 1.1.18
  dependency-type: indirect
  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 <38146668+AwesomeStickz@users.noreply.github.com>
2026-08-01 05:20:04 +05:30
dependabot[bot]andAwesome Stickz 5002cd38a7 build(deps): bump brace-expansion (#5247)
Bumps the npm_and_yarn group with 1 update in the / directory: [brace-expansion](https://github.com/juliangruber/brace-expansion).


Updates `brace-expansion` from 2.1.2 to 2.1.4
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](https://github.com/juliangruber/brace-expansion/compare/v2.1.2...v2.1.4)

---
updated-dependencies:
- dependency-name: brace-expansion
  dependency-version: 2.1.4
  dependency-type: indirect
  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 <38146668+AwesomeStickz@users.noreply.github.com>
2026-08-01 05:17:02 +05:30
dependabot[bot] 6f624f6652 build(deps): bump fast-uri (#5246)
Bumps the npm_and_yarn group with 1 update in the /examples/bigbot directory: [fast-uri](https://github.com/fastify/fast-uri).


Updates `fast-uri` from 2.4.3 to 2.4.4
- [Release notes](https://github.com/fastify/fast-uri/releases)
- [Commits](https://github.com/fastify/fast-uri/compare/v2.4.3...v2.4.4)

---
updated-dependencies:
- dependency-name: fast-uri
  dependency-version: 2.4.4
  dependency-type: indirect
  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>
2026-08-01 05:15:44 +05:30
FlenyandLink 4581222cf4 feat(transformers)!: Partial transformers (#4436)
* refactor(bot)!: setup desired properties for all transformers

SetupDesiredProps when is given an object that does not corrispond to a transformer object that supports desired properties will behave like TransformProperty on the entire object as when it tries to get the properties for said object it will find `never` as the props and for `IsKeyDesired` a props of `never` means that all props are desired.

* feat(transformers)!: Handle partials in transformers

* Add expiresAt to invite create event

* Use Equals helper, clean up a bit the code

* Explicit the IsKeyDesired TProps never behavior

* Fix type errors

* format

* Add all trasformer objects to bot.transformers.$inferredTypes

* Use transfromerInformations for bot.transformers.$inferredTypes

* code review

* code review

* fix component transformer

* fix

* Update packages/bot/src/transformers/types.ts

* Fixes from Tri (+ GPT sol) code review

---------

Co-authored-by: Link <link20050703@gmail.com>
2026-07-31 15:12:15 +05:30
Flenyandstickz eb4cdaa0f5 fix: Add missing collectibles field to guild member (#5197)
* fix: Add missing collectibles field to guild member

* Update packages/bot/src/transformers/types.ts

Co-authored-by: stickz <38146668+AwesomeStickz@users.noreply.github.com>
2026-07-30 12:42:05 +05:30
Flenyandstickz 5fc932f473 feat!: Document more attachment flags and fields (#5234)
* feat: Document more attachment flags and fields

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

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

* fix!: Add missing optionals, remove EmbedThumbnail
2026-07-30 12:39:32 +05:30
FlenyandAwesome Stickz 15511d2ddf feat: shared client theme (#5195)
* feat: shared client theme

* fix missing ? and comment in CreateMessageOptions

* Apply suggestions from code review

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

* replace message transformer CRLF with LF

* fix type error
2026-07-29 17:47:43 +05:30
Fleny 45ff89ca9e feat: Document attachment editing and is_spoiler param (#5235) 2026-07-29 17:16:29 +05:30
FlenyandAwesome Stickz ce2272e359 feat: Add lobby messages and lobby invites (#5232)
* feat: Add lobby messages and lobby invites

* Update packages/bot/src/transformers/lobby.ts

Co-authored-by: Awesome Stickz <38146668+AwesomeStickz@users.noreply.github.com>
2026-07-29 17:13:11 +05:30
Fleny ccd23a5a8a ci: update codecov code + run actionlint (#5243) 2026-07-29 15:33:56 +05:30
Fleny ec8852740d feat: Add bulk update lobby members endpoint (#5231) 2026-07-29 11:36:23 +05:30
Fleny fa338e6447 feat: Add deleteCurrentUserApplicationRoleConnection endpoint (#5230) 2026-07-29 11:30:08 +05:30
Fleny 57c1a0191a feat: Add channelType to DiscordMessageCreateExtra (#5202) 2026-07-29 11:27:11 +05:30
Fleny 3bdc792c25 feat: server-side lobby message moderation metadata API (#5191) 2026-07-29 11:24:17 +05:30
Fleny b481d0a96e feat: add app_permissions to channel resolved data (#5185) 2026-07-29 11:21:22 +05:30
Fleny 37610a3efd Remove some unused files from the repo (#5205)
- .devcontainer: we don't update it, we could keep it if we wanted
- .gitpod.yml: we don't need the .gitpod file, if someone uses gitpod they can install deps themself
- .helix: the config is out of date as it still uses prettier
- scripts/checkCpuModel.js: this script was used for benchmarks but we removed those
- scripts/generateMessage.js: this script was used for benchmarks but we removed those
- scripts/openApiSchema.js: this is a WIP script that was never finished and the discord open-api spec is preview
- .vscode/settings.json: the old tsdk config is deprecated, we now use the new js/ts.tsdk.path config instead
2026-07-29 11:18:26 +05:30
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
Fleny 1d3e23e6d1 build: Update yarn and lockfiles (#5186) 2026-07-27 20:38:21 +05:30
Fleny 61d73f5edc ci: Improve caching for Docusaurus build (#5241) 2026-07-27 20:34:41 +05:30
Fleny 22ab1b20de ci: fix codecov upload for forks (#5240)
* ci: fix codecov upload for forks

* Remove 'fail-on-error' flag from CC_FLAGS
2026-07-26 22:13:54 +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
dependabot[bot]andFleny d7dde1c598 build(deps-dev): bump turbo from 2.10.6 to 2.10.7 (#5239)
* build(deps-dev): bump turbo from 2.10.6 to 2.10.7

Bumps [turbo](https://github.com/vercel/turborepo) from 2.10.6 to 2.10.7.
- [Release notes](https://github.com/vercel/turborepo/releases)
- [Changelog](https://github.com/vercel/turborepo/blob/main/RELEASE.md)
- [Commits](https://github.com/vercel/turborepo/commits)

---
updated-dependencies:
- dependency-name: turbo
  dependency-version: 2.10.7
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

* build(deps-dev): bump turbo from 2.10.6 to 2.10.7 in /website (#5238)

Bumps [turbo](https://github.com/vercel/turborepo) from 2.10.6 to 2.10.7.
- [Release notes](https://github.com/vercel/turborepo/releases)
- [Changelog](https://github.com/vercel/turborepo/blob/main/RELEASE.md)
- [Commits](https://github.com/vercel/turborepo/commits)

---
updated-dependencies:
- dependency-name: turbo
  dependency-version: 2.10.7
  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>

---------

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-26 15:58:29 +02:00
dependabot[bot] 068e2053b9 build(deps): bump rharkor/caching-for-turbo from 2.5.0 to 2.5.1 (#5237)
Bumps [rharkor/caching-for-turbo](https://github.com/rharkor/caching-for-turbo) from 2.5.0 to 2.5.1.
- [Release notes](https://github.com/rharkor/caching-for-turbo/releases)
- [Commits](https://github.com/rharkor/caching-for-turbo/compare/v2.5.0...v2.5.1)

---
updated-dependencies:
- dependency-name: rharkor/caching-for-turbo
  dependency-version: 2.5.1
  dependency-type: direct:production
  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>
2026-07-26 14:44:15 +02:00
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 6e830e57ce chore: Enable all v4 features (#5224) 2026-07-25 05:30:47 +05:30