Commit Graph

5651 Commits

Author SHA1 Message Date
dependabot[bot]
dc19ffbbbd build(deps-dev): bump @swc/cli in /docker-apps/rest-passthrough (#4181)
Bumps [@swc/cli](https://github.com/swc-project/pkgs) from 0.6.0 to 0.7.3.
- [Commits](https://github.com/swc-project/pkgs/commits)

---
updated-dependencies:
- dependency-name: "@swc/cli"
  dependency-version: 0.7.3
  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-05-02 19:57:27 +02:00
dependabot[bot]
9744e91d9a build(deps-dev): bump @swc/core in /docker-apps/rest-passthrough (#4180)
Bumps [@swc/core](https://github.com/swc-project/swc) from 1.11.15 to 1.11.24.
- [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.11.15...v1.11.24)

---
updated-dependencies:
- dependency-name: "@swc/core"
  dependency-version: 1.11.24
  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-05-02 19:37:05 +02:00
dependabot[bot]
6faa01dc3c build(deps): bump fastify in /docker-apps/rest-passthrough (#4183)
Bumps [fastify](https://github.com/fastify/fastify) from 4.29.0 to 4.29.1.
- [Release notes](https://github.com/fastify/fastify/releases)
- [Commits](https://github.com/fastify/fastify/compare/v4.29.0...v4.29.1)

---
updated-dependencies:
- dependency-name: fastify
  dependency-version: 4.29.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>
2025-05-02 19:30:17 +02:00
LTS (Link)
5c38883bbc feat(types,bot)!: Add desiredProperties for components (#4179)
- feat(bot): Add desiredProperties for components, as well as media gallery items and unfurled media items
- fix(types)!: Rename the following types to match the newly updated discord docs:
  - InputText to TextInput
  - SelectMenu to StringSelect
  - SelectMenuUsers to UserSelect
  - SelectMenuRoles to RoleSelect
  - SelectMenuMentionable to MentionableSelect
  - SelectMenuChannels to ChannelSelect
- Update some JSDOC comments to match the new discord docs

Co-authored-by: Fleny <Fleny113@outlook.com>
2025-05-01 11:18:48 +02:00
LTS (Link)
11c6d043e3 Fix(utils): Remove redundant comparison & bitwise operation (#4178)
Co-authored-by: Fleny <Fleny113@outlook.com>
2025-05-01 11:03:53 +02:00
NotDemonix
f227b11a8c Improve consistency for snowflakeToTimestamp (#4177) 2025-05-01 10:49:19 +02:00
Fleny
80509a1420 Update manager.ts (#4176) 2025-04-28 18:28:55 +02:00
Fleny
b3de175f13 feat(types,rest,bot): Add with_components to webhooks (#4152)
* Add with_components to webhook execute and edit

* Fix query param building

* update comments
2025-04-27 09:42:51 +02:00
Fleny
a584ffc3a3 fix(types): Add missing ContainerComponent to MessageComponent (#4172) 2025-04-26 20:00:05 +02:00
Fleny
3d90d816e7 feat(types,bot)!: Components V2 (#4080)
* UI

* change component names to match Discord's names

* add divider prop to separator component

* rename thumbnail component image property to media

* Rename MessageFlags.IsUiKit to IsComponentsV2

* Rename FileDisplay component to File component

* Added container component

* add id to container component transformers

* add id to all components

* SectionComponent.accessory now accepts ButtonComponent as well

* Update description for FileComponent.file

* fix bad merge

* Change Component.accessory to ButtonComponent | ThumbnailComponent

* Add section to reverse, fix Component#accessory

* remove type cast on section transform

* Add docs link for CreateGuildChannel

Co-authored-by: LTS (Link) <lts20050703@gmail.com>

* Update comments & split components

* fix type errors

* Really fix CI

* transform UnfurledMediaItem

* Apply suggestions from code review

Co-authored-by: LTS (Link) <lts20050703@gmail.com>

* change DiscordInputTextComponent to DiscordTextInputComponent

* fix order in Transformers.customizers

* Fix missing transformers

* update action row components type

---------

Co-authored-by: Awesome Stickz <awesome@stickz.dev>
Co-authored-by: LTS (Link) <lts20050703@gmail.com>
2025-04-26 08:35:06 +02:00
Fleny
24703f13dd fix(types)!: Remove incorrect, reorder and fixes in channel (#4151)
* Remove incorrect, reorder and fixes in channel

- Updated comments to be more clear
- Remove `Channel.newly_created`, doesn't seem to exist in the api docs
- Fix nullability for some fields
- Remove DiscordActiveThreads, DiscordArchivedThreads and DiscordListActiveThreads as they don't seem to match anything in the api

* Add back DiscordListActiveThreads but under Guild
and fix type errors

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

Co-authored-by: LTS (Link) <lts20050703@gmail.com>

* Revert newly_created removal

* Apply suggestions from code review

Co-authored-by: LTS (Link) <lts20050703@gmail.com>

---------

Co-authored-by: LTS (Link) <lts20050703@gmail.com>
2025-04-26 08:31:01 +02:00
Fleny
f0e0bd0aef Update Slash Command Name regex (#4102)
* Update Slash Command Command Name regex

* Update comments to reflect the change

* Use the correct apostrophe in the regex

While the docs use the regular ', discord accepts
the unicode apostrophe ʼ.
2025-04-25 21:21:27 +02:00
Fleny
22012fc288 feat(types, rest, bot): Add lobby support (#4158)
* Add lobby support

* Fix CI
Apparently for extends a bot was a LobbyMember since both had
a required id property and even if LobbyMember had other properties
as well that did not matter

* update LobbyMember flags to use ToggleBitfield
2025-04-25 21:15:42 +02:00
dependabot[bot]
f730ffe06c build(deps-dev): bump webpack (#4171)
Bumps the npm_and_yarn group with 1 update in the /website directory: [webpack](https://github.com/webpack/webpack).


Updates `webpack` from 5.99.3 to 5.99.4
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.99.3...v5.99.4)

---
updated-dependencies:
- dependency-name: webpack
  dependency-version: 5.99.4
  dependency-type: direct:development
  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>
2025-04-25 03:23:25 +02:00
Fleny
77fc516a64 feat(types,bot): Add the attachmentSizeLimit prop to interactions (#4163)
* Add the attachmentSizeLimit prop to interactions

* Fix type error
2025-04-23 19:48:40 +05:30
Fleny
806380a25d Fix triple-n typos in types.ts and application.ts (#4164) 2025-04-23 19:39:18 +05:30
Fleny
d063655e56 Deprecate createGuild and createGuildFromTemplate (#4169)
While discord does not say anything explicit about deprecating the
createGuildFromTemplate endpoint, it is a fair assumption to make that
it is included in this change

Co-authored-by: Awesome Stickz <awesome@stickz.dev>
2025-04-23 19:32:39 +05:30
dependabot[bot]
f7a25e2063 build(deps): bump the npm_and_yarn group across 2 directories with 2 updates (#4170)
Bumps the npm_and_yarn group with 1 update in the /examples/bigbot directory: [fastify](https://github.com/fastify/fastify).
Bumps the npm_and_yarn group with 1 update in the /website directory: [webpack](https://github.com/webpack/webpack).


Updates `fastify` from 5.3.1 to 5.3.2
- [Release notes](https://github.com/fastify/fastify/releases)
- [Commits](https://github.com/fastify/fastify/compare/v5.3.1...v5.3.2)

Updates `webpack` from 5.99.2 to 5.99.3
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.99.2...v5.99.3)

---
updated-dependencies:
- dependency-name: fastify
  dependency-version: 5.3.2
  dependency-type: direct:production
  dependency-group: npm_and_yarn
- dependency-name: webpack
  dependency-version: 5.99.3
  dependency-type: direct:development
  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>
2025-04-21 10:51:50 +02:00
dependabot[bot]
be955b7030 build(deps): bump the npm_and_yarn group across 1 directory with 2 updates (#4168)
Bumps the npm_and_yarn group with 2 updates in the /website directory: [webpack](https://github.com/webpack/webpack) and [http-proxy-middleware](https://github.com/chimurai/http-proxy-middleware).


Updates `webpack` from 5.99.1 to 5.99.2
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.99.1...v5.99.2)

Updates `http-proxy-middleware` from 2.0.7 to 2.0.9
- [Release notes](https://github.com/chimurai/http-proxy-middleware/releases)
- [Changelog](https://github.com/chimurai/http-proxy-middleware/blob/v2.0.9/CHANGELOG.md)
- [Commits](https://github.com/chimurai/http-proxy-middleware/compare/v2.0.7...v2.0.9)

---
updated-dependencies:
- dependency-name: webpack
  dependency-version: 5.99.2
  dependency-type: direct:development
  dependency-group: npm_and_yarn
- dependency-name: http-proxy-middleware
  dependency-version: 2.0.9
  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>
2025-04-18 19:34:31 +02:00
dependabot[bot]
2f410f9010 build(deps): bump the npm_and_yarn group across 2 directories with 3 updates (#4167)
Bumps the npm_and_yarn group with 2 updates in the /examples/bigbot directory: [fastify](https://github.com/fastify/fastify) and [ws](https://github.com/websockets/ws).
Bumps the npm_and_yarn group with 1 update in the /website directory: [webpack](https://github.com/webpack/webpack).


Updates `fastify` from 5.2.0 to 5.3.1
- [Release notes](https://github.com/fastify/fastify/releases)
- [Commits](https://github.com/fastify/fastify/compare/v5.2.0...v5.3.1)

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

Updates `webpack` from 5.99.0 to 5.99.1
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.99.0...v5.99.1)

---
updated-dependencies:
- dependency-name: fastify
  dependency-version: 5.3.1
  dependency-type: direct:production
  dependency-group: npm_and_yarn
- dependency-name: ws
  dependency-version: 8.18.1
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: webpack
  dependency-version: 5.99.1
  dependency-type: direct:development
  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>
2025-04-18 19:28:26 +02:00
Andrew
1c20b59eb0 fix(docs): update documentation links to point to the new site (#4166) 2025-04-09 22:24:08 +05:30
dependabot[bot]
8982c7c7fc build(deps): bump the npm_and_yarn group across 1 directory with 2 updates (#4165)
Bumps the npm_and_yarn group with 2 updates in the /website directory: [webpack](https://github.com/webpack/webpack) and [estree-util-value-to-estree](https://github.com/remcohaszing/estree-util-value-to-estree).


Updates `webpack` from 5.98.0 to 5.99.0
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.98.0...v5.99.0)

Updates `estree-util-value-to-estree` from 3.0.1 to 3.3.3
- [Release notes](https://github.com/remcohaszing/estree-util-value-to-estree/releases)
- [Commits](https://github.com/remcohaszing/estree-util-value-to-estree/compare/v3.0.1...v3.3.3)

---
updated-dependencies:
- dependency-name: webpack
  dependency-version: 5.99.0
  dependency-type: direct:development
  dependency-group: npm_and_yarn
- dependency-name: estree-util-value-to-estree
  dependency-version: 3.3.3
  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>
2025-04-08 09:25:26 +05:30
dependabot[bot]
327843fe01 build(deps-dev): bump @swc/core in /docker-apps/rest-passthrough (#4159)
Bumps [@swc/core](https://github.com/swc-project/swc) from 1.11.5 to 1.11.15.
- [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.11.5...v1.11.15)

---
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>
2025-04-03 21:24:31 +02:00
Awesome Stickz
ab7f3705c4 fix(rest): deleteWebhookMessage() and editOriginalInteractionResponse() doesn't require auth (#4155) 2025-03-21 18:15:40 +05:30
TriForMine
8c909f549c fix(types): Add missing skuId property in ButtonComponent (#4156)
* Update discordeno.ts

* Update discordeno.ts

* Update packages/types/src/discordeno.ts

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

---------

Co-authored-by: Fleny <Fleny113@outlook.com>
2025-03-21 18:06:09 +05:30
dependabot[bot]
80fa566121 build(deps): bump the npm_and_yarn group across 1 directory with 3 updates (#4154)
Bumps the npm_and_yarn group with 3 updates in the /website directory: [@babel/helpers](https://github.com/babel/babel/tree/HEAD/packages/babel-helpers), [@babel/runtime-corejs3](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime-corejs3) and [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime).


Updates `@babel/helpers` from 7.21.0 to 7.26.10
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.26.10/packages/babel-helpers)

Updates `@babel/runtime-corejs3` from 7.23.5 to 7.26.10
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.26.10/packages/babel-runtime-corejs3)

Updates `@babel/runtime` from 7.21.0 to 7.26.10
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.26.10/packages/babel-runtime)

---
updated-dependencies:
- dependency-name: "@babel/helpers"
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: "@babel/runtime-corejs3"
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: "@babel/runtime"
  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>
2025-03-19 18:47:01 +01:00
dependabot[bot]
70f6cb43e5 build(deps): bump prismjs (#4153)
Bumps the npm_and_yarn group with 1 update in the /website directory: [prismjs](https://github.com/PrismJS/prism).


Updates `prismjs` from 1.29.0 to 1.30.0
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PrismJS/prism/compare/v1.29.0...v1.30.0)

---
updated-dependencies:
- dependency-name: prismjs
  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>
2025-03-13 12:54:59 +01:00
Fleny
cf8304ccef fix(types)!: Fix optionals for some props in auto moderation. (#4150)
* Fix optionals for some props in autoModeration.

Also fix some comments to be more clear

* Fix type error in automodActionExecution

* Fix type error in automod.spec.ts e2e test

---------

Co-authored-by: Awesome Stickz <awesome@stickz.dev>
2025-03-04 18:44:14 +05:30
Fleny
f2e446f4dd Reorder AuditLog add SoundboardSound log changes (#4149) 2025-03-04 18:01:30 +05:30
Fleny
bcd8d4db37 refactor(types): reorder properties in DiscordApplication 2025-03-04 17:53:15 +05:30
dependabot[bot]
20b4e5eb7b build(deps-dev): bump @swc/core in /docker-apps/rest-passthrough (#4142)
Bumps [@swc/core](https://github.com/swc-project/swc) from 1.10.12 to 1.11.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.10.12...v1.11.5)

---
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: Fleny <Fleny113@outlook.com>
2025-03-01 19:31:35 +01:00
LonelyDeathVGX
f135fd871c fix(types): use Localization instead of Record<Locales, string> (#4143) 2025-03-01 19:18:31 +01:00
Fleny
a624cad2ca fix(gateway): Keep state to avoid unwanted disconnections (#4138)
* Keep state to avoid unwanted disconnections

This keeps a state to know that we wanted to end the connection with a
code of 1000 or 1001 to avoid unwanted disconnections in case discord /
someone in the middle of the TCP connection (such as cloudflare) sends a
close code of 1000 or 1001.

* Apply suggestions from code review

Co-authored-by: Awesome Stickz <awesome@stickz.dev>

---------

Co-authored-by: Awesome Stickz <awesome@stickz.dev>
2025-02-25 13:23:12 +05:30
Awesome Stickz
47b31622e4 fix(types): add ThreadMember.member (#4139) 2025-02-24 01:17:20 +05:30
Awesome Stickz
4d3bdf233d feat!: add missing params to getThreadMember() and getThreadMembers() (#4135)
* feat: add missing params to getThreadMember() and getThreadMembers()

* add member property from payload in threadMember transformer

* mark guildId as BigString | undefined and pass undefined in threadMember transformer

* fix type of after, limit params of ListThreadMembers

* add tsdoc for GetThreadMember and GetGuildAuditLog

* make options param of getThreadMember() and getThreadMembers() optional

---------

Co-authored-by: Fleny <Fleny113@outlook.com>
2025-02-23 11:50:26 +01:00
Fleny
e7ebbaa31e feat(rest): Improve error message for rest errors (#4136)
* Improve error message for rest errors

* Update packages/rest/src/manager.ts

Co-authored-by: Awesome Stickz <awesome@stickz.dev>

* Add new line

---------

Co-authored-by: Awesome Stickz <awesome@stickz.dev>
2025-02-23 15:43:28 +05:30
Awesome Stickz
a77fa77a67 fix: thread create autoArchiveDuration being a required param (#4137) 2025-02-23 14:45:51 +05:30
Music Maker
280b6f4b74 fix: Typos in rest server setup (#4134) 2025-02-20 13:00:45 +05:30
dependabot[bot]
dbf0459067 build(deps-dev): bump typescript from 5.7.2 to 5.7.3 (#4121)
Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.7.2 to 5.7.3.
- [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.7.2...v5.7.3)

---
updated-dependencies:
- dependency-name: 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>
2025-02-19 00:29:25 -06:00
dependabot[bot]
109ba58196 build(deps-dev): bump @types/node from 22.10.3 to 22.13.0 (#4119)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.10.3 to 22.13.0.
- [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>
2025-02-19 00:28:54 -06:00
dependabot[bot]
32e3230ed4 build(deps-dev): bump @swc/core from 1.10.4 to 1.10.12 (#4118)
Bumps [@swc/core](https://github.com/swc-project/swc) from 1.10.4 to 1.10.12.
- [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.4...v1.10.12)

---
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>
2025-02-19 00:28:38 -06:00
dependabot[bot]
cc6aa54b1d build(deps-dev): bump turbo from 2.3.3 to 2.4.0 (#4117)
Bumps [turbo](https://github.com/vercel/turborepo) from 2.3.3 to 2.4.0.
- [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.3...v2.4.0)

---
updated-dependencies:
- dependency-name: turbo
  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-02-19 00:28:15 -06:00
Fleny
0efc4543da fix(types, gateway)!: UpdatePresence inconsistencies (#4124)
* FIx Update Presence incosistencies

* use keyof typeof for DiscordUpdatePresence status

* Remove deprecated gateway types
2025-02-17 14:05:06 +05:30
Fleny
ed912a590b Add HTTPJsonErrorCodes (#4130) 2025-02-17 14:00:11 +05:30
dependabot[bot]
42e848295a build(deps): bump the npm_and_yarn group (#4133)
Bumps the npm_and_yarn group in /docker-apps/rest-passthrough with 2 updates: [@octokit/request-error](https://github.com/octokit/request-error.js) and [@octokit/request](https://github.com/octokit/request.js).


Updates `@octokit/request-error` from 6.1.1 to 6.1.7
- [Release notes](https://github.com/octokit/request-error.js/releases)
- [Commits](https://github.com/octokit/request-error.js/compare/v6.1.1...v6.1.7)

Updates `@octokit/request` from 9.2.0 to 9.2.2
- [Release notes](https://github.com/octokit/request.js/releases)
- [Commits](https://github.com/octokit/request.js/compare/v9.2.0...v9.2.2)

---
updated-dependencies:
- dependency-name: "@octokit/request-error"
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: "@octokit/request"
  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: Fleny <Fleny113@outlook.com>
2025-02-15 18:40:23 +01:00
dependabot[bot]
c4005fc577 build(deps-dev): bump webpack (#4132)
Bumps the npm_and_yarn group with 1 update in the /website directory: [webpack](https://github.com/webpack/webpack).


Updates `webpack` from 5.97.1 to 5.98.0
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.97.1...v5.98.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
  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: Fleny <Fleny113@outlook.com>
2025-02-15 18:36:18 +01:00
dependabot[bot]
717c1cbc30 build(deps): bump @octokit/endpoint (#4131)
Bumps the npm_and_yarn group in /docker-apps/rest-passthrough with 1 update: [@octokit/endpoint](https://github.com/octokit/endpoint.js).


Updates `@octokit/endpoint` from 10.1.1 to 10.1.3
- [Release notes](https://github.com/octokit/endpoint.js/releases)
- [Commits](https://github.com/octokit/endpoint.js/compare/v10.1.1...v10.1.3)

---
updated-dependencies:
- dependency-name: "@octokit/endpoint"
  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>
2025-02-15 18:31:47 +01:00
dependabot[bot]
3e1c761104 build(deps): bump serialize-javascript (#4129) 2025-02-12 18:29:41 +00:00
Fleny
039c1945cc Use tsc to build instead of swc (#4128) 2025-02-12 19:23:28 +01:00
Fleny
e387f2cae2 feat(types,rest,bot): Add ApplicationRoleConnectionMetadata types (#4125)
* add applicationRoleConnectionMetadata types

* Update packages/rest/src/manager.ts

Co-authored-by: LTS (Link) <lts20050703@gmail.com>

* Update packages/rest/src/manager.ts

Co-authored-by: LTS (Link) <lts20050703@gmail.com>

---------

Co-authored-by: LTS (Link) <lts20050703@gmail.com>
2025-02-07 16:42:46 +01:00