Commit Graph
311 Commits
Author SHA1 Message Date
Fleny e020289b7c feat: threadMemberGuildCreate partial transformer 2026-08-20 14:22:49 +02:00
Fleny 4533e908b7 feat: threadMember partial transformer 2026-08-20 14:22:28 +02:00
Fleny 5d7c6cbc5b feat: template partial transformer 2026-08-20 14:21:40 +02:00
Fleny c792010203 feat!: team partial transformer 2026-08-20 14:21:01 +02:00
Fleny 15973c32ee feat!: stickerPack partial transformer 2026-08-20 13:50:40 +02:00
Fleny 0bfd2bd66c feat!: interactionDataOptions partial transformer 2026-08-20 13:49:44 +02:00
Fleny 55c2f337be feat: integration partial transformer 2026-08-20 13:47:47 +02:00
Fleny 29303704f4 feat: gatewayBot partial transformer 2026-08-20 13:41:43 +02:00
Fleny 89610cde2b feat: embed partial transformer 2026-08-20 13:38:36 +02:00
Fleny e692b24ba3 feat!: automodRule partial transformer 2026-08-20 13:31:23 +02:00
Fleny d06749ec43 feat!: automodActionExecution partial transformer 2026-08-20 13:26:11 +02:00
Fleny c7cc8675fd feat: auditLogEntry partial transformer 2026-08-20 13:19:00 +02:00
Fleny 4c9daa1c8f feat!: applicationCommandPermission partial transformer 2026-08-20 13:13:07 +02:00
Fleny e9c45c39e7 feat: applicationCommandOptionChoice partial transformer 2026-08-20 13:04:45 +02:00
Fleny 5fb30b6e8b feat: applicationCommandOption partial transformer 2026-08-20 13:03:19 +02:00
Fleny 82d211b0f0 feat: applicationCommand partial transformer 2026-08-20 13:01:35 +02:00
Fleny 2e98810917 feat: Make activity assets transformers support partial payloads 2026-08-20 12:58:40 +02:00
Fleny 6683557ac3 feat: Make activity transformers support partial payloads 2026-08-20 12:57:02 +02:00
FlenyandAwesome Stickz f20c2b7300 feat: Add file type filtering for modals & / commands (#5236)
* feat: Add file type filtering for modals & / commands

* Add fileTypes to ApplicationCommandOption

* update comments

---------

Co-authored-by: Awesome Stickz <38146668+AwesomeStickz@users.noreply.github.com>
2026-08-14 22:19:09 +05:30
Fleny 5f7a06ccc5 feat: Add VR client status support (#5270) 2026-08-04 20:55:22 +05:30
a6b940677e feat(rest): add guild message search support (#5233)
* feat(rest): add guild message search support

* fix(types): address guild message search review feedback

* Update packages/rest/src/routes.ts

Co-authored-by: Awesome Stickz <38146668+AwesomeStickz@users.noreply.github.com>

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

Co-authored-by: Awesome Stickz <38146668+AwesomeStickz@users.noreply.github.com>

* Update packages/rest/src/routes.ts

Co-authored-by: Awesome Stickz <38146668+AwesomeStickz@users.noreply.github.com>

* apply requested changes

---------

Co-authored-by: Fleny <Fleny113@outlook.com>
Co-authored-by: Awesome Stickz <38146668+AwesomeStickz@users.noreply.github.com>
2026-08-02 10:25:05 +02:00
FlenyandLink 4581222cf4 feat(transformers)!: Partial transformers (#4436)
* 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.

* feat(transformers)!: Handle partials in transformers

* Add expiresAt to invite create event

* Use Equals helper, clean up a bit the code

* Explicit the IsKeyDesired TProps never behavior

* Fix type errors

* format

* Add all trasformer objects to bot.transformers.$inferredTypes

* Use transfromerInformations for bot.transformers.$inferredTypes

* code review

* code review

* fix component transformer

* fix

* Update packages/bot/src/transformers/types.ts

* Fixes from Tri (+ GPT sol) code review

---------

Co-authored-by: Link <link20050703@gmail.com>
2026-07-31 15:12:15 +05:30
Flenyandstickz eb4cdaa0f5 fix: Add missing collectibles field to guild member (#5197)
* fix: Add missing collectibles field to guild member

* Update packages/bot/src/transformers/types.ts

Co-authored-by: stickz <38146668+AwesomeStickz@users.noreply.github.com>
2026-07-30 12:42:05 +05:30
Flenyandstickz 5fc932f473 feat!: Document more attachment flags and fields (#5234)
* feat: Document more attachment flags and fields

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

Co-authored-by: stickz <38146668+AwesomeStickz@users.noreply.github.com>

* fix!: Add missing optionals, remove EmbedThumbnail
2026-07-30 12:39:32 +05:30
FlenyandAwesome Stickz 15511d2ddf feat: shared client theme (#5195)
* feat: shared client theme

* fix missing ? and comment in CreateMessageOptions

* Apply suggestions from code review

Co-authored-by: Awesome Stickz <38146668+AwesomeStickz@users.noreply.github.com>

* replace message transformer CRLF with LF

* fix type error
2026-07-29 17:47:43 +05:30
FlenyandAwesome Stickz ce2272e359 feat: Add lobby messages and lobby invites (#5232)
* feat: Add lobby messages and lobby invites

* Update packages/bot/src/transformers/lobby.ts

Co-authored-by: Awesome Stickz <38146668+AwesomeStickz@users.noreply.github.com>
2026-07-29 17:13:11 +05:30
Fleny ec8852740d feat: Add bulk update lobby members endpoint (#5231) 2026-07-29 11:36:23 +05:30
Fleny fa338e6447 feat: Add deleteCurrentUserApplicationRoleConnection endpoint (#5230) 2026-07-29 11:30:08 +05:30
Fleny 57c1a0191a feat: Add channelType to DiscordMessageCreateExtra (#5202) 2026-07-29 11:27:11 +05:30
Fleny 3bdc792c25 feat: server-side lobby message moderation metadata API (#5191) 2026-07-29 11:24:17 +05:30
Fleny b481d0a96e feat: add app_permissions to channel resolved data (#5185) 2026-07-29 11:21:22 +05:30
Fleny 98f87b9bf7 fix!: Match the Activity and DiscordActivity structure (#5180) 2026-07-26 06:08:51 +05:30
Fleny 2b90d29f68 fix!: Use "age-restricted" terminology instead of "nsfw" (#5189) 2026-07-26 05:57:19 +05:30
Fleny 834f4fa718 fix: unit of bitrate fields in bits per second (#5194) 2026-07-26 05:49:22 +05:30
Fleny aa5dd155cf fix: user global_name description for bots (#5196) 2026-07-26 05:42:51 +05:30
Fleny c0a149f7a3 fix: Add missing banner in reverse member transformer (#5203) 2026-07-26 05:23:27 +05:30
Fleny c3e9a790fc feat: Application flags_new property (#5172)
* feat: Application flags_new property

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

* run biome
2026-07-24 18:04:42 +05:30
FlenyandAwesome Stickz b08617364a fix: Call the reverse transformer for applicationCommand (#5154)
Co-authored-by: Awesome Stickz <38146668+AwesomeStickz@users.noreply.github.com>
2026-07-17 00:25:17 +05:30
Fleny c60a7bb844 fix: Use correct fields in activity reverse transformer (#5153) 2026-07-17 00:15:54 +05:30
Awesome Stickz f334bb8f6c refactor(rest)!: rename rest.editBotMember() to rest.editCurrentMember() to be consistent with rest.getCurrentMember() (#5104)
* refactor(rest)!: rename rest.editBotMember() to rest.editCurrentMember() to be consistent with rest.getCurrentMember()

* refactor(type)!: rename ModifyCurrentMemberOptions to ModifyCurrentMember to be consistent with other types
2026-06-24 16:18:13 +05:30
Awesome StickzandFleny b52313edbc docs(types): update slowmode-bypassing permission information in the channel object (#4980)
Co-authored-by: Fleny <Fleny113@outlook.com>
2026-04-22 19:53:19 +02:00
Awesome Stickz ad2a561ceb fix(types): make value of emoji property in DiscordButtonComponent and DiscordSelectOption partial (#4869)
* fix(types): make value of emoji property in DiscordButtonComponent and DiscordSelectOption partial

* fix: type error

* don't partial tranformer

* undo partial in EmojiToggles
2026-04-05 03:35:22 +05:30
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
FlenyandAwesome 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
dependabot[bot]andFleny 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
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
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