Jiralite
41dee5177d
feat: Incident Actions ( #10727 )
...
* feat: initial commit
* feat: add guild helper
* docs: `guild` is required
* docs(IncidentActions): move to guild
* fix: `incidents_data` is nullable
* fix: method typo
* fix: default to `null`
* fix: use `new Date()`
* docs: note that it is not received over the gateway
* refactor: use transformer
* chore: resolve TODO
* chore: typo
Co-authored-by: Danial Raza <danialrazafb@gmail.com >
* chore: suggestions
Co-authored-by: Almeida <github@almeidx.dev >
* chore: consistency
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>
2025-01-29 09:43:27 +00:00
Jiralite
bbde371324
build: bump discord-api-types to 0.37.118
2025-01-29 09:35:44 +00:00
Jiralite
66b971899a
docs: Use link tags to render links on the documentation ( #10731 )
...
* docs: use link tags
* docs(DateResolvable): update link
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-01-29 09:29:59 +00:00
Qjuh
43235d43fe
feat(website): type parameters links, builtin doc links, default values ( #10515 )
...
* feat(website): links to type parameters, builtin doc links in api.json
* feat(website): show default values for params and props in excerpt
* fix: link in jsdoc
---------
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2025-01-28 13:32:29 +00:00
Amgelo563
31df3d21cd
docs(Message): improve message snapshots description ( #10709 )
...
* docs(Message): improve message snapshots description
* docs(Message): remove snapshots single entry callout
---------
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2025-01-25 19:49:28 +00:00
Almeida
2663d76709
refactor: use throw instead of Promise.reject ( #10712 )
...
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
Co-authored-by: Renegade334 <Renegade334@users.noreply.github.com >
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-01-24 09:41:17 +00:00
Danial Raza
44a1e85847
types(ThreadOnlyChannel): remove incorrect messages property ( #10708 )
...
* types(ThreadOnlyChannel): remove incorrect `messages` property
Co-authored-by: TÆMBØ <TAEMBO@users.noreply.github.com >
* test: t e s t s
* test: revamp tests
---------
Co-authored-by: TÆMBØ <TAEMBO@users.noreply.github.com >
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com >
2025-01-18 07:45:39 +00:00
Danial Raza
d2e1924fa6
types: add undefined to flags for exactOptionalPropertyTypes ( #10707 )
2025-01-18 07:44:24 +00:00
Naiyar
68dd260dee
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-18 07:43:13 +00:00
Naiyar
5e66f85f55
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:28:10 +00:00
Almeida
46060419a9
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:35:40 +00:00
Digital
7c1b73cc69
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:34:19 +00:00
Naiyar
95db597fc8
refactor(IntegrationApplication): move common properties to Application ( #10627 )
...
* refactor(IntegrationApplication): move common properties to Application
* fix: remove prop from ClientApplication
2025-01-13 10:33:56 +00:00
Almeida
0047a49b73
types: remove createComponent and createComponentBuilder ( #10687 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2025-01-13 10:31:58 +00:00
Naiyar
32dff01f29
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 22:29:58 +00:00
Danial Raza
efa50fc3fa
feat(Subscription): add renewalSkuIds ( #10662 )
2025-01-09 19:03:50 +00:00
Qjuh
aa61c20ffd
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>
2025-01-09 19:02:28 +00:00
Jiralite
d48136bee1
chore(discord.js): release discord.js@14.17.3
2025-01-08 00:33:54 +00:00
Jiralite
46bf8f0146
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:23:55 +00:00
Danial Raza
7280d4e82e
fix: use resolve() for PermissionOverwrites ( #10686 )
...
* fix: use `resolve()` for `PermissionOverwrites`
* fix: typo
Co-authored-by: René <contact.9a5d6388@renegade334.me.uk >
---------
Co-authored-by: René <contact.9a5d6388@renegade334.me.uk >
2025-01-04 17:09:05 +00:00
Jiralite
bd2914cc98
chore(discord.js): release discord.js@14.17.2
2025-01-02 00:27:09 +00:00
Jiralite
77804cfd55
fix(InteractionResponses): check correct property for deprecation
...
Resolves #10676 .
2025-01-02 00:07:51 +00:00
Vlad Frangu
8fea3ed978
chore(discord.js): release discord.js@14.17.1
2025-01-02 01:48:25 +02:00
Vlad Frangu
05c63cd9a1
chore(rest): release @discordjs/rest@2.4.2
2025-01-02 01:45:37 +02:00
Jiralite
8d69b24b5c
fix: correct guild member banner URL
2025-01-01 23:44:32 +00:00
Vlad Frangu
9baee4b2ce
chore(discord.js): release discord.js@14.17.0
2025-01-02 00:29:07 +02:00
Vlad Frangu
c986a99104
chore(core): release @discordjs/core@2.0.1
2025-01-02 00:25:35 +02:00
Vlad Frangu
2b9e4cf9d0
chore(ws): release @discordjs/ws@2.0.1
2025-01-02 00:22:09 +02:00
Vlad Frangu
1af2f4ed0e
chore: point ws to ^1.2.0
2025-01-02 00:09:25 +02:00
Vlad Frangu
b901ff7c4c
chore: bump builders, formatters and unpin ws
2025-01-01 23:38:43 +02:00
Vlad Frangu
5f8915f6d1
chore(rest): release @discordjs/rest@2.4.1
2025-01-01 23:38:38 +02:00
Jiralite
ff42d7af72
fix(InteractionResponses): do not use in if a string is passed
2024-12-24 18:20:02 +00:00
Jiralite
0fdbabea98
build: bump discord-api-types to 0.37.114
2024-12-24 12:06:51 +00:00
Jiralite
e9944b3d2d
build: bump discord-api-types to 0.37.113
2024-12-22 20:58:53 +00:00
Jiralite
2b9833cd36
Revert "feat(ClientApplication): add webhook events ( #10588 )"
...
This reverts commit 7b2a2e3a15 .
2024-12-19 00:14:41 +00:00
Naiyar
7b2a2e3a15
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-19 00:12:47 +00:00
Naiyar
6087088579
fix: use Message#interactionMetadata ( #10654 )
2024-12-19 00:10:31 +00:00
Jiralite
622acbcbf0
feat(InteractionResponses): support with_response query parameter ( #10636 )
...
feat(InteractionResponses): support with_response query parameter
Co-authored-by: Ryan Munro <monbrey@gmail.com >
2024-12-18 18:58:22 +00:00
Danial Raza
b2754d4a0e
fix(InteractionResponses): properly resolve message flags ( #10661 )
2024-12-18 15:02:35 +00:00
Jiralite
53cbb0e36d
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:23:02 +00:00
Jiralite
7ce6f2fc8a
refactor(FetchApplicationCommandOptions): Use Locale over LocaleString ( #10625 )
...
refactor(FetchApplicationCommandOptions): prefer `Locale`
2024-12-05 22:05:23 +00:00
Vlad Frangu
76042f0538
docs: correct discord-api-types URLs ( #10622 )
...
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2024-12-05 22:03:31 +00:00
Danial Raza
dedaa5d657
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-12-05 22:01:13 +00:00
Jiralite
ed00a10e1f
build: Bump discord-api-types to 0.37.109 ( #10619 )
...
build: bump discord-api-types
2024-12-05 21:48:14 +00:00
Naiyar
ae1deac2bf
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 20:30:44 +00:00
Jiralite
a367e2c8c9
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:58:19 +00:00
Jiralite
7678f1176a
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 15:57:06 +00:00
Danial Raza
4cca33d9b0
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-12-02 08:33:52 +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
bda31284bf
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 12:16:35 +00:00