Commit Graph

5551 Commits

Author SHA1 Message Date
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
Dominik Koch
d478e679db chore: use DISCORDENO_VERSION from utils for docs and rest manager (#4059)
* docs: update header to v20

* Update to upcoming version instead

* Use the new DISCORDENO_VERSION

* Use the new DISCORDENO_VERSION

* Update website/docs/bigbot/step-2-rest.md

---------

Co-authored-by: Awesome Stickz <awesome@stickz.dev>
Co-authored-by: Fleny <Fleny113@outlook.com>
2024-12-29 01:05:13 +05:30
Awesome Stickz
3fd075a80f feat(utils): add an export for DISCORDENO_VERSION (#4060) 2024-12-29 00:43:34 +05:30
Fleny
41219d5417 feat(bot): Remove some clutter from desired proprerties intellisense (#4050)
* Remove TBot, Use SetupDesiredProps

* Remove even more clutter from intellisense

* Use type instead of interfaces for some types

This avoids the need for mapped types in Bot

* docs: add info about removing ts clutter to desired props guide

* docs: improve ts clutter section in desired props guide more

---------

Co-authored-by: Awesome Stickz <awesome@stickz.dev>
2024-12-28 23:08:15 +05:30
Awesome Stickz
6abf453319 fix(gateway): set a nonce if none is provided for gateway.requestMembers (#4057)
* fix(gateway): set a nonce if none is provided for gateway.requestMembers

* chore: update comment for gateway.requestMembers to clarify about gateway.cache.requestMembers.enabled

* chore: make the comment better

* fix: add node:crypto import to deno import map
2024-12-27 20:43:01 +05:30
dependabot[bot]
dfd3ead620 build(deps-dev): bump webpack (#4058) 2024-12-27 14:45:58 +00:00
dependabot[bot]
994c1b5e99 build(deps-dev): bump @swc/core in /docker-apps/rest-passthrough (#4056)
Bumps [@swc/core](https://github.com/swc-project/swc) from 1.10.1 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.10.1...v1.10.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-12-27 20:08:01 +05:30
Fleny
01638a075f Add renewalSkuIds to subscription (#4049) 2024-12-26 12:47:54 +01:00
Awesome Stickz
f41d968b4a feat(website): show bots' guild count at the time of review in reviews section (#4052) 2024-12-26 12:41:18 +01:00
Flash
6ca797bf4d Allow edit and deferEdit on modal submit interaction (#4053) 2024-12-24 10:17:56 +01:00
Fleny
bee999b001 Add bluesky and mastodon to the connections (#4051) 2024-12-23 00:16:04 +05:30
dependabot[bot]
e03f137146 build(deps): bump the npm_and_yarn group across 1 directory with 2 updates (#4048)
Bumps the npm_and_yarn group with 2 updates in the /website directory: [webpack](https://github.com/webpack/webpack) and [nanoid](https://github.com/ai/nanoid).


Updates `webpack` from 5.96.1 to 5.97.0
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.96.1...v5.97.0)

Updates `nanoid` from 3.3.6 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.6...3.3.8)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
  dependency-group: npm_and_yarn
- 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>
2024-12-13 06:52:25 +01:00
Fleny
618d8dd108 fix(gateway): close not resolving in some cases (#4046)
* Fix close not resolving in some cases

* update some logging in close()
2024-12-10 11:01:51 +05:30
dependabot[bot]
82ebf5a4cc build(deps-dev): bump @swc/core in /docker-apps/rest-passthrough (#4045)
Bumps [@swc/core](https://github.com/swc-project/swc) from 1.10.0 to 1.10.1.
- [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.0...v1.10.1)

---
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-09 14:42:43 +01:00
dependabot[bot]
e8ad840da3 build(deps-dev): bump dotenv in /docker-apps/rest-passthrough (#4039)
Bumps [dotenv](https://github.com/motdotla/dotenv) from 16.4.6 to 16.4.7.
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/motdotla/dotenv/compare/v16.4.6...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-05 09:40:03 +05:30
dependabot[bot]
5f3c69dc7d build(deps-dev): bump @swc/core in /docker-apps/rest-passthrough (#4038)
Bumps [@swc/core](https://github.com/swc-project/swc) from 1.9.3 to 1.10.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.9.3...v1.10.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>
Co-authored-by: Awesome Stickz <awesome@stickz.dev>
2024-12-05 09:34:27 +05:30
dependabot[bot]
00c2500a2b build(deps): bump fastify in /docker-apps/rest-passthrough (#4040)
Bumps [fastify](https://github.com/fastify/fastify) from 4.28.1 to 4.29.0.
- [Release notes](https://github.com/fastify/fastify/releases)
- [Commits](https://github.com/fastify/fastify/compare/v4.28.1...v4.29.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>
Co-authored-by: Awesome Stickz <awesome@stickz.dev>
2024-12-05 09:29:14 +05:30
Fleny
41c614c31e Dates are nullable not optional in Entitilement (#4042) 2024-12-05 09:21:12 +05:30
Fleny
848285968c Use the correct name for files (#4037) 2024-12-04 16:47:06 +05:30
dependabot[bot]
b83af688d5 build(deps-dev): bump dotenv in /docker-apps/rest-passthrough (#4036)
Bumps [dotenv](https://github.com/motdotla/dotenv) from 16.4.5 to 16.4.6.
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/motdotla/dotenv/compare/v16.4.5...v16.4.6)

---
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-03 16:57:27 +01:00
dependabot[bot]
23feb6049d build(deps-dev): bump @swc/cli in /docker-apps/rest-passthrough (#4035)
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-02 18:57:46 +05:30
dependabot[bot]
075263df04 build(deps): bump @discordeno/rest in /docker-apps/rest-passthrough (#4034)
Bumps [@discordeno/rest](https://github.com/discordeno/discordeno) from 19.0.0 to 20.0.0.
- [Release notes](https://github.com/discordeno/discordeno/releases)
- [Commits](https://github.com/discordeno/discordeno/compare/19.0.0...20.0.0)

---
updated-dependencies:
- dependency-name: "@discordeno/rest"
  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>
Co-authored-by: Fleny <Fleny113@outlook.com>
2024-12-01 18:24:09 +01:00
Skillz4Killz
0b58dbc1e8 make getting started simple and short 2024-11-29 16:20:50 +00:00
Skillz4Killz
9490981a95 add details to architecture 2024-11-29 15:45:31 +00:00
Skillz4Killz
e408874f95 cleanup 2024-11-29 15:17:20 +00:00
Fleny
527ef5d733 Update examples to v20 (#4032) 2024-11-28 16:48:14 -06:00
Fleny
58fccd8d14 Update package.json(s) for v20 (#4030) 20.0.0 2024-11-28 19:29:59 +01:00
Fleny
f137efa539 Add the crunchyroll connection (#4029) 2024-11-28 23:23:21 +05:30
Fleny
87de1ac16d Remove withAtLeast, a & { ... } is the same thing (#4028) 2024-11-28 10:26:48 -06:00
Awesome Stickz
3bc006bbec docs: update faq (#4027) 2024-11-28 09:58:29 -06:00
Awesome Stickz
9709b53a7d docs: improve docs (#4022) 2024-11-28 09:38:28 -06:00
Awesome Stickz
91b5b196bd fix(gateway): shard.resume() ending in a loop of constant resumes (#4017)
* fix(gateway): shard.resume() ending in a loop of constant resumes

* refactor(gateway): change shard.close() to async and move resolve logic to shard.close()

* refactor: wait for shard.close() promise in gateway.shutdown()

* Fix integration test

---------

Co-authored-by: Fleny <fleny113@outlook.com>
2024-11-27 13:24:07 +01:00
Fleny
ffdef6c74e feat(types,rest,bot): Document new entitlement endpoint behavior (#4021)
* Add getEntitlement endpoint

* use camelCase for excludeDeleted
2024-11-27 05:37:42 +05:30
dependabot[bot]
9fc2273853 build(deps): bump @fastify/helmet in /docker-apps/rest-passthrough (#4016)
Bumps [@fastify/helmet](https://github.com/fastify/fastify-helmet) from 11.1.1 to 13.0.0.
- [Release notes](https://github.com/fastify/fastify-helmet/releases)
- [Commits](https://github.com/fastify/fastify-helmet/compare/v11.1.1...v13.0.0)

---
updated-dependencies:
- dependency-name: "@fastify/helmet"
  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>
Co-authored-by: Awesome Stickz <awesome@stickz.dev>
2024-11-27 04:56:47 +05:30
Awesome Stickz
b151328969 docs: change wordings on caching and desired props page (#4010)
* docs: change wordings on caching and desired props page

* change value to property
2024-11-26 16:34:38 +01:00
Fleny
c6f04be311 Add the /desired-props redirect (#4013)
And update docusaurus dependencies
2024-11-24 17:40:17 +05:30
Awesome Stickz
e8391e8724 fix(rest): errors returned from makeRequest() doesn't provide more info rest is proxied (#4012) 2024-11-23 14:54:18 -06:00
dependabot[bot]
91d75823eb build(deps): bump smol-toml (#4011)
Bumps the npm_and_yarn group in /docker-apps/rest-passthrough with 1 update: [smol-toml](https://github.com/squirrelchat/smol-toml).


Updates `smol-toml` from 1.3.0 to 1.3.1
- [Release notes](https://github.com/squirrelchat/smol-toml/releases)
- [Commits](https://github.com/squirrelchat/smol-toml/commits)

---
updated-dependencies:
- dependency-name: smol-toml
  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>
2024-11-23 14:52:42 -06:00
dependabot[bot]
c3fa9be34b build(deps-dev): bump turbo from 2.3.0 to 2.3.1 (#4006)
Bumps [turbo](https://github.com/vercel/turborepo) from 2.3.0 to 2.3.1.
- [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.0...v2.3.1)

---
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>
2024-11-23 14:51:05 -06:00
dependabot[bot]
7e117b14b4 build(deps-dev): bump @types/mocha from 10.0.9 to 10.0.10 (#4003)
Bumps [@types/mocha](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mocha) from 10.0.9 to 10.0.10.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mocha)

---
updated-dependencies:
- dependency-name: "@types/mocha"
  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-11-23 14:50:32 -06:00
Fleny
cdf0be41b6 fix(bot)!: fix type errors when using commandOptionsParser (#3994)
* Fix type errors when using commandOptionsParser

* remove export from TransformProperty

* use TransformProperty in InteractionResolvedData

* Fix CI

* Remove the union on GetErrorWhenUndesired
2024-11-23 14:50:16 -06:00
Fleny
078036f626 fix: add breaks to component transformer switch (#4009) 2024-11-22 21:31:02 +05:30
dependabot[bot]
4db1afda09 build(deps): bump cookie (#4008)
Bumps the npm_and_yarn group with 1 update in the /examples/bigbot directory: [cookie](https://github.com/jshttp/cookie).


Updates `cookie` from 1.0.1 to 1.0.2
- [Release notes](https://github.com/jshttp/cookie/releases)
- [Commits](https://github.com/jshttp/cookie/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: cookie
  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-11-22 21:05:06 +05:30
Awesome Stickz
19b3d0978e refactor(bot): export base objects with getters from transformers (#4007) 2024-11-22 16:06:22 +01:00
dependabot[bot]
b9a4dd1b15 build(deps-dev): bump @swc/core in /docker-apps/rest-passthrough (#4004)
Bumps [@swc/core](https://github.com/swc-project/swc) from 1.9.2 to 1.9.3.
- [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.9.3)

---
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-11-22 15:58:46 +01:00
Fleny
376b29db47 fix(utils): Fix broken urlToBase64 test (#4002)
* Rework the test for urlToBase64.

Currently urlToBase64 used the website logo however with #3990 the test
started failing as the logo changed so the base64 of it changed.

The test now mocks fetch() to return 8 empty bytes and checks for that
base64 string instead

* test: explicity import beforeeach and aftereach

* test: stub depend on runtime

* test: use try catch instead

* test: try itoh typeof

---------

Co-authored-by: H01001000 <heiheiho000@gmail.com>
2024-11-20 21:44:56 +01:00
dependabot[bot]
c5a9a6483e build(deps-dev): bump @types/node from 22.9.0 to 22.9.1 (#4001)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.9.0 to 22.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-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-11-20 07:41:27 -06:00
Fleny
3e48af1b4c Remove migrations, reorder stuff in website (#3991)
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2024-11-20 07:38:47 -06:00
dependabot[bot]
f01da0583a build(deps): bump cross-spawn in the npm_and_yarn group (#4000)
Bumps the npm_and_yarn group with 1 update: [cross-spawn](https://github.com/moxystudio/node-cross-spawn).


Updates `cross-spawn` from 7.0.3 to 7.0.6
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moxystudio/node-cross-spawn/compare/v7.0.3...v7.0.6)

---
updated-dependencies:
- dependency-name: cross-spawn
  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>
2024-11-19 16:46:49 -06:00
dependabot[bot]
332c29b2a4 build(deps-dev): bump husky from 9.1.6 to 9.1.7 (#3997)
Bumps [husky](https://github.com/typicode/husky) from 9.1.6 to 9.1.7.
- [Release notes](https://github.com/typicode/husky/releases)
- [Commits](https://github.com/typicode/husky/compare/v9.1.6...v9.1.7)

---
updated-dependencies:
- dependency-name: husky
  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-11-19 16:44:23 -06:00