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
Jiralite
28a2503845
fix(interactions): options should be optional ( #10683 )
...
fix(interactions): fix optional overloads
2025-01-03 23:10:09 +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
a6685a319e
build: bump dependencies ( #10671 )
2024-12-31 21:31:34 +01: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
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
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
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
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
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
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
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
Ryan Munro
40fbd827fa
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>
2024-11-17 22:48:30 +00:00
Jiralite
3669d5e112
docs(channel): Clarify emoji parameter ( #10595 )
...
* docs(channel): clarify emoji parameter
* docs: actually add `@example`
* docs: clarify the kind of encoding
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>
2024-11-15 10:04:31 +00:00
Danial Raza
1fd662629d
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>
2024-11-04 10:48:41 +00:00
Danial Raza
a9f629b0d3
feat: add soundboard ( #10536 )
...
* feat: add soundboard
* chore: disable `jsdoc/check-param-names` rule
* fix: export `SoundboardSoundsAPI`
2024-11-04 10:03:13 +00:00
Pablo
ed78e45706
build: bump discord-api-types version ( #10575 )
...
* chore: bump discord-api-types version
* fix: delete extra file
2024-10-27 06:15:28 +00:00
Qjuh
b20346f430
chore: unpin discord-api-types ( #10524 )
...
* chore: unpin discord-api-types
* chore: bump discord-api-types
2024-10-01 10:07:58 +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
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
Danial Raza
799fa54fa4
docs: update discord documentation links ( #10484 )
2024-09-10 19:23:53 +00:00
Vlad Frangu
18ce10a9af
chore: bump major releases to node 20
2024-09-02 22:26:25 +03:00
Vlad Frangu
6a6bc63973
chore: requested cleanup
2024-09-02 22:26:25 +03:00
Vlad Frangu
2cb2d81b82
chore: cleanup changelogs
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
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
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
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
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
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
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
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
Almeida
bb71dc825e
build: bump discord-api-types to 0.37.94 ( #10446 )
2024-08-19 13:26:00 +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
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
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
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
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
346d1be72b
build: Bump dependencies ( #10322 )
...
* build: bump dependencies
* build: update pnpm to 9.1.4
2024-06-05 09:42:33 +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
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
Vlad Frangu
b66c067dd7
chore(core): release @discordjs/core@1.2.0
2024-05-04 20:50:15 +03:00