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
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
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
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
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
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
5d7c59c301
chore: deps
2023-08-22 00:30:08 +02:00
Suneet Tipirneni
6d5840c61e
fix(core): fix inconsistencies on core ( #9680 )
...
* fix(core): fix inconsistencies on `core`
* fix: add `createForumPost` back
* fix: create -> createWebhook
2023-07-06 13:35:10 +00:00
David Malchin
6c7a5ed1e7
fix(api): various fixes for overlooked stuff ( #9588 )
...
* types(GuildsAPI): fix `getWidgetSettings()` result type
* types(GuildsAPI): fix `beginPrune()` result type
* types(GuildsAPI): fix `editAutoModerationRule()` result type
* types(ApplicationCommandsAPI): fix guild application types
* types(GuildsAPI): fix `createTemplate()` body type
* fix(InteractionsAPI): make `followUp()` return the message
According to the Discord docs, creating a followup message is the same as executing a webhook, but *wait is always true*, meaning we always get the message.
* types(WebhooksAPI): fix result types
2023-05-22 07:59:57 +00:00
iCrawl
7e875f6919
chore: refactor workspace
2023-05-03 02:14:22 +02:00
Almeida
66dc4014fe
fix(interactions): make data parameter optional ( #9379 )
2023-04-13 22:01:08 +02:00
Almeida
6912faa9b3
fix(core): missed optional options ( #9311 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-04-04 18:37:26 +00:00
Vlad Frangu
9d69bba47c
fix(core): include data for defer ( #9284 )
2023-04-02 01:38:33 +02:00
Suneet Tipirneni
907eb1b470
feat(core): Add AbortSignal support. ( #9042 )
...
* feat: add abort signal to guilds api
* feat: add to application commands, channels, and users classes
* chore: finish up
* chore: centralize types
* chore: make requested changes
* chore: make requested changes
* refactor: consistently use empty objects
* Update packages/core/src/api/webhook.ts
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
* chore: make requested changes
* refactor: update `setVoiceState` after rebase
* chore: requested changes
* refactor: use -types interface for query
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2023-04-01 21:11:37 +00:00
iCrawl
852fae557e
chore: deps
2023-03-23 14:28:58 +01:00
Suneet Tipirneni
1b29099ed0
fix(core): use auth: false for interaction callback methods ( #9211 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2023-03-09 11:15:32 +00:00
Almeida
73300c75fa
feat: add links to each routes documentation ( #8898 )
2022-12-07 16:32:55 +00:00
Almeida
3f555d5ddf
feat(interactions): add messageId parameter to deleteReply() ( #8896 )
2022-12-07 14:23:42 +00:00
Suneet Tipirneni
2127b32d26
feat: Add @discordjs/core ( #8736 )
...
* feat: add @discordjs/core
* chore: lint
* chore: add all gateway events
* chore: add the rest of the rest routes
* chore: cleanup gateway
* chore: rename gateway to client
* chore: rename gateway to client
* fix: don't spread unless we need to
* refactor: use classes and make requested changes
* chore: show shardId on emit
* chore: add interface for intrinsic props
* refactor: scope dispatch data instead of spreading
* chore: add utility for uploading files for messages and interactions
* feat: finish up form data handling
* chore: add readme
* chore: update api-extractor stuff
* chore: bump deps
* chore: make requested changes
* chore: make requested changes
* Update package.json
* chore: make requested changes
* fix: add missing interaction responses
* chore: make some requested changes
* chore: remove `return await`
* chore: use autoModeration instead of automod
* refactor: use snowflakes and -types results
* chore: sort imports, fix return type on editUserVoiceState
* chore: rename bots to users
* feat: add automod dispatch events
* refactor: move templates and members into guild
* fix: use users instead of bots in api class
* chore: imports
* chore: make requested changes
* fix: don't make files required on interaction replies
* fix: rename sendMessage to createMessage
* feat: add application command routes
* feat: add webhook.execute overloads and options to invites.get
* chore: use create prefixes
* chore: seperate interaction params
* chore: use Id
* chore: make requested changes
* chore: make requested changes
* chore: make requested changes
* chore: for -> from
* Apply suggestions from code review
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
* Update packages/core/README.md
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
* chore: make requested changes
* chore: update -types
* chore: bump vitest
* fix: sticker uploading
* fix: lockfile
* chore: make requested changes
* chore: make requested changes
* Update packages/core/src/api/applicationCommands.ts
Co-authored-by: Almeida <almeidx@pm.me >
* Apply suggestions from code review
Co-authored-by: Aura Román <kyradiscord@gmail.com >
* Update packages/core/README.md
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
* Apply suggestions from code review
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: almeidx <almeidx@pm.me >
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: Aura Román <kyradiscord@gmail.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-11-27 21:23:13 +00:00