Jiralite
6a0cd82566
chore(builders): increase @discordjs/builders version
2026-03-31 18:35:30 +01:00
Jiralite
2eaec32414
chore(builders): release @discordjs/builders@1.14.1
2026-03-31 18:25:46 +01:00
ducktrshessami
6e45ddc067
fix: actually accept rest in RadioGroup/CheckBoxGroupBuilder#setOptions ( #11472 )
2026-03-31 19:21:57 +02:00
Vlad Frangu
eee6f948ee
chore(discord.js): release discord.js@14.26.0
2026-03-31 11:30:58 +03:00
Qjuh
45bd430c0d
feat: allow partial DMChannel without client user ( #11462 )
...
* feat(DMChannel): allow partial DMChannel without client user
* chore: apply code review comments
* chore: apply code review suggestion
2026-03-27 14:34:33 +01:00
Vlad Frangu
d20e10305b
chore(builders): release @discordjs/builders@1.14.0
2026-03-23 02:02:08 +02:00
Vlad Frangu
f7bc2d0db8
chore(rest): release @discordjs/rest@2.6.1
2026-03-23 01:32:17 +02:00
Jiralite
baeeb38185
build: upgrade Undici
2026-03-19 08:03:53 +00:00
Jiralite
1a0da18b36
fix: Remove manage messages check for pinnable ( #11453 )
...
fix: remove manage messages check
2026-03-18 19:40:12 +00:00
faceboy
ca7719e822
feat(builders): add checkbox, checkboxgroup, and radiogroup builders ( #11410 )
...
* feat(builders): add checkbox, checkboxgroup, and radiogroup builders
* Update packages/builders/src/components/checkbox/Assertions.ts
fix incorrect wording about default option count in radio groups
Co-authored-by: Qjuh <76154676+Qjuh@users.noreply.github.com >
* fix(builders): remove length validators from add/splice options
* chore: remove directives
* fix(builders): documentation fixes
* fix(builders): return Result.err instead of throw in validators
---------
Co-authored-by: Qjuh <76154676+Qjuh@users.noreply.github.com >
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2026-03-11 13:39:16 +01:00
faceboy
ec5d921b75
docs(builders): edited docs to correctly link to splice ( #11430 )
...
fix(builders): edited docs to correctly link to splice
StringSelectMenuBuilder.splice()'s docs incorrectly linked to slice instead of splice in MDN docs, fixed that
2026-03-11 08:14:49 +00:00
Naiyar
b42e499410
feat: modal radio group and checkbox components for v14 ( #11437 )
...
feat: modal radio group and checkbox components
* feat: radio group and checkbox component in modal
* chore: some doc and type fixes
* chore: missing types
* chore: update component names
* docs: radio group value now returns null if not selected
* Remove empty line at the beginning of ModalSubmitInteraction.js
* Change value property to be nullable in RadioGroupModalData
* chore: review
* chore: missing "type"
* chore: suggestion
* chore: review
---------
Co-authored-by: Almeida <github@almeidx.dev >
2026-03-11 09:11:29 +01:00
Qjuh
374a6785ae
ci: fix docs workflow on v14 tag push ( #11438 )
2026-03-05 15:14:09 +01:00
Jiralite
319a73f8e6
build: Upgrade v14 dependencies ( #11427 )
...
* build: upgrade dependencies
* build: please Undici please
* build: regenerate file
* chore: fix docs by using bundler
* fix: revert upgrade for package
* build: fix versions
2026-02-24 23:18:54 +00:00
Qjuh
16d70b9232
types: broadcastEval overload order ( #11422 )
...
types: broadcastEval overload order (#11421 )
* types: broadcastEval overload order
* types: also apply to ShardClientUtil
2026-02-16 17:59:58 +01:00
Jiralite
4476fadd19
chore(builders): release @discordjs/builders@1.13.1
2025-11-30 19:35:11 +00:00
Jiralite
61251cfcb8
fix: Adjust label predicates ( #11318 )
...
* fix: labels in 14
* test: add variable for at limit
* docs(jsonOptionValidator): deprecate
* fix: export `selectMenuStringOptionPredicate`
* fix: export everything
Co-authored-by: Qjuh <76154676+Qjuh@users.noreply.github.com >
---------
Co-authored-by: Qjuh <76154676+Qjuh@users.noreply.github.com >
2025-11-30 18:38:46 +00:00
Jiralite
e77793898a
docs(Container): update example usage
...
Resolves #11297 .
2025-11-28 10:24:58 +00:00
Jiralite
f5b3f842e3
fix(DJSError): Differentiate error type ( #11295 )
...
* fix(DJSError): differentiate error type
* fix: remove `?.`
2025-11-22 20:23:09 +00:00
Jiralite
e32f0c141a
refactor(DJSError): Prefer this.constructor.name ( #11294 )
...
refactor(DJSError): prefer `this.constructor.name`
2025-11-22 12:50:54 +00:00
Jiralite
fdac8c5bdd
chore(discord.js): release discord.js@14.25.1
2025-11-21 16:23:04 +00:00
Jiralite
0d64ea0528
fix(GuildEmojiManager): Allow CreateGuildExpressions for retrieving author data ( #11288 )
...
* fix(GuildEmojiManager)!: Allow `CreateGuildExpressions` for retrieving author data (#11283 )
* fix(GuildEmojiManager): allow `CreateGuildExpressions`
* fix: tests
2025-11-21 16:22:20 +00:00
Vlad Frangu
cce8194b9f
chore(discord.js): release discord.js@14.25.0
2025-11-18 08:26:54 +02:00
Vlad Frangu
f4b4918200
chore(core): release @discordjs/core@2.4.0
2025-11-18 08:26:01 +02:00
Vlad Frangu
d500d97666
chore(formatters): release @discordjs/formatters@0.6.2
2025-11-18 08:22:03 +02:00
Vlad Frangu
6727634758
chore(util): release @discordjs/util@1.2.0
2025-11-18 08:19:50 +02:00
Denis-Adrian Cristea
a3c6bce3a8
feat(GuildMemberManager): handle gateway request rate limit ( #11253 )
...
* feat(GuildMemberManager): handle gateway request ratelimit
* fix: account for ws abstraction layer
* chore: yada yada
* refactor: use new error class
* fix: linter
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2025-11-17 10:24:12 +00:00
Jiralite
214c6cbdd6
build: unify discord-api-types versions
2025-11-17 10:23:20 +00:00
Jiralite
492039c4f6
docs(MessageManager): update fetchPins() wording
2025-11-14 21:24:18 +00:00
Jiralite
b0542f30e2
style: ESLint
2025-11-12 13:59:08 +00:00
Jiralite
84197a0ee0
fix: Remove data conditional check ( #11250 )
...
* fix: remove conditional
* types: sort types
2025-11-12 13:41:09 +00:00
Danial Raza
33bfdedf35
feat(Client): add request soundboard sounds ( #10608 )
...
* feat(Client): add request soundboard sounds
* docs: add `guildId` to example
Co-authored-by: Almeida <github@almeidx.dev >
* refactor: remove `groupBy` polyfill
---------
Co-authored-by: Almeida <github@almeidx.dev >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-11-12 13:39:35 +00:00
Naiyar
caa7833ffb
feat(interactions): add launchActivity method ( #10646 )
...
* feat(interactions): add launchActivity method
* chore: suggestion
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
* chore: suggestion
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
* fix: overload and add tests
* chore: wording
* chore: wording
* chore: spacing
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-11-12 13:37:43 +00:00
Jiralite
b14d8d970b
docs(guild): Remove "all" for listing guild members ( #10719 )
...
docs(guild): remove "all" for listing
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-11-12 13:35:46 +00:00
Naiyar
d4d326b70d
types(interactions): fix overloads ( #10702 )
...
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2025-11-12 13:34:21 +00:00
Jiralite
d4b0f4de5f
fix(interactions): options should be optional ( #10683 )
...
fix(interactions): fix optional overloads
2025-11-12 13:30:54 +00:00
Jiralite
f040c6f6a5
types: Export some core-specific types ( #10620 )
...
types: export core-specific types
Co-Authored-By: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-11-12 13:29:27 +00:00
Naiyar
6f05c96ab4
fix(interactions): wrong return type and missing implementation of with_response in core ( #10644 )
...
* fix(types): wrong return type with with_response
* fix: missing implementation of with_response
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-11-12 13:23:08 +00:00
Jiralite
62f2ca5fbb
feat(monetization): Add get entitlement endpoint ( #10605 )
...
feat(monetization): add get entitlement endpoint
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-11-12 13:22:27 +00:00
Jiralite
610b4bbacb
fix: query is optional for some endpoints ( #10621 )
...
* fix(monetization): `query` is optional
* refactor: more defaults
2025-11-12 13:20:17 +00:00
Ryan Munro
8469fb3bad
feat(interactions): support with_response query parameter in core ( #10512 )
...
* feat(interactions): support with_response query parameter
* fix: address feedback from comments
* chore: remove extraneous documentation
* fix: return type is now undefined
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-11-12 13:17:17 +00:00
Danial Raza
d25ef434ae
feat: add soundboard ( #10536 )
...
* feat: add soundboard
* chore: disable `jsdoc/check-param-names` rule
* fix: export `SoundboardSoundsAPI`
2025-11-12 13:15:06 +00:00
Danial Raza
2deea25e97
feat: add subscriptions ( #10486 )
...
* feat: add subscriptions
* docs: requested changes
Co-authored-by: Almeida <github@almeidx.dev >
---------
Co-authored-by: Almeida <github@almeidx.dev >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-11-12 13:10:53 +00:00
Denis-Adrian Cristea
5c5b545c38
feat(core): handle request all guild members rate limit ( #11251 )
...
* feat(core): handle request all guild members rate limit
* fix: weird import update
* refactor: error class
* refactor: error class again
* refactor: requested changes
* chore: fix dep
* fix: suggested changes
---------
Co-Authored-By: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-11-12 13:02:48 +00:00
Danial Raza
eeeef2ac50
feat: support new s/S timestamp styles in v14 ( #11268 )
2025-11-12 10:56:02 +00:00
Jiralite
ccbe0716a4
chore: remove apps
2025-11-10 19:27:12 +00:00
Jiralite
a9fcfc0586
build: regenerate lockfile
2025-11-10 18:40:37 +00:00
Jiralite
36d6f0e55b
chore: private ui
2025-11-10 18:22:53 +00:00
Jiralite
1e060e5bde
build: upgrade nan
2025-11-10 18:16:09 +00:00
Jiralite
c5b71a756b
chore(ws): release @discordjs/ws@2.0.4
2025-11-10 13:16:13 +00:00
Denis-Adrian Cristea
6c781ede30
fix(WebSocketShard): bad error re-throw ( #11151 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-11-10 13:04:07 +00:00
Denis-Adrian Cristea
be38128ea1
fix(SimpleIdentifyThrottler): don't sleep negative amounts ( #10669 )
...
* fix(SimpleIdentifyThrottler): don't sleep negative amounts
* fix: test
2025-11-10 12:59:18 +00:00
Denis-Adrian Cristea
737a97d068
refactor(IContextFetchingStrategy): explicitly name forwarded properties ( #10652 )
2025-11-10 12:58:28 +00:00
Danial Raza
b26af3cf38
feat: add linked roles formatters ( #10461 )
...
* feat: add linked roles formatters
* docs: requested changes
Co-authored-by: Almeida <github@almeidx.dev >
* docs: remove locale
---------
Co-authored-by: Almeida <github@almeidx.dev >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-11-09 11:02:08 +00:00
cobalt
169b05f319
refactor(formatters): Change :_: emoji name placeholder ( #10567 )
...
* Change `:_:` emoji name placeholder
* Update tests
* Format
2025-11-09 11:01:04 +00:00
Almeida
bf0430f998
feat: add email and phoneNumber formatters ( #11050 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-11-09 10:56:24 +00:00
Josef
2da2fa01b2
feat: optimize role manager cache getter ( #11239 )
...
Co-authored-by: Almeida <github@almeidx.dev >
2025-11-09 10:52:23 +00:00
Kendell R
1c5701651a
fix: improve handling of italics in the presence of links ( #11064 )
...
* fix(formatters): don't escape * in links
* add test for * -> * in url
* `\S+` -> `\S*` (tested locally)
* @Qjuh: handle italics both inside+outside <url>s
* more accurate <link> matcher
---------
Co-authored-by: Qjuh <76154676+Qjuh@users.noreply.github.com >
2025-11-09 10:51:50 +00:00
Jiralite
b6a8264d6b
chore: Merge builders/1.x into v14 ( #11260 )
...
* chore: merge builders (and formatters)
* chore: match cliff.toml
* chore: update README.mds
* build: discord-api-types 0.38.32
2025-11-08 23:31:07 +00:00
Naiyar
a7196dc969
fix: backport only passing relevant options to API when fetching ( #11230 )
...
* fix: only pass relevant options to API when fetching
* chore: update changes
2025-10-31 21:35:51 +00:00
Jiralite
a03661844f
chore(discord.js): release discord.js@14.24.2
2025-10-30 21:20:01 +00:00
Jiralite
fb2b7281e0
fix(GuildMember): joinedAt possibly being NaN
...
Co-Authored-By: TÆMBØØ <69138346+TAEMBO@users.noreply.github.com >
2025-10-30 21:01:17 +00:00
Jiralite
c303bf3329
chore(discord.js): release discord.js@14.24.1
2025-10-28 15:06:27 +00:00
Danial Raza
c2c8cce1d7
fix(Message): check if in voice based channel for pinnable ( #11215 )
...
* fix(Message): check if in voice based channel for `pinnable`
* chore: changes from main
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2025-10-28 14:59:42 +00:00
Jiralite
abb84ce88f
docs(GuildMemberFlagsBitField): remove duplicate word
2025-10-26 10:47:53 +00:00
Jiralite
d317ca1053
types(FileUploadModalData): Correct fields ( #11209 )
...
* types(FileUploadModalData): update fields
* docs(FileUploadModalData): `Snowflake`
* types(FileUploadModalData): `Snowflake`
* docs: add more
2025-10-25 23:57:39 +01:00
Jiralite
072fbb228a
types(LabelModalData): Singular ModalData ( #11207 )
...
types(LabelModalData): no array
2025-10-25 20:13:26 +01:00
Jiralite
548c25488a
types(FileUploadComponentData): boolean
2025-10-25 17:17:32 +01:00
Jiralite
16a44f83e5
chore(discord.js): release discord.js@14.24.0
2025-10-24 17:12:01 +01:00
Jiralite
0dda270ea5
build: bump @discordjs/builders
2025-10-24 16:22:20 +01:00
Danial Raza
ee988e3e75
fix(Message): update pinnable to check for migrated guilds ( #11189 )
...
* fix(Message): update `pinnable` to check for migrated guilds
* refactor: requested changes
* refactor: no checkAdmin and clean up the mess
2025-10-24 16:05:12 +01:00
Naiyar
104ad754f3
feat: handle file upload component for v14 ( #11179 )
...
* feat: handle file upload component
* chore: fix import
* chore: typings
* fix: `Snowflake`
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2025-10-24 13:19:37 +01:00
Jiralite
0ff239a602
build: bump discord-api-types to 0.38.31
2025-10-23 23:04:14 +01:00
Jiralite
89fd19e08a
build: upgrade @discordjs/builders to 1.12.2
2025-10-15 23:16:36 +01:00
Jiralite
6a6c7d0333
build: upgrade discord-api-types to 0.38.30
2025-10-15 23:16:03 +01:00
Jiralite
083f6abb38
chore(discord.js): release discord.js@14.23.2
2025-10-09 02:10:39 +01:00
Jiralite
5cc13b735c
fix(ModalSubmitInteraction): Better resolving of components ( #11162 )
...
* fix: fix value crash
* fix: use a set
* fix: `const`
2025-10-09 02:05:29 +01:00
Jiralite
1e4d1dc04f
fix: handle DM modals
2025-10-08 23:02:34 +01:00
Jiralite
177d81f596
chore(discord.js): release discord.js@14.23.1
2025-10-08 22:13:52 +01:00
Jiralite
bf4cfeb4bf
build: upgrade builders to 1.12.1
2025-10-08 22:08:03 +01:00
Jiralite
11b236ff65
fix(ModalSubmitInteraction): Resolve crash on handling populated select menus ( #11158 )
...
* fix: handle receiving new selects
* fix: handle missing user object
2025-10-08 22:07:48 +01:00
Almeida
1d5b9837de
fix: ending uncached polls ( #11157 )
2025-10-08 22:04:23 +01:00
Jiralite
8065b80cea
chore: update 11135 name
2025-10-08 18:15:00 +01:00
Vlad Frangu
3b26680672
chore(discord.js): release discord.js@14.23.0
2025-10-08 20:14:05 +03:00
Jiralite
c4dbd7ee9f
chore(core): release @discordjs/core@2.3.0
2025-10-08 18:09:11 +01:00
Almeida
72771b79aa
feat: add {add,remove}GroupDMRecipient methods ( #11135 )
...
* feat: add `{add,delete}GroupDMRecipient methods`
* fix: requested changes
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-10-08 16:03:50 +01:00
Jiralite
63dbe48055
feat(guild): Support incident actions ( #11131 )
...
* feat(guild): add incident actions
* fix: add result
---------
Co-Authored-By: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-10-08 16:02:03 +01:00
Vlad Frangu
67c8953a10
feat: bump builders in v14 (and fix runtime crashes) ( #11153 )
...
* feat: bump builders in v14 (and fix runtime crashes)
* chore: bump dtypes
* Update packages/discord.js/src/structures/LabelBuilder.js
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
* chore: requested changes
* chore: lint
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2025-10-08 14:47:39 +01:00
Pavel-Boyazov
30e35d909e
types(ClientEventTypes): fix messageDeleteBulk event arg ( #11122 )
...
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2025-10-07 17:44:32 +01:00
Pavel-Boyazov
6a5707c786
types(Webhook): specify message type ( #11142 )
...
* types(Webhook): specify message type
* test(Webhook): update types
2025-10-07 17:40:05 +01:00
Jiralite
9b821e5dfc
feat(GuildMemberManager): Add new modify self fields ( #11112 )
...
* feat(GuildMemberManager): Add new modify self fields (#11089 )
* fix: use correct route
* fix: add deprecation
* fix: rewrite message
2025-10-06 08:36:28 +01:00
Jiralite
a04172325a
feat: Add gateway endpoints ( #11130 )
...
feat: add gateway
Co-Authored-By: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-10-04 17:51:37 +01:00
Almeida
154c00ded9
fix(ThreadMemberFlagsBitField): use ThreadMemberFlags enum in Flags ( #11118 )
...
feat(ThreadMemberFlagsBitField): use `ThreadMemberFlags` enum in `Flags`
2025-10-02 21:59:27 +01:00
Almeida
3b927449ae
docs: use LocalizationMap where applicable ( #11117 )
2025-10-02 21:58:28 +01:00
Naiyar
fcce0d95bb
fix: backport in operator fix from main ( #11127 )
...
fix: use in operator when resolving modal component (#11115 )
2025-10-01 15:54:03 +01:00
Naiyar
93e0f4cd10
feat: text display and more selects in modal for v14 ( #11096 )
...
* feat: handle recieve label components
* chore: missed fixes
* fix: missing id when transforming
* chore: add missing things
* fix: test
* feat: send label
* fix: un-break it
* chore: test
* feat: more selects in modals
* chore: make resolved read-only
* chore: import order
* chore: add missing cached generic
* style: spacing
* docs: consistency
* docs: make it a type
* docs: Add `APISelectMenuDefaultValue`
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2025-09-21 22:28:33 +01:00
Naiyar
abaae4ff16
feat: label component and select in modal for v14 ( #11090 )
...
* feat: handle recieve label components
* chore: missed fixes
* fix: missing id when transforming
* chore: add missing things
* fix: test
* feat: send label
* fix: un-break it
* chore: test
* chore: missing required in typings
2025-09-15 21:28:07 +01:00
Jiralite
270d9f1047
chore(core): release @discordjs/core@2.2.2
2025-09-10 18:49:28 +01:00
Jiralite
9ae737708b
fix(users): Correct type for editing current guild member ( #11098 )
...
* fix(users): `RESTPatchAPICurrentGuildMemberJSONBody`
* fix: imports
2025-09-10 18:45:05 +01:00
Jiralite
e382d60421
build: upgrade discord-api-types to 0.38.24
2025-09-10 18:14:11 +01:00
Jiralite
68aa202cd6
build: upgrade discord-api-types to 0.38.23
2025-09-10 11:34:34 +01:00
VAKiliner
d8ad181c19
fix: Ensure discriminator detection respects webhooks too ( #11062 )
...
* Replace discriminator === '0' to Number(discriminator)
* Fix
* Replacing !Number() to ['0', '0000'].includes
* chore: fmt
* perf: no array
---------
Co-authored-by: almeidx <github@almeidx.dev >
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2025-09-05 13:46:27 +01:00
Jiralite
0dff969e16
refactor(ActionsManager): Register actions without using class name ( #11080 )
...
* refactor: register actions without using class name
* fix: this is `module.exports`
2025-09-02 10:28:15 +01:00
Jiralite
79d999e4c1
feat: Guest invites ( #11079 )
...
feat(Invite): add `flags`
2025-09-02 09:21:11 +01:00
Amgelo563
215f8dc5e0
fix: Do not omit falsy default values ( #10755 )
...
* fix(docs): fix default falsy values being omitted
* fix(docs): swap defaultValue check to avoid negated condition
* fix: fix pr by removing everything it added and committing something entirely different
---------
Co-authored-by: almeidx <github@almeidx.dev >
2025-09-02 01:11:24 +01:00
Jiralite
b6089e585e
build: upgrade discord-api-types to 0.38.22
2025-09-02 00:53:31 +01:00
Jiralite
fe025c0a9f
docs(GuildEditOptions): deprecate owner property
2025-08-29 11:01:16 +01:00
Almeida
4a8aeb6aee
feat: polls overhaul ( #11058 )
...
* feat: polls overhaul (#10328 )
* feat(Managers): add PollAnswerVoterManager
* feat(Partials): make Polls partial-safe
* types: add typings
* chore: add tests
* fix: use fetch method in manager instead
* chore: add tests for manager
* feat: add partial support to poll actions
* style: formatting
* fix: change all .users references to .voters
* refactor: add additional logic for partials
* fix: actually add the partials
* fix: fixed issue where event does not emit on first event
* fix: align property type with DAPI documentation
* fix: resolve additional bugs with partials
* typings: update typings to reflect property type change
* fix: tests
* fix: adjust tests
* refactor: combine partials logic into one statement
* docs: mark getter as readonly
* refactor: apply suggestions
Co-authored-by: Almeida <github@almeidx.dev >
* refactor(Actions): apply suggestions
* refactor(PollAnswerVoterManager): apply suggestions
* refactor(Message): check for existing poll before creating a poll
* refactor(Polls): apply suggestions
* revert(types): remove unused method from Poll class
* refactor(Actions): consolidate poll creation logic into action class
* refactor(PollAnswerVoterManager): set default for fetch parameter
* refactor(Message): apply suggestion
* fix: remove partial setter
* refactor(Polls): apply suggestions
* types: apply suggestions
* refactor: remove clones
* docs: spacing
* refactor: move setters from constructor to _patch
* types: adjust partials for poll classes
* test: add more tests for polls
* refactor: move updates around, more correct partial types
* fix: handle more cases
* refactor: requested changes
* fix: missing imports
* fix: update imports
* fix: require file extensions
---------
Co-authored-by: Almeida <github@almeidx.dev >
Co-authored-by: Qjuh <76154676+Qjuh@users.noreply.github.com >
* fix(Poll): ensure `this.answers` is set before we reference it (#10809 )
* Ensure his.answers is set sooner if it's null during a patch
* Move data.answers block up as well to ensure the patched answers are set
* Ensure collection is set in constructor instead
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
* fix(PollAnswer): only define _emoji property once (#10811 )
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
---------
Co-authored-by: Kevin <uhkevinmc@eedo.app >
Co-authored-by: Qjuh <76154676+Qjuh@users.noreply.github.com >
Co-authored-by: Jacob Morrison <jake.morrison24@gmail.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-08-29 10:58:04 +01:00
Jiralite
3dd57c2eaf
docs: Deprecate API related to guild ownership ( #11054 )
...
* docs: deprecate API usage for guild ownership
* docs: remove pointless example
2025-08-29 10:53:34 +01:00
Jiralite
740da4ce5e
docs: deprecate setting owner
2025-08-29 10:51:13 +01:00
Jiralite
6fb0b1cef6
docs(guild): deprecate API related to guild ownership
2025-08-22 12:48:29 +01:00
Jiralite
ac6ff15b7d
fix(guild): Creating a template actually creates a template ( #11030 )
...
feat(guild): add creating a template
2025-08-22 12:41:53 +01:00
Jiralite
a294b47db0
chore(discord.js): release discord.js@14.22.1
2025-08-22 12:05:56 +01:00
Souji
ecef7bdf22
fix(GuildChannel): account for everyone base permissions ( #11053 )
...
When calculating permissions after overwrites, the base permission of the at-everyone role need to be accounted for.
Role#permissions is not sufficient, as it only describes base permissions of the role itself.
fixes #11052
2025-08-22 12:04:35 +01:00
Jiralite
40578393c3
chore: add @discordjs/collection in api-extractor.json
2025-08-22 08:57:02 +01:00
Vlad Frangu
86ecb37c9e
chore(discord.js): correct changelog and version
2025-08-21 00:58:23 +03:00
Vlad Frangu
311e826b12
chore(discord.js): release discord.js@15.0.0
2025-08-21 00:52:53 +03:00
Vlad Frangu
dceac0089d
chore(core): release @discordjs/core@2.2.1
2025-08-21 00:48:29 +03:00
Vlad Frangu
a2f7d3ad54
chore(rest): release @discordjs/rest@2.6.0
2025-08-21 00:43:53 +03:00
Jiralite
b532df61ed
fix: Remove trailing color references ( #11007 )
...
fix: role colour fixes
2025-07-20 18:01:45 +01:00
Jiralite
d60e0bf30b
types(Invite): Approximate fields should be nullable ( #10997 )
...
types: nullable fields
2025-07-16 23:41:57 +01:00
Danial Raza
baa08b8fbb
feat: support user guilds ( #10995 )
2025-07-16 22:27:54 +02:00
Jiralite
f469f74aca
feat(MessageManager): New pinned messages routes ( #10993 )
...
feat(MessageManager)!: New pinned messages routes (#10989 )
BREAKING CHANGE: `fetchPinned()` has been renamed to `fetchPins()`, which is a paginated endpoint to fetch pinned messages.
2025-07-16 11:33:16 +01:00
Jiralite
90d3b28268
fix(Emoji): remove incorrect nullables, add ApplicationEmoji#available ( #10990 )
...
fix: remove incorrect nullables, add `ApplicationEmoji#available`
Co-authored-by: Amgelo563 <61554601+Amgelo563@users.noreply.github.com >
2025-07-15 19:52:47 +01:00
Jiralite
a271e9b51e
build: Upgrade discord-api-types ( #10991 )
...
build: Upgrade dependencies
2025-07-15 01:30:58 +01:00
Danial Raza
8ac0e1e5d6
feat(User): add collectibles ( #10939 )
...
* feat(User): add `collectibles`
* docs: nullable collectibles and nameplate data
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
---------
Co-Authored-By: Jiralite <33201955+Jiralite@users.noreply.github.com >
2025-07-15 00:41:57 +01:00
Jiralite
9d6fdf8979
feat: Role gradient colours ( #10986 )
...
* feat: backport role gradient colours
* chore: add deprecations
2025-07-14 18:34:52 +01:00
Jiralite
cafe58b3bd
feat: Support animated WebP ( #10987 )
...
* feat: Support animated WebP (#10911 )
* feat: support animated WebP
* refactor: change the rest
* fix: remove redundant code
* fix(CDN): Export `MakeURLOptions`
2025-07-14 18:34:27 +01:00
Jiralite
7eca844f6d
chore: remove unused directive
2025-07-14 10:58:55 +01:00
Naiyar
63f5261f4c
fix(GuildChannelManager): properly resolve avatar for createWebhook ( #10772 )
...
fix(GuildChannelManager): properly resolve avatr for createWebhook
2025-07-14 02:26:55 +01:00
Almeida
5be774db64
docs: remove hardcoded locale from links ( #10794 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-07-14 02:24:17 +01:00
Almeida
b36b751bde
fix(Message): forwarded messages are not crosspostable ( #10821 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-07-14 02:19:03 +01:00
Danial Raza
500712d5ea
types(ModalSubmitFields): fix fields type ( #10816 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-07-14 02:17:36 +01:00
Danial Raza
040c66ae15
docs(ApplicationCommand): incorrect method in example ( #10837 )
2025-07-14 02:10:20 +01:00
Jiralite
82378fc2e8
refactor: Deprecate ready event in favor of clientReady ( #10969 )
...
* refactor: deprecate ready event
* refactor: tweak message
Co-Authored-By: Vlad Frangu <me@vladfrangu.dev >
* Update packages/discord.js/src/client/websocket/WebSocketManager.js
Co-authored-by: Qjuh <76154676+Qjuh@users.noreply.github.com >
* chore: disable max-len
---------
Co-authored-by: Vlad Frangu <me@vladfrangu.dev >
Co-authored-by: Qjuh <76154676+Qjuh@users.noreply.github.com >
2025-07-13 21:32:22 +01:00
Jiralite
d4f742e99e
refactor(ThreadChannel): Remove trimming of name ( #10984 )
...
refactor(ThreadChannel): no need to trim name
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-07-13 21:16:44 +01:00
Jiralite
51ceb203fa
fix(DirectoryChannel): Export class ( #10985 )
...
fix: export directory channels
2025-07-13 21:07:09 +01:00
Qjuh
1404e32849
fix(Events): WebhooksUpdate enum value ( #10970 )
...
fix: change Events.WebhooksUpdate value
2025-07-11 19:39:12 +01:00
Jiralite
9fc3e5ea72
fix: Adjust reason in methods options ( #10977 )
...
fix: Adjust `reason` in methods options (#10976 )
* fix(channel): allow reason in editing
* fix(channel): allow reason in `delete()`
* fix(channel): allow reason in creating threads
* chore: run format
* fix(guild): remove incorrect `reason` option
---------
Co-authored-by: Danial Raza <danialrazafb@gmail.com >
2025-07-11 10:00:58 +01:00
TÆMBØ
19e74b1533
types(InteractionCallbackResponse): add missing InGuild generic ( #10963 )
2025-07-03 00:21:13 +02:00
Vlad Frangu
de22a10038
chore(discord.js): release discord.js@14.21.0
2025-06-26 01:33:02 +03:00
Vlad Frangu
8ab30cdefa
chore(core): release @discordjs/core@2.2.0
2025-06-26 01:26:48 +03:00
Danial Raza
c2a43b685e
types(ClientEventTypes): add missing guildSoundboardSoundsUpdate ( #10928 )
2025-06-25 16:22:07 +01:00
Jiralite
507b696792
fix(ClientUser): Remove token assignment ( #10953 )
...
fix(ClientUser): remove token assignment
2025-06-25 16:15:35 +01:00
Jiralite
15f7571243
feat(GuildMember): add avatarDecorationData ( #10942 )
...
Co-Authored-By: Danial Raza <danialrazafb@gmail.com >
2025-06-25 12:31:43 +01:00
Almeida
3fa429c7df
feat(ClientApplication): add approximateUserAuthorizationCount ( #10933 )
...
Co-authored-by: Danial Raza <danialrazafb@gmail.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-06-25 12:22:36 +01:00
Jiralite
7713627fd1
feat(webhook): Support with_components ( #10945 )
...
feat: support `with_components`
2025-06-22 10:48:47 +01:00
Vlad Frangu
6a5c0fb32d
chore(discord.js): release discord.js@14.20.0
2025-06-16 15:41:03 +03:00
Vlad Frangu
eb5acd1e30
chore(discord.js): bump ws
2025-06-16 15:39:20 +03:00
Vlad Frangu
127021d5ab
chore(core): release @discordjs/core@2.1.1
2025-06-16 15:30:25 +03:00
Vlad Frangu
0943bc2efb
chore(ws): release @discordjs/ws@2.0.3
2025-06-16 15:29:02 +03:00
Vlad Frangu
a1c83c17d6
chore(rest): release @discordjs/rest@2.5.1
2025-06-16 14:55:15 +03:00
Qjuh
c0eae344c2
feat: backport entrypoint command ( #10908 )
2025-05-27 21:50:26 +02:00
Qjuh
f2f757ce52
fix: use resolvePartialEmoji on MessagePayload#options#components ( #10910 )
...
fix: use resolvePartialEmoji on MessagePayload#components again
2025-05-25 13:35:28 +02:00
Jiralite
65cfa3ffd3
build: Update Undici to 6.21.3 ( #10906 )
...
build: update undici
2025-05-20 11:52:49 +01:00
Jiralite
ee2eb7349f
fix(ChannelManager): Remove threads from cache upon deletion ( #10883 )
...
* fix(ChannelManager): remove threads from cache upon deletion
* refactor: loop over thread ids
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-05-09 14:09:35 +01:00
Jiralite
2d19163d76
perf(Components): Hash table ( #10893 )
...
perf(Components): hash table
2025-05-09 08:43:04 +01:00
Jiralite
9bca4af5fd
fix(PartialGroupDMChannel): Prevent undefined values ( #10889 )
...
fix(PartialGroupDMChannel): prevent `undefined` values
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-05-07 19:09:26 +01:00
Almeida
fe5e344adc
build: exclude type tests from pack ( #10886 )
...
* build: exclude type tests from pack
* fix: requested changes
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-05-07 17:36:47 +01:00
Jiralite
c8f6066d6a
refactor(Client): Remove with_expiration query parameter ( #10800 )
...
refactor(Client): remove `with_expiration`
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-05-06 15:25:32 +01:00
Almeida
7e21a9474e
feat(BaseInteraction): add attachmentSizeLimit ( #10830 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-05-05 03:54:12 +01:00
Jiralite
d0a535ea6a
fix(guild): fix incorrectly-detected deprecated overload
2025-05-04 14:19:24 +01:00
Vlad Frangu
8124fc68be
chore(discord.js): release discord.js@14.19.3
2025-05-03 01:08:35 +03:00
Vlad Frangu
dbd5354056
chore: bump builders
2025-05-03 01:07:23 +03:00
Qjuh
2ebb5cbd53
fix: regression in allowedMentions when replying ( #10866 )
...
* fix: regression in allowedMentions
* fix: lint
* fix: jsdoc
* tests: added a manual regression test
* fix: lint
* fix: tests
* fix: tests
* fix: typo
* fix: typings test
* chore: bumo zlib-sync to not crash on mac
2025-05-02 12:48:57 +02:00
Vlad Frangu
096cd92b87
chore(discord.js): release discord.js@14.19.2
2025-04-28 23:44:30 +03:00
Qjuh
37ef57b880
fix(WebSocketManager): always emit shardDisconnect on unresumable close ( #10826 )
2025-04-28 23:43:50 +03:00
Danial Raza
e3c247e423
types(GuildSoundboardSoundEditOptions): add missing reason ( #10863 )
2025-04-28 17:20:59 +01:00
Danial Raza
5f3fc170fb
fix(SoundboardSound): wrong emoji comparison in equals ( #10861 )
2025-04-28 08:46:03 +03:00
Qjuh
20fade2a87
fix: allowedMentions, container, media item toJSON() for components v2 ( #10852 )
...
* fix: allowedMentions for components v2
* refactor: passing allowed_mentions
* Update packages/discord.js/src/structures/MessagePayload.js
* fix: missing UnfurledMediaItem#toJSON()
* fix: find interactive component in container
* fix: recursive flatMap
* fix: lint
* refactor: top-level function
* fix: jsdoc
* fix: jsdoc
2025-04-27 17:23:12 +00:00
n1ck_pro
e827644b5a
fix(Guild): cache soundboard sounds when patching ( #10857 )
2025-04-27 00:11:40 +01:00
Danial Raza
62815928ab
fix(GuildSoundboardSoundManager): value "undefined" is not snowflake ( #10854 )
2025-04-26 17:06:52 +03:00
Vlad Frangu
7fb6630c02
chore(ci): backport actions updates ( #10853 )
2025-04-26 17:06:03 +03:00
Vlad Frangu
737b80b5f2
chore(discord.js): release discord.js@14.19.1
2025-04-26 04:17:25 +03:00
Vlad Frangu
481ccd228b
fix: add in withComponents to Webhook
2025-04-26 04:16:58 +03:00
Vlad Frangu
a3fff7b8be
chore(discord.js): release discord.js@14.19.0
2025-04-26 03:58:29 +03:00
Vlad Frangu
8cdbe23766
fix: set with_components when sending components through webhooks
2025-04-26 03:57:04 +03:00
Vlad Frangu
d920933dc5
fix(GuildAuditLogEntry): fix some incorrect types and runtime logic ( #10849 )
...
* fix(GuildAuditLogEntry): fix some incorrect types and runtime logic
* chore: bite me
2025-04-26 00:54:17 +01:00
Danial Raza
2d817df3b5
feat: soundboard missing things ( #10850 )
2025-04-26 00:49:05 +01:00
Vlad Frangu
1605a2c289
fix: spread out section components next to accessory
2025-04-26 02:37:33 +03:00
Vlad Frangu
464ea2ab30
chore(core): release @discordjs/core@2.1.0
2025-04-26 01:11:36 +03:00
Vlad Frangu
0d1d54a537
chore(ws): release @discordjs/ws@2.0.2
2025-04-26 01:09:37 +03:00
Vlad Frangu
dd8bb397a8
chore(deps): bump discord-api-types round at least 2
2025-04-26 01:08:54 +03:00
Vlad Frangu
61d3d6d4ae
chore: bump builders and ws
2025-04-26 00:59:43 +03:00
Vlad Frangu
512b0c67b9
chore(rest): release @discordjs/rest@2.5.0
2025-04-26 00:07:10 +03:00
Vlad Frangu
532c3842bc
fix: correctly extend CachedManager in GuildSoundboardSoundManager
2025-04-25 23:52:21 +03:00
Qjuh
edace17a13
feat: components v2 in v14 ( #10781 )
...
Co-authored-by: Naiyar <137700126+imnaiyar@users.noreply.github.com >
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: Vlad Frangu <me@vladfrangu.dev >
Co-authored-by: Timo <mail@geniustimo.de >
2025-04-25 23:43:09 +03:00
Danial Raza
d3154cf8f1
feat: add soundboard in v14 ( #10843 )
2025-04-25 23:37:03 +03:00
René
45552faf02
types: make Client.on() compatible with esnext.disposable in TS5.6+ ( #10773 )
2025-02-24 11:39:22 +02:00
Danial Raza
ebfd52695e
fix(MessagePayload): preserve existing flags when editing ( #10766 )
...
* fix(MessagePayload): preserve existing flags when editing
* refactor: sync with #10765
2025-02-21 15:21:16 +00:00
Vlad Frangu
595bded8a5
chore(discord.js): release discord.js@14.18.0
2025-02-11 01:05:37 +02:00
Vlad Frangu
c74c632cdb
build: bump @discordjs/ws to 1.2.1
2025-02-11 01:04:37 +02:00
Vlad Frangu
fc003050de
build: bump @discordjs/builders to 1.10.1
2025-02-11 00:57:15 +02:00
Vlad Frangu
8702978057
chore(rest): release @discordjs/rest@2.4.3
2025-02-11 00:54:31 +02:00
Jiralite
c2b18d6d8b
build: bump undici to 6.21.1
2025-02-08 15:39:26 +00:00
Jiralite
519aa3abe8
build: bump discord-api-types to 0.37.119
2025-02-07 21:45:33 +00:00
Naiyar
89c076c89e
feat: message forwards ( #10733 )
...
* feat: message forwards
* fix: spelling
* feat: add guildId option for forward
* refactor: type
* refactor: do not use ID suffix for resolvables
* Update TextBasedChannel.js
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2025-02-07 21:42:30 +00:00
Jiralite
f224a07381
build: modify origin/main to origin/v14
2025-02-06 00:01:27 +00:00
Syed Waheed
8e1e1be0c2
fix(Guild): type error with permissionOverwrites ( #10527 )
...
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: Almeida <github@almeidx.dev >
Co-authored-by: Vlad Frangu <me@vladfrangu.dev >
2025-02-04 20:56:10 +02:00
Vlad Frangu
193a5e9e20
types: fix recurrence rule types ( #10694 )
...
* types: fix recurrence rule types
* fix: endAt not endsAt
* types: remove fields that cannot be set by the client
* chore: cleanup JS lands too
* chore: missed you
* chore: bite me
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2025-02-04 14:06:46 +00:00
ŊʂƓ PRIYANSHU
73c6bc2c36
chore: Add contributors and last commit badges ( #10428 )
...
* chore: add new fancy badges
* chore: add util
* style: remove extra space
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-01-29 15:06:09 +00:00
Naiyar
b7f1ebc334
fix: incorrect relative path ( #10734 )
2025-01-29 14:51:11 +00:00
Jiralite
92aea94411
style: prettier
2025-01-29 09:48:17 +00:00
Jiralite
41dee5177d
feat: Incident Actions ( #10727 )
...
* feat: initial commit
* feat: add guild helper
* docs: `guild` is required
* docs(IncidentActions): move to guild
* fix: `incidents_data` is nullable
* fix: method typo
* fix: default to `null`
* fix: use `new Date()`
* docs: note that it is not received over the gateway
* refactor: use transformer
* chore: resolve TODO
* chore: typo
Co-authored-by: Danial Raza <danialrazafb@gmail.com >
* chore: suggestions
Co-authored-by: Almeida <github@almeidx.dev >
* chore: consistency
Co-authored-by: Almeida <github@almeidx.dev >
---------
Co-authored-by: Danial Raza <danialrazafb@gmail.com >
Co-authored-by: Almeida <github@almeidx.dev >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-01-29 09:43:27 +00:00
Jiralite
bbde371324
build: bump discord-api-types to 0.37.118
2025-01-29 09:35:44 +00:00
Jiralite
66b971899a
docs: Use link tags to render links on the documentation ( #10731 )
...
* docs: use link tags
* docs(DateResolvable): update link
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-01-29 09:29:59 +00:00
Qjuh
43235d43fe
feat(website): type parameters links, builtin doc links, default values ( #10515 )
...
* feat(website): links to type parameters, builtin doc links in api.json
* feat(website): show default values for params and props in excerpt
* fix: link in jsdoc
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2025-01-28 13:32:29 +00:00
Amgelo563
31df3d21cd
docs(Message): improve message snapshots description ( #10709 )
...
* docs(Message): improve message snapshots description
* docs(Message): remove snapshots single entry callout
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2025-01-25 19:49:28 +00:00
Almeida
2663d76709
refactor: use throw instead of Promise.reject ( #10712 )
...
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: Renegade334 <Renegade334@users.noreply.github.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-01-24 09:41:17 +00:00
Danial Raza
44a1e85847
types(ThreadOnlyChannel): remove incorrect messages property ( #10708 )
...
* types(ThreadOnlyChannel): remove incorrect `messages` property
Co-authored-by: TÆMBØ <TAEMBO@users.noreply.github.com >
* test: t e s t s
* test: revamp tests
---------
Co-authored-by: TÆMBØ <TAEMBO@users.noreply.github.com >
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2025-01-18 07:45:39 +00:00
Danial Raza
d2e1924fa6
types: add undefined to flags for exactOptionalPropertyTypes ( #10707 )
2025-01-18 07:44:24 +00:00
Naiyar
68dd260dee
types: Allow only ephemeral for defer reply ( #10696 )
...
* fix(types): remove unusable flags from InteractionDeferReplyOptions
* fix: include flags in WebhookMessageEditOptions
* chore: update jsdoc
* fix: wrong order
* chore: specify the flag
* chore: extend MessageEditOptions
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2025-01-18 07:43:13 +00:00
Naiyar
5e66f85f55
feat(PartialGroupDMChannel): add missing properties ( #10502 )
...
* fix(PartialGroupDMChannel): add missing ownerId property
* refactor: make ownerID nullable
* feat: add last_message_id & last_pin_timestamp prop
* feat: add component collector methods
* fix: handle null case
Co-authored-by: Vlad Frangu <me@vladfrangu.dev >
---------
Co-authored-by: Vlad Frangu <me@vladfrangu.dev >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-01-14 09:28:10 +00:00
Almeida
46060419a9
refactor: remove data resolver exports ( #10701 )
...
refactor!: remove data resolver exports
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-01-13 10:35:40 +00:00
Digital
7c1b73cc69
fix(PresenceUpdate): correctly add user regardless of their properties ( #10672 )
...
* fix(PresenceUpdate): correctly add user regardless of their properties
* refactor(PresenceUpdate): reflect partials
* refactor(PresenceUpdate): prettier
* refactor(PresenceUpdate): add import
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-01-13 10:34:19 +00:00
Naiyar
95db597fc8
refactor(IntegrationApplication): move common properties to Application ( #10627 )
...
* refactor(IntegrationApplication): move common properties to Application
* fix: remove prop from ClientApplication
2025-01-13 10:33:56 +00:00
Almeida
0047a49b73
types: remove createComponent and createComponentBuilder ( #10687 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-01-13 10:31:58 +00:00
Naiyar
32dff01f29
fix(InteractionResponses): mark replied true for followUps ( #10688 )
...
fix: mark replied true for followUps
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2025-01-12 22:29:58 +00:00
Danial Raza
efa50fc3fa
feat(Subscription): add renewalSkuIds ( #10662 )
2025-01-09 19:03:50 +00:00
Qjuh
aa61c20ffd
feat(website): include reexported members in docs ( #10518 )
...
* feat(website): add re-exported members to docs site
* refactor(scripts): rewrite sourceURL for externals
* feat(website): add external badge
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-01-09 19:02:28 +00:00
Jiralite
d48136bee1
chore(discord.js): release discord.js@14.17.3
2025-01-08 00:33:54 +00:00
Jiralite
46bf8f0146
fix(Message): Ensure channel is defined for clean content ( #10681 )
...
fix(Message): ensure channel is defined for clean content
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-01-04 17:23:55 +00:00
Danial Raza
7280d4e82e
fix: use resolve() for PermissionOverwrites ( #10686 )
...
* fix: use `resolve()` for `PermissionOverwrites`
* fix: typo
Co-authored-by: René <contact.9a5d6388@renegade334.me.uk >
---------
Co-authored-by: René <contact.9a5d6388@renegade334.me.uk >
2025-01-04 17:09:05 +00:00
Jiralite
bd2914cc98
chore(discord.js): release discord.js@14.17.2
2025-01-02 00:27:09 +00:00
Jiralite
77804cfd55
fix(InteractionResponses): check correct property for deprecation
...
Resolves #10676 .
2025-01-02 00:07:51 +00:00
Vlad Frangu
8fea3ed978
chore(discord.js): release discord.js@14.17.1
2025-01-02 01:48:25 +02:00
Vlad Frangu
05c63cd9a1
chore(rest): release @discordjs/rest@2.4.2
2025-01-02 01:45:37 +02:00
Jiralite
8d69b24b5c
fix: correct guild member banner URL
2025-01-01 23:44:32 +00:00
Vlad Frangu
9baee4b2ce
chore(discord.js): release discord.js@14.17.0
2025-01-02 00:29:07 +02:00
Vlad Frangu
c986a99104
chore(core): release @discordjs/core@2.0.1
2025-01-02 00:25:35 +02:00
Vlad Frangu
2b9e4cf9d0
chore(ws): release @discordjs/ws@2.0.1
2025-01-02 00:22:09 +02:00
Vlad Frangu
1af2f4ed0e
chore: point ws to ^1.2.0
2025-01-02 00:09:25 +02:00
Vlad Frangu
3fbfe9f1ae
chore: deps update
2025-01-01 23:43:16 +02:00
Vlad Frangu
b901ff7c4c
chore: bump builders, formatters and unpin ws
2025-01-01 23:38:43 +02:00
Vlad Frangu
5f8915f6d1
chore(rest): release @discordjs/rest@2.4.1
2025-01-01 23:38:38 +02:00
Jiralite
ff42d7af72
fix(InteractionResponses): do not use in if a string is passed
2024-12-24 18:20:02 +00:00
Jiralite
0fdbabea98
build: bump discord-api-types to 0.37.114
2024-12-24 12:06:51 +00:00
Jiralite
e9944b3d2d
build: bump discord-api-types to 0.37.113
2024-12-22 20:58:53 +00:00
Jiralite
2b9833cd36
Revert "feat(ClientApplication): add webhook events ( #10588 )"
...
This reverts commit 7b2a2e3a15 .
2024-12-19 00:14:41 +00:00
Naiyar
7b2a2e3a15
feat(ClientApplication): add webhook events ( #10588 )
...
* feat(ClientApplication): add webhook events
* refactor: update enum names and add external types
* docs(APITypes): reorder
* chore: requested changes
* chore: requested changes
* docs: remove redundancy
* Update ClientApplication.js
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: Almeida <github@almeidx.dev >
2024-12-19 00:12:47 +00:00
Naiyar
6087088579
fix: use Message#interactionMetadata ( #10654 )
2024-12-19 00:10:31 +00:00
Jiralite
622acbcbf0
feat(InteractionResponses): support with_response query parameter ( #10636 )
...
feat(InteractionResponses): support with_response query parameter
Co-authored-by: Ryan Munro <monbrey@gmail.com >
2024-12-18 18:58:22 +00:00
Danial Raza
b2754d4a0e
fix(InteractionResponses): properly resolve message flags ( #10661 )
2024-12-18 15:02:35 +00:00
Jiralite
53cbb0e36d
test: Remove unused test ( #10638 )
...
test: remove unused test
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-12-05 23:23:02 +00:00
Jiralite
7ce6f2fc8a
refactor(FetchApplicationCommandOptions): Use Locale over LocaleString ( #10625 )
...
refactor(FetchApplicationCommandOptions): prefer `Locale`
2024-12-05 22:05:23 +00:00
Vlad Frangu
76042f0538
docs: correct discord-api-types URLs ( #10622 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-12-05 22:03:31 +00:00
Danial Raza
dedaa5d657
refactor: use cache.get() for snowflakes, resolve() otherwise ( #10626 )
...
* refactor: use `cache.get()` for snowflakes, `resolve()` otherwise
* fix: requested changes
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
* chore: remove unnecessary `?? null`
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-12-05 22:01:13 +00:00
Jiralite
ed00a10e1f
build: Bump discord-api-types to 0.37.109 ( #10619 )
...
build: bump discord-api-types
2024-12-05 21:48:14 +00:00
Naiyar
ae1deac2bf
feat(ClientApplication): add webhook events ( #10588 )
...
* feat(ClientApplication): add webhook events
* refactor: update enum names and add external types
* docs(APITypes): reorder
* chore: requested changes
* chore: requested changes
* docs: remove redundancy
* Update ClientApplication.js
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: Almeida <github@almeidx.dev >
2024-12-05 20:30:44 +00:00
Jiralite
a367e2c8c9
feat(EntitlementManager): Support get entitlement ( #10606 )
...
* feat: support get entitlement
* docs: add return type
Co-authored-by: Danial Raza <danialrazafb@gmail.com >
* fix: property typo
Co-authored-by: Almeida <github@almeidx.dev >
* fix: property typo
Co-authored-by: Almeida <github@almeidx.dev >
---------
Co-authored-by: Danial Raza <danialrazafb@gmail.com >
Co-authored-by: Almeida <github@almeidx.dev >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-12-05 15:58:19 +00:00
Jiralite
7678f1176a
fix(ThreadChannel): Make ownerId always present ( #10618 )
...
fix: thread owner id is always present
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-12-05 15:57:06 +00:00
Danial Raza
4cca33d9b0
feat: add subscriptions ( #10541 )
...
* feat: add subscriptions
* types: fix fetch options types
* fix: correct properties in patch method
* chore: requested changes
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
* fix: correct export syntax
* chore(Entitlement): mark `ends_at` as nullable`
* types(FetchSubscriptionOptions): add missing `cache` option
* Revert "types(FetchSubscriptionOptions): add missing `cache` option"
This reverts commit ba472bdc599e1860754e59fce4806610f06ac682.
* chore(Entitlement): mark `startsTimestamp` as nullable
* fix: requested changes
* docs(SubscriptionManager): correct return type
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-12-02 08:33:52 +00:00
Jiralite
388783d7dd
docs: Typos ( #10628 )
...
chore: typos
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-12-02 08:31:15 +00:00
Jiralite
bda31284bf
feat: Emit reaction type on gateway events ( #10598 )
...
feat: emit reaction type
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-11-18 12:16:35 +00:00
Jiralite
76968b4bc1
fix(MessageReaction): Address undefined burst properties ( #10597 )
...
* fix(MessageReaction): `undefined` burst properties
* refactor: simpler burst colour check
Co-authored-by: Almeida <github@almeidx.dev >
---------
Co-authored-by: Almeida <github@almeidx.dev >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-11-18 11:47:51 +00:00
Jiralite
34343c6afa
feat: Voice Channel Effect Send ( #10318 )
...
* feat: Voice Channel Send Effects (#9288 )
* feat: add soundboard fields
* chore: address TODO
* docs: volume is a closed interval
* types: use `GatewayVoiceChannelEffectSendDispatchData`
* refactor: prefer getting from cache
* fix: correctly access cache
Co-authored-by: Danial Raza <danialrazafb@gmail.com >
---------
Co-authored-by: Danial Raza <danialrazafb@gmail.com >
2024-11-15 13:51:07 +00:00
Jiralite
56c9396b71
fix(ThreadChannel): Address parameter type on fetchOwner() ( #10592 )
...
fix(ThreadChannel): address parameter type on fetchOwner()
2024-11-13 16:51:16 +00:00
Naiyar
21c283f964
fix(InteractionResponses): throw error on deleting response of unacknowledged interaction ( #10587 )
...
fix: error on deleting response of non-acknowledged interaction
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-11-11 15:55:19 +00:00
Danial Raza
13471fa1b7
types: add missing Caches managers ( #10540 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-11-05 09:36:51 +00:00
Jiralite
b1ded63e42
feat(GuildMember): Banners ( #10384 )
...
* feat: initial support for guild member banners
* feat: serialise in `toJSON()`
* feat: serialise in `toJSON()`
* docs: lowercase i
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-11-05 09:35:59 +00:00
Souji
565fc0192a
docs: add note about idempotence to role add/remove routes ( #10586 )
...
* chore(docs): Add note about idempotence to role add/remove routes
* chore: remove trailing spaces
2024-11-05 09:29:46 +00:00
Jiralite
33533b7284
refactor: remove extra traversing ( #10580 )
...
* refactor: remove extra traversion
* refactor(GuildScheduledEventManager): address fetch
2024-10-25 11:13:49 +01:00
Jiralite
be38f57926
refactor(InteractionResponses): Deprecate ephemeral response option ( #10574 )
...
* refactor(InteractionResponses): deprecate `ephemeral` response option
* refactor: add runtime deprecations
* docs: fix reference
Co-authored-by: Almeida <github@almeidx.dev >
* types: add `MessageFlagsResolvable`
---------
Co-authored-by: Almeida <github@almeidx.dev >
2024-10-25 09:15:54 +01:00
almeidx
f79ba52c7a
docs(Client): fix incorrect managers descriptions
...
Co-authored-by: Luna <84203950+Wolvinny@users.noreply.github.com >
2024-10-12 19:30:51 +01:00
Jiralite
72e0c99454
refactor: Deprecate reason parameter on adding and removing thread members ( #10551 )
...
* refactor: deprecate `reason` on thread member add and remove
* chore: address TSLint errors
* refactor: use function
2024-10-12 00:57:14 +01:00
Jiralite
3d06c9d872
refactor: Deprecate fetching user flags ( #10550 )
...
* refactor: deprecate fetching user flags
* docs: fix reference
Co-authored-by: Almeida <github@almeidx.dev >
* refactor: use function
* refactor: name approach
---------
Co-authored-by: Almeida <github@almeidx.dev >
2024-10-12 00:52:09 +01:00
Eejit
831aafa733
fix(GuildScheduledEvent): handle null recurrence_rule ( #10543 )
...
* fix(GuildScheduledEvent): handle null recurrence_rule
* refactor: consistency
* feat: implement suggested logic change
* fix: correct data.recurrence_rule check
---------
Co-authored-by: Almeida <github@almeidx.dev >
2024-10-11 09:03:48 +01:00
Amgelo563
5faf074c14
types: remove newMessage partial on messageUpdate event typing ( #10526 )
...
* types: remove newMessage partial on messageUpdate event typing
* types: omit partial group DM for newMessage on messageUpdate
* types: omit partial group DM for oldMessage on messageUpdate
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-10-09 12:47:29 +01:00
Superchupu
297e959f48
docs(discord.js): remove utf-8-validate ( #10531 )
2024-10-09 12:46:05 +01:00
Moebits
1fc87a9698
feat: Add ApplicationEmoji to EmojiResolvable and MessageReaction#emoji ( #10477 )
...
* types: add ApplicationEmoji to EmojiResolvable
* typings: add ApplicationEmoji to MessageReaction#emoji
* removed ApplicationEmoji from MessageReaction
* update BaseGuildEmojiManager
* chore: lint error
* feat: add ApplicationEmoji to MessageReaction#emoji getter
* refactor: check application emojis first
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-10-09 12:42:48 +01:00
Qjuh
366f7174d0
chore: unpin discord-api-types ( #10524 )
...
* chore: unpin discord-api-types
* chore: bump discord-api-types
2024-10-01 19:00:33 +01:00
Almeida
97c3237a70
feat: recurring scheduled events ( #10447 )
...
* feat: recurring scheduled events
* fix: nullable on patch
* docs: remove unnecessary parenthesis
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
---------
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
2024-09-30 11:27:54 +01:00
TÆMBØ
c12217829b
feat: message forwarding ( #10464 )
...
* feat: message forwarding
* fix: redundant usage
* feat: add additional snapshot fields
* refactor: use collection to store snapshots
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-09-30 11:27:51 +01:00
Vlad Frangu
0873f9a4c3
chore(discord.js): release discord.js@14.16.3 ( #10522 )
2024-09-29 11:20:02 +00:00
Ryan Munro
6c77fee41b
fix(BaseInteraction): add missing props ( #10517 )
...
* fix(AutocompleteInteraction): add missing authorizingIntegrationOwners
* fix(AutocompleteInteraction): add missing context
* fix(AutocompleteInteraction): types
* fix: move to BaseInteraction
* fix: remove props from CommandInteraction
* Update packages/discord.js/typings/index.d.ts
Co-authored-by: Danial Raza <danialrazafb@gmail.com >
---------
Co-authored-by: Vlad Frangu <me@vladfrangu.dev >
Co-authored-by: Danial Raza <danialrazafb@gmail.com >
2024-09-23 14:13:14 +00:00
Danial Raza
cda8d88ad5
build: bump discord-api-types to 0.37.100 ( #10488 )
...
* build: bump discord-api-types to 0.37.100
* build: fix lockfile
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2024-09-17 09:15:00 +00:00
TÆMBØ
665bf1486a
types(MessageEditOptions): Omit poll ( #10509 )
...
fix: creating poll from message edit
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2024-09-17 08:18:08 +00:00
Qjuh
99136d6be8
fix(website): nullable parameters on events ( #10510 )
2024-09-15 19:27:43 +00:00
ckohen
896dc8b21e
chore: update cliff configs ( #10471 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-09-15 17:58:21 +00:00
Qjuh
651f2d036a
feat: show default values in docs ( #10465 )
2024-09-15 19:49:31 +02:00
Qjuh
2adee06b6e
fix: GuildChannel#guildId not being patched to undefined ( #10505 )
...
* fix: `GuildChannel#guildId` not being patched to `undefined`
* fix: guildId to guild_id check
2024-09-14 17:14:03 +00:00
Almeida
495bc60345
fix: docs search ( #10501 )
2024-09-12 23:24:07 +02:00
Vlad Frangu
d9d578391a
chore(discord.js): release discord.js@14.16.2 ( #10500 )
2024-09-12 11:18:05 +03:00
Ryan Munro
3c74aa2049
fix(ApplicationCommand): incorrect comparison in equals method ( #10497 )
2024-09-11 07:40:54 +00:00
Danial Raza
799fa54fa4
docs: update discord documentation links ( #10484 )
2024-09-10 19:23:53 +00:00
Denis Cristea
8a74f144ac
chore: pin builders in discord.js ( #10490 )
2024-09-06 13:12:19 +00:00
Vlad Frangu
dea68400a3
fix: type guard for sendable text-based channels ( #10482 )
...
* fix: type-guard for sendable text-based channels
* chore: suggested change
* Update packages/discord.js/typings/index.test-d.ts
Co-authored-by: Qjuh <76154676+Qjuh@users.noreply.github.com >
* fix: make isSendable strictly check for `.send`
* fix: tests
---------
Co-authored-by: Qjuh <76154676+Qjuh@users.noreply.github.com >
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2024-09-06 07:16:38 +00:00
Danial Raza
c13f18e90e
docs(Message): mark interaction as deprecated ( #10481 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-09-04 22:22:10 +00:00
Qjuh
aff772c7aa
types: export GroupDM helper type ( #10478 )
...
* types: export GroupDM helper type
* refactor: rename type
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-09-04 22:16:54 +00:00
Danial Raza
4594896b54
docs(ApplicationEmojiManager): fix fetch example ( #10480 )
...
* docs(ApplicationEmojiManager): fix fetch example
* docs: requested changes
2024-09-03 22:20:01 +00:00
Vlad Frangu
a11ff75631
chore(discord.js): release discord.js@14.16.1 ( #10476 )
2024-09-03 00:24:53 +03:00
Vlad Frangu
9257a09abb
fix(Message): reacting returning undefined ( #10475 )
2024-09-03 00:20:16 +03:00
space
4810f7c863
fix(Transformers): pass client to recursive call ( #10474 )
2024-09-02 21:12:28 +00:00
Vlad Frangu
18ce10a9af
chore: bump major releases to node 20
2024-09-02 22:26:25 +03:00
Vlad Frangu
ed1c1737df
chore: everyone goes to node 18+
2024-09-02 22:26:25 +03:00
Vlad Frangu
90ed51e06e
chore: url fixing
2024-09-02 22:26:25 +03:00
Vlad Frangu
641a980b60
chore(discord.js): release discord.js@14.16.0
2024-09-02 22:26:25 +03:00
Vlad Frangu
1f2047ff90
chore(create-discord-app): update discord.js version for templates
2024-09-02 22:26:25 +03:00
Vlad Frangu
23636a9a2f
chore: add versions mentions for versions with meta changes only
2024-09-02 22:26:25 +03:00
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
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
ba0cb66ff9
chore: Remove "typings", "wip", and "workflow" scope ( #10340 )
...
* chore: remove "typings" commit lint
* chore: remove "workflow" too
* chore: also remove wip
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-06-18 18:42:35 +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
Adnan Khan
a76b1b60f7
ci: Reference title via environment variable ( #10342 )
...
Reference title via environment variable.
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-06-18 18:30:41 +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
Qjuh
e723230dff
fix(website): link tags with explicit URL showed undefined ( #10350 )
2024-06-16 12:57:30 +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
Jiralite
02d196474a
ci(pr-triage): Split job up ( #10341 )
...
ci: split job up
2024-06-09 01:31:01 +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
Jiralite
3cdddbe31d
ci: Check pull request titles for the commit convention format ( #10334 )
...
ci: check pull request titles
2024-06-08 20:04:17 +00:00
Jiralite
757bed0b1f
docs: Update rule trigger types ( #9708 )
...
docs: update rule trigger types
2024-06-07 22:04:56 +00:00
Jiralite
599ad3eab5
fix: Correct base path for GIF stickers ( #10330 )
...
* fix: correct base path for GIF stickers
* test: add sticker GIF
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-06-07 15:19:37 +00:00
Amir Farzamnia
7f60a8fc5d
docs(stageInstances): Correct reference for stage instance creation ( #10333 )
...
Update stageInstances.ts
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-06-07 15:11:23 +00:00
Jiralite
885defbce4
fix: Update config file to address labeller file changes ( #10332 )
...
fix: update label script
2024-06-07 13:38:08 +00:00
ckohen
4f174c644d
ci: fix coverage upload ( #10331 )
2024-06-07 12:24:02 +00:00
Jiralite
346d1be72b
build: Bump dependencies ( #10322 )
...
* build: bump dependencies
* build: update pnpm to 9.1.4
2024-06-05 09:42:33 +00:00
Danial Raza
94cc02a258
refactor: native zlib support ( #10316 )
...
Revert "revert: refactor: native zlib support (#10314 )"
This reverts commit 4ea73bb64e .
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-06-02 22:51:26 +00:00
Danial Raza
17d4c78fde
feat(Invite): add type ( #10280 )
2024-06-02 22:43:14 +00:00
Almeida
3b5c600b9e
feat(User): add avatarDecorationData ( #9888 )
...
* feat(User): add `avatarDecorationData`
* fix: remove options
* fix(User): check avatar decoration in equals() methods
* docs: Add full reference
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-06-02 21:26:31 +00:00
Jiralite
311aaf2605
chore(release): @discordjs/builders 1.8.2, @discordjs/ws 1.1.1, and discord.js 14.15.3 ( #10315 )
...
Co-authored-by: Vlad Frangu <me@vladfrangu.dev >
2024-06-03 00:13:41 +03:00
Jiralite
4ea73bb64e
revert: refactor: native zlib support ( #10314 )
...
Revert "refactor: native zlib support (#10243 )"
This reverts commit 20258f94bf .
2024-06-02 19:53:31 +00:00
CodeGoat
aae2faf9e9
docs(SelectMenuBuilder): correct grammatical errors ( #10309 )
...
docs(SelectMenuBuilder): correct documentation
Corrects gramatical errors in the documentation for various set methods.
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-06-02 15:19:11 +00:00
Dylan Yang
9b07036d70
fix(OAuth2API): enable token exchange without token ( #10312 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-06-02 13:21:48 +00:00
CodeGoat
c1e6890132
docs(TextInputBuilder): correct constructor documentation ( #10308 )
...
feat(builders): fix text input docs
Fixes incorrect references to select menu options in text input docs.
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-06-02 12:42:11 +00:00
Nitzan Savion
38a37b5caf
refactor(brokers): re-design API to make groups a constructor option ( #10297 )
...
* fix(BaseRedis): remove listeners on destroy and stop pooling when no subscription
* refactor(BaseRedis): group as constructor param and cleanup subscribers
* fix(BaseRedis): remove listeners on destroy and stop pooling when no subscription
* refactor(BaseRedis): group as constructor param and cleanup subscribers
* chore(RPCRedis): group
* Update packages/brokers/src/brokers/Broker.ts
* Update packages/brokers/src/brokers/Broker.ts
* Update packages/brokers/src/brokers/redis/BaseRedis.ts
Removed `removeAllListeners` from destroy
* chore(BaseRedis): destroy unsubscribe spread array
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-06-02 12:35:16 +00:00
CodeGoat
29a50bb476
docs(MappedComponentTypes): fix "inpiut" typo ( #10306 )
...
* Fix typo in components
Fixes a typo in components.
* docs: an -> a
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2024-05-30 22:41:43 +00:00
iCrawl
d22b55fc82
fix: restore 404 page
2024-05-26 18:43:34 +02:00
Danial Raza
a468ae8bb5
fix(Message): properly compare attachments and embeds ( #10282 )
...
* fix(Message): properly compare `attachments` and `embeds`
* refactor: use `has` instead of `get`
* refactor: keep length checks
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-05-24 14:19:28 +00:00
Jiralite
638b896efa
fix: Throw error on no message id for Message#fetchReference() ( #10295 )
...
* docs(MessageReference): ? is nullable, not `undefined`
* docs(MessageReference): sort by message type
* fix(Message): add throw
* docs(MessageReference): fix English
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-05-24 13:09:59 +00:00
ducktrshessami
27d0659a45
fix(ThreadChannel): invalid owner fetch option ( #10292 )
...
fix(ThreadChannel): invalid owner fetch options
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-05-24 11:06:27 +00:00
iCrawl
a35d760421
fix: prerender bailout
2024-05-24 02:10:07 +02:00
iCrawl
7f467ed2d1
feat: error handling
2024-05-24 01:57:50 +02:00
iCrawl
f5dd6879a2
chore: /ui react type dep
2024-05-24 01:55:14 +02:00
iCrawl
f9ba11eba3
chore: update nextjs
2024-05-24 01:47:07 +02:00
Danial Raza
b36ec98382
feat: add reason to followAnnouncements method ( #10275 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-05-19 09:58:26 +00:00
iCrawl
bb884fc260
chore: react compiler
2024-05-19 03:44:42 +02:00
René
555961b3b8
refactor(GuildChannelManager): improve addFollower errors ( #10277 )
...
refactor(GuildChannelManager): improve errors
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-05-17 13:14:03 +00:00
Jiralite
92c1a511dc
fix(Action): Ensure all properties on getChannel() are passed ( #10278 )
...
* fix(Action): ensure all properties on `getChannel()` are passed
* refactor: flip `recipient` check
2024-05-16 07:27:00 +00:00
cobalt
35207b0b31
types: Forum starter messages do not support polls ( #10276 )
...
fix(types): Forums do not support polls
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-05-15 17:43:31 +00:00
TÆMBØ
29fd89f23c
fix(SlashCommandBuilder): add missing shared properties ( #10255 )
...
* types(SlashCommandBuilder): add missing shared properties
* Add tests for types
* Fix formatting
* Enable Vitest type checking
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2024-05-15 17:36:02 +00:00
Frank
c2432d5704
types: Add defaultValues to respective select menu components data ( #10265 )
...
* Update index.d.ts
Added 'defaultValues' typings for ChannelSelectMenuComponentData, RoleSelectMenuComponentData, and UserSelectMenuComponentData.
* Update index.d.ts
Adding 'defaultValues' typing to MentionableSelectMenuComponentData
* style: prettier
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2024-05-13 13:29:16 +00:00
DD
616208ba77
fix: deno compat ( #10271 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
2024-05-13 12:04:01 +00:00
Jiralite
3640fe7bca
ci: Fix labels action ( #10272 )
...
ci: fix labels action
2024-05-13 13:59:56 +02:00
Jiralite
c78af13c1e
ci: Update versions of actions ( #10270 )
...
* ci: update versions of actions
* ci: attempt fix
2024-05-13 11:35:25 +02:00
Qjuh
914cc4ba54
fix(docs): some link tags didn't resolve correctly ( #10269 )
...
* fix(docs): some link tags didn't resolve in summaries
* fix: add TextBasedChannels type
2024-05-13 09:34:11 +00:00
DD
393ded4ea1
refactor(brokers): make option props more correct ( #10242 )
...
* refactor(brokers): make option props more correct
BREAKING CHANGE: Classes now take redis client as standalone parameter, various props from the base option interface moved to redis options
* chore: update comment
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-05-11 15:54:06 +00:00
DD
20258f94bf
refactor: native zlib support ( #10243 )
...
* refactor: remove zlib-sync
* fix: bad length check
* refactor: support both options
BREAKING CHANGE: renamed compression related options
* chore: fix doc comment
* chore: update debug messages
* chore: better wording
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
* chore: suggested changes
* chore: better naming
* refactor: lazy node:zlib import and lib detection
* chore: zlib capitalization
* fix: use proper var
* refactor: better inflate check
Co-authored-by: Aura <kyradiscord@gmail.com >
* chore: debug label
Co-authored-by: Superchupu <53496941+SuperchupuDev@users.noreply.github.com >
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: Aura <kyradiscord@gmail.com >
Co-authored-by: Superchupu <53496941+SuperchupuDev@users.noreply.github.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-05-11 15:32:05 +00:00
Jiralite
7816ec2e6b
fix(actions): Handle missing poll object ( #10266 )
...
fix(actions): handle missing poll object
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-05-11 08:45:59 +00:00
Qjuh
5498e18bf4
fix(website): links to builtin documentation not showing in summary ( #10267 )
2024-05-10 20:38:43 +00:00
Qjuh
e673b3c129
fix: add inherited properties to search index ( #10257 )
2024-05-06 17:30:06 +00:00
Vlad Frangu
776880d06b
chore: fix changelogs
2024-05-05 21:00:59 +03:00
Vlad Frangu
c05244af61
chore(discord.js): release discord.js@14.15.2
2024-05-05 21:00:59 +03:00
Vlad Frangu
12deea85e5
chore(builders): release @discordjs/builders@1.8.1
2024-05-05 21:00:59 +03:00
Qjuh
07c12101e5
fix: slashcommand builder type split ( #10253 )
2024-05-05 10:03:14 +00:00
XCraftTM
30d79e85fb
fix(PollAnswer): fetchVoters route changed to MessageManager ( #10251 )
...
Update PollAnswer.js
2024-05-04 21:18:04 +00:00
Vlad Frangu
f2794e1221
chore(discord.js): release discord.js@14.15.1 ( #10250 )
...
* chore(discord.js): release discord.js@14.15 .1
* chore: fix changelog
* chore: update link
2024-05-04 19:18:07 +00:00
DD
0474a43751
fix(MessageManager): poll methods don't need a channel id ( #10249 )
...
* fix(MessageManager): end poll does not need channel id
* chore: rest of the work
2024-05-04 19:06:03 +00:00
Almeida
c91d03c535
ci: fix documentation workflow ( #10248 )
2024-05-04 18:18:45 +00:00