dependabot[bot] and Fleny
e913764de5
build(deps-dev): bump @types/node from 25.2.3 to 25.3.0 ( #4796 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 25.2.3 to 25.3.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-version: 25.3.0
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 >
2026-02-24 18:35:01 +01:00
Fleny
f29ab929fc
fix: Update schema version in biome.jsonc ( #4780 )
...
* Update schema version in biome.jsonc
* Fix biome format errors
2026-02-17 04:21:50 +05:30
70da0ac9ff
feat(components): Add radio group, checkbox group & checkbox components ( #4763 )
...
* feat(components): implementation of the brand new modal component types Radio Group, Checkbox Group, Checkbox
* refactor(components): streamline checkbox component transformation and enhance type definitions
* Update packages/bot/src/transformers/reverse/component.ts
Co-authored-by: Fleny <Fleny113@outlook.com >
* Update packages/bot/src/transformers/reverse/component.ts
Co-authored-by: Fleny <Fleny113@outlook.com >
* Update packages/bot/src/transformers/types.ts
Co-authored-by: Fleny <Fleny113@outlook.com >
* Update packages/bot/src/transformers/component.ts
Co-authored-by: Fleny <Fleny113@outlook.com >
* Update packages/bot/src/transformers/component.ts
Co-authored-by: Fleny <Fleny113@outlook.com >
* Update packages/bot/src/transformers/reverse/component.ts
Co-authored-by: Fleny <Fleny113@outlook.com >
* Update packages/bot/src/transformers/reverse/component.ts
Co-authored-by: Fleny <Fleny113@outlook.com >
* Update packages/bot/src/transformers/component.ts
Co-authored-by: Fleny <Fleny113@outlook.com >
* refractor(component): transformation logic and update type definitions for options handling
* Update packages/bot/src/transformers/component.ts
Co-authored-by: Awesome Stickz <awesome@stickz.dev >
* refractor(components): move types of new components below file upload to match discord docs
* Update packages/types/src/discord/components.ts
Co-authored-by: Fleny <Fleny113@outlook.com >
* Update packages/types/src/discordeno/components.ts
Co-authored-by: Fleny <Fleny113@outlook.com >
---------
Co-authored-by: Fleny <Fleny113@outlook.com >
Co-authored-by: Awesome Stickz <awesome@stickz.dev >
2026-02-17 03:27:39 +05:30
dependabot[bot] and Awesome Stickz
1c68720b68
build(deps-dev): bump @biomejs/biome from 2.3.14 to 2.4.0 ( #4776 )
...
Bumps [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome ) from 2.3.14 to 2.4.0.
- [Release notes](https://github.com/biomejs/biome/releases )
- [Changelog](https://github.com/biomejs/biome/blob/main/packages/@biomejs/biome/CHANGELOG.md )
- [Commits](https://github.com/biomejs/biome/commits/@biomejs/biome@2.4.0/packages/@biomejs/biome )
---
updated-dependencies:
- dependency-name: "@biomejs/biome"
dependency-version: 2.4.0
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 >
2026-02-17 01:03:15 +05:30
dependabot[bot] and Awesome Stickz
424230daec
build(deps-dev): bump dotenv from 17.2.3 to 17.3.1 ( #4768 )
...
Bumps [dotenv](https://github.com/motdotla/dotenv ) from 17.2.3 to 17.3.1.
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md )
- [Commits](https://github.com/motdotla/dotenv/compare/v17.2.3...v17.3.1 )
---
updated-dependencies:
- dependency-name: dotenv
dependency-version: 17.3.1
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 >
2026-02-16 23:59:11 +05:30
Fleny and Awesome Stickz
3e35160504
fix(bot)!: Split DiscordSelectComponent into specific select components ( #4690 )
...
* refactor(bot)!: setup desired properties for all transformers
SetupDesiredProps when is given an object that does not corrispond to a transformer object that supports desired properties will behave like TransformProperty on the entire object as when it tries to get the properties for said object it will find `never` as the props and for `IsKeyDesired` a props of `never` means that all props are desired.
* Use Equals helper, clean up a bit the code
* Explicit the IsKeyDesired TProps never behavior
* fix(bot): Bug with return type in functions
* fix(bot)!: Split DiscordSelectComponent into specific select components
And add missing resolved property from the responses, since this now correctly transformers the responses, resolved has to be added.
The reverse transformer does not transform resolved as it requires a bunch of others, such as a user, role, message reverse transformers etc.
* Apply suggestions from code review
Co-authored-by: Awesome Stickz <awesome@stickz.dev >
2026-02-16 23:37:57 +05:30
Fleny
8939cc8492
fix!: Community invites updates ( #4724 )
...
* Update permissions for community invites
Use payload_json for invite creation with file upload
The TODO in INVITE_CREATE is to be done after #4436 gets merged as it splits the transformer logic between gateway and the normal invite object, placing the event transformation code in the event itself
* Community invites breaking changes
2026-02-16 23:20:42 +05:30
Fleny
a4a5f172d4
feat: update documentation links to new domain ( #4767 )
...
* feat: update documentation links to new domain
* fix some links in the docs
2026-02-16 07:46:51 +05:30
Fleny
0e34445d68
Remove avif format as discord does not serve it ( #4723 )
2026-02-16 07:41:35 +05:30
Fleny
b5248bfa2c
fix(types): Set nullable for ThumbnailComponent & MediaGalleryItem description ( #4737 )
2026-02-16 07:38:30 +05:30
dependabot[bot] and Fleny
cf26d35f29
build(deps-dev): bump @biomejs/biome from 2.3.13 to 2.3.14 ( #4741 )
...
* build(deps-dev): bump @biomejs/biome from 2.3.13 to 2.3.14
Bumps [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome ) from 2.3.13 to 2.3.14.
- [Release notes](https://github.com/biomejs/biome/releases )
- [Changelog](https://github.com/biomejs/biome/blob/main/packages/@biomejs/biome/CHANGELOG.md )
- [Commits](https://github.com/biomejs/biome/commits/@biomejs/biome@2.3.14/packages/@biomejs/biome )
---
updated-dependencies:
- dependency-name: "@biomejs/biome"
dependency-version: 2.3.14
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* build(deps-dev): bump @biomejs/biome from 2.3.13 to 2.3.14 in /website (#4749 )
* build(deps-dev): bump @types/react from 19.2.8 to 19.2.13 in /website (#4750 )
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ) from 19.2.8 to 19.2.13.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react )
---
updated-dependencies:
- dependency-name: "@types/react"
dependency-version: 19.2.13
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: Fleny <Fleny113@outlook.com >
* build(deps-dev): bump @biomejs/biome from 2.3.13 to 2.3.14 in /website
Bumps [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome ) from 2.3.13 to 2.3.14.
- [Release notes](https://github.com/biomejs/biome/releases )
- [Changelog](https://github.com/biomejs/biome/blob/main/packages/@biomejs/biome/CHANGELOG.md )
- [Commits](https://github.com/biomejs/biome/commits/@biomejs/biome@2.3.14/packages/@biomejs/biome )
---
updated-dependencies:
- dependency-name: "@biomejs/biome"
dependency-version: 2.3.14
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
---------
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 >
* Update biome schema version
* biome format --write
---------
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 >
2026-02-10 19:39:48 +01:00
dependabot[bot] and Fleny
384d754e53
build(deps-dev): bump @types/node from 25.2.0 to 25.2.2 ( #4742 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 25.2.0 to 25.2.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-version: 25.2.2
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: Fleny <Fleny113@outlook.com >
2026-02-10 19:14:01 +01:00
dependabot[bot]
adf5006adc
build(deps-dev): bump @swc/cli from 0.7.10 to 0.8.0 ( #4746 )
...
Bumps [@swc/cli](https://github.com/swc-project/pkgs ) from 0.7.10 to 0.8.0.
- [Commits](https://github.com/swc-project/pkgs/commits )
---
updated-dependencies:
- dependency-name: "@swc/cli"
dependency-version: 0.8.0
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>
2026-02-10 18:44:18 +01:00
Fleny and Awesome Stickz
a88aa33341
fix(rest): Use Retry-After header for retrying requests ( #4739 )
...
* fix(rest): Use Retry-After header for retrying requests
According to discord docs: Your application should rely on the Retry-After header [...] to determine when to retry the request.
* also use in processHeaders()
---------
Co-authored-by: Awesome Stickz <kiran121102@gmail.com >
2026-02-10 17:48:19 +01:00
dependabot[bot] and Fleny
8694f57caf
build(deps-dev): bump @types/node from 25.0.10 to 25.2.0 ( #4726 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 25.0.10 to 25.2.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-version: 25.2.0
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 >
2026-02-04 20:51:34 +01:00
dependabot[bot] and Fleny
a722faba44
build(deps-dev): bump @swc/core from 1.15.10 to 1.15.11 ( #4727 )
...
Bumps [@swc/core](https://github.com/swc-project/swc/tree/HEAD/packages/core ) from 1.15.10 to 1.15.11.
- [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/commits/v1.15.11/packages/core )
---
updated-dependencies:
- dependency-name: "@swc/core"
dependency-version: 1.15.11
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: Fleny <Fleny113@outlook.com >
2026-02-04 20:48:14 +01:00
Awesome Stickz
f2e8d7e9be
fix(bot): use bigint instead of PermissionStrings[] for allow and deny in channel.permissionOverwrites to match Overwrite type ( #4736 )
2026-02-04 13:21:34 +01:00
Awesome Stickz
b93d1f9294
feat(utils): support animated webps in formatImageUrl() ( #4725 )
2026-02-01 09:47:40 +01:00
Fleny
758e75f7d9
fix(bot): Bug with return type in functions ( #4689 )
...
* refactor(bot)!: setup desired properties for all transformers
SetupDesiredProps when is given an object that does not corrispond to a transformer object that supports desired properties will behave like TransformProperty on the entire object as when it tries to get the properties for said object it will find `never` as the props and for `IsKeyDesired` a props of `never` means that all props are desired.
* Use Equals helper, clean up a bit the code
* Explicit the IsKeyDesired TProps never behavior
* fix(bot): Bug with return type in functions
2026-01-29 00:36:39 +05:30
Fleny
cf02481086
refactor(bot)!: setup desired properties for all transformers ( #4435 )
...
* refactor(bot)!: setup desired properties for all transformers
SetupDesiredProps when is given an object that does not corrispond to a transformer object that supports desired properties will behave like TransformProperty on the entire object as when it tries to get the properties for said object it will find `never` as the props and for `IsKeyDesired` a props of `never` means that all props are desired.
* Use Equals helper, clean up a bit the code
* Explicit the IsKeyDesired TProps never behavior
* Add all trasformer objects to bot.transformers.$inferredTypes
2026-01-28 10:13:35 +05:30
Fleny
bd01ded6bf
feat: Community Invites ( #4685 )
...
* api-docs: Community Invites
Add support for invites that gives roles to users.
Add support for target users on invites.
Sort-of unrleated change required: `restManager.makeRequest` `resolve` function had to changed or else the `getTargetUsers` would hang forever due to a JSON parsing issue.
* fix type error & add bot helpers
2026-01-27 19:08:08 +01:00
Fleny
4eccbea89f
fix(rest)!: Remove calculateBits from changeToDiscordFormat ( #4557 )
...
* fix(rest)!: Remove calculateBits from changeToDiscordFormat
The rest manager currently has to assume that request bodies that have "permissions", "allow", "deny", "defaultMemberPermissions" fields are always meant as a permissions.
If these are not, for user error or future discord changes, this will break.
Also Discord expects these as strings, and discordeno does not abstract too much from the discord api, so it doesn't really makes sense for us to accept PermissionStrings[], the user should call calculateBits themselves, there is an argument to be made about accepting bigints since these are bitfields but that's another discussion.
* Channel.permissionOverwrites use PermissionStrings
For the transformed type we can keep the fact that it uses PermissionStrings
* Fix e2e test
* remove comment
2026-01-27 18:46:19 +01:00
Fleny
9085f4a454
fix(rest): Make sure to not suppress non-api errors ( #4691 )
...
Queues currenly suppress errors, making it very hard to figure out if there is a parse error for example
This fixes it as it add debug logs and passes the error object along with the rejection in sendRequest and does reject the promise in the queue instead of silently ignoring it
2026-01-27 18:41:37 +01:00
dependabot[bot] and Fleny
e41b0bce4d
build(deps-dev): bump @biomejs/biome from 2.3.11 to 2.3.12 ( #4711 )
...
* build(deps-dev): bump @biomejs/biome from 2.3.11 to 2.3.12
Bumps [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome ) from 2.3.11 to 2.3.12.
- [Release notes](https://github.com/biomejs/biome/releases )
- [Changelog](https://github.com/biomejs/biome/blob/main/packages/@biomejs/biome/CHANGELOG.md )
- [Commits](https://github.com/biomejs/biome/commits/@biomejs/biome@2.3.12/packages/@biomejs/biome )
---
updated-dependencies:
- dependency-name: "@biomejs/biome"
dependency-version: 2.3.12
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Update biome schema version
* Update biome in website/
* Update biome in website/
---------
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 >
2026-01-26 21:11:20 +01:00
dependabot[bot] and Fleny
a85207ee11
build(deps-dev): bump @types/node from 25.0.9 to 25.0.10 ( #4714 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 25.0.9 to 25.0.10.
- [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-version: 25.0.10
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: Fleny <Fleny113@outlook.com >
2026-01-26 21:01:43 +01:00
dependabot[bot] and Fleny
3a79a9fd56
build(deps-dev): bump @swc/core from 1.15.8 to 1.15.10 ( #4710 )
...
Bumps [@swc/core](https://github.com/swc-project/swc ) from 1.15.8 to 1.15.10.
- [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.15.8...v1.15.10 )
---
updated-dependencies:
- dependency-name: "@swc/core"
dependency-version: 1.15.10
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: Fleny <Fleny113@outlook.com >
2026-01-26 20:54:43 +01:00
Fleny
52ab9acbc6
api-docs: Update relationships.read scope description ( #4707 )
...
This now reflects the updated information about the scope, we do not include the links to the form nor the TOS & privacy policy note as those are better suited for the dev docs instead.
2026-01-23 04:16:20 +05:30
Awesome Stickz and Fleny
a794c2068a
feat(bot): add interaction.sendFollowupMessage() ( #4701 )
...
* feat(bot): add interaction.sendFollowupMessage
* fix: sendFollowupMessage return type
Co-authored-by: Fleny <Fleny113@outlook.com >
---------
Co-authored-by: Fleny <Fleny113@outlook.com >
2026-01-22 17:43:47 +01:00
Fleny
6a5c346546
feat(rest): unref queue timers to prevent process hang ( #4693 )
...
Currently if a queue is pending deletion or waiting to refill its ratelimit will keep the process alive, this is not ideal for scripts like command deployment ones
This does not impact the functionality of the queues in any way, just allows the process to exit if nothing else is pending in which case you would be loosing the ratelimit information anyway
2026-01-20 12:00:21 +05:30
dependabot[bot] and Awesome Stickz
59ca62a055
build(deps-dev): bump @swc/cli from 0.7.9 to 0.7.10 ( #4696 )
...
Bumps [@swc/cli](https://github.com/swc-project/pkgs ) from 0.7.9 to 0.7.10.
- [Commits](https://github.com/swc-project/pkgs/commits )
---
updated-dependencies:
- dependency-name: "@swc/cli"
dependency-version: 0.7.10
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: Awesome Stickz <awesome@stickz.dev >
2026-01-20 11:54:26 +05:30
dependabot[bot]
01257a83f7
build(deps-dev): bump @types/node from 25.0.6 to 25.0.9 ( #4694 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 25.0.6 to 25.0.9.
- [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-version: 25.0.9
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>
2026-01-19 16:55:29 +01:00
Awesome Stickz
8a2eb9594d
feat(bot): add options.type to interaction.respond() ( #4692 )
2026-01-18 09:07:49 +01:00
Fleny
27c261fee2
formatter: Use semicolons ( #4686 )
...
I prefer semicolors, they also help avoiding certain pitfalls in JavaScript/TypeScript, such as the following code sample:
```js
const xyz = "test"
(something.else as string) = "another"
```
This results in a TypeError: "test" is not a function, this is because js thinks we are trying to call the string "test" as a function.
To fix this it requires a `;` somewhere before the `(`, such as `;(something ... ` which in my opinion is ugly and less clean overall.
2026-01-17 21:54:15 +01:00
dependabot[bot] and Fleny
9255e296b9
build(deps): bump ws from 8.18.3 to 8.19.0 ( #4674 )
...
Bumps [ws](https://github.com/websockets/ws ) from 8.18.3 to 8.19.0.
- [Release notes](https://github.com/websockets/ws/releases )
- [Commits](https://github.com/websockets/ws/compare/8.18.3...8.19.0 )
---
updated-dependencies:
- dependency-name: ws
dependency-version: 8.19.0
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: Fleny <Fleny113@outlook.com >
2026-01-16 16:33:11 +01:00
dependabot[bot] and Fleny
2adcbc920a
build(deps-dev): bump @types/node from 25.0.3 to 25.0.6 ( #4676 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 25.0.3 to 25.0.6.
- [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-version: 25.0.6
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: Fleny <Fleny113@outlook.com >
2026-01-16 16:20:50 +01:00
8au and Fleny
bd98b3ea36
fix: shard state incorrect after receiving ready event ( #4671 )
...
* fix: shard state incorrect after receiving ready event
* chore: updated website bot guild counts
* Revert "chore: updated website bot guild counts"
This reverts commit 1eda82bb0b .
---------
Co-authored-by: Fleny <Fleny113@outlook.com >
2026-01-15 19:17:46 +01:00
Fleny
c1445e4600
fix(rest): Always encode URI component in routes ( #4609 )
...
* fix(rest): Always encode URI component in routes
Instead of using the implicit behavior of `fetch` and `Request` we do it explicitly in the routes.
* Add checks for numbers and digits-only strings
* Add option to disable uri encode
2026-01-12 12:12:54 -05:00
Fleny and Awesome Stickz
5ff9822759
fix(bot): make Interaction.guild a Partial<Guild> ( #4556 )
...
* fix(bot): make Interaction.guild a Partial<Guild>
* Update packages/bot/src/transformers/types.ts
Co-authored-by: Awesome Stickz <awesome@stickz.dev >
---------
Co-authored-by: Awesome Stickz <awesome@stickz.dev >
2026-01-09 01:52:56 +05:30
Fleny
72677dc6cc
fix(bot): Add colors to the role transformers ( #4610 )
...
It wasn't added when discord added the feature and the roleColors transformer was added
2026-01-07 14:30:40 -06:00
Fleny
ed4967751c
fix(bot): Add missing AutoModerationRuleTriggerMetadata.mentionRaidProtectionEnabled ( #4611 )
...
Also copy the comments from the Discord-prefixed type
2026-01-07 14:08:03 -06:00
Fleny
59f76685de
api-docs: Add BYPASS_SLOWMODE permission flag ( #4607 )
2026-01-07 14:03:52 -06:00
Fleny
f917b164dd
api-docs: Add entitlement delete and update webhook events ( #4627 )
2026-01-07 14:00:41 -06:00
Fleny
1b9394244b
api-docs: Guild Role Member Counts endpoint ( #4628 )
2026-01-07 13:55:42 -06:00
Fleny
8d90f28307
test: Refactor mocha config & test scripts ( #4664 )
...
* Merge mocha config file
* Simplify scripts, remove coverage path fixing
Codecov is able to fix the coverage paths on its own
* Readd coveragePathFixing script
* Fix coverage path fix script
2026-01-07 13:51:26 -06:00
Fleny and Skillz4Killz
86c5601d5e
Use a single afterEach hook to clean up resources ( #4665 )
...
Using `after` in the single tests is a bit messy as it runs after all the tests and if one fails sometime it won't run properly.
This approach uses a single `afterEach` hook to clean up all resources created during the tests after each test run.
Also remove `async` from describe functions as it is not supported and can lead to issues
Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com >
2026-01-07 13:34:38 -06:00
dependabot[bot] and Fleny
4d5acdbe66
build(deps-dev): bump @biomejs/biome from 2.3.10 to 2.3.11 ( #4668 )
...
* build(deps-dev): bump @biomejs/biome from 2.3.10 to 2.3.11
Bumps [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome ) from 2.3.10 to 2.3.11.
- [Release notes](https://github.com/biomejs/biome/releases )
- [Changelog](https://github.com/biomejs/biome/blob/main/packages/@biomejs/biome/CHANGELOG.md )
- [Commits](https://github.com/biomejs/biome/commits/@biomejs/biome@2.3.11/packages/@biomejs/biome )
---
updated-dependencies:
- dependency-name: "@biomejs/biome"
dependency-version: 2.3.11
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Update biome scheme version
* update biome in /website
---------
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 >
2026-01-05 16:37:08 +01:00
dependabot[bot]
bb6e1f2719
build(deps-dev): bump @swc/core from 1.15.7 to 1.15.8 ( #4667 )
...
Bumps [@swc/core](https://github.com/swc-project/swc ) from 1.15.7 to 1.15.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.15.7...v1.15.8 )
---
updated-dependencies:
- dependency-name: "@swc/core"
dependency-version: 1.15.8
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>
2026-01-05 16:26:25 +01:00
Louis Johnson and Fleny
288904fef9
feat(user)!: add more getters for user transformer ( #4661 )
...
* feat: enhance user tag getter
* feat(user): add `0000` condition and better jsdoc for tag
* chore(user): use this keyword instead of destructuring assignment
* fix(user): correct isLegacy logic
* feat(images): add ImageOptions
* refactor(images)!: split avatarUrl into more specific functions and add displayAvatarUrl
* feat(user)!: add more useful getters for user
* fix: update tests for images
* chore: using n suffix for bigint instead of converting to bigint
Co-authored-by: Fleny <Fleny113@outlook.com >
* fix: update dependencies for avatarUrl
Co-authored-by: Fleny <Fleny113@outlook.com >
* fix(user): correct the avatarUrl second parameter to avatar hash
Co-authored-by: Fleny <Fleny113@outlook.com >
* chore: undo unnecessary // from auto comment hotkey
Co-authored-by: Fleny <Fleny113@outlook.com >
---------
Co-authored-by: Fleny <Fleny113@outlook.com >
2025-12-31 17:46:11 +01:00
dependabot[bot] and Fleny
875a075f93
build(deps-dev): bump chai from 6.2.1 to 6.2.2 ( #4663 )
...
Bumps [chai](https://github.com/chaijs/chai ) from 6.2.1 to 6.2.2.
- [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/v6.2.1...v6.2.2 )
---
updated-dependencies:
- dependency-name: chai
dependency-version: 6.2.2
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: Fleny <Fleny113@outlook.com >
2025-12-29 14:44:26 +01:00
Louis Johnson
624364e759
feat(user)!: enhance user tag getter ( #4652 )
...
* feat: enhance user tag getter
* feat(user): add `0000` condition and better jsdoc for tag
* chore(user): use this keyword instead of destructuring assignment
* fix(user): correct isLegacy logic
2025-12-23 17:24:01 +01:00