Commit Graph
5600 Commits
Author SHA1 Message Date
Fleny e2d7b5b63d Add hasSnapshot flag to Message (#4122) 2025-02-02 10:03:55 +01:00
Fleny 0fb403a332 refactor(types): split discord.ts into multiple files (#4088)
* Split reference types

* Split webhook events types

* Split interactions types

* Split gateway types

* Move application related types to applications.ts

* Split auditLog types

* Split autoModeration types

* Split channel types

* Split emoji types

* Split entitlement types

* Split guild types

* Split guildScheduledEvent types

* Split GuildTemplate types

* Split Invite types

* Split message types

* Split poll types

* Split sku types

* Split soundboard types

* Split stageInstances types

* Split sticker types

* Split subscription types

* Split user types

* Split voice types

* Split webhooks types

* Split oauth2 types

* Split opcodes types

* Split permission types

* Split teams types

* Sort out remaining types

* Rename to singlar to match discord docs
2025-02-01 18:32:42 +01:00
dependabot[bot] 52885c1fc2 build(deps-dev): bump @swc/cli in /docker-apps/rest-passthrough (#4116) 2025-02-01 17:04:49 +00:00
dependabot[bot] 3346d60aa5 build(deps-dev): bump @swc/core in /docker-apps/rest-passthrough (#4115) 2025-02-01 16:59:38 +00:00
dependabot[bot] fadcf504c5 build(deps): bump @fastify/helmet in /docker-apps/rest-passthrough (#4114) 2025-02-01 16:54:09 +00:00
dependabot[bot] 0e201bf164 build(deps-dev): bump @favware/cliff-jumper (#4113)
Bumps [@favware/cliff-jumper](https://github.com/favware/cliff-jumper) from 5.0.0 to 6.0.0.
- [Release notes](https://github.com/favware/cliff-jumper/releases)
- [Changelog](https://github.com/favware/cliff-jumper/blob/main/CHANGELOG.md)
- [Commits](https://github.com/favware/cliff-jumper/compare/@favware/cliff-jumper@5.0.0...@favware/cliff-jumper@6.0.0)

---
updated-dependencies:
- dependency-name: "@favware/cliff-jumper"
  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>
2025-02-01 17:48:22 +01:00
Fleny 0059056d77 Use as instead of specifying the generic (#4111) 2025-01-31 17:58:58 +01:00
Fleny ebbb5f5541 Fix double socket bug on zombie (#4109) 2025-01-31 01:18:45 +05:30
Max ZargovandAwesome Stickz 65b70a0089 fix(shutdown): prevent resume when closed with GatewayCloseEventCodes.NormalClosure. (#4103)
* fix(shutdown): prevent resume when closed with `GatewayCloseEventCodes.NormalClosure` (1000).

* feat(GatewayCloseEventCodes): Add GoingAway (1001) close code.

---------

Co-authored-by: Awesome Stickz <awesome@stickz.dev>
2025-01-31 00:58:33 +05:30
qreepexandAwesome Stickz 153408f286 fix(gateway): wrong calculation in calculateWorkerId() (#4096)
* Update manager.ts

Fix wrong calculation of workerId

* Update manager.ts

* spread incrementally

* fix usage of incorrect variable

---------

Co-authored-by: Awesome Stickz <awesome@stickz.dev>
2025-01-31 00:50:41 +05:30
Fleny 10731a180a chore(utils)!: Remove logger code related to Depth (#4106)
* Deprecate logger code related to Depth

* remove logger depth

* fix tests
2025-01-30 18:42:22 +01:00
Fleny f4f4665b89 Use desired properties in InteractionResolvedXYZ (#4099) 2025-01-24 21:23:24 -05:00
dependabot[bot] 484ee10d71 build(deps): bump @fastify/multipart (#4100)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-23 19:56:08 +01:00
dependabot[bot] 8fa0da3b59 build(deps): bump @fastify/multipart (#4101)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-23 19:09:33 +01:00
dependabot[bot] 98dfed9c1d build(deps): bump the npm_and_yarn group across 2 directories with 2 updates (#4098)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-22 17:59:15 +01:00
Fleny b177eb40f8 chore: Update yarn, refactor packages setup (#4085)
* Update yarn, refactor packages setup

* Rename some jobs in lib-check.yml

* Update website/yarn.lock

* Revert build-type-and-test job name change
2025-01-16 22:27:10 -06:00
FlenyandITOH d8cfccb914 feat(rest)!: Parse json body when possibile in rest proxy (#4090)
* Parse json body when possibile in rest proxy

* Fix typo

Co-authored-by: ITOH <to@itoh.at>

---------

Co-authored-by: ITOH <to@itoh.at>
2025-01-16 22:26:54 -06:00
Fleny 9914d38797 Add memberBannerUrl (#4091) 2025-01-16 22:25:39 -06:00
Fleny a55127fb93 feat(utils): Support 'random' in setColor (#4093)
* support 'random' in setColor

* use toLowerCase for color in setColor
2025-01-16 22:25:13 -06:00
Awesome Stickz 7fc1f12e4c feat(bot): add botBannerURL option to helpers.editBotProfile() (#4094) 2025-01-15 22:24:47 +05:30
Fleny 27808bea7d test(bot,gateway): Fix Bot E2E and Gateway Integration tests (#4084)
* Fix bot e2e, refactor gateway integration tests

* use debug for bot e2e log

* Discard changes to packages/bot/src/bot.ts
2025-01-06 04:04:12 -05:00
Fleny cd396cf6bd Simplify proxy error code (#4086) 2025-01-06 14:30:46 +05:30
MARCROCK22 5722782a44 remove cactusfire (#4087) 2025-01-06 03:54:23 -05:00
Fleny b0c1b9f795 ci: Use mocha for both deno and bun (#4067)
* Use mocha for both deno and bun

* Use any Bun 1.1

* remove build:type dependency in lib-check.yml

* Pin point 1.1.42

* remove packages/bot/.mocharc.json
2025-01-01 09:59:06 -08:00
dependabot[bot] f2f7f111fb build(deps-dev): bump @types/node from 22.10.2 to 22.10.3 (#4083)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.10.2 to 22.10.3.
- [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-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>
2025-01-01 09:58:55 -08:00
dependabot[bot] 5bcb8b1311 build(deps-dev): bump typedoc-plugin-markdown from 4.3.3 to 4.4.0 (#4082)
Bumps [typedoc-plugin-markdown](https://github.com/typedoc2md/typedoc-plugin-markdown/tree/HEAD/packages/typedoc-plugin-markdown) from 4.3.3 to 4.4.0.
- [Release notes](https://github.com/typedoc2md/typedoc-plugin-markdown/releases)
- [Changelog](https://github.com/typedoc2md/typedoc-plugin-markdown/blob/main/packages/typedoc-plugin-markdown/CHANGELOG.md)
- [Commits](https://github.com/typedoc2md/typedoc-plugin-markdown/commits/typedoc-plugin-markdown@4.4.0/packages/typedoc-plugin-markdown)

---
updated-dependencies:
- dependency-name: typedoc-plugin-markdown
  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>
2025-01-01 09:58:46 -08:00
Dominik Koch a0fec368fa fix(default-timestamp): add fallback to current date (#4081)
Uses a fallback value if nothing is passed because the timestamp property is marked as optional. This prevents errors when using the function without arguments.
2025-01-01 09:26:09 -08:00
dependabot[bot] c569805249 build(deps-dev): bump @swc/core from 1.10.2 to 1.10.4 (#4079)
Bumps [@swc/core](https://github.com/swc-project/swc) from 1.10.2 to 1.10.4.
- [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/compare/v1.10.2...v1.10.4)

---
updated-dependencies:
- dependency-name: "@swc/core"
  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>
2024-12-30 16:09:42 -08:00
dependabot[bot] b939e12504 build(deps-dev): bump dotenv from 16.4.5 to 16.4.7 (#4072)
Bumps [dotenv](https://github.com/motdotla/dotenv) from 16.4.5 to 16.4.7.
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/motdotla/dotenv/compare/v16.4.5...v16.4.7)

---
updated-dependencies:
- dependency-name: dotenv
  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>
2024-12-30 16:09:31 -08:00
dependabot[bot] efc15e1488 build(deps-dev): bump c8 from 10.1.2 to 10.1.3 (#4071)
Bumps [c8](https://github.com/bcoe/c8) from 10.1.2 to 10.1.3.
- [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/v10.1.2...v10.1.3)

---
updated-dependencies:
- dependency-name: c8
  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>
2024-12-30 16:09:11 -08:00
Dominik KochandFleny 21e81c087b feat(utils): add EmbedsBuilder.addFields() (#4077)
* feat(embed-builder): add addFields function

* feat(embed-builder): add tests for addField and addFields function

* Update packages/utils/src/builders/embeds.ts

Co-authored-by: Fleny <Fleny113@outlook.com>

* feat(embed-builder): add undefined check to addFields

* fix: make inline field optional in push

* revert: EmbedBuilder tsdoc rename

* Update packages/utils/src/builders/embeds.ts

Co-authored-by: Fleny <Fleny113@outlook.com>

* fix(embed-builder): expect inline to be undefined

* revert: outdated changes

* fix(embed-builder): fix embed unit test

* feat(embed-builder): add stickz jsdoc suggestions

---------

Co-authored-by: Fleny <Fleny113@outlook.com>
2024-12-30 16:06:51 -08:00
dependabot[bot] a03ae35790 build(deps-dev): bump lint-staged from 15.2.10 to 15.3.0 (#4073)
Bumps [lint-staged](https://github.com/lint-staged/lint-staged) from 15.2.10 to 15.3.0.
- [Release notes](https://github.com/lint-staged/lint-staged/releases)
- [Changelog](https://github.com/lint-staged/lint-staged/blob/master/CHANGELOG.md)
- [Commits](https://github.com/lint-staged/lint-staged/compare/v15.2.10...v15.3.0)

---
updated-dependencies:
- dependency-name: lint-staged
  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>
2024-12-30 11:05:18 -08:00
dependabot[bot] 4f43b505d5 build(deps-dev): bump mocha from 10.8.2 to 11.0.1 (#4070)
Bumps [mocha](https://github.com/mochajs/mocha) from 10.8.2 to 11.0.1.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v10.8.2...v11.0.1)

---
updated-dependencies:
- dependency-name: mocha
  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>
2024-12-30 11:05:00 -08:00
dependabot[bot] 86a446efba build(deps-dev): bump @swc/cli from 0.5.1 to 0.5.2 (#4068)
Bumps [@swc/cli](https://github.com/swc-project/pkgs) from 0.5.1 to 0.5.2.
- [Commits](https://github.com/swc-project/pkgs/commits)

---
updated-dependencies:
- dependency-name: "@swc/cli"
  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>
2024-12-30 11:04:49 -08:00
Dominik Koch 55af73e878 fix(dependabot): monthly dependencie updates (#4076)
Skillz talked about wanting the dependabot prs to only be made every month so this pr changes it to monthly!
2024-12-30 11:04:32 -08:00
Dominik Koch ceec87f3c7 fix: EmbedsBuilder missing s typo (#4078) 2024-12-30 19:05:13 +01:00
Fleny 8aea9e3d58 fix(bigbot): Fix docker rabbitmq (#4066) 2024-12-30 18:10:06 +01:00
dependabot[bot] a043ffbf41 build(deps-dev): bump @swc/core in /docker-apps/rest-passthrough (#4075) 2024-12-30 12:50:29 +00:00
dependabot[bot] af6d931475 build(deps): bump @discordeno/rest in /docker-apps/rest-passthrough (#4074) 2024-12-30 12:44:40 +00:00
Dominik Koch b7329557db fix: add chokidar (#4069) 2024-12-30 13:39:11 +01:00
Dominik Koch 0d01f0776e fix: MESSAGEQUEUE_ENABLE being a string instead of a bool (#4065) 2024-12-29 10:26:11 +01:00
Fleny 46c7dbf491 Remove yarn postinstall mention (#4063) 21.0.0 2024-12-29 02:30:08 +05:30
Dominik KochandFleny 6859c1a00c fix(bigbot-example): add missing dotenv dependency (#4064)
Co-authored-by: Fleny <Fleny113@outlook.com>
2024-12-28 21:56:03 +01:00
Fleny afb9e3a453 chore: Bump to v21 (#4062) 2024-12-28 21:51:59 +01:00
dependabot[bot]andAwesome Stickz 03c50bbc95 build(deps): bump nanoid (#4061)
Bumps the npm_and_yarn group with 1 update in the /website directory: [nanoid](https://github.com/ai/nanoid).


Updates `nanoid` from 3.3.7 to 3.3.8
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/3.3.7...3.3.8)

---
updated-dependencies:
- dependency-name: nanoid
  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 <awesome@stickz.dev>
2024-12-28 20:46:50 +01:00
dependabot[bot]andITOH 4e634ecab6 build(deps-dev): bump chai-as-promised from 8.0.0 to 8.0.1 (#4015)
Bumps [chai-as-promised](https://github.com/chaijs/chai-as-promised) from 8.0.0 to 8.0.1.
- [Release notes](https://github.com/chaijs/chai-as-promised/releases)
- [Commits](https://github.com/chaijs/chai-as-promised/compare/v8.0.0...v8.0.1)

---
updated-dependencies:
- dependency-name: chai-as-promised
  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: ITOH <to@itoh.at>
2024-12-28 20:43:54 +01:00
dependabot[bot]andITOH 103e138dbb build(deps-dev): bump turbo from 2.3.1 to 2.3.3 (#4024)
Bumps [turbo](https://github.com/vercel/turborepo) from 2.3.1 to 2.3.3.
- [Release notes](https://github.com/vercel/turborepo/releases)
- [Changelog](https://github.com/vercel/turborepo/blob/main/release.md)
- [Commits](https://github.com/vercel/turborepo/compare/v2.3.1...v2.3.3)

---
updated-dependencies:
- dependency-name: turbo
  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: ITOH <to@itoh.at>
2024-12-28 20:42:24 +01:00
dependabot[bot]andFleny f0b8cd4691 build(deps-dev): bump typescript and typedoc (#4031)
* build(deps-dev): bump typescript and typedoc

Bumps [typescript](https://github.com/microsoft/TypeScript) and [typedoc](https://github.com/TypeStrong/TypeDoc). These dependencies needed to be updated together.

Updates `typescript` from 5.6.3 to 5.7.2
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml)
- [Commits](https://github.com/microsoft/TypeScript/compare/v5.6.3...v5.7.2)

Updates `typedoc` from 0.26.11 to 0.27.1
- [Release notes](https://github.com/TypeStrong/TypeDoc/releases)
- [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.26.11...v0.27.1)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
- dependency-name: typedoc
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

* Update typedoc-plugin-markdown

* Update website/yarn.lock

* Bump typedoc & typedoc-plugin-markdown

---------

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>
2024-12-28 20:40:31 +01:00
dependabot[bot] 96f4b9bd7b build(deps-dev): bump @types/node from 22.9.1 to 22.10.2 (#4047)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.9.1 to 22.10.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-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>
2024-12-28 20:39:34 +01:00
dependabot[bot] e06f46eb2b build(deps-dev): bump @swc/core from 1.9.2 to 1.10.2 (#4055)
Bumps [@swc/core](https://github.com/swc-project/swc) from 1.9.2 to 1.10.2.
- [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/compare/v1.9.2...v1.10.2)

---
updated-dependencies:
- dependency-name: "@swc/core"
  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>
2024-12-28 20:39:11 +01:00