Commit Graph
100 Commits
Author SHA1 Message Date
FlenyandLink 1cb60c909c Split extra fields into their own types (#4256)
* Split extra fields into their own types

For now they are added back to the types they belong to to avoid
breaking in this pr

* fix type errors

* Fix typo 1

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

* Fix typo 2

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

* Use omit and not partial on guild voice_states

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

* Remove unused `ts-expect-error`

---------

Co-authored-by: Link <lts20050703@gmail.com>
2025-07-20 18:47:30 +02:00
FlenyandLink 08a47e6872 feat(types): Add new rich presence url & status display type fields (#4255)
* feat(types): Add new rich presence url & status display type fields

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

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

* Use examples in DiscordStatusDisplayType

---------

Co-authored-by: Link <lts20050703@gmail.com>
2025-07-20 18:44:10 +02:00
Fleny 59cdefa2a2 Fix broken e2e (by removing tests) (#4257) 2025-07-20 17:50:00 +02:00
Fleny 4e25c94fdf Add readme to discordeno package (#4254) 2025-07-18 20:53:26 +02:00
Fleny aa5982ae26 fix(types): Add GuildScheduledEvent to DiscordAuditLogChange (#4249) 2025-07-13 23:58:16 +05:30
Fleny 2e0cf1f2ee fix(types): Avoid adding undefined to DiscordAuditLogChange (#4248) 2025-07-13 18:26:49 +05:30
Fleny 5f8f6db9fa fix(types): Add missing props to ExecuteWebhook (#4247)
And sort them to match the table on the discord docs
2025-07-13 18:15:38 +05:30
Fleny 936a09ec6c fix(rest): Use .startsWith on the Content-Type check (#4244)
* fix(rest): Use `.startsWith` on the Content-Type check

* Fix type error
2025-07-13 09:02:20 +02:00
Fleny 76e64ce748 feat!: Add invite flags for guest invites (#4237)
* sort GuildFeatures

* Add invite flags for guest invites

* fix desired props type error
2025-07-12 09:42:21 +02:00
Fleny 03734ea6a1 fix(types): EditGuildOnboarding params are optional (#4236) 2025-07-12 09:34:30 +02:00
FlenyandLink 612ac26ea7 feat(types,rest,bot): Updated message pin endpoints (#4228)
* feat: Updated message pin endpoints

* Apply suggestions from code review

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

---------

Co-authored-by: Link <lts20050703@gmail.com>
2025-07-12 09:30:35 +02:00
FlenyandLink cb8176c623 feat: user tags (#4238)
* feat: user tags

* Apply suggestions from code review

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

---------

Co-authored-by: Link <lts20050703@gmail.com>
2025-07-12 09:25:31 +02:00
Fleny 8e637731e8 feat(rest): use a custom inspect for errors 2025-07-12 11:38:08 +05:30
Fleny 409360a595 Fix some falsy values not in transformed objects (#4242) 2025-07-11 19:42:47 +05:30
FlenyandAwesome Stickz 598b839af7 Bump patch version when bumping release by commit (#4240)
Co-authored-by: Awesome Stickz <awesome@stickz.dev>
2025-07-07 13:37:06 +05:30
FlenyandAwesome Stickz 07a094e7e4 feat: role gradient colors (#4239)
* sort GuildFeatures

* feat: role gradient colors

* Use deprecated jsdoc tag

---------

Co-authored-by: Awesome Stickz <awesome@stickz.dev>
2025-07-07 13:06:31 +05:30
FlenyandAwesome Stickz 60c8d3e9ac Add customizers for colleactibles and nameplate (#4241)
They exited in the types but didn't in the runtime object causing a runtime error when the code needed to transform a nameplate

Co-authored-by: Awesome Stickz <awesome@stickz.dev>
2025-07-07 12:58:04 +05:30
Fleny c6e4fd9768 Update rest proxy to node v20 and its deps (#4226) 2025-06-21 19:38:11 +02:00
Fleny 2ae8690faa ci: Use node v20 in CI (#4203)
* Use node v20 in CI

* Revert unit tests to use node 18

* Revert "Revert unit tests to use node 18"

This reverts commit 61dbd272f0.
2025-06-21 11:08:25 -05:00
Fleny c4f2fc2b01 feat(types,bot): add user collectibles (#4225) 2025-06-14 13:38:58 +05:30
FlenyandAwesome Stickz f500c00434 feat(bot,types): Add name and size to FileComponent (#4224)
* feat(bot,types): Add name and size to FileComponent

* fix ci

* more fix ci

---------

Co-authored-by: Awesome Stickz <awesome@stickz.dev>
2025-06-13 18:59:53 +05:30
FlenyandAwesome Stickz 2f06b95f37 feat(types,bot): Add attachment_id to UnfurledMediaItem (#4223)
* feat(types,bot): Add attachment_id to UnfurledMediaItem

* fix ci

---------

Co-authored-by: Awesome Stickz <awesome@stickz.dev>
2025-06-13 18:53:59 +05:30
FlenyandAwesome Stickz adc10e3b28 feat(types,bot): approximate_user_authorization_count (#4222)
Co-authored-by: Awesome Stickz <awesome@stickz.dev>
2025-06-13 18:47:41 +05:30
FlenyandAwesome Stickz 04b53a68c7 fix(types): update InteractionCallbackData flags (#4221)
Co-authored-by: Awesome Stickz <awesome@stickz.dev>
2025-06-13 18:39:11 +05:30
FlenyandAwesome Stickz 4b30c24f8d Add application deauthorized webhook event (#4217)
Co-authored-by: Awesome Stickz <awesome@stickz.dev>
2025-06-13 18:18:50 +05:30
FlenyandJonathan Ho 70bcd16e8d chore(website): Update docusarus v3.8, improve build perf (#4209)
* Update docusaurus to v3.8, improve performance

Docusaurus:
- Update to v3.8.0
- Enable new faster features, rspack bundler cache and worker threads
- Update CI to cache rspack bundler cache
- Update dependencies to latest versions
- Update blog posts to use the truncate tag
- Update caniuse-lite

Removed duplicated type documentation generation for bot package

* Use .jsonc files for typedoc
And use the readme option instead of a custom script

* remvoe typedoc script

---------

Co-authored-by: Jonathan Ho <heiheiho000@gmail.com>
2025-06-02 07:47:19 +02:00
Fleny f811178f59 Remove default command contexts sentence (#4210) 2025-06-01 14:08:17 +05:30
Fleny 90f0507af0 feat(utils): animated webp emojis (#4199) 2025-06-01 08:28:27 +02:00
Fleny b537c06a72 fix(types): Specify that IsComponentV2 is permanent (#4202) 2025-06-01 08:24:24 +02:00
Fleny ef5cf54c66 fix(bot): Use an object to present desired properties errors (#4208)
* Use DesiredPropertiesError instead of strings

Using an object allows typescript to error in more cases as with strings
if the original propriety was a string it would not error for stuff like
`.endsWith(...)`

We use a symbol to make sure the type doesn't actually become a generic
object, but instead is a specific type that can be checked against.

* Update docs
2025-06-01 08:20:16 +02:00
Fleny 5cb7c1d1d2 example(bigbot): Spawn one shard at a time (#4127)
* Spawn one shard at a time

* remove useless code in ShardIdentified handling

* update comment on tellWorkerToIdentify

* fix mistake

* Use request identify

This also makes some unrelated changes needed to make the example
comple when using the build from this branch.

* remove debug logs
2025-05-25 14:00:47 +05:30
FlenyandAwesome Stickz cafc5713ab fix(types, bot): Clarify interaction.message comment (#4201)
Co-authored-by: Awesome Stickz <awesome@stickz.dev>
2025-05-24 03:45:23 +05:30
Fleny b0d4309ec5 fix(types): Add missing limits on alts for media (#4200)
x
2025-05-24 03:38:47 +05:30
Fleny 17dc876a9e fix(bot): Add entitlements to interactions (#4198)
* Add entitlements to interactions

* fix type error
2025-05-24 03:24:21 +05:30
Fleny 2eace55b9b Specify when IS_COMPONENT_V2 is valid for flags (#4195) 2025-05-19 01:48:16 +05:30
FlenyandAwesome Stickz 059c6a9797 fix(bot): don't override flags when isPrivate (#4191)
Co-authored-by: Awesome Stickz <awesome@stickz.dev>
2025-05-10 21:21:00 +02:00
Fleny 83d329c374 Remove shardIsReady (#4190) 2025-05-11 00:44:42 +05:30
FlenyandAwesome Stickz b14328240b refactor(gateway): Improve request identify flow (#4126)
* Improve request identify flow

* Use leaky bucket for requestIdentify

* Revert behavior change to identify

* Move approved request identify to requestIdentify

* Apply some suggestions from code review

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

* move request identify to identify

* remove requestIdentify call from manager

* Add flag to skip requestIdentify in shard identify

* Add logs about socket creation

* Update newly added logs

* change "shard" to "Shard"

---------

Co-authored-by: Awesome Stickz <awesome@stickz.dev>
2025-05-10 16:46:30 +05:30
Fleny 9afd5cc350 Remove comment limit on number of component (#4189)
The limit is still in place however it is 40 total,
so it is a bit more complicated to explain and the discord docs
are better at doing so than what we can do with JSDoc
2025-05-05 22:18:19 +05:30
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
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
FlenyandLTS 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
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
FlenyandAwesome Stickz 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
FlenyandAwesome Stickz 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
FlenyandAwesome Stickz 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
FlenyandAwesome Stickz 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
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
Fleny 039c1945cc Use tsc to build instead of swc (#4128) 2025-02-12 19:23:28 +01:00
FlenyandLTS 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
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
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
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
FlenyandITOH 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
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
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
Fleny 8aea9e3d58 fix(bigbot): Fix docker rabbitmq (#4066) 2024-12-30 18:10:06 +01:00
Fleny 46c7dbf491 Remove yarn postinstall mention (#4063) 2024-12-29 02:30:08 +05:30
Fleny afb9e3a453 chore: Bump to v21 (#4062) 2024-12-28 21:51:59 +01:00
FlenyandAwesome Stickz 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
Fleny 01638a075f Add renewalSkuIds to subscription (#4049) 2024-12-26 12:47:54 +01:00
Fleny bee999b001 Add bluesky and mastodon to the connections (#4051) 2024-12-23 00:16:04 +05:30
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
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
Fleny 527ef5d733 Update examples to v20 (#4032) 2024-11-28 16:48:14 -06:00
Fleny 58fccd8d14 Update package.json(s) for v20 (#4030) 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
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
Fleny c6f04be311 Add the /desired-props redirect (#4013)
And update docusaurus dependencies
2024-11-24 17:40:17 +05:30
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
FlenyandH01001000 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
FlenyandSkillz4Killz 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
Fleny fb9aac0531 Remove turbo cache from release (#3995) 2024-11-19 16:43:17 -06:00
Fleny 4939822434 docs: Update desired properties docs (#3940)
* Update docs for desired properties

* Update examples to use createBot desiredProperties

The BigBot and reaction roles examples use the Discordeno CLI

* Migrate examples to v19 stable

* Docs work
2024-11-19 16:40:01 -06:00
Fleny cf5e0336c4 Add id-token permission to release workflow (#3989) 2024-11-17 11:34:47 -06:00
Fleny 1e8873b3cb ci: Release v19 (#3988)
* Bump to 19.0.0, Add conditions for CI release

* Use next tag instead
2024-11-17 11:25:37 -06:00
Fleny 2762b483ec chore(discordeno)!: Remove CLI (#3980)
* Remove the CLI

* Update lockfile

* Fix CI
2024-11-17 08:39:18 -06:00
Fleny f40da4c1cf feat(bot)!: Add type helpers for type-level based desired props (#3954)
* Add type helpers for typeLevel based desired props

This also fixes / added a few stuff that was missing in exiting
types & transformers, however due to this a few transformers got a
breaking change due to the need to pass down the shardId

* Fix benchmark type error

* Add the generics to createBot / Bot / ..

This caused a lot of breaking changed due to the required generics on a
bunch of types

* Fix benchmark type error?

* Fix benchmarks type error

* Fix E2E test type error

* remove defaultDesiredPropertiesValue

* Remove `internal` jsdoc from CompleteDesiredProprieties

* Add tests for createDesiredPropertiesObject

* Fix interaction.bot type

* Remove Capitalize type helper

It is already built-in into typescript as an intrinsic

* Fix typo

* Update message on missing desired properties

* Fix CI

* Move infer types to 'transformers.$inferredTypes'

* Fix CI

* Fix CI, again

* Use GatewayHandlers in params of create function

* change default behavior to remove key

* Fix CI

* fix types for e2e test
2024-11-17 08:37:41 -06:00
Fleny 5f1ee0f42c Fix incorrect type in interaction.respond (#3979)
This also changes the way we type our base structures, as using as was
suppressing errors such as the one fixed in this pr
2024-11-10 19:53:34 +05:30
Fleny 8188e85115 chore(website): Enable docusaurus future.experimental_faster (#3978)
This will use rspack and swc to speed up the build process
2024-11-09 18:30:30 +01:00
FlenyandAwesome Stickz cfdf77027a refactor(types,utils,rest,bot)!: Cleanup types & files (#3951)
* Cleanup some un-used & sort types, split files

* Remove commented code from reverse/component.ts

* Fix type error on the bot E2E test

* Add comment, remove DiscordInteractionResponse

* Remove camel.ts

* Error on unusedImport, refactor type imports

* Run biome check

* fix: typo

* Update comments for skuId and defaultValues

---------

Co-authored-by: Awesome Stickz <awesome@stickz.dev>
2024-11-09 17:27:55 +01:00