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
Fleny
6b577c3f3d
feat(bot,rest,types): Guild incidents data ( #4123 )
...
* Guild incidents data
* Update comments on ModifyGuildIncidentActions
2025-02-06 17:24:44 +01:00
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 Zargov
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
qreepex
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
Fleny
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