Jiralite
0516dc7862
chore(discord.js): release discord.js@14.26.4
2026-05-01 14:31:45 +01:00
Qjuh
b8d8812a05
fix(MessageCreateAction): receive DMs in uncached DMChannels again ( #11495 )
2026-05-01 13:29:54 +01:00
Jiralite
f95b629d44
chore(TeamMember): update permissions comment
2026-04-15 11:37:20 +01:00
Jiralite
666fce0516
chore(discord.js): release discord.js@14.26.3
2026-04-14 13:36:49 +01:00
Jiralite
dced1970eb
fix(TeamMember): allow a default permissions
...
Discord stopped sending this field at some point on or before 2026-04-14.
2026-04-14 13:21:04 +01:00
Vlad Frangu
e662290faa
chore(discord.js): release discord.js@14.26.2
2026-04-04 00:22:54 +03:00
Qjuh
b86573db3c
fix(Action): don't add recipients to guild channels ( #11479 )
...
* fix(Action): don't add recipients to guild channels
* pref: no array
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2026-04-03 23:18:30 +02:00
Jiralite
cd1b6a0f63
chore(discord.js): release discord.js@14.26.1
2026-04-03 20:32:44 +01:00
Qjuh
67566d0b0e
fix: only return DMChannel that have the user as known recipient ( #11478 )
2026-04-03 20:19:26 +01:00
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
Vlad Frangu
d92695cdd6
chore: brother why
2024-05-04 20:50:15 +03:00
Vlad Frangu
1d27b3bde0
chore: fix duplicated discord.js changelog
2024-05-04 20:50:15 +03:00
Vlad Frangu
903a7d3404
chore: fix duplicated voice changelog
2024-05-04 20:50:15 +03:00
Vlad Frangu
840dc565cd
chore: update templates for create-discord-bot
2024-05-04 20:50:15 +03:00
Vlad Frangu
a84086194e
chore(discord.js): release discord.js@14.15.0
2024-05-04 20:50:15 +03:00
Vlad Frangu
b66c067dd7
chore(core): release @discordjs/core@1.2.0
2024-05-04 20:50:15 +03:00
Vlad Frangu
e9d560f128
chore(ws): release @discordjs/ws@1.1.0
2024-05-04 20:50:15 +03:00
Vlad Frangu
6f986886c5
chore(proxy): release @discordjs/proxy@2.1.0
2024-05-04 20:50:15 +03:00
Vlad Frangu
7b913b674f
chore(rest): release @discordjs/rest@2.3.0
2024-05-04 20:50:15 +03:00
Vlad Frangu
7dc51aa935
chore(builders): release @discordjs/builders@1.8.0
2024-05-04 20:50:15 +03:00
Vlad Frangu
16df4f3c38
chore(voice): release @discordjs/voice@0.17.0
2024-05-04 20:50:15 +03:00
Vlad Frangu
6239f24f19
chore(util): release @discordjs/util@1.1.0
2024-05-04 20:50:15 +03:00
Vlad Frangu
92501ae343
chore(formatters): release @discordjs/formatters@0.4.0
2024-05-04 20:50:15 +03:00
Vlad Frangu
35f2b3a8c9
chore(create-discord-bot): release create-discord-bot@0.3.0
2024-05-04 20:50:15 +03:00
Vlad Frangu
23ed447ec2
chore(collection): release @discordjs/collection@2.1.0
2024-05-04 20:50:15 +03:00
Vlad Frangu
5d61197ca3
chore(brokers): release @discordjs/brokers@0.3.0
2024-05-04 20:50:15 +03:00
Almeida
a6b9f1b37e
fix(Message): not crosspostable if has a poll ( #10246 )
2024-05-04 16:21:04 +00:00
Jacob Morrison
cb961f5be3
types: add Poll to Message ( #10245 )
...
* Add poll to message type
* Add poll to message type without whitespace changes
2024-05-04 16:06:16 +00:00
codershiba
96169add6d
docs: Remove duplicate word in comment ( #10244 )
...
* fix: Remove duplicate word in comment
* Update README.md
not part of the typo
---------
Co-authored-by: Souji <timoqueezle@gmail.com >
2024-05-04 08:33:24 +00:00
DD
728164ed86
feat(ws): support for custom worker messaging ( #10241 )
2024-05-03 14:53:09 +00:00
Almeida
6cf094c282
feat(MessageManager): poll methods ( #10239 )
...
* feat(MessageManager): poll methods
* docs: wording
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2024-05-02 20:54:00 +00:00
Almeida
997887069a
feat: consumable entitlements ( #10235 )
...
* feat: consumable entitlements
* feat: move logic to EntitlementManager
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-05-01 17:57:25 +00:00
Almeida
a1aeaeb9d8
feat: polls ( #10185 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-04-30 23:21:07 +00:00
Almeida
c7adce351a
build: bump discord-api-types to 0.37.83 ( #10238 )
...
build: bump discord-api-types to 0.37.82
2024-04-30 23:04:00 +00:00
Parbez
7ea3638dbc
fix: don't mutate user provided array ( #10014 )
...
* fix(builders): don't mutate user provided array
* test: add normalize array tests
* chore: revert vscode autochange
* Update util.test.ts
* refactor: remove unnecessary clone
---------
Co-authored-by: Vlad Frangu <me@vladfrangu.dev >
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: Almeida <github@almeidx.dev >
2024-04-30 20:46:21 +00:00
DD
798f28cb9b
fix(actions): always emit message create for own messages ( #10211 )
...
* fix(actions): always emit message create for own messages
* fix: don't re-cache
* fix: user can be missing
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-04-27 22:37:16 +00:00
Synbulat Biishev
14f9ff7412
chore: Add funding field to package.json ( #10230 )
...
* chore: funding
* chore: one more package.json
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-04-27 17:26:11 +00:00
Almeida
c2e68ceaad
build: bump discord-api-types to 0.37.82 ( #10226 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-04-27 17:16:20 +00:00
Almeida
dc8f14967c
test: skip flaky rest test ( #10234 )
2024-04-27 19:11:03 +02:00
Qjuh
b79b7068e9
fix(api-extractor-model): resolve doc reference for classes with merged interfaces ( #10225 )
...
fix(api-extractor-model): resolve doc reference with merged interfaces
2024-04-27 16:35:25 +02:00
Synbulat Biishev
dae897bd09
ci: optimize tests ( #10231 )
...
chore: optimize tests
2024-04-27 16:34:58 +02:00
Jacob Morrison
4ad285804b
perf(Presence): prefer boolean client status comparison before activity checks ( #10213 )
...
Prefer boolean client status comparison before activity checks
Co-authored-by: Jacob Morrison <jake@matchmd.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-04-20 23:08:26 +00:00
iCrawl
6759f5b9c5
chore: deps
2024-04-16 21:44:21 +02:00
Qjuh
c6721d9aa7
fix(api-extractor): link class in docs if interface merging happened ( #10217 )
2024-04-16 21:34:43 +02:00
Qjuh
1c5de21a29
feat(api-extractor): support export * as ___ syntax ( #10173 )
...
* feat(api-extractor): support `export * as ___` syntax
* fix: typescript version
2024-04-16 08:35:34 +00:00
Qjuh
7baa9e4333
feat(website): add type field to search index to sort by ( #10212 )
2024-04-14 19:53:16 +02:00
Qjuh
afb97fbd00
fix(website): use correct version for cross-package links ( #10193 )
2024-04-11 17:38:04 +02:00
Qjuh
7dc5bdfef5
ci: fix call to generateSplitDocumentation if run on tag ( #10209 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-04-10 16:27:20 +00:00
Dawid Jaworski
de14c92c11
feat(ClientUser): Add support for setting bot banner ( #10176 )
...
* feat(discord.js): added support to setting bot banner
added feature to set banner for bot from code level
the function is in the experimental phase of Discord.
* fix: resolve requested changes
* fix: add missing type in ClientUserEditOptions
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2024-04-09 14:09:01 +00:00
Jiralite
464d627f1d
ci: Ensure reviews in progress label do not merge ( #10208 )
...
ci: ensure reviews do not merge
2024-04-07 23:09:39 +02:00
Almeida
bfc3b100da
feat(GuildsAPI): bulk ban users ( #10202 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-04-06 07:24:16 +00:00
n1ck_pro
f1f2683dc7
docs: remove unused Locale typedef ( #10191 )
...
docs: remove unused typedef
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-04-04 19:34:13 +00:00
avoidaway
26af3868a5
docs: remove duplicated words ( #10178 )
...
chore: remove repetitive words
Signed-off-by: avoidaway <cmoman@126.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-04-04 19:29:34 +00:00
codershiba
b6bdd578b9
feat(GuildBanManager): Add bulkCreate() method ( #10182 )
2024-04-02 19:38:48 +00:00
Almeida
ba6476d07e
build: bump discord-api-types to 0.37.78 ( #10201 )
2024-04-01 17:55:45 +00:00
Qjuh
980a2b71c7
types: generic for Webhook type ( #10188 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-03-31 14:15:21 +00:00
Qjuh
654f1a48b9
chore: remove ws dependency ( #10180 )
2024-03-31 14:09:38 +00:00
LeCarbonator
a1a3a95c94
feat: allow RestOrArray for command option builders ( #10175 )
...
* feat(builders): allow RestOrArray for command option builders
change ApplicationCommandOption methods to allow both rest and array params,
which previously wasn't consistent with other builders.
* chore: merge imports
---------
Co-authored-by: almeidx <github@almeidx.dev >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-03-24 18:12:05 +00:00
Danial Raza
ddc927fabd
fix(Embed): address equals method issue ( #10152 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-03-24 14:45:56 +00:00
Danial Raza
f500ad6e2e
refactor(ThreadChannel): use single thread member endpoint ( #10136 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-03-24 14:41:29 +00:00
cobalt
6cc5fa28e6
fix(types): Export ReadonlyCollection ( #10184 )
2024-03-20 13:10:34 +00:00
iCrawl
93c174bc82
chore: fix test type import
2024-03-11 18:15:21 +01:00
iCrawl
0d4c26ba4c
chore: deps
2024-03-11 17:50:39 +01:00
Qjuh
5f2095b76c
ci: use correct github tag in docs source links ( #10163 )
...
* ci: use correct github tag in docs source links
* fix: also apply on new tags
2024-03-09 13:52:38 +01:00
Superchupu
a66fc65742
ci: enable npm provenance ( #10164 )
...
* chore: enable npm provenance
* chore: do the same for dev releases
* chore: actually enable it in normal releases
* chore: specify provenance in `package.json`
* chore: remove `publishConfig` from api-extractor-utils as it's `private`
2024-03-04 21:11:32 +00:00
Qjuh
a1010c61f5
types: fix duplicate props in merged interfaces ( #10160 )
...
types(discord.js): fix duplicate props in merged interfaces
2024-03-04 11:55:01 +01:00
Superchupu
8de8371204
chore(gitattributes): mark pnpm-lock.yaml as generated ( #10159 )
2024-03-04 00:15:47 +01:00
iCrawl
0efd1bea46
fix: anchor link for events
2024-03-04 00:02:52 +01:00
iCrawl
9fa115df86
fix: can't use node internals on edge
2024-03-03 02:36:06 +01:00
iCrawl
79fbda3aac
feat: local and preview detection
2024-03-03 02:30:08 +01:00
iCrawl
2848591e21
fix: switch out syntax highlighter themes
2024-03-03 00:54:47 +01:00
iCrawl
3fd36f745f
ci: remove debug logging
2024-03-02 22:26:09 +01:00
iCrawl
34936a0312
chore: never cache doc generation
2024-03-02 22:21:48 +01:00
iCrawl
e401841f63
ci: more logging
2024-03-02 22:14:02 +01:00
iCrawl
d6bf0fe43e
ci: logging for ci
2024-03-02 21:52:10 +01:00
iCrawl
59f4db3e1d
ci: update split upload
2024-03-02 21:19:13 +01:00
iCrawl
71bba547b6
refactor: docs ordering
2024-03-02 20:25:51 +01:00
Noel
18cce83d80
refactor: docs ( #10126 )
2024-02-29 04:37:52 +01:00
cobalt
0f9017ef95
fix(Faces): Escape backslash in Shrug ( #10156 )
...
* fix(Faces): Escape backslash in `Shrug`
* Update formatters.ts
* Update formatters.ts
* Update formatters.test.ts
2024-02-27 17:23:31 +00:00
Jiralite
efa3cac6f2
types: Update accessibility modifiers on constructors ( #10147 )
...
types: update accessibility modifiers on constructors
2024-02-23 12:51:13 +00:00
Synbulat Biishev
bfbd62e3e0
types(Builder.from): fix wrong types ( #10071 )
...
* types(Builder.from): fix wrong types
* test: add tests
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-02-23 11:54:41 +00:00
Almeida
c8bbdb70f2
fix(ReadonlyCollection): omit clear method ( #10148 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-02-23 09:02:24 +00:00
Danial Raza
f67da74a5a
docs(ActionRow): fix deprecated message ( #10130 )
...
docs(ActionRow): fix deprecated link
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-02-23 00:37:43 +00:00
Almeida
bcd4c2cb23
types: use readonly array / collection types for user input ( #10045 )
...
* types: use readonly arrays
* chore: check on interface properties
* chore: ReadonlyCollection
* chore: exclude EventEmitter methods
* chore: resolve false positive
2024-02-23 00:29:06 +00:00
Jiralite
8c2ababa78
feat(guild): Add with_counts to getting guilds ( #10143 )
...
* feat(guild): add get with counts
* refactor: simplify `query`
Co-authored-by: Almeida <almeidx@pm.me >
---------
Co-authored-by: Almeida <almeidx@pm.me >
2024-02-21 21:52:26 +00:00
Danial Raza
1d565443b0
refactor: improve structure validation with zod ( #10103 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-02-21 20:19:43 +00:00
Matt Rubin
906ade9cc5
refactor(oauth2): remove unnecessary dependency on 'node:url' ( #10141 )
...
This change fixes a runtime error when using '@discordjs/core/http-only' on Cloudflare Workers.
2024-02-21 20:15:26 +00:00
Almeida
c89c343b0a
types(InteractionReplyOptions): allow setting MessageFlags.SuppressNotifications ( #9199 )
2024-02-20 20:28:37 +00:00
Danial Raza
992aa67841
feat(MessageCreateOptions): add enforceNonce ( #10129 )
...
Co-authored-by: almeidx <github@almeidx.dev >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-02-17 18:31:14 +00:00
Danial Raza
e9d654772d
docs(ApplicationCommandPermissionsManager): remove incorrect comment ( #10123 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-02-17 18:03:33 +00:00
Suneet Tipirneni
543d61737e
feat: add support for using keyword on discord.js Client and WebSocketManager ( #10063 )
...
* feat: add support for `using` keyword on client
* fix: use async dispose
* feat: add support for web socket manager disposing
* fix: use interface for client
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-02-13 17:48:56 +00:00
Almeida
f48cb2a357
refactor: remove usage of mixin on error classes ( #10128 )
2024-02-13 11:54:56 +00:00
Qjuh
54106dbd81
types: replace Mixins with interface merging ( #10094 )
...
* types(TextBasedChannelMixin): refactor to user interface merging instead
* types(WebhookMixin): refactor to interface merging
* fix: ignore empty-interface tslint errors
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-02-11 19:26:20 +00:00
Qjuh
ce6b2b74bc
fix(docs): remove spaces in type parameter brackets ( #10127 )
...
* fix(docs): remove spaces in type parameter brackets
* fix: missing global flag
2024-02-11 18:59:03 +01:00
Qjuh
36db77f107
fix(docs): use ts types for inherited properties instead of jsdoc ( #10125 )
...
* fix(docs): use ts types for inherited properties instead of jsdoc
* fix(docs): remove spaces in type parameters
2024-02-10 21:36:25 +01:00
iCrawl
597340f288
docs: split docs.api.json into multiple json files
2024-02-06 17:24:18 +01:00
iCrawl
ae57d7facb
chore: deps
2024-02-06 01:53:30 +01:00
Jiralite
3755e66d41
fix(resolveColor): Address case for numbers ( #10115 )
...
fix(resolveColor): address case for numbers
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-02-05 22:11:41 +00:00
DD
c878b65ef5
refactor(WebSocketShard): payload sending ( #10098 )
...
* refactor(WebSocketShard): payload sending
* fix: adjust ratelimit state onopen
* fix: use >=
* chore: spelling
Co-authored-by: space <spaceeec@yahoo.com >
---------
Co-authored-by: space <spaceeec@yahoo.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-02-05 18:42:33 +00:00
Suneet Tipirneni
f401cff3f4
fix: Correct testing local changes in CONTRIBUTING.md ( #10066 )
...
fix: remove unneeded step for testing local changes
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-02-04 20:11:36 +00:00
brynpttrsn
bff1caebd1
fix(website): move function header into switcher ( #10077 )
...
fix(website): move header into switcher
2024-02-04 21:06:50 +01:00
Qjuh
ef83bc3e41
fix(api-extractor): link to enum types on inherited properties ( #10085 )
...
* fix: link to enum types on inherited properties
* fix: `undefined` in properties without access modifier
2024-02-04 21:06:03 +01:00
Qjuh
bc9b487eb1
fix(website): always link in TypeAlias ( #10105 )
...
* fix(website): always link in TypeAlias
* fix: use div instead span for DocParagraph
2024-02-04 00:39:00 +00:00
brynpttrsn
56943a72f4
fix(website): resolve linkTags in meta description ( #10088 )
...
* fix(website): resolve linkTags in summaries
* fix: case body as block
* fix: add discord-api-types support
* fix: remove urlDestination when undefined
* fix: breaks to if/else
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-02-03 22:10:28 +00:00
Vinayak Kulkarni
9f8d7fe7b4
build: Update husky to v9 ( #10102 )
...
* refactor(dev-deps): migrate to husky v9
Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com >
* revert: only core committers in package.json
* chore: remove hashbang 🎉
* chore: remove install from prepare script ✨
* chore: upgrade to latest minor
---------
Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com >
Co-authored-by: almeidx <github@almeidx.dev >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-02-03 22:06:19 +00:00
Almeida
42bc5d2c74
fix: invert deletable message types list ( #10093 )
...
* fix: invert deletable message types list
* docs: consistency
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-02-03 21:49:11 +00:00
brynpttrsn
f69165883f
fix(website): cmdk duplicate values ( #10100 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-02-03 21:45:28 +00:00
Jiralite
d4472f85a5
refactor(resolveColor): Prioritise number type check ( #10116 )
...
* refactor(resolveColor): prioritise number type check
* refactor: prefer `!Number.isInteger()`
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-02-03 21:42:16 +00:00
Jiralite
b16647e6cc
fix(BaseClient): Fall back to userAgentAppendix ( #10113 )
...
fix(BaseClient): fall back to `Options.userAgentAppendix`
2024-02-02 16:32:18 +00:00
DD
278396e815
feat(REST): dynamic rate limit offsets ( #10099 )
...
* feat(REST): dynamic rate limit offsets
* chore: update tests
* chore: better doc comment
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
* fix: don't overlook globalReset
Co-authored-by: ckohen <chaikohen@gmail.com >
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: ckohen <chaikohen@gmail.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-01-30 09:29:42 +00:00
Jiralite
fc1f8ae374
refactor(Messages): Improve ColorConvert error ( #10108 )
...
* feat(Messages): improve `ColorConvert` error
* style(Util): consistency
2024-01-30 07:17:45 +00:00
Almeida
bfc7bb5564
docs: convert comment into private remark ( #10097 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-01-22 18:45:49 +00:00
Qjuh
a0c83a254c
refactor: make builders types great again ( #10026 )
...
* refactor: make builders types great again
* fix: subcommands only type
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-01-22 15:02:34 +00:00
Jacob Morrison
fed7f341be
Skip sweeping if the guild is not available ( #10070 )
...
* Skip sweeping if the guild is not available
* Typo
* Fix formatting
* Fix lint
* Check if key in guild
* Bwck to guild a ailable
---------
Co-authored-by: Jake Morrison <jake.morrison@pinnsg.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-01-22 13:17:23 +00:00
Danial Raza
f48787eef1
docs(BaseInteraction): correct return type of member ( #10096 )
2024-01-22 11:40:13 +00:00
Qjuh
1431c18769
fix(website): search hanging on complex types ( #10095 )
2024-01-21 17:08:31 +00:00
Almeida
33674be85e
feat(Webhook): allow setting appliedTags on send() ( #10027 )
...
* feat(Webhook): allow setting `appliedTags` on `send()`
* docs: fix grammar
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-01-15 22:29:49 +00:00
James
7e12bee337
docs: remove utf-8-validate ( #10059 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-01-13 11:10:10 +00:00
codershiba
7b8e0debeb
refactor(formatters): Add support for object and name param in formatEmoji() ( #10076 )
...
* feat: add support for name param and object in `formatEmoji()`
* Update formatters.ts
* refactor: swap priority
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2024-01-13 11:02:41 +00:00
Jiralite
136c66c213
build: Bump versions ( #9986 )
...
fix: bump versions
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-12-30 18:03:00 +00:00
Danial Raza
ce84d3efee
fix(Gateway): Export interface ( #10060 )
...
* fix(types): export missing `Gateway` interface
* docs(Gateway): update link to `WebSocketManager`
2023-12-30 17:40:20 +00:00
Renegade334
4824ac154d
docs(ThreadMember): fix docblock async return type ( #10058 )
2023-12-28 12:24:30 +00:00
Almeida
0f1e02b3dd
fix(escape*): dont escape urls ( #9958 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-12-24 16:16:33 +00:00
Almeida
c4fcee3ef6
feat: premium application subscriptions ( #9907 )
...
* feat: premium application subscriptions
* types: readonly array
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
* fix: requested changes
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
* fix: core client types
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-12-24 15:49:58 +00:00
iCrawl
520d6f64dd
fix: nextjs unreliable params in route
2023-12-21 05:19:32 +01:00
iCrawl
1c3211a5fc
fix: remove ppr from website for now
2023-12-21 04:39:14 +01:00
iCrawl
891a67ac4d
fix: use proper api endpoint
2023-12-20 23:49:39 +01:00
iCrawl
7b5c31b2bc
refactor: fetch versions on the client
2023-12-20 23:21:49 +01:00
iCrawl
d869d9b3fe
style: fix up lint
2023-12-19 14:45:28 +01:00
iCrawl
171cb182ed
chore: deps
2023-12-19 14:33:04 +01:00
Jiralite
db56324624
types(DirectoryChannel): Ensure directory channels cannot contain user mentions when stringified ( #10043 )
...
* types(DirectoryChannel): `ChannelMention` `toString()`
* refactor: dynamic test
2023-12-18 22:30:24 +00:00
Almeida
a000df624c
chore: use double quotes for globs in scripts ( #10032 )
2023-12-18 18:14:15 +01:00
Danial Raza
6cd6e3baaf
chore: use string values in vs code settings ( #10028 )
2023-12-18 18:13:55 +01:00
Qjuh
e43f96cec5
ci: always use the workflows from main branch ( #10048 )
2023-12-18 18:13:30 +01:00
Danial Raza
461948c07d
fix: deprecate underscore in favor of underline ( #10054 )
...
* fix: deprecate `underscore` in favor of `underline`
* refactor: use `underline` in `underscore`
Co-authored-by: Almeida <github@almeidx.dev >
---------
Co-authored-by: Almeida <github@almeidx.dev >
2023-12-17 20:44:54 +00:00
advaith
1acc9abae2
types: change Awaitable<void> to void ( #10017 )
...
Co-authored-by: Almeida <almeidx@pm.me >
2023-12-17 13:54:21 +00:00
Jiralite
18c2dccd0e
feat: Utilise create-discord-bot ( #10013 )
...
* feat: utilise create-discord-bot
* chore: hide line numbers
* feat: add intents page
* feat: add more Node.js variants
* refactor: redo page a bit
* fix: 👀
* chore: touch up introduction page
* chore: touch up what's new
* chore: touch up how to contribute
* chore: remove enforced locale
* chore: Fix typo
Co-authored-by: Danial Raza <danialrazafb@gmail.com >
* chore: commit suggestions
Co-authored-by: Souji <timoqueezle@gmail.com >
* chore: address improper capitalisation
Co-authored-by: Souji <timoqueezle@gmail.com >
* refactor: remove `applications.commands`
* refactor: remove unique comment
* fix(intents): remove shard comment
* docs(intents): add missing info
---------
Co-authored-by: Danial Raza <danialrazafb@gmail.com >
Co-authored-by: Souji <timoqueezle@gmail.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-12-14 21:15:27 +00:00
Qjuh
adfd9cd3b3
refactor: use interfaces for AsyncEventEmitter event maps ( #10044 )
...
* refactor: use interfaces for AsyncEventEmitter event maps
* refactor: apply suggestions from code review and add tests
* refactor: better errors on missing dispatch types
2023-12-14 16:09:13 +00:00
Qjuh
f2138bb5a8
ci: always generate docs with latest main ae ( #10037 )
2023-12-13 14:06:50 +01:00
Qjuh
651ffc2caf
feat(website): more builtin docs links ( #10030 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-12-10 14:06:09 +00:00
Vlad Frangu
319ef9a70b
feat: use globally available WebSocket client in runtimes that have it ( #10042 )
2023-12-10 13:42:02 +00:00
Jiralite
8ace6face8
docs(CategoryCreateChannelOptions): Update reference ( #10031 )
...
docs(CategoryCreateChannelOptions): update reference
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-12-05 19:26:27 +00:00
Jiralite
e245a390e7
docs(resolvePartialEmoji): Add @internal to all overloads ( #10033 )
...
docs: add `@internal`
2023-12-05 19:19:52 +00:00
Jiralite
2b8ac35e56
refactor: Document relevant types as @internal ( #9974 )
...
* refactor: mark data resolver as internal
* docs: mark relevant TypeScript symbols as `@internal`
* docs: extra additions
* style: prefer at end
* docs: add more `@internal`s
* test: update template code
2023-12-05 18:15:08 +00:00
Danial Raza
62e31cb9ee
fix(InteractionResponses): check if ephemeral message flag is used ( #10021 )
2023-12-04 20:16:26 +00:00
Ryan Munro
941642ad2f
fix: replace internal calls to Emoji#url ( #10025 )
2023-12-03 22:53:02 +00:00
Jiralite
54453b04e5
chore(uploadDocumentation): Expose full error ( #10012 )
...
chore: expose full error
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-12-02 12:50:53 +00:00
Danial Raza
b992019a78
docs(PermissionOverwriteManager): PermissionsFlagsBit typo ( #10004 )
...
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2023-12-01 20:58:21 +00:00
Qjuh
17a6f5d3c9
types: omit unnecessary methods from <ContextMenuCommandInteraction>.options ( #10003 )
...
* types: omit getUser/Member/Message from ContextMenu interaction
* types: omit getAttachment and add tests
* fix: remove duplicate tests
2023-12-01 20:13:20 +00:00
Qjuh
a44ada661f
feat(website): show union members of type aliases ( #10001 )
...
* feat(website): show union members of type aliases
* refactor: suggestions from code review
* Apply suggestions from code review
---------
Co-authored-by: Noel <buechler.noel@outlook.com >
2023-12-01 02:19:07 +01:00
Qjuh
b229240731
ci: documentation.yml refactor branch/tag check to one place only ( #10008 )
...
* ci: fix documentation manual dispatch run on tag
* ci: move conditional to env var
* fix: spacing
2023-12-01 02:12:36 +01:00
Qjuh
1ec2901f56
feat(website): type parameters on methods and overloads ( #9998 )
...
* feat(website): type parameters on methods and overloads
* refactor: add collapsible parameter list
2023-12-01 02:11:59 +01:00
Renegade334
179af387d0
refactor(ThreadMemberManager): #remove accepts UserResolvable ( #10000 )
...
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2023-12-01 00:35:59 +00:00
Vlad Frangu
e412a22ceb
fix: export "ESM" types when discord.js is imported in ESM land ( #10009 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-11-30 23:19:22 +00:00
Jiralite
30f6a5fc56
types(InteractionWebhook): Add client ( #9997 )
...
types(InteractionWebhook): add `client`
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-11-30 21:48:54 +00:00
brynpttrsn
cbbbfb9823
fix(website): serialize methods with overload index ( #10005 )
...
fix: add overload index to methods
2023-11-30 22:43:43 +01:00
Qjuh
fe90487974
ci: fix documentation manual dispatch run on tag ( #10007 )
2023-11-30 22:41:55 +01:00
Noel
d0aa8d25e2
ci: fix deploy-website
2023-11-24 12:23:31 +01:00
Qjuh
bc2ecef73d
fix: cross package links again ( #9995 )
2023-11-24 12:10:16 +01:00
Qjuh
9fdbf0ad65
fix(website): doc links to other packages ( #9994 )
...
* fix(website): doc links to other packages
* fix: missing parameter
* Apply suggestions from code review
Co-authored-by: Almeida <almeidx@pm.me >
---------
Co-authored-by: Almeida <almeidx@pm.me >
2023-11-22 19:06:13 +01:00
Qjuh
57c414be21
fix(website): discord-api-types links, URL links and some minor doc issues ( #9990 )
...
* fix(website): correctly link to discord-api-types in link tags
* fix: url links and some minor doc issues
* fix: unneeded import
* fix: another unneccessary import
* fix: several linting issues
* refactor: simplify ApiItemLike interface
* refactor: apply suggestions
* fix: missing newline in docComment
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-11-22 08:26:43 +00:00
Jiralite
e9ff99101b
docs: Remove hyphen after @returns ( #9989 )
...
docs: remove hyphen after `@returns`
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-11-21 17:16:51 +00:00
Qjuh
3d1c884926
refactor(website): remove unneccessary addPackageToModel function ( #9983 )
...
* types: fix links in @deprecated tags
* Merge branch 'main' into fix/deprecated-links-d.ts
* fix: searchIndices
* refactor: apply review suggestions
* refactor: remove addPackageToModel function
* fix: event links in search index
* fix: wrong overload condition
2023-11-21 10:06:13 +01:00
Rahul Mishra
ce0be392d8
fix(Bun): Fix typo for Bun template ( #9987 )
...
fix(create-discord-bot): Fix typo for Bun Template which caused install errors
2023-11-18 16:58:33 +00:00
Qjuh
802ec63a48
fix(website): cross package deprecated links ( #9981 )
...
* refactor: minify api.json by shortening keys
* fix: links to other packages
* refactor: get doclink from canonicalReference, not model
* fix: types
* fix: again
* fix: @link tags with alt texts
* fix(website): cross-package links in @deprecated
2023-11-18 11:45:32 +01:00
Qjuh
5a715706df
fix(website): search index generation ( #9980 )
...
* types: fix links in @deprecated tags
* Merge branch 'main' into fix/deprecated-links-d.ts
* fix: searchIndices
* refactor: apply review suggestions
2023-11-18 10:44:06 +00:00
Vlad Frangu
ae58053dc8
chore: release @discordjs/rest@2.2.0 & @discordjs/core@1.1.1 ( #9978 )
...
* chore(rest): release @discordjs/rest@2.2.0
* chore(core): release @discordjs/core@1.1.1
* chore: at this point might as well hand write
2023-11-18 00:01:40 +00:00
Jiralite
5da5be2bc9
fix(route): Conditionally prefix package names ( #9975 )
...
fix(route): conditionally prefix package names
2023-11-17 23:38:49 +01:00
Noel
55be1c901a
ci: properly extract name from minified docs files
2023-11-17 23:37:14 +01:00
Qjuh
492f86af39
refactor: minify api.json by shortening keys ( #9971 )
...
* refactor: minify api.json by shortening keys
* fix: links to other packages
* refactor: get doclink from canonicalReference, not model
* fix: types
* fix: again
* fix: @link tags with alt texts
2023-11-17 23:26:48 +01:00
Qjuh
9868772b64
docs: fix links in @deprecated tags ( #9976 )
...
types: fix links in @deprecated tags
2023-11-17 20:44:39 +00:00
Vlad Frangu
6df233de14
feat: present x-ratelimit-scope for 429s hit ( #9973 )
...
* feat: present x-ratelimit-scope for 429s hit
* fix: get scope from headers for burst too
2023-11-16 10:49:05 +00:00
Qjuh
0aa7dc1b86
fix: replace Object< with Record< ( #9970 )
2023-11-15 20:20:21 +01:00
Qjuh
cab60142ff
fix: type mapping for docgen methods/props ( #9969 )
...
* fix: minify mainlib docs json
* fix: minify them all
* fix: type mapping for docgen methods/props
2023-11-14 20:54:29 +00:00
Qjuh
4b88306dcb
fix: minify mainlib docs json ( #9963 )
...
* fix: minify mainlib docs json
* fix: minify them all
2023-11-14 09:13:28 +01:00
iCrawl
f9177be61b
fix: don't hardcode discordjs special case
2023-11-14 02:04:02 +01:00
iCrawl
75137bac6f
refactor: don't prebuild on preview builds
2023-11-14 01:55:08 +01:00
iCrawl
00063912ee
fix: conflict resolution
2023-11-14 01:35:08 +01:00
iCrawl
8f432400d8
build: multi-config build and dep update
2023-11-14 01:26:22 +01:00
iCrawl
75fc7f2454
ci: include secret
2023-11-13 23:21:35 +01:00
iCrawl
01c63d2e0f
refactor: switch to vercel blob for docs
2023-11-13 23:15:16 +01:00
iCrawl
ffc3ea5c3f
fix: hardcode redirect for main lib for now
2023-11-13 21:37:59 +01:00
iCrawl
1d2d01e1f5
ci: dont set the ci to failed on fail to upload docs
2023-11-13 21:31:46 +01:00
iCrawl
0063dae43b
fix: use correct pkg variable
2023-11-13 21:30:05 +01:00
iCrawl
69c949ab28
fix: properly switch versions
2023-11-13 21:17:42 +01:00
iCrawl
25d552b318
fix: missing on conflict clause
2023-11-13 21:09:43 +01:00
iCrawl
c4767bacde
refactor: switch to vercel pg
2023-11-13 21:07:01 +01:00
iCrawl
9a8110047e
fix: cache nextjs cache output with turbo
2023-11-13 19:55:08 +01:00
iCrawl
d4ebc369ca
fix: dont cache nextjs cache
2023-11-13 19:31:55 +01:00
iCrawl
b150d4ac27
fix: provide full path for pre-gen
2023-11-13 19:19:26 +01:00
iCrawl
81a892e27f
fix: properly create index
2023-11-13 19:13:32 +01:00
iCrawl
bc8f83368a
feat: reintroduce outline navigation
2023-11-13 18:03:23 +01:00
Qjuh
7c935dc84b
feat: docs for mixin methods, examples ( #9960 )
2023-11-13 15:03:47 +01:00
iCrawl
8d04cbc203
chore: add loading page for suspense
2023-11-13 11:23:59 +01:00
iCrawl
356cadb382
chore: enable prefetch
2023-11-13 11:07:47 +01:00
iCrawl
978a39f6d3
chore: disable prefetch
2023-11-13 10:48:51 +01:00
iCrawl
516be87a87
fix: properly display all versions in selector
2023-11-13 10:22:44 +01:00
Qjuh
b79351ba99
fix(website): misc improvements ( #9940 )
...
* refactor: use tokenRange for typeParams in heritage
* fix: correct type param replacement
* fix: ae config, link builtin in summary, `: | T` => `: T`, mainlib tsdoc
* fix: requested changes and tests
* chore: better deprecation messages and code cleanup
* fix: cleanup optional chainings
---------
Co-authored-by: Almeida <almeidx@pm.me >
2023-11-13 09:55:23 +01:00
iCrawl
2d63d93558
ci: add readmes to build output for cache
2023-11-13 00:17:43 +01:00
iCrawl
b305194841
ci: revert deploying vercel with ci for now
2023-11-13 00:12:37 +01:00
Vlad Frangu
2550c7931d
chore(discord.js): release discord.js@14.14.1 ( #9957 )
...
* chore(discord.js): release discord.js@14.14 .1
* chore: actual changelog
2023-11-12 22:06:14 +00:00
Almeida
40726db722
refactor: use formatters ( #9956 )
...
* refactor: use formatters
* fix: imports
* fix: imports pt.2
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-11-12 21:56:10 +00:00
Aura
1e4ef35436
docs: use preferred nullable syntax (?T over T | null) ( #9946 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-11-12 21:45:02 +00:00
Aura
4bc1dae36f
types: use wrapper utilities ( #9945 )
...
* types: use `Awaitable<T>` instead of `Promise<T> | T`
* types: use `JSONEncodable<T>` over raw definition
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-11-12 21:40:59 +00:00
Almeida
cc07a28f12
fix(Emoji): id set as undefined edge case ( #9953 )
2023-11-12 21:34:24 +00:00
Jiralite
f93abf7e35
fix(BaseClient): Default in objects properly ( #9952 )
...
fix(BaseClient): default in objects properly
2023-11-12 21:14:09 +00:00
Jiralite
f0ec70dfda
feat: bump package versions ( #9951 )
...
* feat: bump package versions
* chore(create-discord-bot): release create-discord-bot@0.2.3
---------
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
2023-11-12 20:22:55 +00:00
Jaw0r3k
8a6045f600
fix: import picocolors as default ( #9949 )
2023-11-12 19:39:08 +00:00