Compare commits

...

18 Commits

Author SHA1 Message Date
renovate[bot]
d96bfd3eea chore(deps): update commitlint monorepo to v21 2026-05-15 04:53:10 +00:00
renovate[bot]
5cd0686f1a chore(deps): update eslint/prettier to v8.59.3 (#1658)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-15 04:52:21 +00:00
renovate[bot]
391d0d4454 chore(deps): lock file maintenance (#1652)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-08 18:17:09 +00:00
renovate[bot]
2d3fc09ade chore(deps): update patch/minor dependencies (#1650)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-08 12:43:00 +00:00
renovate[bot]
3637535d28 chore(deps): update eslint/prettier to v8.59.2 (#1649)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-08 08:58:45 +00:00
renovate[bot]
14bca2694d chore(deps): lock file maintenance (#1647)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-01 22:30:13 +00:00
renovate[bot]
1e8075e41d chore(deps): update patch/minor dependencies (#1645)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-01 16:55:24 +00:00
renovate[bot]
bb1f5dfe5e chore(deps): update eslint/prettier to v8.59.1 (#1644)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-01 12:53:16 +00:00
renovate[bot]
b9df5c2d02 chore(deps): lock file maintenance (#1642)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-24 14:04:50 +00:00
renovate[bot]
812fbbe688 chore(deps): update eslint/prettier (#1641)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-24 11:36:29 +00:00
renovate[bot]
edf9a9651b chore(deps): update patch/minor dependencies (#1639)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-24 06:03:01 +00:00
renovate[bot]
9c2f1746b1 chore(deps): lock file maintenance (#1637)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-17 17:54:55 +00:00
renovate[bot]
f8f039867e chore(deps): update patch/minor dependencies (#1634)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-17 15:04:30 +00:00
renovate[bot]
8a4a6d1e43 chore(deps): update eslint/prettier (#1633)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-17 05:51:59 +00:00
discord-js-bot[bot]
2e5e31b4c4 chore(release): 0.38.47 🎉 (#1632)
Build ran for 0bd00dd111

Co-authored-by: discord-js[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-04-16 17:02:50 +03:00
Kshitij Anurag
0bd00dd111 refactor(RESTJSONErrorCodes): rename ServerSendRateLimit to ServerWriteRateLimit (#1629) 2026-04-16 13:42:53 +03:00
Almeida
d5dc47a36c feat(RESTJSONErrorCodes): rename ChannelSendRateLimit to ChannelWriteRateLimit (#1627)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-15 03:12:36 +03:00
Almeida
09c71fe9d1 feat(RESTJSONErrorCodes): add CannotForwardMessageWithUnreadableContent (#1628) 2026-04-15 01:28:24 +03:00
15 changed files with 1557 additions and 1507 deletions

File diff suppressed because one or more lines are too long

View File

@@ -2,7 +2,7 @@ enableGlobalCache: true
nodeLinker: node-modules
yarnPath: .yarn/releases/yarn-4.13.0.cjs
yarnPath: .yarn/releases/yarn-4.14.1.cjs
plugins:
- path: ./.yarn/plugins/postinstallDev.cjs

View File

@@ -1,3 +1,11 @@
## [0.38.47](https://github.com/discordjs/discord-api-types/compare/0.38.46...0.38.47) (2026-04-16)
### Features
* **RESTJSONErrorCodes:** add `CannotForwardMessageWithUnreadableContent` ([#1628](https://github.com/discordjs/discord-api-types/issues/1628)) ([09c71fe](https://github.com/discordjs/discord-api-types/commit/09c71fe9d19006d0b287be35456c25809e9afc1a))
* **RESTJSONErrorCodes:** rename `ChannelSendRateLimit` to `ChannelWriteRateLimit` ([#1627](https://github.com/discordjs/discord-api-types/issues/1627)) ([d5dc47a](https://github.com/discordjs/discord-api-types/commit/d5dc47a36c544ff8a83adcfb29684d5ac5e15af4))
## [0.38.46](https://github.com/discordjs/discord-api-types/compare/0.38.45...0.38.46) (2026-04-13)

8
deno/CHANGELOG.md generated
View File

@@ -1,3 +1,11 @@
## [0.38.47](https://github.com/discordjs/discord-api-types/compare/0.38.46...0.38.47) (2026-04-16)
### Features
* **RESTJSONErrorCodes:** add `CannotForwardMessageWithUnreadableContent` ([#1628](https://github.com/discordjs/discord-api-types/issues/1628)) ([09c71fe](https://github.com/discordjs/discord-api-types/commit/09c71fe9d19006d0b287be35456c25809e9afc1a))
* **RESTJSONErrorCodes:** rename `ChannelSendRateLimit` to `ChannelWriteRateLimit` ([#1627](https://github.com/discordjs/discord-api-types/issues/1627)) ([d5dc47a](https://github.com/discordjs/discord-api-types/commit/d5dc47a36c544ff8a83adcfb29684d5ac5e15af4))
## [0.38.46](https://github.com/discordjs/discord-api-types/compare/0.38.45...0.38.46) (2026-04-13)

14
deno/rest/common.ts generated
View File

@@ -75,8 +75,16 @@ export enum RESTJSONErrorCodes {
UnderMinimumAge = 20_024,
ChannelSendRateLimit = 20_028,
ServerSendRateLimit,
ChannelWriteRateLimit = 20_028,
/**
* @deprecated Use {@link RESTJSONErrorCodes.ChannelWriteRateLimit} instead
*/
ChannelSendRateLimit = ChannelWriteRateLimit,
ServerWriteRateLimit = 20_029,
/**
* @deprecated Use {@link RESTJSONErrorCodes.ServerWriteRateLimit} instead
*/
ServerSendRateLimit = ServerWriteRateLimit,
StageTopicServerNameServerDescriptionOrChannelNamesContainDisallowedWords = 20_031,
@@ -301,6 +309,8 @@ export enum RESTJSONErrorCodes {
MaximumActiveThreads,
MaximumActiveAnnouncementThreads,
CannotForwardMessageWithUnreadableContent = 160_014,
InvalidJSONForUploadedLottieFile = 170_001,
UploadedLottiesCannotContainRasterizedImages,
StickerMaximumFramerateExceeded,

View File

@@ -1,6 +1,6 @@
{
"name": "discord-api-types",
"version": "0.38.46",
"version": "0.38.47",
"description": "Discord API typings that are kept up to date for use in bot library creation.",
"homepage": "https://discord-api-types.dev",
"workspaces": [
@@ -132,8 +132,8 @@
"{globals,v*}.{js,js.map,d.ts,d.ts.map,mjs}"
],
"devDependencies": {
"@commitlint/cli": "^20.0.0",
"@commitlint/config-angular": "^20.0.0",
"@commitlint/cli": "^21.0.0",
"@commitlint/config-angular": "^21.0.0",
"@favware/npm-deprecate": "^2.0.0",
"@octokit/action": "^8.0.2",
"@octokit/webhooks-types": "^7.6.1",
@@ -207,9 +207,9 @@
]
}
},
"packageManager": "yarn@4.13.0",
"packageManager": "yarn@4.14.1",
"volta": {
"node": "24.14.1",
"yarn": "4.13.0"
"node": "24.15.0",
"yarn": "4.14.1"
}
}

View File

@@ -75,8 +75,16 @@ export enum RESTJSONErrorCodes {
UnderMinimumAge = 20_024,
ChannelSendRateLimit = 20_028,
ServerSendRateLimit,
ChannelWriteRateLimit = 20_028,
/**
* @deprecated Use {@link RESTJSONErrorCodes.ChannelWriteRateLimit} instead
*/
ChannelSendRateLimit = ChannelWriteRateLimit,
ServerWriteRateLimit = 20_029,
/**
* @deprecated Use {@link RESTJSONErrorCodes.ServerWriteRateLimit} instead
*/
ServerSendRateLimit = ServerWriteRateLimit,
StageTopicServerNameServerDescriptionOrChannelNamesContainDisallowedWords = 20_031,
@@ -301,6 +309,8 @@ export enum RESTJSONErrorCodes {
MaximumActiveThreads,
MaximumActiveAnnouncementThreads,
CannotForwardMessageWithUnreadableContent = 160_014,
InvalidJSONForUploadedLottieFile = 170_001,
UploadedLottiesCannotContainRasterizedImages,
StickerMaximumFramerateExceeded,

View File

@@ -1 +1 @@
[{"entryPoints":{"v10":{"path":"v10.ts","label":"API v10"},"v9":{"path":"v9.ts","label":"API v9"},"voice/v4":{"path":"voice/v4.ts","label":"Voice v4"},"voice/v8":{"path":"voice/v8.ts","label":"Voice v8"},"globals":{"path":"globals.ts","label":"Global Types"}},"packageRoot":"/home/runner/work/discord-api-types/discord-api-types/","packagePath":"./","packageSlug":"discord-api-types","packageName":"discord-api-types","packageVersion":"0.38.46"}]
[{"entryPoints":{"v10":{"path":"v10.ts","label":"API v10"},"v9":{"path":"v9.ts","label":"API v9"},"voice/v4":{"path":"voice/v4.ts","label":"Voice v4"},"voice/v8":{"path":"voice/v8.ts","label":"Voice v8"},"globals":{"path":"globals.ts","label":"Global Types"}},"packageRoot":"/home/runner/work/discord-api-types/discord-api-types/","packagePath":"./","packageSlug":"discord-api-types","packageName":"discord-api-types","packageVersion":"0.38.47"}]

View File

@@ -1,3 +1,3 @@
[
"0.38.46"
"0.38.47"
]

2426
yarn.lock

File diff suppressed because it is too large Load Diff