Danial Raza
6a42c5f929
fix!: move crosspost() to GuildMessageManager ( #10703 )
...
BREAKING CHANGE: The `crosspost()` method from `MessageManager` has been moved to `GuildMessageManager`.
2025-01-15 11:29:35 +00:00
Naiyar
1fd587c935
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-14 14:16:33 +00:00
Naiyar
a65c982ddb
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:22:14 +00:00
Almeida
18ab0cf62a
refactor(actions): removed unnecessary actions ( #10666 )
...
Removed actions that were only being used in their
respective websocket handlers. The remaining
actions either were either being used elsewhere or
were using methods from the `GenericAction` class.
Co-authored-by: Vlad Frangu <me@vladfrangu.dev >
2025-01-13 11:29:57 +00:00
Almeida
28afb0ca0a
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:26:31 +00:00
Vlad Frangu
5f7d335290
feat: fetch gateway information without requiring rest in ws ( #10651 )
...
* feat: overridable initial gateway URL
* chore: discussion changes
* chore: requested change
* chore: other changes
* Update packages/ws/src/ws/WebSocketManager.ts
* style: run ESLint
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-01-13 10:23:41 +00:00
Digital
1e29bb4049
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:20:44 +00:00
Naiyar
34b6a82935
refactor(IntegrationApplication): move common properties to Application ( #10627 )
...
* refactor(IntegrationApplication): move common properties to Application
* fix: remove prop from ClientApplication
2025-01-13 10:16:14 +00:00
Almeida
6314d96ed1
types: remove createComponent and createComponentBuilder ( #10687 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-01-13 10:08:26 +00:00
ckohen
ae0265eefc
feat(rest)!: allow passing tokens per request ( #10682 )
...
BREAKING CHANGE: `RequestData.authPrefix` has been removed in favor of `RequestData.auth.prefix`
2025-01-13 05:36:05 +00:00
Jiralite
11438c230b
refactor!: Unpin @discordjs/collection ( #10665 )
...
BREAKING CHANGE: discord.js now uses @discordjs/collection v3—a major version increase.
2025-01-13 04:48:30 +00:00
Naiyar
101bef1c52
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 21:52:45 +00:00
Jiralite
7e81d3b6c8
refactor!: Remove InteractionResponse ( #10689 )
...
BREAKING CHANGE: `InteractionResponse` has been removed. Create interaction collectors via `with_response` or fetching the reply.
2025-01-12 21:48:08 +00:00
Ryan Munro
f70ab41d56
fix(IntegrationApplication)!: remove hook ( #10699 )
...
BREAKING CHANGE: IntegrationApplication#hook has been removed.
2025-01-12 20:51:58 +00:00
Vlad Frangu
24f395412c
types: fix recurrence rule types ( #10693 )
...
* types: fix recurrence rule types
* fix: endAt not endsAt
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-01-12 20:22:09 +00:00
Jiralite
3ddb73287b
refactor!: Better application command mention format approach ( #10639 )
...
BREAKING CHANGE: The parameters of `chatInputApplicationCommandMention()` have been reordered.
2025-01-12 20:09:03 +00:00
ckohen
01e64b4e9a
fix(actions): respect ratelimits on split docs upload ( #10697 )
...
* fix(actions): respect ratelimits on split docs upload
* fix: set failed on missing uploads
2025-01-12 19:05:35 +01:00
Jiralite
9a400730f5
test: Include type checks on builders ( #10692 )
...
test: include type checks on builders
2025-01-05 12:16:25 +00:00
Jiralite
0c9901e5e4
style: Run Prettier ( #10691 )
...
style: prettier
2025-01-05 02:53:44 +01:00
Jiralite
071015caef
test: Add with_response overload tests ( #10685 )
...
test: add overload tests
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-01-05 00:22:58 +00:00
Synbulat Biishev
f5d2926c5a
feat(NewsChannel)!: return followed channel data ( #8566 )
...
BREAKING CHANGE: `GuildChannelManager#addFollower` and `AnnouncementChannel#addFollower` now return `FollowedChannelData`
2025-01-04 17:43:22 +00:00
Jiralite
1986c2d2a8
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:19:56 +00:00
Jiralite
28a2503845
fix(interactions): options should be optional ( #10683 )
...
fix(interactions): fix optional overloads
2025-01-03 23:10:09 +00:00
René
bacc08b45f
refactor(PermissionOverwrites)!: cache-independent resolve ( #10528 )
...
BREAKING CHANGE: `PermissionOverwrites#resolve`'s `overwrite` arg now requires `type` if the `id` is a Snowflake
2025-01-03 11:40:59 +02:00
Jiralite
9fea0698af
fix: Correct guild member banner URL ( #10677 )
...
fix: correct guild member banner URL
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-01-02 08:19:33 +00:00
ckohen
65883f344e
chore(cliff): don't skip breaking commits ( #10675 )
...
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2025-01-02 00:48:21 +00:00
Almeida
ad0d9a295e
chore(create-discord-bot): release create-discord-bot@1.0.0 ( #10674 )
...
* chore: fix cliff-jumper config
* chore(create-discord-bot): release create-discord-bot@1.0.0
---------
Co-authored-by: Vlad Frangu <me@vladfrangu.dev >
2025-01-01 23:28:01 +00:00
Jiralite
a111cddcea
feat: Upgrade create-discord-bot dependencies ( #10673 )
...
feat: upgrade cdb deps
2025-01-01 23:13:06 +00:00
pat
bc3a0c8389
fix(voice): mark stream as ended ( #10455 )
...
* fix: mark stream as ended
refactor: prefer destroying the stream
* refactor: callback for nextTick
test: wait duration ms to check end
chore: eslint
test: end before timeout
---------
Co-authored-by: Almeida <github@almeidx.dev >
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-12-31 20:45:24 +00:00
Almeida
a6685a319e
build: bump dependencies ( #10671 )
2024-12-31 21:31:34 +01:00
Denis-Adrian Cristea
b854c7b979
fix(SimpleIdentifyThrottler): don't sleep negative amounts ( #10669 )
...
* fix(SimpleIdentifyThrottler): don't sleep negative amounts
* fix: test
2024-12-31 18:16:57 +00:00
Danial Raza
c484e3de25
feat(Subscription): add renewalSkuIds ( #10662 )
2024-12-21 22:19:36 +00:00
Danial Raza
f1bce54a28
fix(InteractionResponses): properly resolve message flags ( #10660 )
2024-12-18 14:39:04 +00:00
Jiralite
35ebcc7d5a
refactor!: Remove deprecations ( #10645 )
...
BREAKING CHANGE: `GuildsAPI#editUserVoiceState()` has been removed. Use `VoiceAPI#editUserVoiceState()` instead.
BREAKING CHANGE: `GuildsAPI#setUserVoiceState()` has been removed. Use `VoiceAPI#setUserVoiceState()` instead.
BREAKING CHANGE: `InteractionsAPI#sendPremiumRequired()` has been removed.
BREAKING CHANGE: `StickersAPI#getNitroStickers()` has been removed. Use `StickersAPI#getStickers()` instead.
2024-12-13 18:21:10 +00:00
Danial Raza
fd1958bd67
refactor!: replace isAnySelectMenu with isSelectMenu ( #10656 )
...
BREAKING CHANGE: `BaseInteraction#isAnySelectMenu()` has been removed. Use `BaseInteraction#isSelectMenu()` instead.
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2024-12-12 10:21:00 +00:00
Naiyar
89940d55e3
fix: use Message#interactionMetadata ( #10654 )
2024-12-12 02:56:22 +00:00
Denis-Adrian Cristea
2ff47d85cf
refactor(IContextFetchingStrategy): explicitly name forwarded properties ( #10652 )
2024-12-10 06:34:15 +00:00
Jiralite
5d00332b8c
refactor!: Remove deprecations ( #10647 )
...
refactor: remove deprecations
BREAKING CHANGE: `ApplicationCommand#dmPermission` has been removed. Use `ApplicationCommand#contexts` instead.
BREAKING CHANGE: `ApplicationCommandData#dmPermission` has been removed. Use `ApplicationCommandData#contexts` instead.
BREAKING CHANGE: `ApplicationCommandData#setDMPermission` has been removed.
BREAKING CHANGE: `Message#setcon` has been removed. Use `Message#interactionMetadata` instead.
2024-12-09 13:15:57 +00:00
Rodrigo Leitão
310563ba07
refactor(GuildChannel)!: default setParent's lockPermissions to false ( #9016 )
...
BREAKING CHANGE: `GuildChannel#setParent`'s `lockPermissions` now defaults to false
2024-12-09 10:51:39 +02:00
Jiralite
231954d630
types(InteractionReplyOptions): Add withResponse ( #10637 )
...
types(InteractionReplyOptions): add `withResponse`
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-12-09 08:44:14 +00:00
Naiyar
1cfc835e97
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>
2024-12-09 08:40:35 +00:00
Almeida
b3d4259f8a
refactor!: remove deprecated CDN method overloads ( #10649 )
...
BREAKING CHANGE: Removed user avatar decoration overload from `CDN#avatarDecoration()`
BREAKING CHANGE: Removed non-object options overload from `CDN#emoji()`
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2024-12-09 06:58:47 +00:00
Jiralite
af4018c25f
refactor!: Remove underscore ( #10648 )
...
BREAKING CHANGE: Removed the `underscore()` formatter. Use `underline()` instead.
2024-12-09 00:02:34 +00:00
Jiralite
00dceb32ba
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:19:33 +00:00
Jaw0r3k
0ac140cd9f
refactor!: escape expanded markdown by default ( #9463 )
...
feat: support markdown
BREAKING CHANGE: `heading`, `bulletedList`, `numberedList`, `maskedLink` in `EscapeMarkdownOptions` now defaults to `true`.
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2024-12-05 22:43:40 +00:00
Jiralite
25633a024e
docs(InteractionDeferReplyOptions): Associate flags with its <info> ( #10635 )
...
docs(InteractionDeferReplyOptions): move `flags` down
2024-12-05 21:58:47 +00:00
Jaw0r3k
dd430c090d
refactor(guild)!: remove deprecated get guild overload ( #10052 )
...
BREAKING CHANGE: Removed `GuildsAPI#get` overload that allowed passing options as 2nd parameter
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2024-12-05 21:05:15 +02:00
Naiyar
6304c0177e
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 18:52:02 +00:00
Qjuh
07eb3865c4
types: fix Client#lastPingTimestamps ( #10634 )
...
* types: fix Client#lastPingTimestamps
* docs: consistency
* types: use ReadonlyCollection
2024-12-05 16:46:38 +00:00
Jiralite
0560842a21
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:55:50 +00:00