Commit Graph
5816 Commits
Author SHA1 Message Date
FlenyandLink 2ccf3c1437 ci: Fix snyk scan (#4317)
Co-authored-by: Link <link20050703@gmail.com>
2025-08-20 20:44:11 -07:00
FlenyandLink 52fc7b8c97 build(deps-dev): Update @biomejs/biome (#4327)
Co-authored-by: Link <link20050703@gmail.com>
2025-08-20 20:39:23 -07:00
FlenyandLink b6f2d914b8 ci: Use biome ci in lib-check format (#4319)
Co-authored-by: Link <link20050703@gmail.com>
2025-08-20 20:35:25 -07:00
FlenyandLink 5d0cef5dca build(deps): Update ws & @types/ws (#4332)
Co-authored-by: Link <link20050703@gmail.com>
2025-08-20 20:32:03 -07:00
FlenyandLink 7a97340bdb build(deps-dev): Update lint-staged (#4328)
Co-authored-by: Link <link20050703@gmail.com>
2025-08-20 20:28:46 -07:00
FlenyandLink 9759eba986 ci: Specify permissions for CI (#4338)
Co-authored-by: Link <link20050703@gmail.com>
2025-08-20 19:07:49 -07:00
FlenyandLink be3e2abd69 build(deps-dev): Update @types/sinon & @types/chai-as-promised (#4331)
Co-authored-by: Link <link20050703@gmail.com>
2025-08-20 18:42:09 -07:00
Fleny a9cfdcff9a build(deps-dev): Update @swc/cli (#4329) 2025-08-20 16:15:05 -04:00
Fleny 41d58f8d2a build(deps-dev): Update turbo (#4326) 2025-08-20 16:07:22 -04:00
Fleny d5b2974d9f chore: use biome check instead of separate lint and format commands (#4320) 2025-08-20 16:03:42 -04:00
FlenyandLink 49a8cd1aa6 Double the REST E2E testing timeout (#4318)
Co-authored-by: Link <link20050703@gmail.com>
2025-08-20 12:57:40 -07:00
FlenyandLink c429ec9c36 feat(bot)!: Use an "extra" params for transformers (#4372)
Co-authored-by: Link <link20050703@gmail.com>
2025-08-20 12:10:35 -07:00
FlenyandLink 27e53b801a fix(types)!: Fix discordeno/user.ts (#4365)
Co-authored-by: Link <link20050703@gmail.com>
2025-08-20 11:11:14 -07:00
FlenyandLink df3cfebb86 chore(.github): Assign @discordeno/team to most codeowners (#4379)
* chore(.github): Add @discordeno/team to most codeowners

Also removes /.github/sync.yml, that file does not exist

* Remove explit mentions

They are already in the team, so they do get the perms anyway

* Update .github/CODEOWNERS

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

---------

Co-authored-by: Link <link20050703@gmail.com>
2025-08-20 11:52:12 -05:00
TriForMine 1801823fe6 docs(examples): fix typo in Bun usage note (#4382) 2025-08-18 13:22:40 +02:00
FlenyandLink 702b252396 fix(types)!: Fix discordeno/interactions.ts (#4360)
Co-authored-by: Link <link20050703@gmail.com>
2025-08-17 20:20:23 -07:00
FlenyandLink d79e672f5a feat(gateway): Use node:zlib zstd when available (#4373)
Co-authored-by: Link <link20050703@gmail.com>
2025-08-17 13:38:46 -07:00
FlenyandLink fca0b40be5 feat(bot)!: Make desiredProperties required (#4381)
Co-authored-by: Link <link20050703@gmail.com>
2025-08-17 13:01:58 -07:00
Fleny 83a075e64b docs: Add desired properties to examples (#4380) 2025-08-17 12:59:11 -07:00
Fleny b47feae4fa fix(bot): Remove handlers payload checks (#4374)
To remove the check from VOICE_STATE_UPDATE we need to wait for #4372 to get merged
2025-08-17 09:16:03 +02:00
Fleny 0b073a151d chore(rest): Remove todo about GET bodies (#4375)
We do not need to do anythng with GET bodies, fetch() will even throw if a body is passed to a GET
2025-08-17 09:10:46 +02:00
FlenyandLink ed85fe9a5f chore(bot): Remove incorrect joinedAt (#4376)
Co-authored-by: Link <link20050703@gmail.com>
2025-08-17 09:00:37 +02:00
Fleny 7d09a05ea1 docs: switch bigbot and caching guide position in docs (#4378) 2025-08-16 22:57:19 +05:30
Fleny 825906aed7 fix(bot): Check nullable in transformPresence (#4370)
Despite the type not having the optional, it may get called with an partial object
2025-08-16 20:53:07 +05:30
Fleny 38d1707788 fix(types)!: Fix discordeno/message.ts (#4362) 2025-08-15 22:13:02 -04:00
Fleny 84087917ef fix(types)!: Fix discordeno/channel.ts (#4355) 2025-08-15 22:09:56 -04:00
Fleny 5de802e352 fix(types)!: Fix discordeno/guild.ts (#4357) 2025-08-15 22:06:29 -04:00
Fleny d203fc780f fix(types): Fix discordeno/guildTemplate.ts (#4359) 2025-08-15 22:02:30 -04:00
Fleny ba9402e5d2 fix(types): Fix discordeno/stageInstance.ts (#4364) 2025-08-15 16:15:57 -04:00
Fleny 6f8191516a fix(types): Fix discordeno/autoModeration.ts (#4354) 2025-08-15 16:07:13 -04:00
FlenyandLink 033023f0a3 fix(types)!: Fix discordeno/guildScheduledEvent.ts (#4358)
Co-authored-by: Link <link20050703@gmail.com>
2025-08-15 15:58:01 -04:00
FlenyandLink eabf34b511 fix(types)!: Fix discordeno/application.ts (#4353)
Co-authored-by: Link <link20050703@gmail.com>
2025-08-15 15:54:00 -04:00
FlenyandLink 01dd69b482 fix(types): Fix discordeno/lobby.ts (#4361)
Co-authored-by: Link <link20050703@gmail.com>
2025-08-15 15:18:54 -04:00
FlenyandLink 511022fcd0 fix(types): Fix discordeno/emoji.ts (#4356)
Co-authored-by: Link <link20050703@gmail.com>
2025-08-15 15:11:09 -04:00
FlenyandLink 0c0ff4e07a fix(types): Fix discordeno/reference.ts (#4363)
* fix(types): Fix discordeno/reference.ts

* Apply suggestions from code review

---------

Co-authored-by: Link <link20050703@gmail.com>
2025-08-15 14:15:31 -04:00
Link 8b41c9fe24 feat(bot,rest,types)!: Remove Discord JSON Params (#4351)
- Remove `createApplicationCommand` reverse transformer (Unused - `createGuildApplicationCommand` and `createGlobalApplicationCommand` use `snakelize`)
- Remove `DiscordModifyChannel`, `DiscordFollowAnnouncementChannel`, `DiscordCreateForumPostWithMessage`, `DiscordCreateGuildEmoji`, `DiscordModifyGuildEmoji`, `DiscordCreateGuildChannel`, `DiscordModifyGuildChannelPositions`, `DiscordCreateApplicationCommand`, `DiscordCreateMessage`, and `DiscordCreateWebhook` (unused)
- Remove `DiscordModifyGuildWelcomeScreen` (and replace it with `ModifyGuildWelcomeScreen`)

Fixes: https://github.com/discordeno/discordeno/issues/4308
2025-08-15 13:35:25 -04:00
Link 8baea8c771 feat(bot,rest,types): Add withLocalization (#4350)
- Add `withLocalization` to `getGlobalApplicationCommands` and `getGuildApplicationCommands`

fixes: https://github.com/discordeno/discordeno/issues/4340
2025-08-15 08:20:29 +02:00
Fleny 9de5d93014 feat(bot): Add guildId to ThreadMember (#4335) 2025-08-14 19:21:22 -07:00
Link af2b0cca2e fix(types)!: Rename CreateEntitlement to CreateTestEntitlement (#4346) 2025-08-14 21:12:16 +02:00
Fleny 6679f2c0e4 chore(bot,utils): Move snowflake utils to @discordeno/utils (#4345) 2025-08-14 12:08:19 -07:00
FlenyandLink 247fd4b348 fix(rest): Rewrite rest.simplifyUrl (#4305)
* fix(rest): Rewrite rest.simplifyUrl

* Update packages/rest/src/manager.ts

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

---------

Co-authored-by: Link <lts20050703@gmail.com>
2025-08-14 20:38:03 +02:00
Fleny 86f8fbd589 fix(bot)!: Remove InternalBot, add messagePin transformer (#4302) 2025-08-14 18:43:34 +02:00
FlenyandLink 65cbe5d1e6 fix(types)!: Split and fix discordeno.ts (#4301)
* fix(types)!: Split and fix discordeno.ts

* fix some mistakes

* remove now not needed @ts-expect-error

* Apply code review suggestions

* Fix test type errors

* Revert "Apply code review suggestions"

This reverts commit 7a0cea84b3.

* Restore some of the changes from the revert

---------

Co-authored-by: Link <lts20050703@gmail.com>
2025-08-14 18:37:52 +02:00
Fleny d50d47ec99 feat(gateway)!: Rename shard.events.identified to shard.events.ready (#4334) 2025-08-14 08:29:19 +02:00
ratniaandFleny 4c70f0ed54 Adding the new Stuffs on README.md (#4282)
* changes and add stuffs

* bring the file back and put the same changes

* Notice it

* Update gateway.ts

* Move getting started, use > [!TIP] for tips

---------

Co-authored-by: Fleny <Fleny113@outlook.com>
2025-08-13 21:06:45 +02:00
Fleny b70cf76165 feat(bot)!: Remove bot.events.guildUnavailable (#4336)
It is now merged with the guildDelete event
2025-08-13 16:18:03 +05:30
Fleny 51158071ad api-docs!: remove GetInvite.withExpiration, remove optional from DiscordInvite.expires_at (#4321) 2025-08-13 11:09:39 +02:00
Fleny a5a3e412ac Remove the deno benchmark code (#4322)
This is not the actual benchmark we have (and we don't even run the one we do have)
instead this is a Deno version of the benchmark and i can't find anything
that uses this benchmark

This is also somewhat annoying to keep as something the Typescript Server
may decide to typecheck those files and it will complain no stop because
it can't find what `Deno` is and doesn't understand importing urls
2025-08-13 10:58:14 +02:00
Fleny f4eb8f1f67 build(deps): Update fastify in docker-apps/rest-passthrough (#4324) 2025-08-13 10:51:50 +02:00
Fleny 6ed7cfc8a8 build(deps): Migrate to React Flow v12 and update website dependencies (#4330)
* build(deps): Update dependencies in website

* Update reactflow to @xyflow/react
2025-08-13 10:39:15 +02:00