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
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
Vlad Frangu
057fc89c92
chore: update emails ( #10364 )
...
* chore: update Vlad's email
* chore: my email too
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-07-31 19:45:07 +00:00
Danial Raza
dc13324ddc
build: bump discord-api-types to 0.37.93 ( #10404 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-07-31 19:35:01 +00:00
DD
de94eaf351
feat(WebsocketManager): retroactive token setting ( #10418 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-07-31 11:46:39 +00:00
DD
8f97d2bacf
chore: deprecate client options presence ( #10419 )
...
* chore: deprecate client options presence
* chore: deprecate in typings
* fix: actually use the new prop
* chore: nit
Co-authored-by: Almeida <almeidx@pm.me>
* fix: use correct prop
---------
Co-authored-by: Almeida <almeidx@pm.me>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-07-31 11:20:49 +00:00
DD
5eabec14d4
fix(WebSocketManager): heartbeat event had outdated types ( #10417 )
2024-07-31 07:40:36 +00:00
Jiralite
785ec8fd75
docs: Lowercase "image" URL ( #10386 )
...
docs: lowercase i
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-07-28 13:44:05 +00:00
René
6b383350a6
types(collection): reduce* method signatures ( #10405 )
...
* types(collection): reduce* method signatures
* test: explicit expect() types
* test: add tests for arbitrary accumulator type
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-07-28 13:37:45 +00:00
DD
bf6761a44a
refactor(ws): event layout ( #10376 )
...
* refactor(ws): event layout
BREAKING CHANGE: All events now emit shard id as its own param
* fix: worker event forwarding
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-07-24 18:40:34 +00:00
Danial Raza
fcd35ea2e7
feat: add subtext formatter ( #10400 )
...
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>
2024-07-24 10:23:55 +00:00
Amgelo563
b2970bb2dd
feat(SlashCommandBuilder): Add explicit command type when building ( #10395 )
...
* feat(SlashCommandBuilder): add explicit command type when building
* test: add tests
* chore: merge import
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>
Co-authored-by: almeidx <github@almeidx.dev>
2024-07-21 15:08:24 +00:00
Qjuh
efa16a6095
fix(website): links to enum members from excerpts ( #10388 )
2024-07-13 18:06:25 +00:00
DD
be04acd534
fix: retry for EAI_AGAIN I/O error ( #10383 )
2024-07-11 12:53:49 +00:00
Jiralite
9461045e5a
refactor(GuildChannelManager): Remove redundant edit code ( #10370 )
...
refactor(GuildChannelManager): remove redundant edit code
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-07-10 13:41:04 +00:00
Almeida
3654efede2
feat(GuildAuditLogsEntry): onboarding events ( #9726 )
...
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-07-09 18:58:11 +00:00
Almeida
d8e94d8f10
test: complete collection coverage ( #10380 )
2024-07-06 20:32:01 +00:00
Jiralite
4f59b740d0
feat: Premium buttons ( #10353 )
...
* feat: premium buttons
* docs: deprecation string
* feat(InteractionResponses): add deprecation message
* feat(builders): add tests
* chore: remove @ts-expect-errors
* test: update method name
* refactor(formatters): stricter types
* docs: deprecate method in typings
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-07-04 18:57:35 +00:00
DD
093ac924ae
feat(WebSocketShard): explicit time out network error handling ( #10375 )
...
* feat(WebSocketShard): explicit time out network error handling
* refactor: use constant
2024-07-02 20:25:22 +00:00
Jiralite
ab8bf0f4d2
fix(GuildMemberManager): Fix data type check for add()
method ( #10338 )
...
fix(GuildMemberManager): fix data type check
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-06-29 06:48:32 +00:00
TÆMBØ
9c76bbea17
feat: add user-installable apps support ( #10348 )
...
* feat(SlashCommandBuilder): `addContexts()` and `addIntegrationTypes()`
* Add methods to ContextMenuCommandbuilder
* Fix JSDoc
* Use `setX` over `addX`
* Fix tests
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>
2024-06-27 18:56:47 +00:00
Jiralite
b8397b24e5
types(ApplicationCommandManager): Snowflake
fetch ( #10366 )
2024-06-27 11:27:59 +00:00
Jiralite
15021990e8
build: Bump discord-api-types to 0.37.90 ( #10354 )
...
build: bump discord-api-types
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-06-18 18:37:16 +00:00
DD
9c8784fe51
fix: package gen script ( #10352 )
...
* fix: package gen script
* fix: files without extensions didn't have handlebars stripped
* chore: requested change
2024-06-18 09:55:02 +00:00
Qjuh
b0e57126dc
fix(website): link tags to events named same as methods ( #10351 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-06-17 13:26:58 +00:00
Jiralite
38c699bc8a
fix: Consistent debug log spacing ( #10349 )
...
* fix: consistent debug log spacing
* refactor: simplify formatting
* refactor: more readable ternary
Co-Authored-By: Synbulat Biishev <contact@syjalo.dev>
* fix: modify parameters and types
---------
Co-authored-by: Synbulat Biishev <contact@syjalo.dev>
2024-06-13 16:07:37 +00:00
Qjuh
c5d40d3807
fix(website): remove merged interface from sitemap ( #10343 )
2024-06-09 19:07:33 +00:00
Danial Raza
68031210f5
feat(Message): add call
( #10283 )
...
* feat(Message): add `call`
* refactor: make `endedAt` a getter
* types: fix `endedAt` return type
* types(Message): add `call` property
* docs: requested changes
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>
2024-06-08 20:30:21 +00:00