Commit Graph

5223 Commits

Author SHA1 Message Date
Fleny
efe56fbe06 feat(bot, rest, gateway, utils): Add support for custom loggers (#3383)
* Add support for custom loggers

* update docs for loggerFactory

* Use union for names in the bot logger factory

* Fix formaating errors
2024-03-17 11:22:45 +00:00
Fleny
c5337508fe Check for multipart bodies and handle them (#3481)
Also bump @discordeno/rest
2024-03-17 03:44:58 +00:00
dependabot[bot]
59f35e0f9b build(deps): bump follow-redirects from 1.15.4 to 1.15.6 in /website (#3486)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.4 to 1.15.6.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.4...v1.15.6)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-15 15:40:56 +00:00
dependabot[bot]
690bb4a152 build(deps-dev): bump @swc/core in /docker-apps/rest-passthrough (#3485)
Bumps [@swc/core](https://github.com/swc-project/swc) from 1.4.6 to 1.4.8.
- [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.4.6...v1.4.8)

---
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-03-15 14:40:02 +00:00
dependabot[bot]
a47dbd67fc build(deps-dev): bump @swc/core in /docker-apps/rest-passthrough (#3480)
Bumps [@swc/core](https://github.com/swc-project/swc) from 1.4.5 to 1.4.6.
- [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.4.5...v1.4.6)

---
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-03-13 11:38:50 +00:00
Fleny
2002a2bd6e feat(rest): Improve rest errors (#3382)
* Improve rest errors

* formatting
2024-03-08 04:42:49 +00:00
Fleny
edbb134efa docs: Update contributing docs (#3386)
* Update docusaurus typescript setup for v3

And fix lint-staged and eslint

* Enable automatic JSX runtime

* Remove babel config and dependencies

* update yarn.lock

* add typecheck to site workflow

* update typedoc config

* downgrade docusaurus packages

* Update site.yml

* Type context and options in webpack-docusaurus-plugin.ts

* Update contributing docs

remove howToUseTurborepo.md
update devcontainer
update task to remove error matcher
remove useless packages/rest/src/README.md
remove readme.hbs

* Add notice for the clean build

---------

Co-authored-by: Matt Hatcher <3768988+MatthewSH@users.noreply.github.com>
2024-03-08 04:40:27 +00:00
dependabot[bot]
3d495dd3b5 build(deps): bump fastify in /docker-apps/rest-passthrough (#3467)
Bumps [fastify](https://github.com/fastify/fastify) from 4.26.1 to 4.26.2.
- [Release notes](https://github.com/fastify/fastify/releases)
- [Commits](https://github.com/fastify/fastify/compare/v4.26.1...v4.26.2)

---
updated-dependencies:
- dependency-name: fastify
  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>
2024-03-08 04:33:48 +00:00
dependabot[bot]
1f02b2bca9 build(deps-dev): bump @favware/cliff-jumper (#3466)
Bumps [@favware/cliff-jumper](https://github.com/favware/cliff-jumper) from 2.2.3 to 3.0.1.
- [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@2.2.3...@favware/cliff-jumper@3.0.1)

---
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>
2024-03-08 04:32:52 +00:00
dependabot[bot]
246baa3199 build(deps-dev): bump @swc/core in /docker-apps/rest-passthrough (#3474)
Bumps [@swc/core](https://github.com/swc-project/swc) from 1.4.2 to 1.4.5.
- [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.4.2...v1.4.5)

---
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-03-08 04:31:20 +00:00
Dorian Oszczęda
05a20c3bf8 refactor(bot, gateway, rest)!: Improve the interface of the createBot() function. (#3422)
* misc: Make the token a required property on the rest manager.

* refactor: Make unnecessarily required properties optional.

* misc: Improve interface for `createBot()` and allow passing in `transformers`/`handlers`.

* fix: Test made redundant by changes still being included.

* fix: Missing non-null assertions.

* fix: Benchmarks failing.

* misc: Remove `cache.requestMembers.pending` as an exposed option.

* style: Switch back to interface approach.
2024-03-07 22:39:48 -06:00
Fleny
46c93385c1 Update interaction helpers (#3465) 2024-03-07 22:35:55 -06:00
dependabot[bot]
866d622eb3 build(deps): bump dotenv from 16.3.1 to 16.4.5 (#3456)
Bumps [dotenv](https://github.com/motdotla/dotenv) from 16.3.1 to 16.4.5.
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/motdotla/dotenv/compare/v16.3.1...v16.4.5)

---
updated-dependencies:
- dependency-name: dotenv
  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>
2024-03-07 22:34:22 -06:00
dependabot[bot]
fdc86c2107 build(deps-dev): bump @typescript-eslint/eslint-plugin (#3472)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 6.21.0 to 7.1.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.1.1/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  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-03-07 22:32:30 -06:00
dependabot[bot]
8940db8140 build(deps-dev): bump typedoc from 0.25.9 to 0.25.11 (#3473)
Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.25.9 to 0.25.11.
- [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.25.9...v0.25.11)

---
updated-dependencies:
- dependency-name: typedoc
  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-03-07 22:32:10 -06:00
dependabot[bot]
5612d5d09b build(deps-dev): bump @types/node from 20.11.15 to 20.11.25 (#3475)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.11.15 to 20.11.25.
- [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>
2024-03-07 22:30:41 -06:00
dependabot[bot]
c6a24e3719 build(deps-dev): bump typedoc from 0.25.7 to 0.25.9 (#3457)
Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.25.7 to 0.25.9.
- [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.25.7...v0.25.9)

---
updated-dependencies:
- dependency-name: typedoc
  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-03-01 18:00:41 +00:00
dependabot[bot]
376277355a build(deps-dev): bump mocha from 10.2.0 to 10.3.0 (#3458)
Bumps [mocha](https://github.com/mochajs/mocha) from 10.2.0 to 10.3.0.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v10.2.0...v10.3.0)

---
updated-dependencies:
- dependency-name: mocha
  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-03-01 18:00:25 +00:00
dependabot[bot]
e6192440a3 build(deps-dev): bump eslint from 8.56.0 to 8.57.0 (#3459)
Bumps [eslint](https://github.com/eslint/eslint) from 8.56.0 to 8.57.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.56.0...v8.57.0)

---
updated-dependencies:
- dependency-name: eslint
  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-03-01 18:00:08 +00:00
dependabot[bot]
77752869d5 build(deps-dev): bump @swc/cli in /docker-apps/rest-passthrough (#3461)
Bumps [@swc/cli](https://github.com/swc-project/pkgs) from 0.3.9 to 0.3.10.
- [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-02-29 12:31:13 +00:00
dependabot[bot]
23ba7274e0 build(deps-dev): bump @swc/cli from 0.1.63 to 0.3.9 (#3418)
* build(deps-dev): bump @swc/cli from 0.1.63 to 0.3.9

Dependabot couldn't find the original pull request head commit, e5e8fe736bb5b72b9622fbb362d85f67cc867c60.

* add --strip-leading-paths to swc

---------

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Fleny <fleny113@outlook.com>
2024-02-25 11:21:34 +00:00
Jonathan Ho
27bf2cfbc4 ci: labeler exclude dependabot and api-docs-commits (#3454) 2024-02-25 09:23:00 +00:00
Fleny
43d52a6c43 docs: Add examples for Node.js and Bun, update Deno example (#3385)
* Update docusaurus typescript setup for v3

And fix lint-staged and eslint

* Enable automatic JSX runtime

* Remove babel config and dependencies

* update yarn.lock

* add typecheck to site workflow

* update typedoc config

* downgrade docusaurus packages

* Update site.yml

* Type context and options in webpack-docusaurus-plugin.ts

* Update env tips and add minimal examples for node and bun

And update the one from deno that was really out of date

---------

Co-authored-by: Matt Hatcher <3768988+MatthewSH@users.noreply.github.com>
2024-02-25 01:41:44 +00:00
Matt Hatcher
6b5d8094df fix(rest): remove has_message from forum route (#3384) 2024-02-25 01:40:09 +00:00
dependabot[bot]
926b70f243 build(deps-dev): bump @typescript-eslint/parser from 6.18.1 to 7.0.2 (#3444)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 6.18.1 to 7.0.2.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.0.2/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  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-02-25 01:27:30 +00:00
dependabot[bot]
8c86d79057 build(deps-dev): bump prettier from 3.2.4 to 3.2.5 (#3437)
Bumps [prettier](https://github.com/prettier/prettier) from 3.2.4 to 3.2.5.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.2.4...3.2.5)

---
updated-dependencies:
- dependency-name: prettier
  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-02-25 01:26:38 +00:00
dependabot[bot]
a4aeea2a27 build(deps): bump fuxingloh/multi-labeler from 2 to 4 (#3436)
Bumps [fuxingloh/multi-labeler](https://github.com/fuxingloh/multi-labeler) from 2 to 4.
- [Release notes](https://github.com/fuxingloh/multi-labeler/releases)
- [Commits](https://github.com/fuxingloh/multi-labeler/compare/v2...v4)

---
updated-dependencies:
- dependency-name: fuxingloh/multi-labeler
  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>
2024-02-25 01:06:41 +00:00
dependabot[bot]
6e19c26bb5 build(deps-dev): bump husky from 8.0.3 to 9.0.11 (#3439)
Bumps [husky](https://github.com/typicode/husky) from 8.0.3 to 9.0.11.
- [Release notes](https://github.com/typicode/husky/releases)
- [Commits](https://github.com/typicode/husky/compare/v8.0.3...v9.0.11)

---
updated-dependencies:
- dependency-name: husky
  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-02-25 01:05:37 +00:00
dependabot[bot]
f63018bd47 build(deps-dev): bump @swc/core from 1.4.0 to 1.4.2 (#3452)
Bumps [@swc/core](https://github.com/swc-project/swc) from 1.4.0 to 1.4.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.4.0...v1.4.2)

---
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-02-25 01:05:31 +00:00
Dorian Oszczęda
100039b1bd feat: Add voice state to the desired properties object. (#3424)
* feat: Add voice state to the desired properties object.

* chore: Remove unnecessary check.
2024-02-21 14:20:23 +00:00
dependabot[bot]
3bb41e2948 build(deps): bump fastify in /docker-apps/rest-passthrough (#3433)
Bumps [fastify](https://github.com/fastify/fastify) from 4.26.0 to 4.26.1.
- [Release notes](https://github.com/fastify/fastify/releases)
- [Commits](https://github.com/fastify/fastify/compare/v4.26.0...v4.26.1)

---
updated-dependencies:
- dependency-name: fastify
  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>
2024-02-21 14:19:17 +00:00
Fleny
cee79197e6 Add enforceNone (closes #3431) (#3432) 2024-02-21 14:07:56 +00:00
dependabot[bot]
c400c5332e build(deps): bump ip from 2.0.0 to 2.0.1 (#3449)
Bumps [ip](https://github.com/indutny/node-ip) from 2.0.0 to 2.0.1.
- [Commits](https://github.com/indutny/node-ip/compare/v2.0.0...v2.0.1)

---
updated-dependencies:
- dependency-name: ip
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-21 14:05:58 +00:00
dependabot[bot]
0e99c0457c build(deps): bump ip from 2.0.0 to 2.0.1 in /website (#3450)
Bumps [ip](https://github.com/indutny/node-ip) from 2.0.0 to 2.0.1.
- [Commits](https://github.com/indutny/node-ip/compare/v2.0.0...v2.0.1)

---
updated-dependencies:
- dependency-name: ip
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-21 14:05:47 +00:00
dependabot[bot]
76627a31e7 build(deps): bump ip in /docker-apps/rest-passthrough (#3451)
Bumps [ip](https://github.com/indutny/node-ip) from 2.0.0 to 2.0.1.
- [Commits](https://github.com/indutny/node-ip/compare/v2.0.0...v2.0.1)

---
updated-dependencies:
- dependency-name: ip
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-21 14:05:24 +00:00
Fleny
262e6cee7e Add SUPPRESS_NOTIFICATIONS to InteractionCallbackData.flags (#3448) 2024-02-21 13:57:56 +00:00
dependabot[bot]
7e505951a1 build(deps): bump commander from 11.1.0 to 12.0.0 (#3425)
Bumps [commander](https://github.com/tj/commander.js) from 11.1.0 to 12.0.0.
- [Release notes](https://github.com/tj/commander.js/releases)
- [Changelog](https://github.com/tj/commander.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tj/commander.js/compare/v11.1.0...v12.0.0)

---
updated-dependencies:
- dependency-name: commander
  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>
2024-02-20 17:19:05 +00:00
dependabot[bot]
9837aef497 build(deps-dev): bump dotenv in /docker-apps/rest-passthrough (#3443)
Bumps [dotenv](https://github.com/motdotla/dotenv) from 16.4.1 to 16.4.5.
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/motdotla/dotenv/compare/v16.4.1...v16.4.5)

---
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-02-20 17:14:27 +00:00
dependabot[bot]
32ca81ceb6 build(deps-dev): bump @swc/core in /docker-apps/rest-passthrough (#3442)
Bumps [@swc/core](https://github.com/swc-project/swc) from 1.4.0 to 1.4.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.4.0...v1.4.2)

---
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-02-20 05:23:45 +00:00
dependabot[bot]
9b5e080cbb build(deps-dev): bump @swc/core from 1.3.102 to 1.4.0 (#3417)
Bumps [@swc/core](https://github.com/swc-project/swc) from 1.3.102 to 1.4.0.
- [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.3.102...v1.4.0)

---
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-02-13 02:11:11 +00:00
dependabot[bot]
2d4b7a8710 build(deps-dev): bump @swc/cli from 0.3.6 to 0.3.9 in /docker-apps/rest-passthrough (#3416)
* build(deps-dev): bump @swc/cli in /docker-apps/rest-passthrough

Bumps [@swc/cli](https://github.com/swc-project/pkgs) from 0.3.6 to 0.3.9.
- [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>

* Add the --strip-leading-paths or else SWC will create invalid paths

---------

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>
Co-authored-by: Matt Hatcher <3768988+MatthewSH@users.noreply.github.com>
2024-02-09 20:55:38 +00:00
dependabot[bot]
657082ea78 build(deps-dev): bump @typescript-eslint/eslint-plugin (#3419)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 6.18.1 to 6.21.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.21.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  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-02-09 20:35:26 +00:00
Fleny
f0ac958903 chore(website): Cleanup docusaurus setup (#3355)
* Update docusaurus typescript setup for v3

And fix lint-staged and eslint

* Enable automatic JSX runtime

* Remove babel config and dependencies

* update yarn.lock

* add typecheck to site workflow

* update typedoc config

* downgrade docusaurus packages

* Update site.yml

* Type context and options in webpack-docusaurus-plugin.ts

---------

Co-authored-by: Matt Hatcher <3768988+MatthewSH@users.noreply.github.com>
2024-02-09 20:34:59 +00:00
Endy
96becc331d fix(types): rm options from SelectMenuUsersAndRolesComponent (#3369) 2024-02-09 19:27:35 +00:00
dependabot[bot]
a0ec91aff4 build(deps-dev): bump @swc/core in /docker-apps/rest-passthrough (#3415)
Bumps [@swc/core](https://github.com/swc-project/swc) from 1.3.105 to 1.4.0.
- [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.3.105...v1.4.0)

---
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-02-09 19:25:00 +00:00
Fleny
5cb9b76e65 fix(rest): Add support for getGuilds with bot token (#3360)
* Add support for getGuilds with bot token

* Update manager.ts

* Fix prettier error
2024-02-09 18:45:27 +00:00
dependabot[bot]
34bdadfd5e build(deps-dev): bump eslint-config-standard-with-typescript (#3400)
Bumps [eslint-config-standard-with-typescript](https://github.com/mightyiam/eslint-config-standard-with-typescript) from 43.0.0 to 43.0.1.
- [Release notes](https://github.com/mightyiam/eslint-config-standard-with-typescript/releases)
- [Changelog](https://github.com/mightyiam/eslint-config-standard-with-typescript/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mightyiam/eslint-config-standard-with-typescript/compare/v43.0.0...v43.0.1)

---
updated-dependencies:
- dependency-name: eslint-config-standard-with-typescript
  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-02-09 18:44:00 +00:00
dependabot[bot]
74312479b9 build(deps-dev): bump chai from 5.0.0 to 5.0.3 (#3401)
Bumps [chai](https://github.com/chaijs/chai) from 5.0.0 to 5.0.3.
- [Release notes](https://github.com/chaijs/chai/releases)
- [Changelog](https://github.com/chaijs/chai/blob/main/History.md)
- [Commits](https://github.com/chaijs/chai/compare/v5.0.0...v5.0.3)

---
updated-dependencies:
- dependency-name: chai
  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-02-09 18:43:32 +00:00
dependabot[bot]
1db91d3c3b build(deps): bump fastify in /docker-apps/rest-passthrough (#3409)
Bumps [fastify](https://github.com/fastify/fastify) from 4.25.2 to 4.26.0.
- [Release notes](https://github.com/fastify/fastify/releases)
- [Commits](https://github.com/fastify/fastify/compare/v4.25.2...v4.26.0)

---
updated-dependencies:
- dependency-name: fastify
  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>
2024-02-09 18:14:08 +00:00
Fleny
493f4d15e9 Use helpers in interaction methods (#3395) 2024-02-09 17:58:13 +00:00