Commit Graph

5733 Commits

Author SHA1 Message Date
Fleny
068ecf897b api-docs!: Remove deleteGuild & EditGuild.ownerId (#4269)
* Remove deleteGuild & EditGuild.ownerId

* Change E2E test
2025-07-31 21:05:31 +02:00
Fleny
f4098d573f api-docs: Add GUILD_TAGS guild feature (#4271) 2025-07-30 17:50:47 +02:00
Fleny
5983af8c9b api-docs!: remove editGuildMFA (#4270) 2025-07-30 17:47:51 +02:00
Fleny
979f1a248c api-docs!: Remove createGuild and createGuildFromTemplate (#4268) 2025-07-30 17:45:01 +02:00
Fleny
b6bfaa38a8 fix(types): Add missing trigger metadata values (#4260)
* Add missing triggerMetadata

* Add link for EditAutoModerationRuleOptions

* Update TriggerMetadata comments

* Apply suggestions from code review

---------

Co-authored-by: Awesome Stickz <awesome@stickz.dev>
2025-07-28 08:41:51 +02:00
Fleny
39279466ce api-docs: Add max of 512 chars on button links (#4262)
* Add max of 512 chars for button urls

* Update packages/types/src/discordeno.ts

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

---------

Co-authored-by: Link <lts20050703@gmail.com>
2025-07-28 08:38:51 +02:00
Fleny
e162543cec api-docs: Add IS_VOICE_MESSAGE to CreateMessageOptions (#4263)
* Add IS_VOICE_MESSAGE to CreateMessageOptions

* Update packages/types/src/discordeno.ts

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

---------

Co-authored-by: Link <lts20050703@gmail.com>
2025-07-28 08:36:01 +02:00
Fleny
929b1ba550 api-docs: Document automod quarantine audit log action type (#4264) 2025-07-28 08:31:04 +02:00
Fleny
a9d4bc346c api-docs: Document AUTOMOD_QUARANTINED_GUILD_TAG member flag (#4265) 2025-07-28 08:28:16 +02:00
Fleny
9f594da614 api-docs: Update the description for identity_enabled to be clearer (#4266)
* Update the description for identity_enabled to be clearer

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

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

---------

Co-authored-by: Link <lts20050703@gmail.com>
2025-07-28 08:25:22 +02:00
Fleny
ca9f4fec10 docs: Include notice of strictNullChecks being required (#4267)
And also update deno example to use v21
2025-07-28 08:21:51 +02:00
Seren_Modz 21
0ab543d02e docs(env): update dotenv install command (#4261) 2025-07-24 10:53:34 +05:30
Fleny
3b4cdf6b69 test(rest): Restore the E2E tests (#4259)
* guild.spec.ts

* automod.spec.ts

* emoji.spec.ts

* member.spec.ts

* message.spec.ts

* misc.spec.ts

* role.spec.ts

* stickers.spec.ts

* user.spec.ts

* webhook.spec.ts

* delete dd-test-emoji role
2025-07-22 19:19:14 +02:00
Seren_Modz 21
f9be7988f2 refactor: use dotenv/config instead of calling the function manually (#4258)
Signed-off-by: Seren_Modz 21 <seren@kings-world.net>
2025-07-20 18:53:43 +02:00
Fleny
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
Fleny
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
dependabot[bot]
db9f2359ab build(deps-dev): bump webpack (#4250)
---
updated-dependencies:
- dependency-name: webpack
  dependency-version: 5.100.0
  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>
2025-07-18 05:49:28 +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
Fleny
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
Fleny
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
Fleny
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
Fleny
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
Fleny
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
dependabot[bot]
d44f8619bf build(deps-dev): bump sinon from 19.0.2 to 21.0.0 (#4234)
---
updated-dependencies:
- dependency-name: sinon
  dependency-version: 21.0.0
  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-07-06 19:56:57 -05:00
dependabot[bot]
0dae57de05 build(deps-dev): bump turbo from 2.4.0 to 2.5.4 (#4235)
---
updated-dependencies:
- dependency-name: turbo
  dependency-version: 2.5.4
  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-07-06 19:56:45 -05:00
dependabot[bot]
c842a8a6c5 build(deps-dev): bump typescript from 5.7.3 to 5.8.3 (#4233)
---
updated-dependencies:
- dependency-name: typescript
  dependency-version: 5.8.3
  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-07-05 12:18:47 -05:00
dependabot[bot]
8a7d579c13 build(deps-dev): bump @swc/core from 1.10.12 to 1.12.9 (#4232)
---
updated-dependencies:
- dependency-name: "@swc/core"
  dependency-version: 1.12.9
  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-07-05 12:18:34 -05:00
dependabot[bot]
8ad145f480 build(deps-dev): bump chai and @types/chai (#4231)
---
updated-dependencies:
- dependency-name: chai
  dependency-version: 5.2.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
- dependency-name: "@types/chai"
  dependency-version: 5.2.2
  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-07-05 12:02:01 -05:00
dependabot[bot]
6696a8d81f build(deps-dev): bump @swc/core in /docker-apps/rest-passthrough (#4230)
Bumps [@swc/core](https://github.com/swc-project/swc) from 1.12.5 to 1.12.9.
- [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.12.5...v1.12.9)

---
updated-dependencies:
- dependency-name: "@swc/core"
  dependency-version: 1.12.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>
Co-authored-by: Awesome Stickz <awesome@stickz.dev>
2025-07-05 12:01:02 -05:00
dependabot[bot]
ee0c751558 build(deps-dev): bump dotenv in /docker-apps/rest-passthrough (#4229)
Bumps [dotenv](https://github.com/motdotla/dotenv) from 16.5.0 to 17.0.0.
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/motdotla/dotenv/compare/v16.5.0...v17.0.0)

---
updated-dependencies:
- dependency-name: dotenv
  dependency-version: 17.0.0
  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-07-02 10:18:55 +05:30
Fleny
c6e4fd9768 Update rest proxy to node v20 and its deps (#4226) 2025-06-21 19:38:11 +02:00
dependabot[bot]
a42ce83ab4 build(deps-dev): bump typedoc from 0.27.6 to 0.28.5 (#4211)
* build(deps-dev): bump typedoc from 0.27.6 to 0.28.5

Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.27.6 to 0.28.5.
- [Release notes](https://github.com/TypeStrong/TypeDoc/releases)
- [Changelog](https://github.com/TypeStrong/typedoc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/TypeDoc/compare/v0.27.6...v0.28.5)

---
updated-dependencies:
- dependency-name: typedoc
  dependency-version: 0.28.5
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update typedoc-plugin-markdown

---------

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-06-21 11:15:38 -05: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
dependabot[bot]
74050211e0 build(deps-dev): bump lint-staged from 15.3.0 to 16.1.0 (#4213)
Bumps [lint-staged](https://github.com/lint-staged/lint-staged) from 15.3.0 to 16.1.0.
- [Release notes](https://github.com/lint-staged/lint-staged/releases)
- [Changelog](https://github.com/lint-staged/lint-staged/blob/main/CHANGELOG.md)
- [Commits](https://github.com/lint-staged/lint-staged/compare/v15.3.0...v16.1.0)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-version: 16.1.0
  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-06-16 21:08:40 -05:00
dependabot[bot]
9ebaed633f build(deps-dev): bump @types/node from 22.13.0 to 22.15.29 (#4212)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.13.0 to 22.15.29.
- [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: 22.15.29
  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-06-15 11:38:32 -05:00
dependabot[bot]
99c8a2e780 build(deps): bump ws and @types/ws (#4144)
Bumps [ws](https://github.com/websockets/ws) and [@types/ws](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/ws). These dependencies needed to be updated together.

Updates `ws` from 8.18.0 to 8.18.1
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/8.18.0...8.18.1)

Updates `@types/ws` from 8.5.13 to 8.5.14
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/ws)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: "@types/ws"
  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: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
2025-06-15 11:24:28 -05:00
Fleny
c4f2fc2b01 feat(types,bot): add user collectibles (#4225) 2025-06-14 13:38:58 +05:30
Fleny
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
Fleny
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
Fleny
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
Fleny
04b53a68c7 fix(types): update InteractionCallbackData flags (#4221)
Co-authored-by: Awesome Stickz <awesome@stickz.dev>
2025-06-13 18:39:11 +05:30