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
Jiralite
a6390716fe
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>
2024-12-05 15:43:35 +00:00
Jiralite
abf4b6103c
types: Export some core-specific types ( #10620 )
...
types: export core-specific types
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-12-05 09:09:43 +00:00
Jiralite
eceaa85ad4
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 08:40:46 +00:00
Danial Raza
d0dc864888
fix: update clientReady event name references ( #10632 )
2024-12-04 17:42:07 +00:00
Qjuh
bd7a995717
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>
2024-12-02 18:28:44 +00:00
René
5f0d28c0fe
fix(collection)!: default sort comparison algorithm ( #10412 )
...
BREAKING CHANGE: This replaces the previously inaccurate default sort algorithm, which may alter sort results where a user-defined comparison function is not provided.
2024-12-02 08:23:48 +00:00
Jiralite
f5445c8104
fix(RoleManager): Fetching roles is not nullable ( #10629 )
...
fix(RoleManager): `fetch()` not nullable
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-11-29 18:40:12 +00:00
Jiralite
a69600546a
docs: Typos ( #10628 )
...
chore: typos
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-11-29 17:39:24 +00:00
Jiralite
8efb72e761
refactor(FetchApplicationCommandOptions): Use Locale over LocaleString ( #10625 )
...
refactor(FetchApplicationCommandOptions): prefer `Locale`
2024-11-29 09:57:00 +00:00
Vlad Frangu
5b125eeec9
docs: correct discord-api-types URLs ( #10622 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-11-28 17:50:34 +00:00
Danial Raza
a870bc1bd3
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-11-28 17:48:04 +00:00
Jiralite
9d62ff57d6
refactor(commands): Use Locale over LocaleString ( #10624 )
...
* refactor: use `Locale`
* test: update `LocaleString` tests
2024-11-28 17:33:40 +00:00
Ryan Munro
2b0944a92f
feat(InteractionResponses)!: support with_response query parameter ( #10499 )
...
BREAKING CHANGE: `InteractionDeferUpdateOptions#fetchReply` was removed, use `InteractionDeferUpdateOptions#withResponse` instead
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2024-11-28 10:32:05 +02:00
Danial Raza
108943a397
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-11-28 08:18:44 +00:00
Jiralite
9010b121f4
fix: query is optional for some endpoints ( #10621 )
...
* fix(monetization): `query` is optional
* refactor: more defaults
2024-11-28 08:11:23 +00:00
Jiralite
e89c6b66ac
build!: Bump Node.js to 20 ( #10616 )
...
BREAKING CHANGE: Node.js 20 or above is required.
2024-11-27 16:37:35 +00:00
Jiralite
3a1b3cc8e1
build: Bump discord-api-types to 0.37.109 ( #10619 )
...
build: bump discord-api-types
2024-11-27 15:40:21 +00:00
Jiralite
97ffa201a2
test: Update deprecated emoji test ( #10607 )
...
test: update deprecated emoji test
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-11-27 08:31:11 +00:00
Vlad Frangu
0374079c67
chore(deps): bump discord-api-types ( #10611 )
2024-11-23 00:07:57 +00:00
Jiralite
98153baf91
build: Update dependencies ( #10601 )
...
* build: update dependencies
* build: upgrade pnpm to 9.13.2
2024-11-19 10:30:06 +00:00
Jiralite
b03a9e4043
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 11:58:18 +00:00
Jiralite
2fa7d6246f
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:14:29 +00:00