Vlad Frangu
6a6bc63973
chore: requested cleanup
2024-09-02 22:26:25 +03:00
Vlad Frangu
b715b7d653
chore: cleanup 2
2024-09-02 22:26:25 +03:00
Vlad Frangu
2cb2d81b82
chore: cleanup changelogs
2024-09-02 22:26:25 +03:00
Vlad Frangu
0411ce268e
chore(create-discord-bot): fix changelog link
2024-09-02 22:26:25 +03:00
Vlad Frangu
584bd6f2fc
chore(core): release @discordjs/core@2.0.0
2024-09-02 22:26:25 +03:00
Vlad Frangu
c887388db6
chore(ws): release @discordjs/ws@2.0.0
2024-09-02 22:26:25 +03:00
Vlad Frangu
4059432c78
chore(proxy): release @discordjs/proxy@2.1.1
2024-09-02 22:26:25 +03:00
Vlad Frangu
6b34486f3f
chore(rest): release @discordjs/rest@2.4.0
2024-09-02 22:26:25 +03:00
Vlad Frangu
b3f3d54f18
chore(builders): release @discordjs/builders@1.9.0
2024-09-02 22:26:25 +03:00
Vlad Frangu
ea597aa886
chore(util): release @discordjs/util@1.1.1
2024-09-02 22:26:25 +03:00
Vlad Frangu
5e08ea68d2
chore(formatters): release @discordjs/formatters@0.5.0
2024-09-02 22:26:25 +03:00
Vlad Frangu
ec7b20f51d
chore(create-discord-bot): release create-discord-bot@0.3.1
2024-09-02 22:26:25 +03:00
Vlad Frangu
74df5c7fa4
chore(collection): release @discordjs/collection@2.1.1
2024-09-02 22:26:25 +03:00
Vlad Frangu
cec816f9f5
chore(brokers): release @discordjs/brokers@1.0.0
2024-09-02 22:26:25 +03:00
Vlad Frangu
3979f0b6e6
chore: add in more data to changelog entries ( #10470 )
...
* chore: add in more data to changelog entries
* chore: missed template
2024-09-02 09:26:08 +00:00
TÆMBØ
13dc779029
fix: message reaction crash ( #10469 )
2024-09-02 07:46:05 +00:00
Synbulat Biishev
fc0b6f7f8e
feat: user-installable apps ( #10227 )
...
* feat: inital user-installable apps support
* docs: add deprecation warnings
* feat: add equality checks
* fix: possibly `null` cases
* docs: tweaks
* docs: add deprecations
* fix(ApplicationCommandManager): amend transform command
* feat: properly support `integration_types_config`
* docs: add .
* docs: minor changes
* featBaseApplicationCommandData): update type
* style: prettier
* chore: fix issues
* fix: correct casing
Co-authored-by: Superchupu <53496941+SuperchupuDev@users.noreply.github.com >
* refactor: remove console log
* fix: use case that satisfies `/core` and the API
* fix: `oauth2InstallParams` property is not nullable
* fix: do not convert keys into strings
* feat: update transforer to return the full map
* feat: update transformers
* feat: add `PartialGroupDMMessageManager `
Hope this is not a breaking change
* docs: fix type
* feat: add approximate count of users property
* fix: messageCreate doesn't emit in PartialGroupDMChannel
* fix: add GroupDM to TextBasedChannelTypes
* feat: add NonPartialGroupDMChannel helper
* fix: expect PartialGroupDMChannel
* feat: narrow generic type
* test: exclude PartialGroupDMChannel
* feat: use structure's channel type
* docs: narrow type
* feat: remove transformer
* refactor: remove unnecessary parse
* feat: add APIAutoModerationAction transformer
* fix: use the right transformer during recursive parsing of interaction metadata
* docs: add external types
* docs: add `Message#interactionMetadata` property docs
* docs: make nullable
* docs: add d-docs link
* docs: use optional
* fix: make `oauth2InstallParams` nullable
* types: update `IntegrationTypesConfiguration`
Co-authored-by: Almeida <github@almeidx.dev >
* docs: update `IntegrationTypesConfigurationParameters`
Co-authored-by: Almeida <github@almeidx.dev >
* types: update `IntegrationTypesConfigurationParameters`
* refactor: improve readability
* docs: mark integrationTypesConfig nullable
* refactor: requested changes
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: Superchupu <53496941+SuperchupuDev@users.noreply.github.com >
Co-authored-by: Vlad Frangu <me@vladfrangu.dev >
Co-authored-by: Almeida <github@almeidx.dev >
2024-09-01 20:44:51 +00:00
Jaw0r3k
a5afc406b9
feat: super reactions ( #9336 )
...
* feat: super reactions
* docs: Touch-up
* feat: count super reactions in events
* feat: document me_burst property
Co-authored-by: Danial Raza <danialrazafb@gmail.com >
* feat: document type query for fetching reaction users
* fix: cover case when burstColors can be undefined at init of a reaction
* Update packages/discord.js/src/structures/MessageReaction.js
Co-authored-by: Vlad Frangu <me@vladfrangu.dev >
* chore: futureproof so use an object
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: Danial Raza <danialrazafb@gmail.com >
Co-authored-by: Vlad Frangu <me@vladfrangu.dev >
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
2024-08-27 22:30:16 +00:00
Jeroen Claassens
437437461e
chore: bump to @favware/cliff-jumper v4.1.0 and fix changelog generation ( #10459 )
...
* chore: bump to @favware/cliff-jumper v4
* chore: cleanup changelogs
* chore: set `topo_order` to `false` for cliff config
* chore: clean cliff.toml diffs
* chore(changelog): fix missing / incorrect entries
2024-08-24 13:06:35 +00:00
Almeida
e2e71b4d09
build: bump dependencies ( #10457 )
...
* build: bump `@vladfrangu/async_event_emitter`
* chore: bump again + fixes
* build: bump types/node and some dev deps
* build: bump discord-api-types again
* style: remove unused eslint-ignore comment
* build: sync dependencies and update templates
* build: bump turbo
* build: vercel + vitest
* build: bump undici
---------
Co-authored-by: Vlad Frangu <me@vladfrangu.dev >
2024-08-22 17:33:35 +02:00
Luna
bddf018f26
docs: correct documentation for BaseInteraction#inCachedGuild ( #10456 )
...
* Update BaseInteraction.js
inCachedGuild typeguard had incorrect wording
* docs: wording
---------
Co-authored-by: Almeida <github@almeidx.dev >
2024-08-22 13:05:22 +00:00
Almeida
ec9080b883
ci: skip coverage upload on missing files ( #10453 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-08-22 11:55:02 +00:00
Almeida
bba0e72e22
refactor: use get guild role endpoint ( #10443 )
...
* refactor: use get guild role endpoint
* style: import order
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-08-21 22:14:33 +00:00
Almeida
00accf7470
fix: failed build in node and bad lints ( #10444 )
...
* fix: failed build in node and bad lints
* chore: update tsconfigs
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-08-20 22:40:37 +00:00
n1ck_pro
dd795da790
fix(MessagePayload): crash when resolving body ( #10454 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-08-20 16:04:59 +00:00
Cat++
b0f8df0f6c
fix(Shard): add env, execArgv, and argv for worker-based shards ( #10429 )
...
* fix(Shard): add env, execArgv, and argv to worker-based threads
* chore: remove process only docs assertion from certain shard options
* chore: update comments for Shard.js
* refactor: Use SHARE_ENV for worker shard's env
* chore: import order
---------
Co-authored-by: Cat++ <69035887+NotGhex@users.noreply.github.com >
2024-08-20 13:33:23 +00:00
Ron Buckton
bf83db9480
fix(build): update to support strictBuiltinIteratorReturn ( #10394 )
...
* fix(build): update to support strictBuiltinIteratorReturn
* types: assert Value to be identical to InitialValue
Co-authored-by: René <9092381+Renegade334@users.noreply.github.com >
---------
Co-authored-by: ckohen <chaikohen@gmail.com >
Co-authored-by: René <9092381+Renegade334@users.noreply.github.com >
Co-authored-by: Almeida <github@almeidx.dev >
2024-08-20 10:21:19 +00:00
Almeida
1b1ae2f0cb
feat: use get sticker pack endpoint ( #10445 )
...
* feat: use get sticker pack endpoint
* fix: mark fetchPack as async
* style: resolve eslint warning
---------
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-08-20 10:13:26 +00:00
cobalt
1f7d1f8094
types: Use ThreadChannel and AnyThreadChannel consistently ( #10181 )
...
* types: Use `ThreadChannel` and `AnyThreadChannel` consistently
Signed-off-by: RedGuy12 <61329810+RedGuy12@users.noreply.github.com >
* types: use union in typeguard
Signed-off-by: cobalt <61329810+RedGuy12@users.noreply.github.com >
* types: update `AnyThreadChannel`
Signed-off-by: cobalt <61329810+RedGuy12@users.noreply.github.com >
* types: fix `CommandOptionResolver` tests
Signed-off-by: cobalt <61329810+RedGuy12@users.noreply.github.com >
* types: revert caches changes
Signed-off-by: cobalt <61329810+RedGuy12@users.noreply.github.com >
---------
Signed-off-by: RedGuy12 <61329810+RedGuy12@users.noreply.github.com >
Signed-off-by: cobalt <61329810+RedGuy12@users.noreply.github.com >
Co-authored-by: RedGuy12 <61329810+RedGuy12@users.noreply.github.com >
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: Almeida <github@almeidx.dev >
2024-08-20 10:09:13 +00:00
Naiyar
9907ff915e
feat(VoiceState): add methods for fetching voice state ( #10442 )
...
* feat(VoiceState): add methods for fetching voice state
* fix: links to new methods
* chore: remove unused import
* chore: use member id
* chore: requested changes
* chore: '@me' as fetch param
* chore: add ediUserVoiceState return type
* refactor: redirect function calls to VoiceAPI
---------
Co-authored-by: Almeida <almeidx@pm.me >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-08-20 10:02:17 +00:00
René
9b707f2b83
types(Client): EventEmitter static method overrides ( #10360 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-08-20 09:52:36 +00:00
Danial Raza
5d92525596
feat: application emojis ( #10399 )
...
* feat: application emojis
* chore: requested changes
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-08-20 09:33:25 +00:00
René
45f7e1a2e8
fix(GuildAuditLogsEntry): correct mapped AuditLogChange objects ( #10438 )
...
* refactor(GuildAuditLogsEntry): correct mapped AuditLogChange objects
* test: check union narrowing behaviour of AuditLogChange
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-08-20 09:20:35 +00:00
Lars_und_so
69adc6f4b9
feat(OAuth2API): add revokeToken method ( #10440 )
...
* feat(OAuth2API): add 'revokeToken' method
* Buffer => btoa
Co-authored-by: Almeida <github@almeidx.dev >
* Response is empty, dont return
Co-authored-by: Almeida <github@almeidx.dev >
* Redundant override
Co-authored-by: Almeida <github@almeidx.dev >
* chore: fmt
---------
Co-authored-by: Almeida <github@almeidx.dev >
Co-authored-by: Almeida <almeidx@pm.me >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-08-20 09:02:53 +00:00
Naiyar
3d37660107
build: bump discord-api-types to 0.37.96 ( #10452 )
...
* build: bump discord-api-types to 0.37.95
* feat: Add support for Automated Message nonce handling (#10381 )
* Add support for Automated Message nonce handling
* Fix options property
* Address PR feedback
* Handled case where it was explicitly set to false for that iteration to not generate a nonce, and PR feedback
* Fix lint issue
* Fix lint issue
* Move to MessagePayload.resolveBody instead
* Fix test errors
* Update packages/discord.js/src/structures/MessagePayload.js
Co-authored-by: Almeida <github@almeidx.dev >
* PR feedback
* Merge
* Let and not const
---------
Co-authored-by: Almeida <github@almeidx.dev >
Co-authored-by: Almeida <almeidx@pm.me >
* feat(Attachment): add `title` (#10423 )
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
* types: Fix wrong auto moderation target type (#10391 )
types: fix wrong auto moderation target type
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
* feat(builders): update to @sapphire/shapeshift v4 (#10291 )
feat: update to @sapphire/shapeshift v4
* refactor(actions): safer getChannel calls (#10434 )
* refactor(actions): safer getChannel calls
* chore: consistency
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
* build: bump discord-api-types tp 0.37.96
---------
Co-authored-by: Jacob Morrison <jake.morrison24@gmail.com >
Co-authored-by: Almeida <github@almeidx.dev >
Co-authored-by: Almeida <almeidx@pm.me >
Co-authored-by: Danial Raza <danialrazafb@gmail.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: Jeroen Claassens <support@favware.tech >
Co-authored-by: DD <didinele.dev@gmail.com >
2024-08-20 08:42:13 +00:00
DD
87776bb0e8
refactor(actions): safer getChannel calls ( #10434 )
...
* refactor(actions): safer getChannel calls
* chore: consistency
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-08-19 19:53:42 +00:00
Jeroen Claassens
2d5531f35c
feat(builders): update to @sapphire/shapeshift v4 ( #10291 )
...
feat: update to @sapphire/shapeshift v4
2024-08-19 18:15:30 +00:00
Jiralite
bbef68d271
types: Fix wrong auto moderation target type ( #10391 )
...
types: fix wrong auto moderation target type
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-08-19 15:34:40 +00:00
Danial Raza
c63bde9479
feat(Attachment): add title ( #10423 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-08-19 15:30:47 +00:00
Jacob Morrison
2ca187bd34
feat: Add support for Automated Message nonce handling ( #10381 )
...
* Add support for Automated Message nonce handling
* Fix options property
* Address PR feedback
* Handled case where it was explicitly set to false for that iteration to not generate a nonce, and PR feedback
* Fix lint issue
* Fix lint issue
* Move to MessagePayload.resolveBody instead
* Fix test errors
* Update packages/discord.js/src/structures/MessagePayload.js
Co-authored-by: Almeida <github@almeidx.dev >
* PR feedback
* Merge
* Let and not const
---------
Co-authored-by: Almeida <github@almeidx.dev >
Co-authored-by: Almeida <almeidx@pm.me >
2024-08-19 14:07:46 +00:00
Qjuh
8fb400827f
fix(website): duplicate method in docs when interface merging ( #10435 )
2024-08-19 15:26:08 +02:00
Almeida
bb71dc825e
build: bump discord-api-types to 0.37.94 ( #10446 )
2024-08-19 13:26:00 +00:00
DD
defb083528
fix(WebSocketShard): buffer native zlib decompression payload ( #10416 )
...
* fix(WebSocketShard): buffer native zlib decompression payload
* refactor: nit
Co-authored-by: Almeida <almeidx@pm.me >
---------
Co-authored-by: Almeida <almeidx@pm.me >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-08-15 16:15:08 +00:00
DD
a6de2707fc
refactor(WebSocketShard): error event handling ( #10436 )
...
* refactor(WebSocketShard): error event handling
* chore: blehhhh :pppp
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-08-15 16:10:25 +00:00
Almeida
432e9b8425
chore: pin /ws version in discord.js ( #10427 )
2024-08-08 21:55:34 +00:00
ckohen
54303d085d
chore: allow ! to indicate breaking changes ( #10430 )
...
* chore: allow `!` to indicate breaking changes
* chore: update commit convention too
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-08-08 21:50:20 +00:00
Almeida
5c90b7f716
revert: chore: deprecate client options presence ( #10426 )
...
Revert "chore: deprecate client options presence (#10419 )"
This reverts commit 8f97d2bacf .
2024-08-06 18:21:10 +00:00
Qjuh
f623e7a315
fix(scripts): show name of inheriting class on search index ( #10424 )
...
* fix(scripts): show name of inheriting class on search index
* fix: sanity check
2024-08-03 20:45:21 +00:00
Qjuh
bb459d95e9
refactor(website): search index name of members includes class now ( #10415 )
2024-08-02 08:24:40 +00:00
Qjuh
48682ad474
ci: fix docs source url on tag push ( #10398 )
2024-07-31 19:56:54 +00:00