Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: discordjs/discord-api-types
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.37.45
Choose a base ref
...
head repository: discordjs/discord-api-types
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0.37.46
Choose a head ref
  • 2 commits
  • 14 files changed
  • 3 contributors

Commits on Jun 15, 2023

  1. feat(RESTJSONErrorCodes): add error 50131 (#753)

    Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com>
    Mateo-tem and vladfrangu authored Jun 15, 2023
    1

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    300e31b View commit details

Commits on Jun 19, 2023

  1. chore(release): 0.37.46 🎉 (#776)

    Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    github-actions[bot] authored Jun 19, 2023
    1
    Copy the full SHA
    e5d8050 View commit details
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## [0.37.46](https://github.com/discordjs/discord-api-types/compare/0.37.45...0.37.46) (2023-06-19)

### Features

- **RESTJSONErrorCodes:** add error `50131` ([#753](https://github.com/discordjs/discord-api-types/issues/753)) ([300e31b](https://github.com/discordjs/discord-api-types/commit/300e31b51490c81bfd96c2ed5e0f810a7e3ee4ae))

## [0.37.45](https://github.com/discordjs/discord-api-types/compare/0.37.44...0.37.45) (2023-06-15)

## [0.37.44](https://github.com/discordjs/discord-api-types/compare/0.37.43...0.37.44) (2023-06-15)
6 changes: 6 additions & 0 deletions deno/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## [0.37.46](https://github.com/discordjs/discord-api-types/compare/0.37.45...0.37.46) (2023-06-19)

### Features

- **RESTJSONErrorCodes:** add error `50131` ([#753](https://github.com/discordjs/discord-api-types/issues/753)) ([300e31b](https://github.com/discordjs/discord-api-types/commit/300e31b51490c81bfd96c2ed5e0f810a7e3ee4ae))

## [0.37.45](https://github.com/discordjs/discord-api-types/compare/0.37.44...0.37.45) (2023-06-15)

## [0.37.44](https://github.com/discordjs/discord-api-types/compare/0.37.43...0.37.44) (2023-06-15)
3 changes: 2 additions & 1 deletion deno/rest/common.ts
Original file line number Diff line number Diff line change
@@ -224,7 +224,8 @@ export enum RESTJSONErrorCodes {

RequestBodyContainsInvalidJSON = 50_109,

OwnershipCannotBeMovedToABotUser = 50_132,
OwnerCannotBePendingMember = 50_131,
OwnershipCannotBeMovedToABotUser,

FailedToResizeAssetBelowTheMinimumSize = 50_138,

4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "discord-api-types",
"version": "0.37.45",
"version": "0.37.46",
"description": "Discord API typings that are kept up to date for use in bot library creation.",
"homepage": "https://discord-api-types.dev",
"exports": {
3 changes: 2 additions & 1 deletion rest/common.ts
Original file line number Diff line number Diff line change
@@ -224,7 +224,8 @@ export enum RESTJSONErrorCodes {

RequestBodyContainsInvalidJSON = 50_109,

OwnershipCannotBeMovedToABotUser = 50_132,
OwnerCannotBePendingMember = 50_131,
OwnershipCannotBeMovedToABotUser,

FailedToResizeAssetBelowTheMinimumSize = 50_138,

1 change: 0 additions & 1 deletion website/versioned_docs/version-0.37.44/api-typedoc.json

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
[{"entryPoints":{"globals":{"path":"globals.ts","label":"Global Types"},"gateway/common":{"path":"gateway/common.ts","label":"Gateway - Common Types"},"payloads/common":{"path":"payloads/common.ts","label":"Payloads - Common Types"},"rest/common":{"path":"rest/common.ts","label":"REST - Common Types"},"rpc/common":{"path":"rpc/common.ts","label":"RPC - Common Types"},"v6":{"path":"v6.ts","label":"API v6 - Deprecated"},"v8":{"path":"v8.ts","label":"API v8 - Deprecated"},"v9":{"path":"v9.ts","label":"API v9"},"v10":{"path":"v10.ts","label":"API v10"},"rpc/v8":{"path":"rpc/v8.ts","label":"RPC v8"},"rpc/v9":{"path":"rpc/v9.ts","label":"RPC v9"},"rpc/v10":{"path":"rpc/v10.ts","label":"RPC v10"},"voice/v4":{"path":"voice/v4.ts","label":"Voice v4"},"utils/v8":{"path":"utils/v8.ts","label":"Utils v8"},"utils/v9":{"path":"utils/v9.ts","label":"Utils v9"},"utils/v10":{"path":"utils/v10.ts","label":"Utils v10"}},"packagePath":"./","packageSlug":"discord-api-types","packageName":"discord-api-types","packageVersion":"0.37.44"}]
[{"entryPoints":{"globals":{"path":"globals.ts","label":"Global Types"},"gateway/common":{"path":"gateway/common.ts","label":"Gateway - Common Types"},"payloads/common":{"path":"payloads/common.ts","label":"Payloads - Common Types"},"rest/common":{"path":"rest/common.ts","label":"REST - Common Types"},"rpc/common":{"path":"rpc/common.ts","label":"RPC - Common Types"},"v6":{"path":"v6.ts","label":"API v6 - Deprecated"},"v8":{"path":"v8.ts","label":"API v8 - Deprecated"},"v9":{"path":"v9.ts","label":"API v9"},"v10":{"path":"v10.ts","label":"API v10"},"rpc/v8":{"path":"rpc/v8.ts","label":"RPC v8"},"rpc/v9":{"path":"rpc/v9.ts","label":"RPC v9"},"rpc/v10":{"path":"rpc/v10.ts","label":"RPC v10"},"voice/v4":{"path":"voice/v4.ts","label":"Voice v4"},"utils/v8":{"path":"utils/v8.ts","label":"Utils v8"},"utils/v9":{"path":"utils/v9.ts","label":"Utils v9"},"utils/v10":{"path":"utils/v10.ts","label":"Utils v10"}},"packagePath":"./","packageSlug":"discord-api-types","packageName":"discord-api-types","packageVersion":"0.37.46"}]
1 change: 1 addition & 0 deletions website/versioned_docs/version-0.37.46/api-typedoc.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions website/versions.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[
"0.37.45",
"0.37.44"
"0.37.46",
"0.37.45"
]