Almeida
aac247cc18
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 08:37:02 +00:00
Jiralite
a78dd012dc
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 08:07:17 +00:00
Jiralite
2c08b0f975
feat(thread)!: Add query to getting a thread member ( #11136 )
...
BREAKING CHANGE: Third parameter of `ThreadsAPI#getMember()` is now `query`, pushing `options` to the fourth.
* feat(thread): add query to getting a thread member
* Apply suggestion from @almeidx
Co-authored-by: Almeida <github@almeidx.dev >
* Apply suggestion from @almeidx
Co-authored-by: Almeida <github@almeidx.dev >
---------
Co-authored-by: Almeida <github@almeidx.dev >
2025-10-06 10:35:31 +01:00
Jiralite
ffbb7b6936
feat: Add gateway endpoints ( #11130 )
...
feat: add gateway
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-10-04 16:35:21 +00:00
Jiralite
90aac127fa
fix(users): Correct type for editing current guild member ( #11099 )
...
* fix(user): use correct type
* fix: imports
* fix: imports
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-09-10 21:11:52 +00:00
Jiralite
698b92c2ad
fix(guild)!: Remove API related to guild ownership ( #11029 )
...
* fix(guild): deprecate guild owner API
* style: prettier
2025-08-06 21:36:09 +03:00
Jiralite
a2ee3932b6
fix(guild): Creating a template actually creates a template ( #11030 )
...
feat(guild): add creating a template
2025-08-04 18:46:26 +00:00
Jiralite
2e9bfba5f4
fix!: Remove guild creation ( #11012 )
...
BREAKING CHANGE: Guild creation is no longer possible.
2025-07-26 12:25:36 +01:00
Jiralite
1105ec9abc
feat(channel)!: New pinned messages routes ( #10988 )
...
* feat(channel): new pinned messages routes
* fix: `query` is optional
Co-authored-by: Almeida <github@almeidx.dev >
---------
Co-authored-by: Almeida <github@almeidx.dev >
2025-07-14 22:11:04 +01:00
Jiralite
35cc57ab92
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-10 23:16:07 +00:00
Danial Raza
02fbb706aa
build: bump discord-api-types to 0.38.14 ( #10960 )
2025-07-01 04:44:33 +00:00
Jiralite
cbb20566c5
feat(webhook): Support with_components ( #10945 )
...
feat: support `with_components`
2025-06-22 09:42:01 +00:00
Almeida
e094faf225
docs: add missing, fix existing ( #10842 )
...
* docs: add missing, fix existing
* refactor: new stuff
* fix: requested changes
* fix: use `@link` for `@mixes`
Co-authored-by: Qjuh <76154676+Qjuh@users.noreply.github.com >
* chore: disable bad eslint rule
---------
Co-authored-by: Qjuh <76154676+Qjuh@users.noreply.github.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-06-02 17:35:43 +00:00
Noel
f580de8025
chore: upgrade deps ( #10824 )
2025-04-05 13:18:56 +02:00
Danial Raza
6e61ec6358
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-01-28 12:33:34 +00:00
Almeida
670667d65b
feat: add auth option in api methods ( #10717 )
...
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: Denis-Adrian Cristea <didinele.dev@gmail.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-01-24 11:23:17 +00:00
Naiyar
a3fa1a8dcd
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-01-24 09:11:18 +00:00
Jiralite
3d85d96f08
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-01-24 09:03:43 +00:00
Naiyar
aa90f00d11
types(interactions): fix overloads ( #10702 )
...
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2025-01-18 19:19:41 +00:00
Jiralite
28a2503845
fix(interactions): options should be optional ( #10683 )
...
fix(interactions): fix optional overloads
2025-01-03 23:10:09 +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
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
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
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
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
799fa54fa4
docs: update discord documentation links ( #10484 )
2024-09-10 19:23:53 +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
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
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
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
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
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
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
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
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