1d8f79e chore(release): 0.38.10 ๐ (#1258) - vladfrangu
#discord-api-types
1 messages ยท Page 5 of 1
Please describe the changes this PR makes and why it should be merged:
An addition to #1257, adding voice v8 documentation to the website
If applicable, please reference Discord API Docs PRs or commits that influenced this PR:
c670a25 chore(docs): add voice v8 to docs (#1259) - Snazzah
Please describe the changes this PR makes and why it should be merged:
Added max_dave_protocol_version to the voice identify payload, missed this from the whitepaper.
If applicable, please reference Discord API Docs PRs or commits that influenced this PR:
Please describe the changes this PR makes and why it should be merged:
Forgot to include VoiceClientDisconnect and VoiceClientsConnect to the VoiceReceivePayload union type.
If applicable, please reference Discord API Docs PRs or commits that influenced this PR:
Please describe the changes this PR makes and why it should be merged:
Fixed typos in VoiceUDPProtocolData and VoiceDavePrepareEpochData
If applicable, please reference Discord API Docs PRs or commits that influenced this PR:
d71276c fix(voice): fix remaining payload typos (#1262) - Snazzah
c0f90d2 chore(release): 0.38.11 ๐ - github-actions[bot]
[discordjs/discord-api-types] New branch created: chore/release/0.38.11
Please describe the changes this PR makes and why it should be merged:
This pull request bumps discord-api-types from 0.38.10 to 0.38.11.
โ ๏ธ Do not change the commit message when merging. It must stay in the format chore(release): ...!
โ ๏ธ Maintainers, make sure everything is alright in this PR before merging it. This is still a beta test, so things may break.
Please describe the changes this PR makes and why it should be merged:
This pull request bumps discord-api-types from 0.38.10 to 0.38.11.
โ ๏ธ Do not change the commit message when merging. It must stay in the format chore(release): ...!
โ ๏ธ Maintainers, make sure everything is alright in this PR before merging it. This is still a beta test, so things may break.
ba70b05 chore(release): 0.38.11 ๐ (#1263) - vladfrangu
[discordjs/discord-api-types] New tag created: 0.38.11
[discordjs/discord-api-types] New branch created: refactor/stable-webhook-deauthorise
[discordjs/discord-api-types] New branch created: docs/ae-warnings
3909463 docs: resolved api-extractor warnings - almeidx
[Please describe the changes this PR makes and why it should be merged:
If applicable, please reference Discord API Docs PRs or commits that influenced this PR:
](https://github.com/discordjs/discord-api-types/actions/runs/15499419923/job/43643719889#step:15:31)
c76dd31 docs: resolved api-extractor warnings (#1265) - almeidx
28bb65f chore(config): migrate config renovate.json (#1... - renovate[bot]
bb713c0 chore(deps): update eslint/prettier (#1267) - renovate[bot]
c60f8d2 chore(deps): update patch/minor dependencies (#... - renovate[bot]
9ae89dd chore(deps): lock file maintenance (#1269) - renovate[bot]
[discordjs/discord-api-types] New branch created: chore/release/0.38.12
6077500 chore(release): 0.38.12 ๐ - github-actions[bot]
Please describe the changes this PR makes and why it should be merged:
This pull request bumps discord-api-types from 0.38.11 to 0.38.12.
โ ๏ธ Do not change the commit message when merging. It must stay in the format chore(release): ...!
โ ๏ธ Maintainers, make sure everything is alright in this PR before merging it. This is still a beta test, so things may break.
๐ This pull request will be closed and re-created as there may have been new changes between the commit this pull request was opened for and the latest commit.
51f33e6 chore(release): 0.38.12 ๐ - github-actions[bot]
[discordjs/discord-api-types] New branch created: chore/release/0.38.12
Please describe the changes this PR makes and why it should be merged:
This pull request bumps discord-api-types from 0.38.11 to 0.38.12.
โ ๏ธ Do not change the commit message when merging. It must stay in the format chore(release): ...!
โ ๏ธ Maintainers, make sure everything is alright in this PR before merging it. This is still a beta test, so things may break.
758dfc8 feat(APIApplication): add `approximate_user_aut... - sdanialraza
[discordjs/discord-api-types] New branch created: feat/add-approximate-user-authorization-count
Please describe the changes this PR makes and why it should be merged:
If applicable, please reference Discord API Docs PRs or commits that influenced this PR:
[discordjs/discord-api-types] New branch created: feat/add-attachment-id
108e8ff feat(APIUnfurledMediaItem): add attachment_id - sdanialraza
Please describe the changes this PR makes and why it should be merged:
If applicable, please reference Discord API Docs PRs or commits that influenced this PR:
b2da18c feat(APIUnfurledMediaItem): add attachment_id... - sdanialraza
4ef7767 feat(APIUser): add collectibles - almeidx
[discordjs/discord-api-types] New branch created: feat/nameplates
Please describe the changes this PR makes and why it should be merged:
If applicable, please reference Discord API Docs PRs or commits that influenced this PR:
91d8516 feat(APIApplication): add `approximate_user_aut... - sdanialraza
Make this an enum and drop the API prefix
๐ This pull request will be closed and re-created as there may have been new changes between the commit this pull request was opened for and the latest commit.
[discordjs/discord-api-types] New branch created: chore/release/0.38.12
1c79207 chore(release): 0.38.12 ๐ - github-actions[bot]
Please describe the changes this PR makes and why it should be merged:
This pull request bumps discord-api-types from 0.38.11 to 0.38.12.
โ ๏ธ Do not change the commit message when merging. It must stay in the format chore(release): ...!
โ ๏ธ Maintainers, make sure everything is alright in this PR before merging it. This is still a beta test, so things may break.
31f07f9 chore(release): 0.38.12 ๐ (#1275) - vladfrangu
[discordjs/discord-api-types] New tag created: 0.38.12
818d4ee chore(deps): update eslint/prettier (#1276) - renovate[bot]
60e2b67 chore(deps): update patch/minor dependencies (#... - renovate[bot]
Lets have a CDN route function thing for nameplates ๐๏ธ
I didn't add it because its not documented and because the structure of it is not exactly clear.
From my testing, nameplates can be either prefixed with nameplates/nameplates/ or nameplates/nameplates_v2/..
Eugh, they really did nameplates dirty huh.. well w/e
77cb327 feat(APIUser): add collectibles (#1274) - almeidx
fa5ab47 chore(deps): lock file maintenance (#1278) - renovate[bot]
0776232 chore(deps): lock file maintenance (#1279) - renovate[bot]
4ea8e86 chore(release): 0.38.13 ๐ - github-actions[bot]
[discordjs/discord-api-types] New branch created: chore/release/0.38.13
Please describe the changes this PR makes and why it should be merged:
This pull request bumps discord-api-types from 0.38.12 to 0.38.13.
โ ๏ธ Do not change the commit message when merging. It must stay in the format chore(release): ...!
โ ๏ธ Maintainers, make sure everything is alright in this PR before merging it. This is still a beta test, so things may break.
3e394aa chore(release): 0.38.13 ๐ (#1280) - vladfrangu
[discordjs/discord-api-types] New tag created: 0.38.13
[discord-api-types] Branch feat/pin-messages-change was force-pushed to `cdcc221`
[discordjs/discord-api-types] New branch created: feat/role-gradient-colors
9e0dbdd feat: role gradient colors - sdanialraza
Please describe the changes this PR makes and why it should be merged:
If applicable, please reference Discord API Docs PRs or commits that influenced this PR:
[discord-api-types] Branch feat/role-gradient-colors was force-pushed to `cb1d4cd`
[discord-api-types] Branch feat/role-gradient-colors was force-pushed to `86675ff`
Please describe the changes this PR makes and why it should be merged:
For whatever reasons (tell me if you know) the removal of the explicit /indexยด caused api-extractor` to error with
Error: Internal Error: Cannot assign isExternal=true for the symbol APIEmoji because it was previously registered with isExternal=false
If applicable, please reference Discord API Docs PRs or commits that influenced this PR:
I'm in favour of keeping the /index suffix anyway (only missing file extensions next ๐)
Lol, you fixed deno build with this. Ty
ab926eb chore: fix weird issue with api-extractor (#1282) - Qjuh
Please describe the changes this PR makes and why it should be merged:
Added close codes 4021 (Disconnected: Rate Limited) and 4022 (Disconnected: Call Terminated)
If applicable, please reference Discord API Docs PRs or commits that influenced this PR:
https://github.com/discord/discord-api-docs/commit/ea32903a5219be24708ba02b1b9ea1bc6444432d
6b05db5 feat(voice): add close codes 4021 and 4022 (#1283) - Snazzah
ef1f32a chore(deps): update patch/minor dependencies (#... - renovate[bot]
7fbb3e3 feat: role gradient colors (#1281) - sdanialraza
71c6d26 feat: support new pinned messages routes (#1254) - Jiralite
43c9b1d chore: fmt - vladfrangu
f1d456d chore(deps): update eslint/prettier (#1284) - renovate[bot]
e2ce6a3 chore(deps): lock file maintenance (#1286) - renovate[bot]
f62d912 feat(APIUser): add primary_guild - sdanialraza
[discordjs/discord-api-types] New branch created: feat/add-primary-guild
Please describe the changes this PR makes and why it should be merged:
If applicable, please reference Discord API Docs PRs or commits that influenced this PR:
[discordjs/discord-api-types] New branch created: chore/release/0.38.14
31f3079 chore(release): 0.38.14 ๐ - github-actions[bot]
Please describe the changes this PR makes and why it should be merged:
This pull request bumps discord-api-types from 0.38.13 to 0.38.14.
โ ๏ธ Do not change the commit message when merging. It must stay in the format chore(release): ...!
โ ๏ธ Maintainers, make sure everything is alright in this PR before merging it. This is still a beta test, so things may break.
b238cc5 chore(release): 0.38.14 ๐ (#1288) - vladfrangu
[discordjs/discord-api-types] New tag created: 0.38.14
[discordjs/discord-api-types] New branch created: feat/add-unusual-dm-activity-until
dfb9cc8 feat(APIBaseGuildMember): add `unusual_dm_activ... - sdanialraza
Please describe the changes this PR makes and why it should be merged:
If applicable, please reference Discord API Docs PRs or commits that influenced this PR:
[discordjs/discord-api-types] New branch created: feat/guest-invites
06fc2ad feat: guest invites - sdanialraza
Please describe the changes this PR makes and why it should be merged:
If applicable, please reference Discord API Docs PRs or commits that influenced this PR:
Apologies folks - rolling https://github.com/discord/discord-api-docs/pull/7650 back - I read the wrong attribute on the PR ๐คฆ๐ป
[discord-api-types] Branch feat/add-primary-guild was force-pushed to `82ab056`
Tmk we wanna avoid Omits and use interfaces instead, so maybe export interface x extends
Rolling back while we work out if this should be enabled as public or not (looks unlikely tbh)
Thats unfortunate :/
3245f7d feat: user guild tags (#1287) - sdanialraza
15b2fa6 fix(CDNRoutes): correct guildTagBadge route - sdanialraza
[discordjs/discord-api-types] New branch created: fix/correct-guild-tag-badge-route
Please describe the changes this PR makes and why it should be merged:
Missed this change made just before the upstream PR was merged
If applicable, please reference Discord API Docs PRs or commits that influenced this PR:
1fee633 fix(CDNRoutes): correct guildTagBadge route (... - sdanialraza
Issue description
The RESTPatchAPIWebhookWithTokenMessageJSONBody type does not pick "flags", but flags seem to be required to avoid a 400 on component payloads.
This is just using the types for direct REST requests. I can work around the TS error on an unexpected property, but it's a mild nuisance.
Code sample
In the REST interaction response exchange involving:
POST .../interacti...
[discordjs/discord-api-types] New branch created: chore/release/0.38.15
49ed695 chore(release): 0.38.15 ๐ - github-actions[bot]
Please describe the changes this PR makes and why it should be merged:
This pull request bumps discord-api-types from 0.38.14 to 0.38.15.
โ ๏ธ Do not change the commit message when merging. It must stay in the format chore(release): ...!
โ ๏ธ Maintainers, make sure everything is alright in this PR before merging it. This is still a beta test, so things may break.
a8faa02 chore(release): 0.38.15 ๐ (#1293) - vladfrangu
[discordjs/discord-api-types] New tag created: 0.38.15
92b6632 chore(deps): update patch/minor dependencies (#... - renovate[bot]
82f8ec4 chore(deps): update eslint/prettier (#1294) - renovate[bot]
ecb4c33 chore(deps): update eslint/prettier to v8.36.0 ... - renovate[bot]
cbee43c chore(deps): update patch/minor dependencies (#... - renovate[bot]
3eb77eb chore(deps): lock file maintenance (#1299) - renovate[bot]
3e0171a fix(APIApplicationCommandChannelOption): exclud... - Jiralite
[discordjs/discord-api-types] New branch created: fix/directory-channel-option
In a hub, there are no channels to type in โ only a directory channel. Commands cannot be used (applications are not populated), so there is no chance of getting a directory channel.
574e5c1 fix(APIApplicationCommandChannelOption): exclud... - Jiralite
[discordjs/discord-api-types] New branch created: chore/release/0.38.16
000ee74 chore(release): 0.38.16 ๐ - github-actions[bot]
Please describe the changes this PR makes and why it should be merged:
This pull request bumps discord-api-types from 0.38.15 to 0.38.16.
โ ๏ธ Do not change the commit message when merging. It must stay in the format chore(release): ...!
โ ๏ธ Maintainers, make sure everything is alright in this PR before merging it. This is still a beta test, so things may break.
2f3b892 chore(release): 0.38.16 ๐ (#1301) - vladfrangu
[discordjs/discord-api-types] New tag created: 0.38.16
fbdf41f chore(deps): bump on-headers and compression in... - dependabot[bot]
[discordjs/discord-api-types] New branch created: dependabot/npm_and_yarn/website/multi-96c788614a
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it- `@dependabot ...
fe220db chore(deps): bump on-headers and compression in... - dependabot[bot]
30f95bc chore(deps): update eslint/prettier (#1303) - renovate[bot]
c47e145 chore(deps): update patch/minor dependencies (#... - renovate[bot]
Feature
https://github.com/discord/discord-api-docs/pull/7674
Ideal solution or implementation
Implement the types (tracking issue)
Alternative solutions or implementations
No response
Other context
No response
Please describe the changes this PR makes and why it should be merged:
This PR adds support for the POST /guilds/{guild.id}/members-search route, which enables searching for guild members using a variety of query parameters - not just by nickname as with the older endpoint.
This is a preparatory step toward reworking GuildMemberManager#search() in discord.js to utilize this newer, more flexible route. By doing so, we can offer developers greater control and precision when searching fo...
This endpoint isn't documented on Discord's end right? If not, I'm torn on documenting it, and if we do, it MUST be documented with @experimental.
[discordjs/discord-api-types] New branch created: chore/try-to-generate-prettier-website-docs-for-routes
Please describe the changes this PR makes and why it should be merged:
Should keep the Routes/CDNRoutes object the same but give much better documentation on both websites
If applicable, please reference Discord API Docs PRs or commits that influenced this PR:
05d8d41 chore: attempt 2 + jankier better return types - vladfrangu
d80a947 chore: sue me - vladfrangu
58ce5c8 chore: cmd - vladfrangu
33e0f84 chore: ugh - vladfrangu
4d92aed chore: f u and f me - vladfrangu
5cd2511 docs: generate routes interfaces automatically ... - vladfrangu
[discordjs/discord-api-types] New branch created: feat/quarantined-guild-tag
26ad868 feat(GuildMemberFlags): add `AutoModQuarantined... - Jiralite
[discordjs/discord-api-types] New branch created: feat/auto-mod-quarantine-audit-log
fade94a feat(auditLog): add `AUTO_MODERATION_QUARANTINE... - Jiralite
joined_at still needs updating to be nullable, no?
[discord-api-types] Branch ci/you-shall-not-pass was force-pushed to `6c606ae`
[discord-api-types] Branch ci/you-shall-not-pass was force-pushed to `b63f097`
Use USER_PAT for the secret (its my user token)
[discord-api-types] Branch ci/you-shall-not-pass was force-pushed to `4b200ad`
[discord-api-types] Branch ci/you-shall-not-pass was force-pushed to `5d5fd65`
[discord-api-types] Branch ci/you-shall-not-pass was force-pushed to `f706196`
[discord-api-types] Branch ci/you-shall-not-pass was force-pushed to `a66f213`
a72e454 feat(auditLog): add `AUTO_MODERATION_QUARANTINE... - Jiralite
a41e646 feat(GuildMemberFlags): add `AutoModQuarantined... - Jiralite
e6c1263 ci: disallow changes to these directories (#829) - Jiralite
@markmandel if you can, will that field remain undocumented for bots forever, or temporarily? And if yes, why?
[discordjs/discord-api-types] New branch created: chore/release/0.38.17
edd1623 chore(release): 0.38.17 ๐ - github-actions[bot]
Please describe the changes this PR makes and why it should be merged:
This pull request bumps discord-api-types from 0.38.16 to 0.38.17.
โ ๏ธ Do not change the commit message when merging. It must stay in the format chore(release): ...!
โ ๏ธ Maintainers, make sure everything is alright in this PR before merging it. This is still a beta test, so things may break.
cda030d chore(deps): update patch/minor dependencies (#... - renovate[bot]
46bb280 chore: enable automerge for more things - vladfrangu
295276a chore(release): 0.38.17 ๐ (#1311) - vladfrangu
[discordjs/discord-api-types] New tag created: 0.38.17
[discordjs/discord-api-types] New branch created: feat/guild-tags-feature
7f89005 feat(GuildFeature): add GUILD_TAGS - Jiralite
[discordjs/discord-api-types] New branch created: fix/deprecate-create-guild
1734314 fix: deprecate creating guilds - Jiralite
dfb00db fix: deprecate creating a guild from a template - Jiralite
[discord-api-types] Branch fix/deprecate-create-guild was force-pushed to `1111d3c`
d52aede fix: deprecate deleting guild - Jiralite
05dbf57 docs: update links - Jiralite
795f1f3 fix: deprecate MFA level - Jiralite
6af7864 docs: update links - Jiralite
03f02a5 feat(GuildFeature): add GUILD_TAGS (#1315) - Jiralite
4afd0c1 fix: Deprecate API related to guild ownership (... - Jiralite
[discordjs/discord-api-types] New branch created: chore/release/0.38.18
69f673d chore(release): 0.38.18 ๐ - github-actions[bot]
Please describe the changes this PR makes and why it should be merged:
This pull request bumps discord-api-types from 0.38.17 to 0.38.18.
โ ๏ธ Do not change the commit message when merging. It must stay in the format chore(release): ...!
โ ๏ธ Maintainers, make sure everything is alright in this PR before merging it. This is still a beta test, so things may break.
fe08e2d chore(release): 0.38.18 ๐ (#1317) - vladfrangu
[discordjs/discord-api-types] New tag created: 0.38.18
[discord-api-types] Branch feat/guest-invites was force-pushed to `368a1f3`
019088d feat: joined_at is nullable - Jiralite
joined_at still needs updating to be nullable, no?
c9f0dc0 types: gymnastics approach - Jiralite
f25e61e docs(InviteFlags): add link - Jiralite
8b22b83 fix: remove unused imports - Jiralite
This looks to be 1:1 with voice_states: (APIBaseVoiceState & APIVoiceStateMember)[]; so please reference it there
Apart from the change vlad already mentioned this LGTM
7c0e246 refactor: use `GatewayVoiceStateUpdateDispatchD... - Jiralite
8e3fdfe feat: support select in modals - Jiralite
[discordjs/discord-api-types] New branch created: feat/select-in-modals
components: (APIActionRowComponent<APIComponentInModalActionRow> | APILabelComponent)[];
Isn't this deprecated too now?
* Text Inputs can only be used within modals and must be placed inside a Label.
31dce6b fix: requested changes - Jiralite
dc2f2ee fix: update APIModalComponent - Jiralite
[discord-api-types] Branch feat/select-in-modals was force-pushed to `42bfca7`
Why? Just add it to the base interface as optional
I'd probably do APIComponentInLabel, not InModalLabel, should discord ever make this component work outside modals too
This should become a type (APIModalSubmissionComponent)
This type is still wrong, and its a ModalSubmitComponent with values instead of value! We'd wanna turn ModalSubmitComponent into a union of strictly typed components (and also add in missing fields like id lols)
369800e fix(modalSubmit): proper types - Jiralite
[discord-api-types] Branch feat/select-in-modals was force-pushed to `277fe68`
d6cf51c refactor: base label optional - Jiralite
95f55eb refactor: APIModalSubmissionComponent - Jiralite
206e07c refactor(APIModalInteractionResponseCallbackDat... - Jiralite
I would not document this like this. You shouldn't make assumptions about where components will be allowed in the future.
We use discord doc strings unless we don't have them, sooo... what shall it be? :D
Please describe the changes this PR makes and why it should be merged:
a few weeks back i added some new functionality to activities around being able to make state/details/large/small image all have clickable links, as well as allowing users to customize which of name/state/details is used in their status message. this PR adds the corresponding new fields and types to the GatewayActivity type
i wasn't sure whether or not to edit just the v10 types or the other versions. this is my fi...
I see this change isn't also in v9, is that intentional?
Also you nailed it otherwise, v9 and v10 are getting the updates and you even got the deno part! ๐ฅน๐
8b9f6d6 chore(release): 0.38.19 ๐ - github-actions[bot]
[discordjs/discord-api-types] New branch created: chore/release/0.38.19
Please describe the changes this PR makes and why it should be merged:
This pull request bumps discord-api-types from 0.38.18 to 0.38.19.
โ ๏ธ Do not change the commit message when merging. It must stay in the format chore(release): ...!
โ ๏ธ Maintainers, make sure everything is alright in this PR before merging it. This is still a beta test, so things may break.
[discordjs/discord-api-types] New branch created: refactor/invite-expires-present
2cdf840 refactor(APIInvite): expires_at always present - Jiralite
[discord-api-types] Branch refactor/invite-expires-present was force-pushed to `3df52d6`
e428c75 refactor(APIInvite): expires_at always presen... - Jiralite
๐ This pull request will be closed and re-created as there may have been new changes between the commit this pull request was opened for and the latest commit.
[discordjs/discord-api-types] New branch created: chore/release/0.38.19
5d5dc55 chore(release): 0.38.19 ๐ - github-actions[bot]
Please describe the changes this PR makes and why it should be merged:
This pull request bumps discord-api-types from 0.38.18 to 0.38.19.
โ ๏ธ Do not change the commit message when merging. It must stay in the format chore(release): ...!
โ ๏ธ Maintainers, make sure everything is alright in this PR before merging it. This is still a beta test, so things may break.
b7e8a9f chore(release): 0.38.19 ๐ (#1329) - vladfrangu
[discordjs/discord-api-types] New tag created: 0.38.19
a45f016 chore(deps): update eslint/prettier to v8.39.0 ... - renovate[bot]
26a6dd5 chore(deps): update patch/minor dependencies (#... - renovate[bot]
256911b chore(deps): lock file maintenance (#1324) - renovate[bot]
87b52b7 chore(deps): lock file maintenance (#1325) - renovate[bot]
5f9c1e1 feat(GatewayActivity): add url & status display... - foxfirecodes
[discordjs/discord-api-types] New branch created: chore/release/0.38.20
cb8290f chore(release): 0.38.20 ๐ - github-actions[bot]
Please describe the changes this PR makes and why it should be merged:
This pull request bumps discord-api-types from 0.38.19 to 0.38.20.
โ ๏ธ Do not change the commit message when merging. It must stay in the format chore(release): ...!
โ ๏ธ Maintainers, make sure everything is alright in this PR before merging it. This is still a beta test, so things may break.
f35fc69 chore(release): 0.38.20 ๐ (#1331) - vladfrangu
[discordjs/discord-api-types] New tag created: 0.38.20
d175c86 feat: add RateLimited gateway event - almeidx
[discordjs/discord-api-types] New branch created: feat/rate-limited-gateway-event
Please describe the changes this PR makes and why it should be merged:
If applicable, please reference Discord API Docs PRs or commits that influenced this PR:
I would put this in past tense:
/**
* Id of the guild members were requested for
*/
guild_id: Snowflake;
/**
* Nonce used to identify the {@link GatewayGuildMembersChunkDispatch} response
*/
5e096f7 chore(deps): update patch/minor dependencies (#... - renovate[bot]
8db0929 chore(deps): update dependency p-limit to v7 (#... - renovate[bot]
This should be a union of concretes, not require users to pass in the op code they want imo. That said, how you'd present this is...gonna be fun
I made it as close as docs as possible.
Additionally, the type parameter has a default (all the valid opcodes, which is only one anyways), if that's your concern
Issue description
I tried to filter the safety_alerts_channel_id key, but it seems that APIAuditLogChangeKeySafetyAlertsChannelId is not present in APIAuditLogChange
APIAuditLogChangeKeySnowflake is also missing, but I think this one is excluded on purpose as it would override all keys with key: string and break discriminated union
Code sample
const change: APIAuditLogChange = {
key: "safety_alerts_channel_id", // Type '"safety_alerts_channel_id"' is not...
ad22740 feat(PermissionFlagsBits): add PinMessages - almeidx
[discordjs/discord-api-types] New branch created: feat/pin-messages-permission
Please describe the changes this PR makes and why it should be merged:
If applicable, please reference Discord API Docs PRs or commits that influenced this PR:
b05df17 feat(PermissionFlagsBits): add PinMessages (#... - almeidx
We should still export aliased types for speed
[discord-api-types] Branch feat/select-in-modals was force-pushed to `a307dd1`
[discordjs/discord-api-types] New branch created: chore/release/0.38.21
f02e08b chore(release): 0.38.21 ๐ - github-actions[bot]
Please describe the changes this PR makes and why it should be merged:
This pull request bumps discord-api-types from 0.38.20 to 0.38.21.
โ ๏ธ Do not change the commit message when merging. It must stay in the format chore(release): ...!
โ ๏ธ Maintainers, make sure everything is alright in this PR before merging it. This is still a beta test, so things may break.
72445f8 chore(release): 0.38.21 ๐ (#1341) - vladfrangu
[discordjs/discord-api-types] New tag created: 0.38.21
[discordjs/discord-api-types] New branch created: dependabot/npm_and_yarn/website/multi-c22e25d29b
959faee chore(deps): bump brace-expansion in /website - dependabot[bot]
Bumps and brace-expansion. These dependencies needed to be updated together.
Updates brace-expansion from 1.1.11 to 1.1.12
Release notes
Sourced from brace-expansion's releases.
v1.1.12
pkg: publish on tag 1.x c460dbd
fmt ccb8ac6
Fix potential ReDoS Vulnerability or Inefficient Regular Expression (#65) c3c73c8
https://github.com/juliangruber/brace-expansion/compare/v1.1.11...v1.1.12
Commits
44f33b4 1.1.12
c460dbd pkg: publish o...
4d1f9d9 chore(deps): bump brace-expansion in /website (... - dependabot[bot]
8947930 chore(deps): update patch/minor dependencies (#... - renovate[bot]
Shouldn't this be APILabelComponent | APIModalActionRowThing
APIModalComponent above seems to be that. The naming conventions don't really seem intuitive, but it is what it is.
With the addition of APIComponentInLabel, seems that is indeed correct. Or not totally correct?
We can do slap a TODO on it and optionally remove the documentation link until labels are documented. Thoughts?
Please describe the changes this PR makes and why it should be merged:
#1290 accidentally stripped the guild_id from GatewayVoiceStateUpdateDispatchData. After re-adding this back, I noticed it loops back around to being 1:1 with APIVoiceState making the whole change to GatewayVoiceStateUpdateDispatchData unnecessary in the first place.
As for how GatewayVoiceStateUpdateDispatchData was used in GatewayGuildCreateDispatchData, I noticed the aforementioned PR already looped ...
Well no, APIModalComponent is anything in a modal, ComponentInX is supposed to be direct components of X... So ActionRow or Label
[discord-api-types] Branch feat/select-in-modals was force-pushed to `42dbad7`
4b8d27d docs(ComponentType): add label description - Jiralite
fa97cb7 docs(APILabelComponent): add documentation - Jiralite
6cf19ea docs(APIComponentInModal): fix link - Jiralite
03a8232 docs(APIComponentInLabel): fix link - Jiralite
27d6f09 fix: remove APIComponentInModal - Jiralite
65ea7a5 docs: add updated description - Jiralite
[discord-api-types] Branch feat/select-in-modals was force-pushed to `a6c1edc`
Pull Request Overview
This PR adds support for select components in Discord modals by introducing a new Label component type and updating the modal component architecture. The changes allow string select components to be used within modals, addressing the limitations of the previous action row-only approach.
Key changes:
- Introduces a new
Labelcomponent type that can wrap modal components with descriptive text - Adds support for string select components in modals with a
requiredpr...
There's an extra asterisk at the end of the first comment line. Remove the trailing ' *' to fix the malformed JSDoc comment.
* A Label is a top-level layout component. Labels wrap modal components with text as a label and optional description.
There's an extra asterisk at the end of the first comment line. Remove the trailing ' *' to fix the malformed JSDoc comment.
* A Label is a top-level layout component. Labels wrap modal components with text as a label and optional description.
There's an extra asterisk at the end of the first comment line. Remove the trailing ' *' to fix the malformed JSDoc comment.
* A Label is a top-level layout component. Labels wrap modal components with text as a label and optional description.
There's an extra asterisk at the end of the first comment line. Remove the trailing ' *' to fix the malformed JSDoc comment.
* A Label is a top-level layout component. Labels wrap modal components with text as a label and optional description.
583deb1 docs: fix trailing asterisk - Jiralite
This looks like a wrong change, theres more than 1 select that can go
I think you were meant to use APISelectMenuComponentInMessage?
598250d fix(APIMessageComponent): should have all selec... - Jiralite
c28a1c7 fix: requested changes - Jiralite
3659c59 feat: Support select in modals (#1321) - Jiralite
[discordjs/discord-api-types] New branch created: chore/release/0.38.22
23d02d8 chore(release): 0.38.22 ๐ - github-actions[bot]
Please describe the changes this PR makes and why it should be merged:
This pull request bumps discord-api-types from 0.38.21 to 0.38.22.
โ ๏ธ Do not change the commit message when merging. It must stay in the format chore(release): ...!
โ ๏ธ Maintainers, make sure everything is alright in this PR before merging it. This is still a beta test, so things may break.
a4063bd chore(release): 0.38.22 ๐ (#1349) - vladfrangu
e665ddc chore(deps): update eslint/prettier (#1347) - renovate[bot]
[discordjs/discord-api-types] New tag created: 0.38.22
This remark should be kept with the move back to APIBaseVoiceState, not removed.
d3dc8c1 chore(deps): update patch/minor dependencies (#... - renovate[bot]
Actually upon further consideration, would it not make more sense to move this to APIGuildMember#joined_at itself? I figure it was originally added here due to the same misconception that created APIVoiceStateMember in the first place.
[discordjs/discord-api-types] New branch created: feat/modals-phase-2
#1317206872763404481 message
b970ff4 feat: add resolved data - Jiralite
[discord-api-types] Branch feat/modals-phase-2 was force-pushed to `862f4ca`
Which application or package is this feature request for?
discord.js
Feature
"Manage Permission" permission is missing on PermissionFlagsBits for channels.
ManageRoles doesn't seem to handle it since it throws:
DiscordAPIError[50013]: Missing Permissions
Ideal solution or implementation
A new enum for Manage Permissions (even if it is same number as ManageRoles) for making it clear for developers.
Alternative solutions or implementations
No response
O...
discord-api-types (the correct repository where this issue should be) keeps 1:1 with the API. Since the documentation does not have "manage permissions", this is not happening.
<hr>
ManageRoles doesn't seem to handle it since it throws:
DiscordAPIError[50013]: Missing Permissions
This seems separate to what you are asking. To explain: 1 << 28 is MANAGE_ROLES and is called "Manage Roles" and "Manage Permissions" in Discord. This means the solution you are asking for do...
95ada79 fix(RESTPatchAPIWebhookWithTokenMessageJSONBody... - Jiralite
[discordjs/discord-api-types] New branch created: fix/webhook-patch-flags
This seems separate to what you are asking. To explain:
1 << 28isMANAGE_ROLESand is called "Manage Roles" and "Manage Permissions" in Discord. This means the solution you are asking for does not resolve your issue (you are doing something wrong).
Yeah, I was trying to overwrite the permission in a channel.
Seems like apps cannot update "manage permissions" permission unless you have administrator permission. This has to do something with Discord itself.
[discordjs/discord-api-types] New branch created: chore/release/0.38.23
4dd7128 chore(release): 0.38.23 ๐ - github-actions[bot]
Please describe the changes this PR makes and why it should be merged:
This pull request bumps discord-api-types from 0.38.22 to 0.38.23.
โ ๏ธ Do not change the commit message when merging. It must stay in the format chore(release): ...!
โ ๏ธ Maintainers, make sure everything is alright in this PR before merging it. This is still a beta test, so things may break.
0980aa7 feat(RESTPatchAPICurrentGuildMemberJSONBody): a... - Jiralite
[discordjs/discord-api-types] New branch created: feat/per-server
[discord-api-types] Branch refactor/split-messages was force-pushed to `ac9cd86`
[discord-api-types] Branch refactor/split-messages was force-pushed to `9530ec4`
[discord-api-types] Branch refactor/split-messages was force-pushed to `98d7250`
28dfa78 chore(deps): update patch/minor dependencies (#... - renovate[bot]
7df81ce chore(deps): update actions/labeler action to v... - renovate[bot]
51106df chore(deps): update actions/setup-node action t... - renovate[bot]
36567c7 chore(deps): update dependency cloudflare to v5... - renovate[bot]
We should move components out of message tbh
fa05a75 feat: More label components and text display in... - Jiralite
af3907b fix(RESTPatchAPIWebhookWithTokenMessageJSONBody... - Jiralite
[discord-api-types] Branch refactor/split-messages was force-pushed to `2367168`
b40033c chore: remove a pointless diff - Jiralite
Please describe the changes this PR makes and why it should be merged:
Apparently text display is also returned in components in modal submissions.
ref: #1317208024682725426 message
464a9c8 fix: add missing text display in modal submissi... - imnaiyar
๐ This pull request will be closed and re-created as there may have been new changes between the commit this pull request was opened for and the latest commit.
[discordjs/discord-api-types] New branch created: chore/release/0.38.23
7d6934a chore(release): 0.38.23 ๐ - github-actions[bot]
Please describe the changes this PR makes and why it should be merged:
This pull request bumps discord-api-types from 0.38.22 to 0.38.23.
โ ๏ธ Do not change the commit message when merging. It must stay in the format chore(release): ...!
โ ๏ธ Maintainers, make sure everything is alright in this PR before merging it. This is still a beta test, so things may break.
5a07684 chore(release): 0.38.23 ๐ (#1363) - vladfrangu
[discordjs/discord-api-types] New tag created: 0.38.23
[discord-api-types] Branch feat/rate-limited-gateway-event was force-pushed to `a59d659`
Done, assuming I understood what you meant a59d659bf7b4b4f3de89cd0160bd24bbf4ec672a
[discordjs/discord-api-types] New branch created: feat/narrow-threads-result
fbef8b8 feat(RESTPostAPIChannelThreadsResult): narrow r... - Jiralite
When starting a thread, Discord returns the thread. This narrows the type down.
8eb66a1 feat(RESTPostAPIChannelThreadsResult): narrow r... - Jiralite
[discord-api-types] Branch feat/invite-update was force-pushed to `cb3df12`
35a4084 feat(RESTPatchAPICurrentGuildMemberJSONBody): A... - Jiralite
[discordjs/discord-api-types] New branch created: chore/release/0.38.24
376becd chore(release): 0.38.24 ๐ - github-actions[bot]
Please describe the changes this PR makes and why it should be merged:
This pull request bumps discord-api-types from 0.38.23 to 0.38.24.
โ ๏ธ Do not change the commit message when merging. It must stay in the format chore(release): ...!
โ ๏ธ Maintainers, make sure everything is alright in this PR before merging it. This is still a beta test, so things may break.
041583d chore(release): 0.38.24 ๐ (#1366) - vladfrangu
[discordjs/discord-api-types] New tag created: 0.38.24
Still not a fan of this but w/e, lgtm
14963d6 feat: add RateLimited gateway event (#1334) - almeidx
Issue description
RESTPatchAPICurrentGuildMemberJSONBody should have a corresponding response type. It might just be an alias to APIGuildMember.
Code sample
Package version
N/A
Runtime
Node.js
Runtime version
N/A
Priority this issue should have
Low (slightly annoying)
[discordjs/discord-api-types] New branch created: chore/release/0.38.25
ab5487d chore(release): 0.38.25 ๐ - github-actions[bot]
Please describe the changes this PR makes and why it should be merged:
This pull request bumps discord-api-types from 0.38.24 to 0.38.25.
โ ๏ธ Do not change the commit message when merging. It must stay in the format chore(release): ...!
โ ๏ธ Maintainers, make sure everything is alright in this PR before merging it. This is still a beta test, so things may break.
๐ This pull request will be closed and re-created as there may have been new changes between the commit this pull request was opened for and the latest commit.
[discordjs/discord-api-types] New branch created: chore/release/0.38.25
65bc796 chore(release): 0.38.25 ๐ - github-actions[bot]
Please describe the changes this PR makes and why it should be merged:
This pull request bumps discord-api-types from 0.38.24 to 0.38.25.
โ ๏ธ Do not change the commit message when merging. It must stay in the format chore(release): ...!
โ ๏ธ Maintainers, make sure everything is alright in this PR before merging it. This is still a beta test, so things may break.
aca4683 chore(release): 0.38.25 ๐ (#1371) - vladfrangu
[discordjs/discord-api-types] New tag created: 0.38.25
93decca feat: add file upload components - Jiralite
[discordjs/discord-api-types] New branch created: feat/modal-label-file
#1317206872763404481 message
[discordjs/discord-api-types] New branch created: chore/release/0.38.26
3c4f3bb chore(release): 0.38.26 ๐ - github-actions[bot]
Please describe the changes this PR makes and why it should be merged:
This pull request bumps discord-api-types from 0.38.25 to 0.38.26.
โ ๏ธ Do not change the commit message when merging. It must stay in the format chore(release): ...!
โ ๏ธ Maintainers, make sure everything is alright in this PR before merging it. This is still a beta test, so things may break.
de7ac23 chore(release): 0.38.26 ๐ (#1373) - vladfrangu
[discordjs/discord-api-types] New tag created: 0.38.26
Please describe the changes this PR makes and why it should be merged:
Improves type inference for APIChannel by explicitly defining the parent_id field in two types:
-
APIThreadChannel: now includesparent_id?: Snowflake, reflecting its parent thread relationship. -
APIGuildCategoryChannel: now includesparent_id?: null, clarifying that categories do not have a parent.
**If applicable, please reference Discord API Docs PRs or commits that influenc...
Forgot to update deno's types as well, will do it in the next draft.
Just run the script, it will do it for you
You'll also need to do this change for v9, please ๐
Please also run the formatting scripts :D
Shall I bump the version in package.json as well?
I am writing an application using this lovely library and am attempting to improve my error handling. When I am attempting to retrieve a user, a successful response can be interpreted as APIUser.
However, I am having trouble identifying what error to use when interpreting an error like this. Any tips?
` Response {
status: 401,
statusText: 'Unauthorized',
headers: Headers {
date: 'Thu, 25 Sep 2025 00:12:40 GMT',
'content-type': 'application/json',
'co...
You're probably looking for the RESTError type
4a7b326 chore(deps): bump webpack-dev-server, @docusaur... - dependabot[bot]
[discordjs/discord-api-types] New branch created: dependabot/npm_and_yarn/website/multi-ea71d86905
d74c6f1 chore(deps): update patch/minor dependencies (#... - renovate[bot]
6f28652 chore(deps): update dependency p-queue to v9 (#... - renovate[bot]
f6e0da6 chore(deps): bump webpack-dev-server, @docusaur... - dependabot[bot]
97cc33d chore(deps): update dependency ts-morph to v27 ... - renovate[bot]
7a07478 chore(deps): update commitlint monorepo to v20 ... - renovate[bot]
18cf4a5 fix: Narrow thread-related properties for chann... - Nabil-249
[discordjs/discord-api-types] New branch created: fix/incident-null
e61d6d5 fix(RESTPutAPIGuildIncidentActionsJSONBody): ad... - Jiralite
[discordjs/discord-api-types] New branch created: fix/incident-result
fbfb26e fix: add RESTPutAPIGuildIncidentActionsResult - Jiralite
[discordjs/discord-api-types] New branch created: fix/unstable-screening
5ad87fa fix: @unstable screening - Jiralite
Some documentation was removed in https://github.com/discord/discord-api-docs/pull, so existing types are now @unstable.
95b186d fix: @unstable screening (#1389) - Jiralite
0c6d424 fix: add RESTPutAPIGuildIncidentActionsResult... - Jiralite
6295858 fix(RESTPutAPIGuildIncidentActionsJSONBody): ad... - Jiralite
[discordjs/discord-api-types] New branch created: chore/release/0.38.27
29fc23f chore(release): 0.38.27 ๐ - github-actions[bot]
Please describe the changes this PR makes and why it should be merged:
This pull request bumps discord-api-types from 0.38.26 to 0.38.27.
โ ๏ธ Do not change the commit message when merging. It must stay in the format chore(release): ...!
โ ๏ธ Maintainers, make sure everything is alright in this PR before merging it. This is still a beta test, so things may break.
f65b30a chore(release): 0.38.27 ๐ (#1390) - vladfrangu
[discordjs/discord-api-types] New tag created: 0.38.27
[discordjs/discord-api-types] New branch created: fix/thread-applied-tags
589c1ae fix: move applied_tags back to thread channels - almeidx
Regression from #1377
In particular this change was reverted:
- APIThreadOnlyChannel: now applied_tags: Snowflake[] is explicit to this type.
Additionally, applied_tags was marked as optional since threads outside Forum/Media channels do not have this property
00c4694 fix: move applied_tags back to thread channel... - almeidx
[discordjs/discord-api-types] New branch created: chore/release/0.38.28
913ab1a chore(release): 0.38.28 ๐ - github-actions[bot]
Please describe the changes this PR makes and why it should be merged:
This pull request bumps discord-api-types from 0.38.27 to 0.38.28.
โ ๏ธ Do not change the commit message when merging. It must stay in the format chore(release): ...!
โ ๏ธ Maintainers, make sure everything is alright in this PR before merging it. This is still a beta test, so things may break.
71a0b8d chore(release): 0.38.28 ๐ (#1392) - vladfrangu
[discordjs/discord-api-types] New tag created: 0.38.28
[discordjs/discord-api-types] New branch created: fix/edit-self-result
847b7c3 fix: edit self result - Jiralite
[discordjs/discord-api-types] New branch created: chore/release/0.38.29
788a2d8 chore(release): 0.38.29 ๐ - github-actions[bot]
Please describe the changes this PR makes and why it should be merged:
This pull request bumps discord-api-types from 0.38.28 to 0.38.29.
โ ๏ธ Do not change the commit message when merging. It must stay in the format chore(release): ...!
โ ๏ธ Maintainers, make sure everything is alright in this PR before merging it. This is still a beta test, so things may break.
84f312d chore(release): 0.38.29 ๐ (#1394) - vladfrangu
[discordjs/discord-api-types] New tag created: 0.38.29
Isn't this supposed to use the union of channels in guilds?
I agree but at the same time, that probably goes for a TON of places in this codebase...
I think a bigger refactor is needed that's a bit out of scope for this PR. APIGuildChannel is more of a base and should probably be renamed as such, while APIGuildChannel should be this union that you describe, which would be used in a bunch of other places
[discord-api-types] Branch feat/modal-label-file was force-pushed to `d2583bf`
45d3406 docs: add documentation - Jiralite
51b2d4e feat: Add support for file upload components (#... - Jiralite
I'd rather do such a change in this PR, but... well ๐ merging rn
790b4de refactor: improved channel types (#1397) - didinele
[discordjs/discord-api-types] New branch created: chore/release/0.38.30
848263a chore(release): 0.38.30 ๐ - github-actions[bot]
Please describe the changes this PR makes and why it should be merged:
This pull request bumps discord-api-types from 0.38.29 to 0.38.30.
โ ๏ธ Do not change the commit message when merging. It must stay in the format chore(release): ...!
โ ๏ธ Maintainers, make sure everything is alright in this PR before merging it. This is still a beta test, so things may break.
c96926b chore(release): 0.38.30 ๐ (#1398) - vladfrangu
[discordjs/discord-api-types] New tag created: 0.38.30
a973893 chore(release): 0.38.31 ๐ - github-actions[bot]
[discordjs/discord-api-types] New branch created: chore/release/0.38.31
Please describe the changes this PR makes and why it should be merged:
This pull request bumps discord-api-types from 0.38.30 to 0.38.31.
โ ๏ธ Do not change the commit message when merging. It must stay in the format chore(release): ...!
โ ๏ธ Maintainers, make sure everything is alright in this PR before merging it. This is still a beta test, so things may break.
eeb99a9 chore(deps): update patch/minor dependencies (#... - renovate[bot]
8064df3 chore(deps): update actions/setup-node action t... - renovate[bot]
๐ This pull request will be closed and re-created as there may have been new changes between the commit this pull request was opened for and the latest commit.
1e7ff86 chore(release): 0.38.31 ๐ - github-actions[bot]
[discordjs/discord-api-types] New branch created: chore/release/0.38.31
Please describe the changes this PR makes and why it should be merged:
This pull request bumps discord-api-types from 0.38.30 to 0.38.31.
โ ๏ธ Do not change the commit message when merging. It must stay in the format chore(release): ...!
โ ๏ธ Maintainers, make sure everything is alright in this PR before merging it. This is still a beta test, so things may break.
Please describe the changes this PR makes and why it should be merged:
APIFileComponent was missing name and size properties. These are only present on the response from the API and ignored if included while sending.
If applicable, please reference Discord API Docs PRs or commits that influenced this PR:
Please describe the changes this PR makes and why it should be merged:
Needed to be parsed correctly by TSDoc for display on discord.js docs website
If applicable, please reference Discord API Docs PRs or commits that influenced this PR:
6e5563e fix: tsdoc unstable tag is block not modifier (... - Qjuh
[discordjs/discord-api-types] New branch created: fix/remove-api-file-upload-component
4257fa4 fix(APIModalInteractionResponseCallbackComponen... - sdanialraza
Please describe the changes this PR makes and why it should be merged:
File upload components must be placed inside a Label and don't go inside modals directly.
If applicable, please reference Discord API Docs PRs or commits that influenced this PR:
8ca4f40 feat(GuildFeature): add `PinPermissionMigration... - sdanialraza
[discordjs/discord-api-types] New branch created: feat/add-pin-permission-migration-complete
Please describe the changes this PR makes and why it should be merged:
If applicable, please reference Discord API Docs PRs or commits that influenced this PR:
[discord-api-types] Branch feat/add-pin-permission-migration-complete was force-pushed to `1607833`
c5c0312 feat(GuildFeature): add `PinPermissionMigration... - sdanialraza
Please describe the changes this PR makes and why it should be merged:
The ENTITLEMENT_UPDATE and ENTITLEMENT_DELETE webhook events are usable through the developer portal and use the same payload as you would get from the gateway, but they aren't documented yet.
If applicable, please reference Discord API Docs PRs or commits that influenced this PR:
be8b372 feat(Webhooks): add entitlement update and dele... - Snazzah
Please describe the changes this PR makes and why it should be merged:
Adds the audit log change for rtc_region and video_quality_mode. Also adds APIAuditLogChangeKeySafetyAlertsChannelId to the union to fix #1339.
If applicable, please reference Discord API Docs PRs or commits that influenced this PR:
ea2b922 feat(APIAuditLogChange): add some missing chann... - Snazzah
c5c0312 feat(GuildFeature): add PinPermissionMigration... - sdanialraza [be8b372](https://github.com/discordjs/discord-api-types/commit/be8b3726630bd0b0f76615cb5d7e759a95de71e4) feat(Webhooks): add entitlement update and dele... - Snazzah [ea2b922](https://github.com/discordjs/discord-api-types/commit/ea2b922d12618c54139fb37986697a1a2bd33393) feat(APIAuditLogChange): add some missing chann... - Snazzah [d506d1c`](https://github.com/discordjs/discord-api-types/commit/d506d1cfc5e6d8324f3648560ec4a1b0509f8bbb) Merge branch 'main' into fix/remove-api-file-up... - almeidx
e37f802 fix(APIModalInteractionResponseCallbackComponen... - sdanialraza
๐ This pull request will be closed and re-created as there may have been new changes between the commit this pull request was opened for and the latest commit.
[discordjs/discord-api-types] New branch created: chore/release/0.38.31
3529bea chore(release): 0.38.31 ๐ - github-actions[bot]
Please describe the changes this PR makes and why it should be merged:
This pull request bumps discord-api-types from 0.38.30 to 0.38.31.
โ ๏ธ Do not change the commit message when merging. It must stay in the format chore(release): ...!
โ ๏ธ Maintainers, make sure everything is alright in this PR before merging it. This is still a beta test, so things may break.
Please describe the changes this PR makes and why it should be merged:
Adds types for the following webhook events;
- LOBBY_MESSAGE_CREATE
- LOBBY_MESSAGE_UPDATE
- LOBBY_MESSAGE_DELETE
- GAME_DIRECT_MESSAGE_CREATE
- GAME_DIRECT_MESSAGE_UPDATE
- GAME_DIRECT_MESSAGE_DELETE
If applicable, please reference Discord API Docs PRs or commits that influenced this PR:
https://github.com/discord/discord-api-docs/pull/7822
Please describe the changes this PR makes and why it should be merged:
Not documented, but is in the spec as public preview.
If applicable, please reference Discord API Docs PRs or commits that influenced this PR:
https://github.com/discord/discord-api-docs/discussions/3306#discussioncomment-14681890
https://github.com/discord/discord-api-spec/commit/471ad9bea1245b2cf08e73a70669a909f1011102
The spacing is only added to keep it uniform with the request methods (see below route for an example).
* - GET `/guilds/{guild.id}/roles/member-counts`
fb8972f chore(release): 0.38.31 ๐ (#1410) - vladfrangu
[discordjs/discord-api-types] New tag created: 0.38.31
[discordjs/discord-api-types] New branch created: feat/new-time-styles
42e2816 feat(globals): support new timestamp markdown - Jiralite
maybe explicitly include S here instead of the R-T? that would make this a lot more clear
[discordjs/discord-api-types] New branch created: dependabot/npm_and_yarn/tar-7.5.2
ed88a28 chore(deps): bump tar from 7.5.1 to 7.5.2 - dependabot[bot]
Bumps tar from 7.5.1 to 7.5.2.
Commits
d9ea73a 7.5.2
5e1a8e6 Fix sync tar.list when file size reduces while reading
0fbeaed formatting
2dbacfe add types for make-tar util
c5865d3 remove unused taprc file
bdb3809 header: only read from ustar block if not specified in Pax
d094cd7 BlueOak-1.0.0
4a6ae72 Verify invulnerability to tarmageddon attack
See full diff in compare view
[, there has been ~600 pull requests with ~5 reviewed by those in the core team that are not already in discord-api-types (Vlad). That speaks for itself.
Made deno/ owned by discord-api-types. All pull requests would end up needing Vlad anyway without this change, which makes this entire file useless otherwise.
4237b1a chore: update code owners (#1421) - Jiralite
bf4291b feat(globals): Support new s/S timestamp styles... - Jiralite
b89290f chore(deps): bump tar from 7.5.1 to 7.5.2 (#1420) - dependabot[bot]
[discordjs/discord-api-types] New branch created: chore/release/0.38.32
27b6863 chore(release): 0.38.32 ๐ - github-actions[bot]
Please describe the changes this PR makes and why it should be merged:
This pull request bumps discord-api-types from 0.38.31 to 0.38.32.
โ ๏ธ Do not change the commit message when merging. It must stay in the format chore(release): ...!
โ ๏ธ Maintainers, make sure everything is alright in this PR before merging it. This is still a beta test, so things may break.
2b5a2bc chore(release): 0.38.32 ๐ (#1422) - vladfrangu
[discordjs/discord-api-types] New tag created: 0.38.32
i tried that but failed
type Events = {
[E in GatewayDispatchEvents]: Extract["d"]
}
[discordjs/discord-api-types] New branch created: feat/bypass-slowmode-unstable
b61cb58 feat(PermissionFlagsBits): add BypassSlowmode - Jiralite
Added a type-guard function to check for modal submit interactions. This must have been overseen until now as any other interaction type has a typeguard function.
I have to say that I'M not sure how the commit messages should be written as the link in the CONTRIBUTING file is invalid.
Could you tell us which link at least?
"type guard" is not hyphenated.
* A type guard check for modals submit interactions
I copied this from another function haha
So I guess this is wrong in the comments in some other type guard functions as well.
@Jiralite
Could you tell us which link at least? You could look at past commits or past pull requests as a reference.
This line. I get that there is the file but the link is not working.
https://github.com/discordjs/discord-api-types/blob/main/.github/CONTRIBUTING.md?plain=1#L33
Cannot reproduce that on desktop, iOS, or Android. I would suggest looking at your browser settings... perhaps it is blocking opening links?
Cannot reproduce that on desktop, iOS, or Android. I would suggest looking at your browser settings... perhaps it is blocking opening links?
Thank you!
Looks like it was introduced with this: https://github.blog/changelog/2025-08-07-contributing-guidelines-now-visible-in-repository-tab-and-sidebar
So relative links just don't work in that tab. Will have to think about that then, thank you for bringing that up!
I added an commit replacing all those hyphens with a space.
oh, should I revert the changes from the v9 and v8 perhaps?
Only v9 and v10 should be modified!
ah okay, I will also take a look at the errors from the tests. is there a way to run those tests locally?
@Jiralite when I follow the npm i step in the contibution guidelines, it creates a package-lock.json - is it wanted to have this commited as well?
That's outdated too. We actually use Yarn in this repository.
Use Yarn to install dependencies (yarn will do) then run yarn run build:deno to update the Deno files.
ah okay, thanks. Will do that.
I hope everything is right now.
Can you make these changes to v9 too?
[discordjs/discord-api-types] New branch created: chore/release/0.38.33
f02daef chore(release): 0.38.33 ๐ - github-actions[bot]
Please describe the changes this PR makes and why it should be merged:
This pull request bumps discord-api-types from 0.38.32 to 0.38.33.
โ ๏ธ Do not change the commit message when merging. It must stay in the format chore(release): ...!
โ ๏ธ Maintainers, make sure everything is alright in this PR before merging it. This is still a beta test, so things may break.
200f650 chore(release): 0.38.33 ๐ (#1429) - vladfrangu
[discordjs/discord-api-types] New tag created: 0.38.33
4bf8705 chore: fix contributing file - Jiralite
[discordjs/discord-api-types] New branch created: chore/contributing
- Removed the issue tracker mention
- Removed non-existent links
- npm -> Yarn
- Full path for any relative links (fixes https://github.com/discordjs/discord-api-types/pull/1428#issuecomment-3508799200)
- Node.js minimum version modified to "LTS"
5f25c39 chore: fix contributing file (#1430) - Jiralite
117b63d chore(deps): update dependency @types/node to v... - renovate[bot]
Jira XD, don't use "fixes" like that
[discordjs/discord-api-types] New branch created: chore/release/0.38.34
1690720 chore(release): 0.38.34 ๐ - github-actions[bot]
Please describe the changes this PR makes and why it should be merged:
This pull request bumps discord-api-types from 0.38.33 to 0.38.34.
โ ๏ธ Do not change the commit message when merging. It must stay in the format chore(release): ...!
โ ๏ธ Maintainers, make sure everything is alright in this PR before merging it. This is still a beta test, so things may break.
๐ This pull request will be closed and re-created as there may have been new changes between the commit this pull request was opened for and the latest commit.
[discordjs/discord-api-types] New branch created: chore/release/0.38.34
f2e7f50 chore(release): 0.38.34 ๐ - github-actions[bot]
Please describe the changes this PR makes and why it should be merged:
This pull request bumps discord-api-types from 0.38.33 to 0.38.34.
โ ๏ธ Do not change the commit message when merging. It must stay in the format chore(release): ...!
โ ๏ธ Maintainers, make sure everything is alright in this PR before merging it. This is still a beta test, so things may break.
๐ This pull request will be closed and re-created as there may have been new changes between the commit this pull request was opened for and the latest commit.
[discordjs/discord-api-types] New branch created: chore/release/0.38.34
f4e95ba chore(release): 0.38.34 ๐ - github-actions[bot]
Please describe the changes this PR makes and why it should be merged:
This pull request bumps discord-api-types from 0.38.33 to 0.38.34.
โ ๏ธ Do not change the commit message when merging. It must stay in the format chore(release): ...!
โ ๏ธ Maintainers, make sure everything is alright in this PR before merging it. This is still a beta test, so things may break.
cdec113 chore(release): 0.38.34 ๐ (#1436) - vladfrangu
[discordjs/discord-api-types] New tag created: 0.38.34
[discordjs/discord-api-types] New branch created: dependabot/npm_and_yarn/website/multi-14386d50ce
590471e chore(deps): bump js-yaml and markdownlint-cli2... - dependabot[bot]
Bumps js-yaml to 3.14.2 and updates ancestor dependencies js-yaml and markdownlint-cli2. These dependencies need to be updated together.
Updates js-yaml from 3.14.1 to 3.14.2
Changelog
Sourced from js-yaml's changelog.
[3.14.2] - 2025-11-15
Security
Backported v4.1.1 fix to v3
[4.1.1] - 2025-11-12
Security
Fix prototype pollution issue in yaml merge (<<) o...
I think the StyledTimestamp property was missed in this update
Thank you for pointing that out! Be sure to raise issues when you find issues instead of commenting on pull requests though.
I think the StyledTimestamp property was missed in this update
_Originally posted by @WentTheFox in https://github.com/discordjs/discord-api-types/issues/1418#issuecomment-3557268937_
[discordjs/discord-api-types] New branch created: fix/styles-update
Please describe the changes this PR makes and why it should be merged:
I believe de-duplication via using the RegEx constructor can save some hassle when updating these formats in the future.
If applicable, please reference Discord API Docs PRs or commits that influenced this PR:
- #1418
- #1439
a8c28ab fix: Add missing s/S support to `StyledTimestam... - Jiralite
Fair point about opening an issue for this, I'll keep that in mind, my apologies.
Hoever i feel this is a symptomatic treatment, hence why I'd propose #1440 as a more permanent solution.
[discordjs/discord-api-types] New branch created: chore/release/0.38.35
313e3bd chore(release): 0.38.35 ๐ - github-actions[bot]
Please describe the changes this PR makes and why it should be merged:
This pull request bumps discord-api-types from 0.38.34 to 0.38.35.
โ ๏ธ Do not change the commit message when merging. It must stay in the format chore(release): ...!
โ ๏ธ Maintainers, make sure everything is alright in this PR before merging it. This is still a beta test, so things may break.
[discord-api-types] Branch dependabot/npm_and_yarn/website/multi-14386d50ce was force-pushed to `7e52a37`
[discord-api-types] Branch dependabot/npm_and_yarn/website/multi-14386d50ce was force-pushed to `e2b939c`
4b1176e chore(deps): bump zx from 8.2.4 to 8.8.5 in /we... - dependabot[bot]
[discordjs/discord-api-types] New branch created: dependabot/npm_and_yarn/website/zx-8.8.5
Bumps zx from 8.2.4 to 8.8.5.
Release notes
Sourced from zx's releases.
8.8.5 โ Temporary Reservoir
This release fixes the issue, when zx flushes external node_modules on linking #1348 #1349 #1355
Also [email protected] arrives here.
8.8.4 โ Flange Coupling
It's time. This release updates zx internals to make the ps API and related methods ProcessPromise.kill(), kill() work on Windows systems without wmic.
#1344 webpod/ps#15
WMIC will be missing in Windows 11 ...
๐ This pull request will be closed and re-created as there may have been new changes between the commit this pull request was opened for and the latest commit.
[discordjs/discord-api-types] New branch created: chore/release/0.38.35
23a152d chore(release): 0.38.35 ๐ - github-actions[bot]
Please describe the changes this PR makes and why it should be merged:
This pull request bumps discord-api-types from 0.38.34 to 0.38.35.
โ ๏ธ Do not change the commit message when merging. It must stay in the format chore(release): ...!
โ ๏ธ Maintainers, make sure everything is alright in this PR before merging it. This is still a beta test, so things may break.
As of https://github.com/discord/discord-api-docs/pull/8001, #1427 should no longer be marked as unstable.
[discordjs/discord-api-types] Issue opened: #1449 Attachment titles should clarify their distinction
Feature
Per https://github.com/discord/discord-api-docs/pull/6945:
This will be present when a filename contains special characters (ie, cyrillic alphabet).
Right now, title just says this:
That's a pretty lacklustre detail for such a crucial differentiation. Let's update it.
Ideal solution or implementation
Clarify when title is present and its d...
Thanks for assigning this issue to me. I'm starting to work on it and will keep this PR's description up to date as I form a plan and make progress.
Original prompt
This section details on the original issue you should resolve
Attachment titles should clarify their distinction
Feature
Per https://github.com/discord/discord-api-docs/pull/6945:
This will be present when a filename contains special characters (ie, cyrillic alphabet).
Right now...
044c607 docs(APIAttachment): clarify title field distin... - Copilot
@copilot The description seems to contradict itself.
filename is the sanitised variant and title is present when there are special characters (it preserves the original name).
@copilot You have to run the yarn build:deno and stage the changes made to the deno folder.
Usually this would have been done by the pre-commit hook.
dfd3b97 docs(APIAttachment): correct title field descri... - Copilot
@copilot The description seems to contradict itself.
filenameis the sanitised variant andtitleis present when there are special characters (it preserves the original name).
Fixed in dfd3b97. Updated the documentation to correctly indicate that title preserves the original filename with special characters, while filename is the sanitized version.
fc8ece5 chore: build deno files for APIAttachment title... - Copilot
@copilot You have to run
yarn build:denoand stage the changes made to thedenofolder.
Usually this would have been done by the pre-commit hook.
Done in fc8ece5. Ran yarn build:deno and committed the generated deno folder changes.
3adea38 chore(deps): bump node-forge from 1.3.1 to 1.3.... - dependabot[bot]
[discordjs/discord-api-types] New branch created: dependabot/npm_and_yarn/website/node-forge-1.3.2
Bumps node-forge from 1.3.1 to 1.3.2.
Changelog
Sourced from node-forge's changelog.
1.3.2 - 2025-11-25
Security
HIGH: ASN.1 Validator Desynchronization
An Interpretation Conflict (CWE-436) vulnerability in node-forge versions
1.3.1 and below enables remote, unauthenticated attackers to craft ASN.1
structures to desynchronize schema validations, yielding a semantic
divergence that may bypass downstream cryptographic verifications and
security deci...
๐ This pull request will be closed and re-created as there may have been new changes between the commit this pull request was opened for and the latest commit.
[discordjs/discord-api-types] New branch created: chore/release/0.38.35
0c137d6 chore(release): 0.38.35 ๐ - github-actions[bot]
Please describe the changes this PR makes and why it should be merged:
This pull request bumps discord-api-types from 0.38.34 to 0.38.35.
โ ๏ธ Do not change the commit message when merging. It must stay in the format chore(release): ...!
โ ๏ธ Maintainers, make sure everything is alright in this PR before merging it. This is still a beta test, so things may break.
6579f2c chore(release): 0.38.35 ๐ (#1452) - vladfrangu
[discordjs/discord-api-types] New tag created: 0.38.35
[discordjs/discord-api-types] New branch created: chore/mark-bypass-slowmode-stable
31c9ba3 chore(PermissionFlagsBits): mark `BypassSlowmod... - sdanialraza
Please describe the changes this PR makes and why it should be merged:
Resolves #1448
If applicable, please reference Discord API Docs PRs or commits that influenced this PR:
[discordjs/discord-api-types] New branch created: chore/release/0.38.36
6bfea4a chore(release): 0.38.36 ๐ - github-actions[bot]
Please describe the changes this PR makes and why it should be merged:
This pull request bumps discord-api-types from 0.38.35 to 0.38.36.
โ ๏ธ Do not change the commit message when merging. It must stay in the format chore(release): ...!
โ ๏ธ Maintainers, make sure everything is alright in this PR before merging it. This is still a beta test, so things may break.
fd16e27 chore(release): 0.38.36 ๐ (#1457) - vladfrangu
[discordjs/discord-api-types] New tag created: 0.38.36
[discordjs/discord-api-types] New branch created: dependabot/npm_and_yarn/website/mdast-util-to-hast-13.2.1
d6fe89d chore(deps): bump mdast-util-to-hast from 13.2.... - dependabot[bot]
Bumps mdast-util-to-hast from 13.2.0 to 13.2.1.
Release notes
Sourced from mdast-util-to-hast's releases.
13.2.1
Fix
ab3a795 Fix support for spaces in class names
Types
efb5312 Refactor to use @imports
a5bc210 Add declaration maps
Full Changelog: https://github.com/syntax-tree/mdast-util-to-hast/compare/13.2.0...13.2.1
Commits
174795b 13.2.1
3d05b3a Update Node in Actions
ab3a795 Fix support for spaces in class names
efb5312 Refac...
I solved it myself.
type GatewayDispatchEventsMap = {
[P in GatewayDispatchPayload as P["t"]]: P["d"]
}
[discordjs/discord-api-types] New branch created: chore/upgrade-prettier
12d8050 chore: upgrade prettier - almeidx
[discord-api-types] Branch chore/upgrade-prettier was force-pushed to `23f0b3a`
[discordjs/discord-api-types] New branch created: chore/release/0.38.37
b34c68c chore(release): 0.38.37 ๐ - github-actions[bot]
Please describe the changes this PR makes and why it should be merged:
This pull request bumps discord-api-types from 0.38.36 to 0.38.37.
โ ๏ธ Do not change the commit message when merging. It must stay in the format chore(release): ...!
โ ๏ธ Maintainers, make sure everything is alright in this PR before merging it. This is still a beta test, so things may break.
[discordjs/discord-api-types] New branch created: feat/guild-role-member-counts
a72c5dd feat: mark guild member role counts endpoint as... - almeidx
Please describe the changes this PR makes and why it should be merged:
If applicable, please reference Discord API Docs PRs or commits that influenced this PR:
5a4c4af chore(deps): update actions/checkout action to ... - renovate[bot]
5b82aa5 docs(APIAttachment): clarify title field distin... - Copilot
c533c76 chore(deps): bump js-yaml and markdownlint-cli2... - dependabot[bot]
[discord-api-types] Branch dependabot/npm_and_yarn/website/mdast-util-to-hast-13.2.1 was force-pushed to `0be992a`
[discord-api-types] Branch dependabot/npm_and_yarn/website/zx-8.8.5 was force-pushed to `1862c93`
[discord-api-types] Branch dependabot/npm_and_yarn/website/node-forge-1.3.2 was force-pushed to `212c21f`
60cdc32 chore(deps): update eslint/prettier to v8.49.0 ... - renovate[bot]
๐ This pull request will be closed and re-created as there may have been new changes between the commit this pull request was opened for and the latest commit.
[discordjs/discord-api-types] New branch created: chore/release/0.38.37
30cf415 chore(release): 0.38.37 ๐ - github-actions[bot]
Please describe the changes this PR makes and why it should be merged:
This pull request bumps discord-api-types from 0.38.36 to 0.38.37.
โ ๏ธ Do not change the commit message when merging. It must stay in the format chore(release): ...!
โ ๏ธ Maintainers, make sure everything is alright in this PR before merging it. This is still a beta test, so things may break.
4ba461e chore(release): 0.38.37 ๐ (#1463) - vladfrangu
[discordjs/discord-api-types] New tag created: 0.38.37
Feature
The Activity Instance API allows verifying that an activity instance exists and get information about it.
As far as I can tell, this has not been added to this library so far.
The API is documented in the official Discord documentation here
Ideal solution or implementation
Add the Activity Instance API into this library.
Alternative solutions or i...
[discordjs/discord-api-types] New branch created: dependabot/npm_and_yarn/website/multi-c8afcbbcd8
565bfdf chore(deps): bump qs and express in /website - dependabot[bot]
Bumps qs and express. These dependencies needed to be updated together.
Updates qs from 6.13.0 to 6.14.1
Changelog
Sourced from qs's changelog.
6.14.1
[Fix] ensure arrayLength applies to [] notation as well
[Fix] parse: when a custom decoder returns null for a key, ignore that key
[Refactor] parse: extract key segment splitting helper
[meta] add threat model
[actions] add workflow permissions
[Tests] stringify: incre...
0584e8b chore(deps): bump node-forge from 1.3.1 to 1.3.... - dependabot[bot]
[discordjs/discord-api-types] New branch created: dependabot/npm_and_yarn/website/node-forge-1.3.3
Bumps node-forge from 1.3.1 to 1.3.3.
Changelog
Sourced from node-forge's changelog.
1.3.3 - 2025-12-02
Fixed
[pkcs12] Make digestAlgorithm parameters optional to fix PKCS#12/PFX issues
introduced in 1.3.2.
1.3.2 - 2025-11-25
Security
HIGH: ASN.1 Validator Desynchronization
An Interpretation Conflict (CWE-436) vulnerability in node-forge versions
1.3.1 and below enables remote, unauthenticated attackers to craft ASN.1
structures to desynchronize...