From 37bd06e14271aa3ff69389939f27d7814479234d Mon Sep 17 00:00:00 2001
From: TomatoCake <60300461+DEVTomatoCake@users.noreply.github.com>
Date: Sat, 22 Jun 2024 20:41:43 +0200
Subject: [PATCH 01/49] Add local image proxy using sharp/jimp pkgs
---
package-lock.json | 764 +++++++++++++++++++++++++++++-
package.json | 1 +
src/api/Server.ts | 4 +-
src/api/middlewares/ImageProxy.ts | 143 ++++++
src/api/middlewares/index.ts | 1 +
5 files changed, 890 insertions(+), 23 deletions(-)
create mode 100644 src/api/middlewares/ImageProxy.ts
diff --git a/package-lock.json b/package-lock.json
index 875aba1b..32582d06 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -38,12 +38,10 @@
"morgan": "^1.10.0",
"multer": "^1.4.5-lts.1",
"murmurhash-js": "^1.0.0",
- "mysql": "*",
"node-2fa": "^2.0.3",
"node-fetch": "^2.6.12",
"node-os-utils": "^1.3.7",
"nodemailer": "^6.9.4",
- "pg": "*",
"picocolors": "^1.0.0",
"probe-image-size": "^7.2.3",
"proxy-agent": "^6.3.0",
@@ -85,6 +83,7 @@
},
"optionalDependencies": {
"erlpack": "^0.1.4",
+ "jimp": "^0.22.12",
"mysql": "^2.18.1",
"nodemailer-mailgun-transport": "^2.1.5",
"nodemailer-mailjet-transport": "github:n0script22/nodemailer-mailjet-transport",
@@ -1053,6 +1052,455 @@
"integrity": "sha512-6EwiSjwWYP7pTckG6I5eyFANjPhmPjUX9JRLUSfNPC7FX7zK9gyZAfUEaECL6ALTpGX5AjnBq3C9XmVWPitNpw==",
"dev": true
},
+ "node_modules/@jimp/bmp": {
+ "version": "0.22.12",
+ "resolved": "https://registry.npmjs.org/@jimp/bmp/-/bmp-0.22.12.tgz",
+ "integrity": "sha512-aeI64HD0npropd+AR76MCcvvRaa+Qck6loCOS03CkkxGHN5/r336qTM5HPUdHKMDOGzqknuVPA8+kK1t03z12g==",
+ "optional": true,
+ "dependencies": {
+ "@jimp/utils": "^0.22.12",
+ "bmp-js": "^0.1.0"
+ },
+ "peerDependencies": {
+ "@jimp/custom": ">=0.3.5"
+ }
+ },
+ "node_modules/@jimp/core": {
+ "version": "0.22.12",
+ "resolved": "https://registry.npmjs.org/@jimp/core/-/core-0.22.12.tgz",
+ "integrity": "sha512-l0RR0dOPyzMKfjUW1uebzueFEDtCOj9fN6pyTYWWOM/VS4BciXQ1VVrJs8pO3kycGYZxncRKhCoygbNr8eEZQA==",
+ "optional": true,
+ "dependencies": {
+ "@jimp/utils": "^0.22.12",
+ "any-base": "^1.1.0",
+ "buffer": "^5.2.0",
+ "exif-parser": "^0.1.12",
+ "file-type": "^16.5.4",
+ "isomorphic-fetch": "^3.0.0",
+ "pixelmatch": "^4.0.2",
+ "tinycolor2": "^1.6.0"
+ }
+ },
+ "node_modules/@jimp/core/node_modules/buffer": {
+ "version": "5.7.1",
+ "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz",
+ "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "optional": true,
+ "dependencies": {
+ "base64-js": "^1.3.1",
+ "ieee754": "^1.1.13"
+ }
+ },
+ "node_modules/@jimp/custom": {
+ "version": "0.22.12",
+ "resolved": "https://registry.npmjs.org/@jimp/custom/-/custom-0.22.12.tgz",
+ "integrity": "sha512-xcmww1O/JFP2MrlGUMd3Q78S3Qu6W3mYTXYuIqFq33EorgYHV/HqymHfXy9GjiCJ7OI+7lWx6nYFOzU7M4rd1Q==",
+ "optional": true,
+ "dependencies": {
+ "@jimp/core": "^0.22.12"
+ }
+ },
+ "node_modules/@jimp/gif": {
+ "version": "0.22.12",
+ "resolved": "https://registry.npmjs.org/@jimp/gif/-/gif-0.22.12.tgz",
+ "integrity": "sha512-y6BFTJgch9mbor2H234VSjd9iwAhaNf/t3US5qpYIs0TSbAvM02Fbc28IaDETj9+4YB4676sz4RcN/zwhfu1pg==",
+ "optional": true,
+ "dependencies": {
+ "@jimp/utils": "^0.22.12",
+ "gifwrap": "^0.10.1",
+ "omggif": "^1.0.9"
+ },
+ "peerDependencies": {
+ "@jimp/custom": ">=0.3.5"
+ }
+ },
+ "node_modules/@jimp/jpeg": {
+ "version": "0.22.12",
+ "resolved": "https://registry.npmjs.org/@jimp/jpeg/-/jpeg-0.22.12.tgz",
+ "integrity": "sha512-Rq26XC/uQWaQKyb/5lksCTCxXhtY01NJeBN+dQv5yNYedN0i7iYu+fXEoRsfaJ8xZzjoANH8sns7rVP4GE7d/Q==",
+ "optional": true,
+ "dependencies": {
+ "@jimp/utils": "^0.22.12",
+ "jpeg-js": "^0.4.4"
+ },
+ "peerDependencies": {
+ "@jimp/custom": ">=0.3.5"
+ }
+ },
+ "node_modules/@jimp/plugin-blit": {
+ "version": "0.22.12",
+ "resolved": "https://registry.npmjs.org/@jimp/plugin-blit/-/plugin-blit-0.22.12.tgz",
+ "integrity": "sha512-xslz2ZoFZOPLY8EZ4dC29m168BtDx95D6K80TzgUi8gqT7LY6CsajWO0FAxDwHz6h0eomHMfyGX0stspBrTKnQ==",
+ "optional": true,
+ "dependencies": {
+ "@jimp/utils": "^0.22.12"
+ },
+ "peerDependencies": {
+ "@jimp/custom": ">=0.3.5"
+ }
+ },
+ "node_modules/@jimp/plugin-blur": {
+ "version": "0.22.12",
+ "resolved": "https://registry.npmjs.org/@jimp/plugin-blur/-/plugin-blur-0.22.12.tgz",
+ "integrity": "sha512-S0vJADTuh1Q9F+cXAwFPlrKWzDj2F9t/9JAbUvaaDuivpyWuImEKXVz5PUZw2NbpuSHjwssbTpOZ8F13iJX4uw==",
+ "optional": true,
+ "dependencies": {
+ "@jimp/utils": "^0.22.12"
+ },
+ "peerDependencies": {
+ "@jimp/custom": ">=0.3.5"
+ }
+ },
+ "node_modules/@jimp/plugin-circle": {
+ "version": "0.22.12",
+ "resolved": "https://registry.npmjs.org/@jimp/plugin-circle/-/plugin-circle-0.22.12.tgz",
+ "integrity": "sha512-SWVXx1yiuj5jZtMijqUfvVOJBwOifFn0918ou4ftoHgegc5aHWW5dZbYPjvC9fLpvz7oSlptNl2Sxr1zwofjTg==",
+ "optional": true,
+ "dependencies": {
+ "@jimp/utils": "^0.22.12"
+ },
+ "peerDependencies": {
+ "@jimp/custom": ">=0.3.5"
+ }
+ },
+ "node_modules/@jimp/plugin-color": {
+ "version": "0.22.12",
+ "resolved": "https://registry.npmjs.org/@jimp/plugin-color/-/plugin-color-0.22.12.tgz",
+ "integrity": "sha512-xImhTE5BpS8xa+mAN6j4sMRWaUgUDLoaGHhJhpC+r7SKKErYDR0WQV4yCE4gP+N0gozD0F3Ka1LUSaMXrn7ZIA==",
+ "optional": true,
+ "dependencies": {
+ "@jimp/utils": "^0.22.12",
+ "tinycolor2": "^1.6.0"
+ },
+ "peerDependencies": {
+ "@jimp/custom": ">=0.3.5"
+ }
+ },
+ "node_modules/@jimp/plugin-contain": {
+ "version": "0.22.12",
+ "resolved": "https://registry.npmjs.org/@jimp/plugin-contain/-/plugin-contain-0.22.12.tgz",
+ "integrity": "sha512-Eo3DmfixJw3N79lWk8q/0SDYbqmKt1xSTJ69yy8XLYQj9svoBbyRpSnHR+n9hOw5pKXytHwUW6nU4u1wegHNoQ==",
+ "optional": true,
+ "dependencies": {
+ "@jimp/utils": "^0.22.12"
+ },
+ "peerDependencies": {
+ "@jimp/custom": ">=0.3.5",
+ "@jimp/plugin-blit": ">=0.3.5",
+ "@jimp/plugin-resize": ">=0.3.5",
+ "@jimp/plugin-scale": ">=0.3.5"
+ }
+ },
+ "node_modules/@jimp/plugin-cover": {
+ "version": "0.22.12",
+ "resolved": "https://registry.npmjs.org/@jimp/plugin-cover/-/plugin-cover-0.22.12.tgz",
+ "integrity": "sha512-z0w/1xH/v/knZkpTNx+E8a7fnasQ2wHG5ze6y5oL2dhH1UufNua8gLQXlv8/W56+4nJ1brhSd233HBJCo01BXA==",
+ "optional": true,
+ "dependencies": {
+ "@jimp/utils": "^0.22.12"
+ },
+ "peerDependencies": {
+ "@jimp/custom": ">=0.3.5",
+ "@jimp/plugin-crop": ">=0.3.5",
+ "@jimp/plugin-resize": ">=0.3.5",
+ "@jimp/plugin-scale": ">=0.3.5"
+ }
+ },
+ "node_modules/@jimp/plugin-crop": {
+ "version": "0.22.12",
+ "resolved": "https://registry.npmjs.org/@jimp/plugin-crop/-/plugin-crop-0.22.12.tgz",
+ "integrity": "sha512-FNuUN0OVzRCozx8XSgP9MyLGMxNHHJMFt+LJuFjn1mu3k0VQxrzqbN06yIl46TVejhyAhcq5gLzqmSCHvlcBVw==",
+ "optional": true,
+ "dependencies": {
+ "@jimp/utils": "^0.22.12"
+ },
+ "peerDependencies": {
+ "@jimp/custom": ">=0.3.5"
+ }
+ },
+ "node_modules/@jimp/plugin-displace": {
+ "version": "0.22.12",
+ "resolved": "https://registry.npmjs.org/@jimp/plugin-displace/-/plugin-displace-0.22.12.tgz",
+ "integrity": "sha512-qpRM8JRicxfK6aPPqKZA6+GzBwUIitiHaZw0QrJ64Ygd3+AsTc7BXr+37k2x7QcyCvmKXY4haUrSIsBug4S3CA==",
+ "optional": true,
+ "dependencies": {
+ "@jimp/utils": "^0.22.12"
+ },
+ "peerDependencies": {
+ "@jimp/custom": ">=0.3.5"
+ }
+ },
+ "node_modules/@jimp/plugin-dither": {
+ "version": "0.22.12",
+ "resolved": "https://registry.npmjs.org/@jimp/plugin-dither/-/plugin-dither-0.22.12.tgz",
+ "integrity": "sha512-jYgGdSdSKl1UUEanX8A85v4+QUm+PE8vHFwlamaKk89s+PXQe7eVE3eNeSZX4inCq63EHL7cX580dMqkoC3ZLw==",
+ "optional": true,
+ "dependencies": {
+ "@jimp/utils": "^0.22.12"
+ },
+ "peerDependencies": {
+ "@jimp/custom": ">=0.3.5"
+ }
+ },
+ "node_modules/@jimp/plugin-fisheye": {
+ "version": "0.22.12",
+ "resolved": "https://registry.npmjs.org/@jimp/plugin-fisheye/-/plugin-fisheye-0.22.12.tgz",
+ "integrity": "sha512-LGuUTsFg+fOp6KBKrmLkX4LfyCy8IIsROwoUvsUPKzutSqMJnsm3JGDW2eOmWIS/jJpPaeaishjlxvczjgII+Q==",
+ "optional": true,
+ "dependencies": {
+ "@jimp/utils": "^0.22.12"
+ },
+ "peerDependencies": {
+ "@jimp/custom": ">=0.3.5"
+ }
+ },
+ "node_modules/@jimp/plugin-flip": {
+ "version": "0.22.12",
+ "resolved": "https://registry.npmjs.org/@jimp/plugin-flip/-/plugin-flip-0.22.12.tgz",
+ "integrity": "sha512-m251Rop7GN8W0Yo/rF9LWk6kNclngyjIJs/VXHToGQ6EGveOSTSQaX2Isi9f9lCDLxt+inBIb7nlaLLxnvHX8Q==",
+ "optional": true,
+ "dependencies": {
+ "@jimp/utils": "^0.22.12"
+ },
+ "peerDependencies": {
+ "@jimp/custom": ">=0.3.5",
+ "@jimp/plugin-rotate": ">=0.3.5"
+ }
+ },
+ "node_modules/@jimp/plugin-gaussian": {
+ "version": "0.22.12",
+ "resolved": "https://registry.npmjs.org/@jimp/plugin-gaussian/-/plugin-gaussian-0.22.12.tgz",
+ "integrity": "sha512-sBfbzoOmJ6FczfG2PquiK84NtVGeScw97JsCC3rpQv1PHVWyW+uqWFF53+n3c8Y0P2HWlUjflEla2h/vWShvhg==",
+ "optional": true,
+ "dependencies": {
+ "@jimp/utils": "^0.22.12"
+ },
+ "peerDependencies": {
+ "@jimp/custom": ">=0.3.5"
+ }
+ },
+ "node_modules/@jimp/plugin-invert": {
+ "version": "0.22.12",
+ "resolved": "https://registry.npmjs.org/@jimp/plugin-invert/-/plugin-invert-0.22.12.tgz",
+ "integrity": "sha512-N+6rwxdB+7OCR6PYijaA/iizXXodpxOGvT/smd/lxeXsZ/empHmFFFJ/FaXcYh19Tm04dGDaXcNF/dN5nm6+xQ==",
+ "optional": true,
+ "dependencies": {
+ "@jimp/utils": "^0.22.12"
+ },
+ "peerDependencies": {
+ "@jimp/custom": ">=0.3.5"
+ }
+ },
+ "node_modules/@jimp/plugin-mask": {
+ "version": "0.22.12",
+ "resolved": "https://registry.npmjs.org/@jimp/plugin-mask/-/plugin-mask-0.22.12.tgz",
+ "integrity": "sha512-4AWZg+DomtpUA099jRV8IEZUfn1wLv6+nem4NRJC7L/82vxzLCgXKTxvNvBcNmJjT9yS1LAAmiJGdWKXG63/NA==",
+ "optional": true,
+ "dependencies": {
+ "@jimp/utils": "^0.22.12"
+ },
+ "peerDependencies": {
+ "@jimp/custom": ">=0.3.5"
+ }
+ },
+ "node_modules/@jimp/plugin-normalize": {
+ "version": "0.22.12",
+ "resolved": "https://registry.npmjs.org/@jimp/plugin-normalize/-/plugin-normalize-0.22.12.tgz",
+ "integrity": "sha512-0So0rexQivnWgnhacX4cfkM2223YdExnJTTy6d06WbkfZk5alHUx8MM3yEzwoCN0ErO7oyqEWRnEkGC+As1FtA==",
+ "optional": true,
+ "dependencies": {
+ "@jimp/utils": "^0.22.12"
+ },
+ "peerDependencies": {
+ "@jimp/custom": ">=0.3.5"
+ }
+ },
+ "node_modules/@jimp/plugin-print": {
+ "version": "0.22.12",
+ "resolved": "https://registry.npmjs.org/@jimp/plugin-print/-/plugin-print-0.22.12.tgz",
+ "integrity": "sha512-c7TnhHlxm87DJeSnwr/XOLjJU/whoiKYY7r21SbuJ5nuH+7a78EW1teOaj5gEr2wYEd7QtkFqGlmyGXY/YclyQ==",
+ "optional": true,
+ "dependencies": {
+ "@jimp/utils": "^0.22.12",
+ "load-bmfont": "^1.4.1"
+ },
+ "peerDependencies": {
+ "@jimp/custom": ">=0.3.5",
+ "@jimp/plugin-blit": ">=0.3.5"
+ }
+ },
+ "node_modules/@jimp/plugin-resize": {
+ "version": "0.22.12",
+ "resolved": "https://registry.npmjs.org/@jimp/plugin-resize/-/plugin-resize-0.22.12.tgz",
+ "integrity": "sha512-3NyTPlPbTnGKDIbaBgQ3HbE6wXbAlFfxHVERmrbqAi8R3r6fQPxpCauA8UVDnieg5eo04D0T8nnnNIX//i/sXg==",
+ "optional": true,
+ "dependencies": {
+ "@jimp/utils": "^0.22.12"
+ },
+ "peerDependencies": {
+ "@jimp/custom": ">=0.3.5"
+ }
+ },
+ "node_modules/@jimp/plugin-rotate": {
+ "version": "0.22.12",
+ "resolved": "https://registry.npmjs.org/@jimp/plugin-rotate/-/plugin-rotate-0.22.12.tgz",
+ "integrity": "sha512-9YNEt7BPAFfTls2FGfKBVgwwLUuKqy+E8bDGGEsOqHtbuhbshVGxN2WMZaD4gh5IDWvR+emmmPPWGgaYNYt1gA==",
+ "optional": true,
+ "dependencies": {
+ "@jimp/utils": "^0.22.12"
+ },
+ "peerDependencies": {
+ "@jimp/custom": ">=0.3.5",
+ "@jimp/plugin-blit": ">=0.3.5",
+ "@jimp/plugin-crop": ">=0.3.5",
+ "@jimp/plugin-resize": ">=0.3.5"
+ }
+ },
+ "node_modules/@jimp/plugin-scale": {
+ "version": "0.22.12",
+ "resolved": "https://registry.npmjs.org/@jimp/plugin-scale/-/plugin-scale-0.22.12.tgz",
+ "integrity": "sha512-dghs92qM6MhHj0HrV2qAwKPMklQtjNpoYgAB94ysYpsXslhRTiPisueSIELRwZGEr0J0VUxpUY7HgJwlSIgGZw==",
+ "optional": true,
+ "dependencies": {
+ "@jimp/utils": "^0.22.12"
+ },
+ "peerDependencies": {
+ "@jimp/custom": ">=0.3.5",
+ "@jimp/plugin-resize": ">=0.3.5"
+ }
+ },
+ "node_modules/@jimp/plugin-shadow": {
+ "version": "0.22.12",
+ "resolved": "https://registry.npmjs.org/@jimp/plugin-shadow/-/plugin-shadow-0.22.12.tgz",
+ "integrity": "sha512-FX8mTJuCt7/3zXVoeD/qHlm4YH2bVqBuWQHXSuBK054e7wFRnRnbSLPUqAwSeYP3lWqpuQzJtgiiBxV3+WWwTg==",
+ "optional": true,
+ "dependencies": {
+ "@jimp/utils": "^0.22.12"
+ },
+ "peerDependencies": {
+ "@jimp/custom": ">=0.3.5",
+ "@jimp/plugin-blur": ">=0.3.5",
+ "@jimp/plugin-resize": ">=0.3.5"
+ }
+ },
+ "node_modules/@jimp/plugin-threshold": {
+ "version": "0.22.12",
+ "resolved": "https://registry.npmjs.org/@jimp/plugin-threshold/-/plugin-threshold-0.22.12.tgz",
+ "integrity": "sha512-4x5GrQr1a/9L0paBC/MZZJjjgjxLYrqSmWd+e+QfAEPvmRxdRoQ5uKEuNgXnm9/weHQBTnQBQsOY2iFja+XGAw==",
+ "optional": true,
+ "dependencies": {
+ "@jimp/utils": "^0.22.12"
+ },
+ "peerDependencies": {
+ "@jimp/custom": ">=0.3.5",
+ "@jimp/plugin-color": ">=0.8.0",
+ "@jimp/plugin-resize": ">=0.8.0"
+ }
+ },
+ "node_modules/@jimp/plugins": {
+ "version": "0.22.12",
+ "resolved": "https://registry.npmjs.org/@jimp/plugins/-/plugins-0.22.12.tgz",
+ "integrity": "sha512-yBJ8vQrDkBbTgQZLty9k4+KtUQdRjsIDJSPjuI21YdVeqZxYywifHl4/XWILoTZsjTUASQcGoH0TuC0N7xm3ww==",
+ "optional": true,
+ "dependencies": {
+ "@jimp/plugin-blit": "^0.22.12",
+ "@jimp/plugin-blur": "^0.22.12",
+ "@jimp/plugin-circle": "^0.22.12",
+ "@jimp/plugin-color": "^0.22.12",
+ "@jimp/plugin-contain": "^0.22.12",
+ "@jimp/plugin-cover": "^0.22.12",
+ "@jimp/plugin-crop": "^0.22.12",
+ "@jimp/plugin-displace": "^0.22.12",
+ "@jimp/plugin-dither": "^0.22.12",
+ "@jimp/plugin-fisheye": "^0.22.12",
+ "@jimp/plugin-flip": "^0.22.12",
+ "@jimp/plugin-gaussian": "^0.22.12",
+ "@jimp/plugin-invert": "^0.22.12",
+ "@jimp/plugin-mask": "^0.22.12",
+ "@jimp/plugin-normalize": "^0.22.12",
+ "@jimp/plugin-print": "^0.22.12",
+ "@jimp/plugin-resize": "^0.22.12",
+ "@jimp/plugin-rotate": "^0.22.12",
+ "@jimp/plugin-scale": "^0.22.12",
+ "@jimp/plugin-shadow": "^0.22.12",
+ "@jimp/plugin-threshold": "^0.22.12",
+ "timm": "^1.6.1"
+ },
+ "peerDependencies": {
+ "@jimp/custom": ">=0.3.5"
+ }
+ },
+ "node_modules/@jimp/png": {
+ "version": "0.22.12",
+ "resolved": "https://registry.npmjs.org/@jimp/png/-/png-0.22.12.tgz",
+ "integrity": "sha512-Mrp6dr3UTn+aLK8ty/dSKELz+Otdz1v4aAXzV5q53UDD2rbB5joKVJ/ChY310B+eRzNxIovbUF1KVrUsYdE8Hg==",
+ "optional": true,
+ "dependencies": {
+ "@jimp/utils": "^0.22.12",
+ "pngjs": "^6.0.0"
+ },
+ "peerDependencies": {
+ "@jimp/custom": ">=0.3.5"
+ }
+ },
+ "node_modules/@jimp/tiff": {
+ "version": "0.22.12",
+ "resolved": "https://registry.npmjs.org/@jimp/tiff/-/tiff-0.22.12.tgz",
+ "integrity": "sha512-E1LtMh4RyJsoCAfAkBRVSYyZDTtLq9p9LUiiYP0vPtXyxX4BiYBUYihTLSBlCQg5nF2e4OpQg7SPrLdJ66u7jg==",
+ "optional": true,
+ "dependencies": {
+ "utif2": "^4.0.1"
+ },
+ "peerDependencies": {
+ "@jimp/custom": ">=0.3.5"
+ }
+ },
+ "node_modules/@jimp/types": {
+ "version": "0.22.12",
+ "resolved": "https://registry.npmjs.org/@jimp/types/-/types-0.22.12.tgz",
+ "integrity": "sha512-wwKYzRdElE1MBXFREvCto5s699izFHNVvALUv79GXNbsOVqlwlOxlWJ8DuyOGIXoLP4JW/m30YyuTtfUJgMRMA==",
+ "optional": true,
+ "dependencies": {
+ "@jimp/bmp": "^0.22.12",
+ "@jimp/gif": "^0.22.12",
+ "@jimp/jpeg": "^0.22.12",
+ "@jimp/png": "^0.22.12",
+ "@jimp/tiff": "^0.22.12",
+ "timm": "^1.6.1"
+ },
+ "peerDependencies": {
+ "@jimp/custom": ">=0.3.5"
+ }
+ },
+ "node_modules/@jimp/utils": {
+ "version": "0.22.12",
+ "resolved": "https://registry.npmjs.org/@jimp/utils/-/utils-0.22.12.tgz",
+ "integrity": "sha512-yJ5cWUknGnilBq97ZXOyOS0HhsHOyAyjHwYfHxGbSyMTohgQI6sVyE8KPgDwH8HHW/nMKXk8TrSwAE71zt716Q==",
+ "optional": true,
+ "dependencies": {
+ "regenerator-runtime": "^0.13.3"
+ }
+ },
+ "node_modules/@jimp/utils/node_modules/regenerator-runtime": {
+ "version": "0.13.11",
+ "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz",
+ "integrity": "sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==",
+ "optional": true
+ },
"node_modules/@jridgewell/resolve-uri": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.1.tgz",
@@ -2640,6 +3088,12 @@
"url": "https://github.com/chalk/ansi-styles?sponsor=1"
}
},
+ "node_modules/any-base": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/any-base/-/any-base-1.1.0.tgz",
+ "integrity": "sha512-uMgjozySS8adZZYePpaWs8cxB9/kdzmpX6SgJZ+wbz1K5eYk5QMYDVJaZKhxyIHUdnnJkfR7SVgStgH7LkGUyg==",
+ "optional": true
+ },
"node_modules/any-promise": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz",
@@ -2895,6 +3349,12 @@
"integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==",
"optional": true
},
+ "node_modules/bmp-js": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/bmp-js/-/bmp-js-0.1.0.tgz",
+ "integrity": "sha512-vHdS19CnY3hwiNdkaqk93DvjVLfbEcI8mys4UjuWrlX1haDmroo8o4xCzh4wD6DGV6HxRCyauwhHRqMTfERtjw==",
+ "optional": true
+ },
"node_modules/body-parser": {
"version": "1.20.1",
"resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.1.tgz",
@@ -2985,6 +3445,15 @@
"ieee754": "^1.2.1"
}
},
+ "node_modules/buffer-equal": {
+ "version": "0.0.1",
+ "resolved": "https://registry.npmjs.org/buffer-equal/-/buffer-equal-0.0.1.tgz",
+ "integrity": "sha512-RgSV6InVQ9ODPdLWJ5UAqBqJBOg370Nz6ZQtRzpt6nUjc8v0St97uJ4PYC6NztqIScrAXafKM3mZPMygSe1ggA==",
+ "optional": true,
+ "engines": {
+ "node": ">=0.4.0"
+ }
+ },
"node_modules/buffer-equal-constant-time": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz",
@@ -3623,9 +4092,9 @@
}
},
"node_modules/detect-libc": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.2.tgz",
- "integrity": "sha512-UX6sGumvvqSaXgdKGUsgZWqcUyIXZ/vZTrlRT/iobiKhGL0zL4d3osHj3uqllWJK+i+sixDS/3COVEOFbupFyw==",
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.3.tgz",
+ "integrity": "sha512-bwy0MGW55bG41VqxxypOsdSdGqLwXPI/focwgTYCFMbdUiBAxLg9CFzG08sz2aqzknwiX7Hkl0bQENjg8iLByw==",
"engines": {
"node": ">=8"
}
@@ -3685,6 +4154,12 @@
"url": "https://github.com/cheeriojs/dom-serializer?sponsor=1"
}
},
+ "node_modules/dom-walk": {
+ "version": "0.1.2",
+ "resolved": "https://registry.npmjs.org/dom-walk/-/dom-walk-0.1.2.tgz",
+ "integrity": "sha512-6QvTW9mrGeIegrFXdtQi9pk7O/nSK6lSdXW2eqUspN5LWD7UTji2Fqw5V2YLjBpHEoU9Xl/eUWNpDeZvoyOv2w==",
+ "optional": true
+ },
"node_modules/domelementtype": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.3.0.tgz",
@@ -4133,6 +4608,12 @@
"exif-be-gone": "cli.js"
}
},
+ "node_modules/exif-parser": {
+ "version": "0.1.12",
+ "resolved": "https://registry.npmjs.org/exif-parser/-/exif-parser-0.1.12.tgz",
+ "integrity": "sha512-c2bQfLNbMzLPmzQuOr8fy0csy84WmwnER81W88DzTp9CYNPJ6yzOj2EZAh9pywYpqHnshVLHQJ8WzldAyfY+Iw==",
+ "optional": true
+ },
"node_modules/express": {
"version": "4.18.2",
"resolved": "https://registry.npmjs.org/express/-/express-4.18.2.tgz",
@@ -4621,6 +5102,16 @@
"node": ">= 14"
}
},
+ "node_modules/gifwrap": {
+ "version": "0.10.1",
+ "resolved": "https://registry.npmjs.org/gifwrap/-/gifwrap-0.10.1.tgz",
+ "integrity": "sha512-2760b1vpJHNmLzZ/ubTtNnEx5WApN/PYWJvXvgS+tL1egTTthayFYIQQNi136FLEDcN/IyEY2EcGpIITD6eYUw==",
+ "optional": true,
+ "dependencies": {
+ "image-q": "^4.0.0",
+ "omggif": "^1.0.10"
+ }
+ },
"node_modules/glob": {
"version": "7.2.3",
"resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
@@ -4652,6 +5143,16 @@
"node": ">=10.13.0"
}
},
+ "node_modules/global": {
+ "version": "4.4.0",
+ "resolved": "https://registry.npmjs.org/global/-/global-4.4.0.tgz",
+ "integrity": "sha512-wv/LAoHdRE3BeTGz53FAamhGlPLhlssK45usmGFThIi4XqnBmjKQ16u+RNbP7WvigRZDxUsM0J3gcQ5yicaL0w==",
+ "optional": true,
+ "dependencies": {
+ "min-document": "^2.19.0",
+ "process": "^0.11.10"
+ }
+ },
"node_modules/globals": {
"version": "13.24.0",
"resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz",
@@ -4947,6 +5448,21 @@
"node": ">= 4"
}
},
+ "node_modules/image-q": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/image-q/-/image-q-4.0.0.tgz",
+ "integrity": "sha512-PfJGVgIfKQJuq3s0tTDOKtztksibuUEbJQIYT3by6wctQo+Rdlh7ef4evJ5NCdxY4CfMbvFkocEwbl4BF8RlJw==",
+ "optional": true,
+ "dependencies": {
+ "@types/node": "16.9.1"
+ }
+ },
+ "node_modules/image-q/node_modules/@types/node": {
+ "version": "16.9.1",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-16.9.1.tgz",
+ "integrity": "sha512-QpLcX9ZSsq3YYUUnD3nFDY8H7wctAhQj/TFKL8Ya8v5fMm3CFXxo8zStsLAl780ltoYoo1WvKUVGBQK+1ifr7g==",
+ "optional": true
+ },
"node_modules/image-size": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/image-size/-/image-size-1.0.2.tgz",
@@ -5050,6 +5566,12 @@
"node": ">=8"
}
},
+ "node_modules/is-function": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/is-function/-/is-function-1.0.2.tgz",
+ "integrity": "sha512-lw7DUp0aWXYg+CBCN+JKkcE0Q2RayZnSvnZBlwgxHBQhqt5pZNVy4Ri7H9GmmXkdu7LUthszM+Tor1u/2iBcpQ==",
+ "optional": true
+ },
"node_modules/is-glob": {
"version": "4.0.3",
"resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",
@@ -5109,6 +5631,34 @@
"integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==",
"devOptional": true
},
+ "node_modules/isomorphic-fetch": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/isomorphic-fetch/-/isomorphic-fetch-3.0.0.tgz",
+ "integrity": "sha512-qvUtwJ3j6qwsF3jLxkZ72qCgjMysPzDfeV240JHiGZsANBYd+EEuu35v7dfrJ9Up0Ak07D7GGSkGhCHTqg/5wA==",
+ "optional": true,
+ "dependencies": {
+ "node-fetch": "^2.6.1",
+ "whatwg-fetch": "^3.4.1"
+ }
+ },
+ "node_modules/jimp": {
+ "version": "0.22.12",
+ "resolved": "https://registry.npmjs.org/jimp/-/jimp-0.22.12.tgz",
+ "integrity": "sha512-R5jZaYDnfkxKJy1dwLpj/7cvyjxiclxU3F4TrI/J4j2rS0niq6YDUMoPn5hs8GDpO+OZGo7Ky057CRtWesyhfg==",
+ "optional": true,
+ "dependencies": {
+ "@jimp/custom": "^0.22.12",
+ "@jimp/plugins": "^0.22.12",
+ "@jimp/types": "^0.22.12",
+ "regenerator-runtime": "^0.13.3"
+ }
+ },
+ "node_modules/jimp/node_modules/regenerator-runtime": {
+ "version": "0.13.11",
+ "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz",
+ "integrity": "sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==",
+ "optional": true
+ },
"node_modules/jose": {
"version": "4.14.4",
"resolved": "https://registry.npmjs.org/jose/-/jose-4.14.4.tgz",
@@ -5117,6 +5667,12 @@
"url": "https://github.com/sponsors/panva"
}
},
+ "node_modules/jpeg-js": {
+ "version": "0.4.4",
+ "resolved": "https://registry.npmjs.org/jpeg-js/-/jpeg-js-0.4.4.tgz",
+ "integrity": "sha512-WZzeDOEtTOBK4Mdsar0IqEU5sMr3vSV2RqkAIzUEV2BHnUfKGyswWFPFwK5EeDo93K3FohSHbLAjj0s1Wzd+dg==",
+ "optional": true
+ },
"node_modules/js-yaml": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz",
@@ -5279,6 +5835,22 @@
"immediate": "~3.0.5"
}
},
+ "node_modules/load-bmfont": {
+ "version": "1.4.1",
+ "resolved": "https://registry.npmjs.org/load-bmfont/-/load-bmfont-1.4.1.tgz",
+ "integrity": "sha512-8UyQoYmdRDy81Brz6aLAUhfZLwr5zV0L3taTQ4hju7m6biuwiWiJXjPhBJxbUQJA8PrkvJ/7Enqmwk2sM14soA==",
+ "optional": true,
+ "dependencies": {
+ "buffer-equal": "0.0.1",
+ "mime": "^1.3.4",
+ "parse-bmfont-ascii": "^1.0.3",
+ "parse-bmfont-binary": "^1.0.5",
+ "parse-bmfont-xml": "^1.1.4",
+ "phin": "^2.9.1",
+ "xhr": "^2.0.1",
+ "xtend": "^4.0.0"
+ }
+ },
"node_modules/localforage": {
"version": "1.10.0",
"resolved": "https://registry.npmjs.org/localforage/-/localforage-1.10.0.tgz",
@@ -5518,6 +6090,15 @@
"node": ">=6"
}
},
+ "node_modules/min-document": {
+ "version": "2.19.0",
+ "resolved": "https://registry.npmjs.org/min-document/-/min-document-2.19.0.tgz",
+ "integrity": "sha512-9Wy1B3m3f66bPPmU5hdA4DR4PB2OfDU/+GS3yAB7IQozE3tqXaVv2zOjgla7MEGSRv95+ILmOuvhLkOK6wJtCQ==",
+ "optional": true,
+ "dependencies": {
+ "dom-walk": "^0.1.0"
+ }
+ },
"node_modules/minimatch": {
"version": "3.1.2",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
@@ -6176,6 +6757,12 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "node_modules/omggif": {
+ "version": "1.0.10",
+ "resolved": "https://registry.npmjs.org/omggif/-/omggif-1.0.10.tgz",
+ "integrity": "sha512-LMJTtvgc/nugXj0Vcrrs68Mn2D1r0zf630VNtqtpI1FEO7e+O9FP4gqs9AcnBaSEeoHIPm28u6qgPR0oyEpGSw==",
+ "optional": true
+ },
"node_modules/on-finished": {
"version": "2.4.1",
"resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz",
@@ -6349,6 +6936,12 @@
"integrity": "sha512-HAKu/fG3HpHFO0AA8WE8q2g+gBJaZ9MG7fcKk+IJPLTGAD6Psw4443l+9DGRbOIh3/aXr7Phy0TjilYivJo5XQ==",
"optional": true
},
+ "node_modules/pako": {
+ "version": "1.0.11",
+ "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz",
+ "integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==",
+ "optional": true
+ },
"node_modules/parent-module": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",
@@ -6361,6 +6954,34 @@
"node": ">=6"
}
},
+ "node_modules/parse-bmfont-ascii": {
+ "version": "1.0.6",
+ "resolved": "https://registry.npmjs.org/parse-bmfont-ascii/-/parse-bmfont-ascii-1.0.6.tgz",
+ "integrity": "sha512-U4RrVsUFCleIOBsIGYOMKjn9PavsGOXxbvYGtMOEfnId0SVNsgehXh1DxUdVPLoxd5mvcEtvmKs2Mmf0Mpa1ZA==",
+ "optional": true
+ },
+ "node_modules/parse-bmfont-binary": {
+ "version": "1.0.6",
+ "resolved": "https://registry.npmjs.org/parse-bmfont-binary/-/parse-bmfont-binary-1.0.6.tgz",
+ "integrity": "sha512-GxmsRea0wdGdYthjuUeWTMWPqm2+FAd4GI8vCvhgJsFnoGhTrLhXDDupwTo7rXVAgaLIGoVHDZS9p/5XbSqeWA==",
+ "optional": true
+ },
+ "node_modules/parse-bmfont-xml": {
+ "version": "1.1.6",
+ "resolved": "https://registry.npmjs.org/parse-bmfont-xml/-/parse-bmfont-xml-1.1.6.tgz",
+ "integrity": "sha512-0cEliVMZEhrFDwMh4SxIyVJpqYoOWDJ9P895tFuS+XuNzI5UBmBk5U5O4KuJdTnZpSBI4LFA2+ZiJaiwfSwlMA==",
+ "optional": true,
+ "dependencies": {
+ "xml-parse-from-string": "^1.0.0",
+ "xml2js": "^0.5.0"
+ }
+ },
+ "node_modules/parse-headers": {
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/parse-headers/-/parse-headers-2.0.5.tgz",
+ "integrity": "sha512-ft3iAoLOB/MlwbNXgzy43SWGP6sQki2jQvAyBg/zDFAgr9bfNWZIUj42Kw2eJIl8kEi4PbgE6U1Zau/HwI75HA==",
+ "optional": true
+ },
"node_modules/parse5": {
"version": "7.1.2",
"resolved": "https://registry.npmjs.org/parse5/-/parse5-7.1.2.tgz",
@@ -6534,6 +7155,13 @@
"split2": "^4.1.0"
}
},
+ "node_modules/phin": {
+ "version": "2.9.3",
+ "resolved": "https://registry.npmjs.org/phin/-/phin-2.9.3.tgz",
+ "integrity": "sha512-CzFr90qM24ju5f88quFC/6qohjC144rehe5n6DH900lgXmUe86+xCKc10ev56gRKC4/BkHUoG4uSiQgBiIXwDA==",
+ "deprecated": "Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.",
+ "optional": true
+ },
"node_modules/picocolors": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz",
@@ -6551,6 +7179,27 @@
"url": "https://github.com/sponsors/jonschlinkert"
}
},
+ "node_modules/pixelmatch": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/pixelmatch/-/pixelmatch-4.0.2.tgz",
+ "integrity": "sha512-J8B6xqiO37sU/gkcMglv6h5Jbd9xNER7aHzpfRdNmV4IbQBzBpe4l9XmbG+xPF/znacgu2jfEw+wHffaq/YkXA==",
+ "optional": true,
+ "dependencies": {
+ "pngjs": "^3.0.0"
+ },
+ "bin": {
+ "pixelmatch": "bin/pixelmatch"
+ }
+ },
+ "node_modules/pixelmatch/node_modules/pngjs": {
+ "version": "3.4.0",
+ "resolved": "https://registry.npmjs.org/pngjs/-/pngjs-3.4.0.tgz",
+ "integrity": "sha512-NCrCHhWmnQklfH4MtJMRjZ2a8c80qXeMlQMv2uVp9ISJMTt562SbGd6n2oq0PaPgKm7Z6pL9E2UlLIhC+SHL3w==",
+ "optional": true,
+ "engines": {
+ "node": ">=4.0.0"
+ }
+ },
"node_modules/pkijs": {
"version": "3.0.15",
"resolved": "https://registry.npmjs.org/pkijs/-/pkijs-3.0.15.tgz",
@@ -6566,6 +7215,15 @@
"node": ">=12.0.0"
}
},
+ "node_modules/pngjs": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/pngjs/-/pngjs-6.0.0.tgz",
+ "integrity": "sha512-TRzzuFRRmEoSW/p1KVAmiOgPco2Irlah+bGFCeNfJXxxYGwSw7YwAOAcd7X28K/m5bjBWKsC29KyoMfHbypayg==",
+ "optional": true,
+ "engines": {
+ "node": ">=12.13.0"
+ }
+ },
"node_modules/postgres-array": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/postgres-array/-/postgres-array-2.0.0.tgz",
@@ -6727,6 +7385,15 @@
"stream-parser": "~0.3.1"
}
},
+ "node_modules/process": {
+ "version": "0.11.10",
+ "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz",
+ "integrity": "sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==",
+ "optional": true,
+ "engines": {
+ "node": ">= 0.6.0"
+ }
+ },
"node_modules/process-nextick-args": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz",
@@ -7090,12 +7757,9 @@
"integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw=="
},
"node_modules/semver": {
- "version": "7.5.4",
- "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz",
- "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==",
- "dependencies": {
- "lru-cache": "^6.0.0"
- },
+ "version": "7.6.2",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.2.tgz",
+ "integrity": "sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==",
"bin": {
"semver": "bin/semver.js"
},
@@ -7103,17 +7767,6 @@
"node": ">=10"
}
},
- "node_modules/semver/node_modules/lru-cache": {
- "version": "6.0.0",
- "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
- "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",
- "dependencies": {
- "yallist": "^4.0.0"
- },
- "engines": {
- "node": ">=10"
- }
- },
"node_modules/send": {
"version": "0.18.0",
"resolved": "https://registry.npmjs.org/send/-/send-0.18.0.tgz",
@@ -7865,6 +8518,18 @@
"node": ">=0.2.6"
}
},
+ "node_modules/timm": {
+ "version": "1.7.1",
+ "resolved": "https://registry.npmjs.org/timm/-/timm-1.7.1.tgz",
+ "integrity": "sha512-IjZc9KIotudix8bMaBW6QvMuq64BrJWFs1+4V0lXwWGQZwH+LnX87doAYhem4caOEusRP9/g6jVDQmZ8XOk1nw==",
+ "optional": true
+ },
+ "node_modules/tinycolor2": {
+ "version": "1.6.0",
+ "resolved": "https://registry.npmjs.org/tinycolor2/-/tinycolor2-1.6.0.tgz",
+ "integrity": "sha512-XPaBkWQJdsf3pLKJV9p4qN/S+fm2Oj8AIPo1BTUhg5oxkvm9+SVEGFdhyOz7tTdUTfvxMiAs4sp6/eZO2Ew+pw==",
+ "optional": true
+ },
"node_modules/tldts": {
"version": "6.0.14",
"resolved": "https://registry.npmjs.org/tldts/-/tldts-6.0.14.tgz",
@@ -8349,6 +9014,15 @@
"requires-port": "^1.0.0"
}
},
+ "node_modules/utif2": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/utif2/-/utif2-4.1.0.tgz",
+ "integrity": "sha512-+oknB9FHrJ7oW7A2WZYajOcv4FcDR4CfoGB0dPNfxbi4GO05RRnFmt5oa23+9w32EanrYcSJWspUiJkLMs+37w==",
+ "optional": true,
+ "dependencies": {
+ "pako": "^1.0.11"
+ }
+ },
"node_modules/util-deprecate": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
@@ -8417,6 +9091,12 @@
"resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz",
"integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ=="
},
+ "node_modules/whatwg-fetch": {
+ "version": "3.6.20",
+ "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-3.6.20.tgz",
+ "integrity": "sha512-EqhiFU6daOA8kpjOWTL0olhVOF3i7OrFzSYiGsEMB8GcXS+RrzauAERX65xMeNWVqxA6HXH2m69Z9LaKKdisfg==",
+ "optional": true
+ },
"node_modules/whatwg-url": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz",
@@ -8507,6 +9187,46 @@
}
}
},
+ "node_modules/xhr": {
+ "version": "2.6.0",
+ "resolved": "https://registry.npmjs.org/xhr/-/xhr-2.6.0.tgz",
+ "integrity": "sha512-/eCGLb5rxjx5e3mF1A7s+pLlR6CGyqWN91fv1JgER5mVWg1MZmlhBvy9kjcsOdRk8RrIujotWyJamfyrp+WIcA==",
+ "optional": true,
+ "dependencies": {
+ "global": "~4.4.0",
+ "is-function": "^1.0.1",
+ "parse-headers": "^2.0.0",
+ "xtend": "^4.0.0"
+ }
+ },
+ "node_modules/xml-parse-from-string": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/xml-parse-from-string/-/xml-parse-from-string-1.0.1.tgz",
+ "integrity": "sha512-ErcKwJTF54uRzzNMXq2X5sMIy88zJvfN2DmdoQvy7PAFJ+tPRU6ydWuOKNMyfmOjdyBQTFREi60s0Y0SyI0G0g==",
+ "optional": true
+ },
+ "node_modules/xml2js": {
+ "version": "0.5.0",
+ "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.5.0.tgz",
+ "integrity": "sha512-drPFnkQJik/O+uPKpqSgr22mpuFHqKdbS835iAQrUC73L2F5WkboIRd63ai/2Yg6I1jzifPFKH2NTK+cfglkIA==",
+ "optional": true,
+ "dependencies": {
+ "sax": ">=0.6.0",
+ "xmlbuilder": "~11.0.0"
+ },
+ "engines": {
+ "node": ">=4.0.0"
+ }
+ },
+ "node_modules/xmlbuilder": {
+ "version": "11.0.1",
+ "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-11.0.1.tgz",
+ "integrity": "sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==",
+ "optional": true,
+ "engines": {
+ "node": ">=4.0"
+ }
+ },
"node_modules/xregexp": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/xregexp/-/xregexp-2.0.0.tgz",
diff --git a/package.json b/package.json
index ac42c767..7f466e44 100644
--- a/package.json
+++ b/package.json
@@ -117,6 +117,7 @@
},
"optionalDependencies": {
"erlpack": "^0.1.4",
+ "jimp": "^0.22.12",
"mysql": "^2.18.1",
"nodemailer-mailgun-transport": "^2.1.5",
"nodemailer-mailjet-transport": "github:n0script22/nodemailer-mailjet-transport",
diff --git a/src/api/Server.ts b/src/api/Server.ts
index 472ab1d6..0f5df490 100644
--- a/src/api/Server.ts
+++ b/src/api/Server.ts
@@ -34,7 +34,7 @@ import "missing-native-js-functions";
import morgan from "morgan";
import path from "path";
import { red } from "picocolors";
-import { Authentication, CORS } from "./middlewares/";
+import { Authentication, CORS, ImageProxy } from "./middlewares/";
import { BodyParser } from "./middlewares/BodyParser";
import { ErrorHandler } from "./middlewares/ErrorHandler";
import { initRateLimits } from "./middlewares/RateLimit";
@@ -137,6 +137,8 @@ export class SpacebarServer extends Server {
app.use("/api/v9", api);
app.use("/api", api); // allow unversioned requests
+ app.use("/imageproxy/:hash/:size/:url", ImageProxy);
+
app.get("/", (req, res) =>
res.sendFile(path.join(PUBLIC_ASSETS_FOLDER, "index.html")),
);
diff --git a/src/api/middlewares/ImageProxy.ts b/src/api/middlewares/ImageProxy.ts
new file mode 100644
index 00000000..2fa97660
--- /dev/null
+++ b/src/api/middlewares/ImageProxy.ts
@@ -0,0 +1,143 @@
+/*
+ Spacebar: A FOSS re-implementation and extension of the Discord.com backend.
+ Copyright (C) 2023 Spacebar and Spacebar Contributors
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero General Public License as published
+ by the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
+
+import { Config } from "@spacebar/util";
+import { Request, Response } from "express";
+import { yellow } from "picocolors";
+import crypto from "crypto";
+import fetch from "node-fetch";
+
+let sharp: undefined | false | { default: typeof import("sharp") } = undefined;
+let Jimp: undefined | false | typeof import("jimp") = undefined;
+
+const sharpSupported = new Set([
+ "image/jpeg",
+ "image/png",
+ "image/bmp",
+ "image/tiff",
+ "image/gif",
+ "image/webp",
+ "image/avif",
+ "image/svg+xml",
+]);
+const jimpSupported = new Set([
+ "image/jpeg",
+ "image/png",
+ "image/bmp",
+ "image/tiff",
+ "image/gif",
+]);
+const resizeSupported = new Set([...sharpSupported, ...jimpSupported]);
+
+export async function ImageProxy(req: Request, res: Response) {
+ const path = req.originalUrl.split("/").slice(2);
+
+ const secret = Config.get().security.requestSignature;
+
+ // src/api/util/utility/EmbedHandlers.ts getProxyUrl
+ const hash = crypto
+ .createHmac("sha1", secret)
+ .update(path.slice(1).join("/"))
+ .digest("base64")
+ .replace(/\+/g, "-")
+ .replace(/\//g, "_");
+
+ try {
+ if (!crypto.timingSafeEqual(Buffer.from(hash), Buffer.from(path[0]))) throw new Error("Invalid signature");
+ } catch {
+ console.log("Invalid signature, expected " + hash + " got " + path[0]);
+ res.status(403).send("Invalid signature");
+ return;
+ }
+
+ const abort = new AbortController();
+ setTimeout(() => abort.abort(), 5000);
+
+ const request = await fetch(path.slice(2).join("/"), {
+ headers: {
+ "User-Agent": "SpacebarImageProxy/1.0.0 (https://spacebar.chat)",
+ },
+ signal: abort.signal,
+ }).catch((e) => {
+ if (e.name === "AbortError") res.status(504).send("Request timed out");
+ else res.status(500).send("Unable to proxy origin: " + e.message);
+ });
+ if (!request) return;
+
+ if (request.status !== 200) {
+ res.status(request.status).send("Origin failed to respond: " + request.status + " " + request.statusText);
+ return;
+ }
+
+ if (!request.headers.get("Content-Type") || !request.headers.get("Content-Length")) {
+ res.status(500).send("Origin did not provide a Content-Type or Content-Length header");
+ return;
+ }
+
+ // @ts-expect-error TS doesn't believe that the header cannot be null (it's checked for falsiness above)
+ if (parseInt(request.headers.get("Content-Length")) > 1024 * 1024 * 10) {
+ res.status(500).send("Origin provided a Content-Length header that is too large");
+ return;
+ }
+
+ // @ts-expect-error TS doesn't believe that the header cannot be null (it's checked for falsiness above)
+ let contentType: string = request.headers.get("Content-Type");
+
+ const arrayBuffer = await request.arrayBuffer();
+ let resultBuffer = Buffer.from(arrayBuffer);
+
+ if (/^\d+x\d+$/.test(path[1]) && resizeSupported.has(contentType)) {
+ if (sharp !== false) {
+ try {
+ sharp = await import("sharp");
+ } catch (e) {
+ sharp = false;
+ }
+ }
+ if (sharp === false && Jimp !== false) {
+ try {
+ // @ts-expect-error Typings don't fit
+ Jimp = await import("jimp");
+ } catch {
+ Jimp = false;
+ console.log(`[ImageProxy] ${yellow("Neither \"sharp\" or \"jimp\" NPM packages are installed, image resizing will be disabled")}`);
+ }
+ }
+
+ const [width, height] = path[1].split("x").map((x) => parseInt(x));
+
+ const buffer = Buffer.from(arrayBuffer);
+ if (sharp && sharpSupported.has(contentType)) {
+ resultBuffer = await sharp.default(buffer)
+ // Sharp doesn't support "scaleToFit"
+ .resize(width)
+ .toBuffer();
+ } else if (Jimp && jimpSupported.has(contentType)) {
+ resultBuffer = await Jimp.read(buffer).then((image) => {
+ contentType = image.getMIME();
+ // @ts-expect-error Jimp is defined at this point
+ return image.scaleToFit(width, height).getBufferAsync(Jimp.AUTO);
+ });
+ }
+ }
+
+ res.header("Content-Type", contentType);
+ res.setHeader("Cache-Control", "public, max-age=" + (1000 * 60 * 60 * 24));
+
+ res.send(resultBuffer);
+}
diff --git a/src/api/middlewares/index.ts b/src/api/middlewares/index.ts
index 6384e1aa..9fd617f6 100644
--- a/src/api/middlewares/index.ts
+++ b/src/api/middlewares/index.ts
@@ -21,3 +21,4 @@ export * from "./BodyParser";
export * from "./CORS";
export * from "./ErrorHandler";
export * from "./RateLimit";
+export * from "./ImageProxy";
From e90f8e88c0ae44e3183632cce300b07c5cc992f6 Mon Sep 17 00:00:00 2001
From: TomatoCake <60300461+DEVTomatoCake@users.noreply.github.com>
Date: Sat, 22 Jun 2024 20:43:54 +0200
Subject: [PATCH 02/49] Run Prettier (tabs -> spaces???)
---
src/api/middlewares/ImageProxy.ts | 62 ++++++++++++++++++++-----------
1 file changed, 41 insertions(+), 21 deletions(-)
diff --git a/src/api/middlewares/ImageProxy.ts b/src/api/middlewares/ImageProxy.ts
index 2fa97660..64d5ddc1 100644
--- a/src/api/middlewares/ImageProxy.ts
+++ b/src/api/middlewares/ImageProxy.ts
@@ -1,19 +1,19 @@
/*
- Spacebar: A FOSS re-implementation and extension of the Discord.com backend.
- Copyright (C) 2023 Spacebar and Spacebar Contributors
+ Spacebar: A FOSS re-implementation and extension of the Discord.com backend.
+ Copyright (C) 2023 Spacebar and Spacebar Contributors
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU Affero General Public License as published
- by the Free Software Foundation, either version 3 of the License, or
- (at your option) any later version.
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero General Public License as published
+ by the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU Affero General Public License for more details.
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Affero General Public License for more details.
- You should have received a copy of the GNU Affero General Public License
- along with this program. If not, see .
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
*/
import { Config } from "@spacebar/util";
@@ -58,7 +58,8 @@ export async function ImageProxy(req: Request, res: Response) {
.replace(/\//g, "_");
try {
- if (!crypto.timingSafeEqual(Buffer.from(hash), Buffer.from(path[0]))) throw new Error("Invalid signature");
+ if (!crypto.timingSafeEqual(Buffer.from(hash), Buffer.from(path[0])))
+ throw new Error("Invalid signature");
} catch {
console.log("Invalid signature, expected " + hash + " got " + path[0]);
res.status(403).send("Invalid signature");
@@ -80,18 +81,30 @@ export async function ImageProxy(req: Request, res: Response) {
if (!request) return;
if (request.status !== 200) {
- res.status(request.status).send("Origin failed to respond: " + request.status + " " + request.statusText);
+ res.status(request.status).send(
+ "Origin failed to respond: " +
+ request.status +
+ " " +
+ request.statusText,
+ );
return;
}
- if (!request.headers.get("Content-Type") || !request.headers.get("Content-Length")) {
- res.status(500).send("Origin did not provide a Content-Type or Content-Length header");
+ if (
+ !request.headers.get("Content-Type") ||
+ !request.headers.get("Content-Length")
+ ) {
+ res.status(500).send(
+ "Origin did not provide a Content-Type or Content-Length header",
+ );
return;
}
// @ts-expect-error TS doesn't believe that the header cannot be null (it's checked for falsiness above)
if (parseInt(request.headers.get("Content-Length")) > 1024 * 1024 * 10) {
- res.status(500).send("Origin provided a Content-Length header that is too large");
+ res.status(500).send(
+ "Origin provided a Content-Length header that is too large",
+ );
return;
}
@@ -115,7 +128,11 @@ export async function ImageProxy(req: Request, res: Response) {
Jimp = await import("jimp");
} catch {
Jimp = false;
- console.log(`[ImageProxy] ${yellow("Neither \"sharp\" or \"jimp\" NPM packages are installed, image resizing will be disabled")}`);
+ console.log(
+ `[ImageProxy] ${yellow(
+ 'Neither "sharp" or "jimp" NPM packages are installed, image resizing will be disabled',
+ )}`,
+ );
}
}
@@ -123,7 +140,8 @@ export async function ImageProxy(req: Request, res: Response) {
const buffer = Buffer.from(arrayBuffer);
if (sharp && sharpSupported.has(contentType)) {
- resultBuffer = await sharp.default(buffer)
+ resultBuffer = await sharp
+ .default(buffer)
// Sharp doesn't support "scaleToFit"
.resize(width)
.toBuffer();
@@ -131,13 +149,15 @@ export async function ImageProxy(req: Request, res: Response) {
resultBuffer = await Jimp.read(buffer).then((image) => {
contentType = image.getMIME();
// @ts-expect-error Jimp is defined at this point
- return image.scaleToFit(width, height).getBufferAsync(Jimp.AUTO);
+ return image
+ .scaleToFit(width, height)
+ .getBufferAsync(Jimp.AUTO);
});
}
}
res.header("Content-Type", contentType);
- res.setHeader("Cache-Control", "public, max-age=" + (1000 * 60 * 60 * 24));
+ res.setHeader("Cache-Control", "public, max-age=" + 1000 * 60 * 60 * 24);
res.send(resultBuffer);
}
From 93bb891d7915639a7e405e1553b3b0ad52d53175 Mon Sep 17 00:00:00 2001
From: TomatoCake <60300461+DEVTomatoCake@users.noreply.github.com>
Date: Sat, 22 Jun 2024 20:50:11 +0200
Subject: [PATCH 03/49] Fix @ts-expect-error comment after Prettier
---
src/api/middlewares/ImageProxy.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/api/middlewares/ImageProxy.ts b/src/api/middlewares/ImageProxy.ts
index 64d5ddc1..80a3adcb 100644
--- a/src/api/middlewares/ImageProxy.ts
+++ b/src/api/middlewares/ImageProxy.ts
@@ -148,9 +148,9 @@ export async function ImageProxy(req: Request, res: Response) {
} else if (Jimp && jimpSupported.has(contentType)) {
resultBuffer = await Jimp.read(buffer).then((image) => {
contentType = image.getMIME();
- // @ts-expect-error Jimp is defined at this point
return image
.scaleToFit(width, height)
+ // @ts-expect-error Jimp is defined at this point
.getBufferAsync(Jimp.AUTO);
});
}
From af6e15b9e5467293b8d95d8968429226a98d19f5 Mon Sep 17 00:00:00 2001
From: TomatoCake <60300461+DEVTomatoCake@users.noreply.github.com>
Date: Sat, 22 Jun 2024 21:06:08 +0200
Subject: [PATCH 04/49] Prettier stuff -.-
---
src/api/middlewares/ImageProxy.ts | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/src/api/middlewares/ImageProxy.ts b/src/api/middlewares/ImageProxy.ts
index 80a3adcb..f642ff27 100644
--- a/src/api/middlewares/ImageProxy.ts
+++ b/src/api/middlewares/ImageProxy.ts
@@ -148,10 +148,12 @@ export async function ImageProxy(req: Request, res: Response) {
} else if (Jimp && jimpSupported.has(contentType)) {
resultBuffer = await Jimp.read(buffer).then((image) => {
contentType = image.getMIME();
- return image
- .scaleToFit(width, height)
- // @ts-expect-error Jimp is defined at this point
- .getBufferAsync(Jimp.AUTO);
+ return (
+ image
+ .scaleToFit(width, height)
+ // @ts-expect-error Jimp is defined at this point
+ .getBufferAsync(Jimp.AUTO)
+ );
});
}
}
From 16f8a1c7ac4eb1dafd571b5b3082f0df129fd39f Mon Sep 17 00:00:00 2001
From: TomatoCake <60300461+DEVTomatoCake@users.noreply.github.com>
Date: Fri, 28 Jun 2024 10:17:24 +0200
Subject: [PATCH 05/49] Add config value for cache duration
---
package-lock.json | 1 +
src/api/middlewares/ImageProxy.ts | 9 +++++----
src/util/config/types/CdnConfiguration.ts | 8 +++++---
3 files changed, 11 insertions(+), 7 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 32582d06..a350da90 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -30,6 +30,7 @@
"i18next-fs-backend": "^2.1.5",
"i18next-http-middleware": "^3.3.2",
"image-size": "^1.0.2",
+ "jimp": "^0.22.12",
"json-bigint": "^1.0.0",
"jsonwebtoken": "^9.0.1",
"lambert-server": "^1.2.12",
diff --git a/src/api/middlewares/ImageProxy.ts b/src/api/middlewares/ImageProxy.ts
index f642ff27..4c324afd 100644
--- a/src/api/middlewares/ImageProxy.ts
+++ b/src/api/middlewares/ImageProxy.ts
@@ -47,11 +47,9 @@ const resizeSupported = new Set([...sharpSupported, ...jimpSupported]);
export async function ImageProxy(req: Request, res: Response) {
const path = req.originalUrl.split("/").slice(2);
- const secret = Config.get().security.requestSignature;
-
// src/api/util/utility/EmbedHandlers.ts getProxyUrl
const hash = crypto
- .createHmac("sha1", secret)
+ .createHmac("sha1", Config.get().security.requestSignature)
.update(path.slice(1).join("/"))
.digest("base64")
.replace(/\+/g, "-")
@@ -159,7 +157,10 @@ export async function ImageProxy(req: Request, res: Response) {
}
res.header("Content-Type", contentType);
- res.setHeader("Cache-Control", "public, max-age=" + 1000 * 60 * 60 * 24);
+ res.setHeader(
+ "Cache-Control",
+ "public, max-age=" + Config.get().cdn.proxyCacheHeaderSeconds,
+ );
res.send(resultBuffer);
}
diff --git a/src/util/config/types/CdnConfiguration.ts b/src/util/config/types/CdnConfiguration.ts
index 03319081..842cb87c 100644
--- a/src/util/config/types/CdnConfiguration.ts
+++ b/src/util/config/types/CdnConfiguration.ts
@@ -1,17 +1,17 @@
/*
Spacebar: A FOSS re-implementation and extension of the Discord.com backend.
Copyright (C) 2023 Spacebar and Spacebar Contributors
-
+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
-
+
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see .
*/
@@ -25,4 +25,6 @@ export class CdnConfiguration extends EndpointConfiguration {
endpointPublic: string | null = null;
endpointPrivate: string | null = null;
+
+ proxyCacheHeaderSeconds: number = 60 * 60 * 24;
}
From 628b0948651b75918262c4262fda0a4fe58ade36 Mon Sep 17 00:00:00 2001
From: TomatoCake <60300461+DEVTomatoCake@users.noreply.github.com>
Date: Fri, 28 Jun 2024 10:21:32 +0200
Subject: [PATCH 06/49] running prettier for others
---
src/util/entities/UserSettings.ts | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/src/util/entities/UserSettings.ts b/src/util/entities/UserSettings.ts
index 0d4b6a7b..6f09c9b3 100644
--- a/src/util/entities/UserSettings.ts
+++ b/src/util/entities/UserSettings.ts
@@ -1,17 +1,17 @@
/*
Spacebar: A FOSS re-implementation and extension of the Discord.com backend.
Copyright (C) 2023 Spacebar and Spacebar Contributors
-
+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
-
+
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see .
*/
@@ -122,7 +122,6 @@ export class UserSettings extends BaseClassWithoutId {
@Column({ nullable: true })
view_nsfw_guilds: boolean = true;
-
}
interface CustomStatus {
From 03e150fc2605aa46b54ed69cfc9a3feb02475f5b Mon Sep 17 00:00:00 2001
From: "Emma [it/its]@Rory&"
Date: Fri, 28 Jun 2024 12:13:17 +0200
Subject: [PATCH 07/49] Add meta section to nix package, fix nix update script
writing to wrong variable in hashes.json
---
flake.lock | 12 ++++++------
flake.nix | 12 +++++++++++-
hashes.json | 2 +-
nix-update.sh | 4 ++--
4 files changed, 20 insertions(+), 10 deletions(-)
diff --git a/flake.lock b/flake.lock
index ae5e8b23..77bf2b86 100644
--- a/flake.lock
+++ b/flake.lock
@@ -5,11 +5,11 @@
"systems": "systems"
},
"locked": {
- "lastModified": 1705309234,
- "narHash": "sha256-uNRRNRKmJyCRC/8y1RqBkqWBLM034y4qN7EprSdmgyA=",
+ "lastModified": 1710146030,
+ "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=",
"owner": "numtide",
"repo": "flake-utils",
- "rev": "1ef2e671c3b0c19053962c07dbda38332dcebf26",
+ "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a",
"type": "github"
},
"original": {
@@ -20,11 +20,11 @@
},
"nixpkgs": {
"locked": {
- "lastModified": 1708118438,
- "narHash": "sha256-kk9/0nuVgA220FcqH/D2xaN6uGyHp/zoxPNUmPCMmEE=",
+ "lastModified": 1719254875,
+ "narHash": "sha256-ECni+IkwXjusHsm9Sexdtq8weAq/yUyt1TWIemXt3Ko=",
"owner": "nixos",
"repo": "nixpkgs",
- "rev": "5863c27340ba4de8f83e7e3c023b9599c3cb3c80",
+ "rev": "2893f56de08021cffd9b6b6dfc70fd9ccd51eb60",
"type": "github"
},
"original": {
diff --git a/flake.nix b/flake.nix
index 00a18f64..cc624004 100644
--- a/flake.nix
+++ b/flake.nix
@@ -13,11 +13,21 @@
inherit system;
};
hashesFile = builtins.fromJSON (builtins.readFile ./hashes.json);
+ lib = pkgs.lib;
in rec {
packages.default = pkgs.buildNpmPackage {
pname = "spacebar-server-ts";
- src = ./.;
name = "spacebar-server-ts";
+
+ meta = with lib; {
+ description = "Spacebar server, a FOSS reimplementation of the Discord backend.";
+ homepage = "https://github.com/spacebarchat/server";
+ license = licenses.agpl3Plus;
+ platforms = platforms.all;
+ mainProgram = "start-bundle";
+ };
+
+ src = ./.;
nativeBuildInputs = with pkgs; [ python3 ];
npmDepsHash = hashesFile.npmDepsHash;
makeCacheWritable = true;
diff --git a/hashes.json b/hashes.json
index dd55b81d..bc319094 100644
--- a/hashes.json
+++ b/hashes.json
@@ -1,3 +1,3 @@
{
- "npmDepsHash": "sha256-fZNDN2/fNy6Nu7tbr0RhQ8j4BP7X1Yhrh/fSTH7hbJc="
+ "npmDepsHash": "sha256-RxGkjCU9qqqDMjhJ5aEq1w7c7lS4nAp0/3F0zASJQms="
}
diff --git a/nix-update.sh b/nix-update.sh
index 4413e6e0..a676e294 100755
--- a/nix-update.sh
+++ b/nix-update.sh
@@ -3,8 +3,8 @@
nix flake update
DEPS_HASH=`prefetch-npm-deps package-lock.json`
TMPFILE=$(mktemp)
-jq '.npm_deps_hash = "'$DEPS_HASH'"' hashes.json > $TMPFILE
+jq '.npmDepsHash = "'$DEPS_HASH'"' hashes.json > $TMPFILE
mv -- "$TMPFILE" hashes.json
nom build .# || exit $?
-git add hashes.json flake.lock flake.nix
\ No newline at end of file
+git add hashes.json flake.lock flake.nix
From e069db134f8f75c197fd6df72ee639d1d165f8fc Mon Sep 17 00:00:00 2001
From: "Emma [it/its]@Rory&"
Date: Fri, 28 Jun 2024 12:17:35 +0200
Subject: [PATCH 08/49] Add hashes.json to .prettierignore as this is a
generated file
---
.prettierignore | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.prettierignore b/.prettierignore
index 51116757..9531c159 100644
--- a/.prettierignore
+++ b/.prettierignore
@@ -2,4 +2,5 @@ assets
dist
node_modules
.github
-.vscode
\ No newline at end of file
+.vscode
+hashes.json
From a987671e4a1249ae23914165c1b3edd0f29d9ffd Mon Sep 17 00:00:00 2001
From: TomatoCake <60300461+DEVTomatoCake@users.noreply.github.com>
Date: Fri, 28 Jun 2024 12:43:53 +0200
Subject: [PATCH 09/49] "Fix" jimp import typings
---
src/api/middlewares/ImageProxy.ts | 21 +++++++++++++++------
src/util/imports/Jimp.ts | 23 +++++++++++++++++++++++
src/util/imports/index.ts | 1 +
3 files changed, 39 insertions(+), 6 deletions(-)
create mode 100644 src/util/imports/Jimp.ts
diff --git a/src/api/middlewares/ImageProxy.ts b/src/api/middlewares/ImageProxy.ts
index 4c324afd..27c69ae2 100644
--- a/src/api/middlewares/ImageProxy.ts
+++ b/src/api/middlewares/ImageProxy.ts
@@ -16,14 +16,22 @@
along with this program. If not, see .
*/
-import { Config } from "@spacebar/util";
+import { Config, JimpType } from "@spacebar/util";
import { Request, Response } from "express";
import { yellow } from "picocolors";
import crypto from "crypto";
import fetch from "node-fetch";
let sharp: undefined | false | { default: typeof import("sharp") } = undefined;
-let Jimp: undefined | false | typeof import("jimp") = undefined;
+
+let Jimp: JimpType | undefined = undefined;
+try {
+ Jimp = require("jimp") as JimpType;
+} catch {
+ // empty
+}
+
+let sentImageProxyWarning = false;
const sharpSupported = new Set([
"image/jpeg",
@@ -112,20 +120,21 @@ export async function ImageProxy(req: Request, res: Response) {
const arrayBuffer = await request.arrayBuffer();
let resultBuffer = Buffer.from(arrayBuffer);
- if (/^\d+x\d+$/.test(path[1]) && resizeSupported.has(contentType)) {
+ if (!sentImageProxyWarning && resizeSupported.has(contentType) && /^\d+x\d+$/.test(path[1])) {
if (sharp !== false) {
try {
sharp = await import("sharp");
- } catch (e) {
+ } catch {
sharp = false;
}
}
- if (sharp === false && Jimp !== false) {
+
+ if (sharp === false && !Jimp) {
try {
// @ts-expect-error Typings don't fit
Jimp = await import("jimp");
} catch {
- Jimp = false;
+ sentImageProxyWarning = true;
console.log(
`[ImageProxy] ${yellow(
'Neither "sharp" or "jimp" NPM packages are installed, image resizing will be disabled',
diff --git a/src/util/imports/Jimp.ts b/src/util/imports/Jimp.ts
new file mode 100644
index 00000000..c1389e03
--- /dev/null
+++ b/src/util/imports/Jimp.ts
@@ -0,0 +1,23 @@
+/*
+ Spacebar: A FOSS re-implementation and extension of the Discord.com backend.
+ Copyright (C) 2023 Spacebar and Spacebar Contributors
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero General Public License as published
+ by the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
+
+/* eslint-disable @typescript-eslint/no-explicit-any */
+
+export type JimpType = {
+ read: (data: Buffer) => Promise;
+};
diff --git a/src/util/imports/index.ts b/src/util/imports/index.ts
index 08b870bc..4bc5a6c5 100644
--- a/src/util/imports/index.ts
+++ b/src/util/imports/index.ts
@@ -18,3 +18,4 @@
export * from "./OrmUtils";
export * from "./Erlpack";
+export * from "./Jimp";
From c135de9c866fd23b862155faf97c5704e9e0d8e6 Mon Sep 17 00:00:00 2001
From: TomatoCake <60300461+DEVTomatoCake@users.noreply.github.com>
Date: Fri, 28 Jun 2024 12:59:13 +0200
Subject: [PATCH 10/49] Fix style + nix?
---
package-lock.json | 2 +-
src/api/middlewares/ImageProxy.ts | 8 ++++++--
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index a350da90..83d1852b 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -30,7 +30,7 @@
"i18next-fs-backend": "^2.1.5",
"i18next-http-middleware": "^3.3.2",
"image-size": "^1.0.2",
- "jimp": "^0.22.12",
+ "jimp": "*",
"json-bigint": "^1.0.0",
"jsonwebtoken": "^9.0.1",
"lambert-server": "^1.2.12",
diff --git a/src/api/middlewares/ImageProxy.ts b/src/api/middlewares/ImageProxy.ts
index 27c69ae2..4213a409 100644
--- a/src/api/middlewares/ImageProxy.ts
+++ b/src/api/middlewares/ImageProxy.ts
@@ -26,7 +26,7 @@ let sharp: undefined | false | { default: typeof import("sharp") } = undefined;
let Jimp: JimpType | undefined = undefined;
try {
- Jimp = require("jimp") as JimpType;
+ Jimp = require("jimp") as JimpType;
} catch {
// empty
}
@@ -120,7 +120,11 @@ export async function ImageProxy(req: Request, res: Response) {
const arrayBuffer = await request.arrayBuffer();
let resultBuffer = Buffer.from(arrayBuffer);
- if (!sentImageProxyWarning && resizeSupported.has(contentType) && /^\d+x\d+$/.test(path[1])) {
+ if (
+ !sentImageProxyWarning &&
+ resizeSupported.has(contentType) &&
+ /^\d+x\d+$/.test(path[1])
+ ) {
if (sharp !== false) {
try {
sharp = await import("sharp");
From 0a40776bb3ee02476dbc8a6bc6a198782221799b Mon Sep 17 00:00:00 2001
From: TomatoCake <60300461+DEVTomatoCake@users.noreply.github.com>
Date: Fri, 28 Jun 2024 13:05:03 +0200
Subject: [PATCH 11/49] Fix build by using ts-ignore
---
package-lock.json | 2 +-
src/api/middlewares/ImageProxy.ts | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 83d1852b..a350da90 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -30,7 +30,7 @@
"i18next-fs-backend": "^2.1.5",
"i18next-http-middleware": "^3.3.2",
"image-size": "^1.0.2",
- "jimp": "*",
+ "jimp": "^0.22.12",
"json-bigint": "^1.0.0",
"jsonwebtoken": "^9.0.1",
"lambert-server": "^1.2.12",
diff --git a/src/api/middlewares/ImageProxy.ts b/src/api/middlewares/ImageProxy.ts
index 4213a409..537c5da1 100644
--- a/src/api/middlewares/ImageProxy.ts
+++ b/src/api/middlewares/ImageProxy.ts
@@ -135,7 +135,8 @@ export async function ImageProxy(req: Request, res: Response) {
if (sharp === false && !Jimp) {
try {
- // @ts-expect-error Typings don't fit
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
+ // @ts-ignore Typings don't fit
Jimp = await import("jimp");
} catch {
sentImageProxyWarning = true;
From d028a785feeae21764fcd5ca81191e364d2ef3a8 Mon Sep 17 00:00:00 2001
From: greysilly7
Date: Sat, 17 Aug 2024 00:59:57 -0400
Subject: [PATCH 12/49] Fix: Logins Failing due to null client_status
---
src/gateway/opcodes/Identify.ts | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/gateway/opcodes/Identify.ts b/src/gateway/opcodes/Identify.ts
index e30a1ee0..c535cd45 100644
--- a/src/gateway/opcodes/Identify.ts
+++ b/src/gateway/opcodes/Identify.ts
@@ -126,6 +126,7 @@ export async function onIdentify(this: WebSocket, data: Payload) {
os: identify.properties?.os || identify.properties?.$os,
version: 0,
},
+ client_status: {},
activities: identify.presence?.activities, // TODO: validation
});
From af36ea0bb5e5d168e3b3a2fee271e0053a43a73d Mon Sep 17 00:00:00 2001
From: Cyber
Date: Sat, 17 Aug 2024 11:22:37 +0200
Subject: [PATCH 13/49] fix: allow array in op 8
---
src/gateway/opcodes/RequestGuildMembers.ts | 9 ++++++---
src/util/schemas/RequestGuildMembersSchema.ts | 4 ++--
2 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/src/gateway/opcodes/RequestGuildMembers.ts b/src/gateway/opcodes/RequestGuildMembers.ts
index d294f4d3..c84bf893 100644
--- a/src/gateway/opcodes/RequestGuildMembers.ts
+++ b/src/gateway/opcodes/RequestGuildMembers.ts
@@ -47,7 +47,10 @@ export async function onRequestGuildMembers(this: WebSocket, { d }: Payload) {
if ((query || (user_ids && user_ids.length > 0)) && (!limit || limit > 100))
limit = 100;
- const permissions = await getPermission(this.user_id, guild_id);
+ const permissions = await getPermission(
+ this.user_id,
+ Array.isArray(guild_id) ? guild_id[0] : guild_id,
+ );
permissions.hasThrow("VIEW_CHANNEL");
const whereQuery: FindManyOptions["where"] = {};
@@ -62,7 +65,7 @@ export async function onRequestGuildMembers(this: WebSocket, { d }: Payload) {
const memberFind: FindManyOptions = {
where: {
...whereQuery,
- guild_id,
+ guild_id: Array.isArray(guild_id) ? guild_id[0] : guild_id,
},
relations: ["user", "roles"],
};
@@ -70,7 +73,7 @@ export async function onRequestGuildMembers(this: WebSocket, { d }: Payload) {
const members = await Member.find(memberFind);
const baseData = {
- guild_id,
+ guild_id: Array.isArray(guild_id) ? guild_id[0] : guild_id,
nonce,
};
diff --git a/src/util/schemas/RequestGuildMembersSchema.ts b/src/util/schemas/RequestGuildMembersSchema.ts
index 01ba4f2e..8271a453 100644
--- a/src/util/schemas/RequestGuildMembersSchema.ts
+++ b/src/util/schemas/RequestGuildMembersSchema.ts
@@ -17,7 +17,7 @@
*/
export interface RequestGuildMembersSchema {
- guild_id: string;
+ guild_id: string | string[];
query?: string;
limit?: number;
presences?: boolean;
@@ -26,7 +26,7 @@ export interface RequestGuildMembersSchema {
}
export const RequestGuildMembersSchema = {
- guild_id: String,
+ guild_id: [] as string | string[],
$query: String,
$limit: Number,
$presences: Boolean,
From 601a9d535b137a2912dad39789e074c92194b8b7 Mon Sep 17 00:00:00 2001
From: Cyber
Date: Sat, 17 Aug 2024 11:40:34 +0200
Subject: [PATCH 14/49] regenerate openapi.json
---
assets/openapi.json | 80 +++++++++++++++++++
hashes.json | 4 +-
src/util/schemas/RequestGuildMembersSchema.ts | 2 +-
3 files changed, 83 insertions(+), 3 deletions(-)
diff --git a/assets/openapi.json b/assets/openapi.json
index 50d4fca1..2af0a2c7 100644
--- a/assets/openapi.json
+++ b/assets/openapi.json
@@ -16619,6 +16619,86 @@
]
}
},
+ "/channels/{channel_id}/messages/{message_id}/reactions/{emoji}/{burst}/{user_id}": {
+ "delete": {
+ "security": [
+ {
+ "bearer": []
+ }
+ ],
+ "responses": {
+ "204": {
+ "description": "No description available"
+ },
+ "400": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/APIErrorResponse"
+ }
+ }
+ }
+ },
+ "403": {
+ "description": "No description available"
+ },
+ "404": {
+ "description": "No description available"
+ }
+ },
+ "parameters": [
+ {
+ "name": "channel_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "channel_id"
+ },
+ {
+ "name": "message_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "message_id"
+ },
+ {
+ "name": "emoji",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "emoji"
+ },
+ {
+ "name": "burst",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "burst"
+ },
+ {
+ "name": "user_id",
+ "in": "path",
+ "required": true,
+ "schema": {
+ "type": "string"
+ },
+ "description": "user_id"
+ }
+ ],
+ "tags": [
+ "channels"
+ ]
+ }
+ },
"/channels/{channel_id}/messages/{message_id}/": {
"patch": {
"x-right-required": "SEND_MESSAGES",
diff --git a/hashes.json b/hashes.json
index aa59cb91..52864e4b 100644
--- a/hashes.json
+++ b/hashes.json
@@ -1,3 +1,3 @@
{
- "npmDepsHash": "sha256-kdS1SwcBu6Dor92iO1ickLgz0T5UL16nyA49xXGajf4="
-}
\ No newline at end of file
+ "npmDepsHash": "sha256-kdS1SwcBu6Dor92iO1ickLgz0T5UL16nyA49xXGajf4="
+}
diff --git a/src/util/schemas/RequestGuildMembersSchema.ts b/src/util/schemas/RequestGuildMembersSchema.ts
index 8271a453..6909ba85 100644
--- a/src/util/schemas/RequestGuildMembersSchema.ts
+++ b/src/util/schemas/RequestGuildMembersSchema.ts
@@ -17,7 +17,7 @@
*/
export interface RequestGuildMembersSchema {
- guild_id: string | string[];
+ guild_id: string | [string];
query?: string;
limit?: number;
presences?: boolean;
From 4468c989fb48d42bd5d402fc4ba68de306fa6919 Mon Sep 17 00:00:00 2001
From: Cyber
Date: Sat, 17 Aug 2024 12:13:29 +0200
Subject: [PATCH 15/49] regenerate schema.json
---
assets/schemas.json | 72881 ++----------------------------------------
1 file changed, 2964 insertions(+), 69917 deletions(-)
diff --git a/assets/schemas.json b/assets/schemas.json
index a3db68f8..05a63902 100644
--- a/assets/schemas.json
+++ b/assets/schemas.json
@@ -32,9732 +32,6 @@
],
"$schema": "http://json-schema.org/draft-07/schema#"
},
- "DiagnosticsChannel.Response": {
- "type": "object",
- "properties": {
- "statusCode": {
- "type": "integer"
- },
- "statusText": {
- "type": "string"
- },
- "headers": {
- "type": "array",
- "items": {
- "type": "object",
- "additionalProperties": false,
- "patternProperties": {
- "^[0-9]+$": {
- "type": "integer"
- }
- }
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "headers",
- "statusCode",
- "statusText"
- ],
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "_Response": {
- "type": "object",
- "properties": {
- "headers": {
- "$ref": "#/definitions/Headers"
- },
- "ok": {
- "type": "boolean"
- },
- "status": {
- "type": "integer"
- },
- "statusText": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/ResponseType"
- },
- "url": {
- "type": "string"
- },
- "redirected": {
- "type": "boolean"
- },
- "body": {
- "anyOf": [
- {
- "$ref": "#/definitions/ReadableStream"
- },
- {
- "type": "null"
- }
- ]
- },
- "bodyUsed": {
- "type": "boolean"
- },
- "arrayBuffer": {
- "type": "object",
- "additionalProperties": false
- },
- "blob": {
- "type": "object",
- "additionalProperties": false
- },
- "formData": {
- "type": "object",
- "additionalProperties": false
- },
- "json": {
- "type": "object",
- "additionalProperties": false
- },
- "text": {
- "type": "object",
- "additionalProperties": false
- },
- "clone": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "arrayBuffer",
- "blob",
- "body",
- "bodyUsed",
- "clone",
- "formData",
- "headers",
- "json",
- "ok",
- "redirected",
- "status",
- "statusText",
- "text",
- "type",
- "url"
- ],
- "definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
- "ChannelPermissionOverwriteType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "ConnectedAccountTokenData": {
- "type": "object",
- "properties": {
- "access_token": {
- "type": "string"
- },
- "token_type": {
- "type": "string"
- },
- "scope": {
- "type": "string"
- },
- "refresh_token": {
- "type": "string"
- },
- "expires_in": {
- "type": "integer"
- },
- "expires_at": {
- "type": "integer"
- },
- "fetched_at": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "access_token",
- "fetched_at"
- ]
- },
- "ChannelModifySchema": {
- "type": "object",
- "properties": {
- "name": {
- "maxLength": 100,
- "type": "string"
- },
- "type": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 2,
- 255,
- 3,
- 33,
- 34,
- 35,
- 4,
- 5,
- 6,
- 64,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "topic": {
- "type": "string"
- },
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "bitrate": {
- "type": "integer"
- },
- "user_limit": {
- "type": "integer"
- },
- "rate_limit_per_user": {
- "type": "integer"
- },
- "position": {
- "type": "integer"
- },
- "permission_overwrites": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/ChannelPermissionOverwriteType"
- },
- "allow": {
- "type": "string"
- },
- "deny": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "allow",
- "deny",
- "id",
- "type"
- ]
- }
- },
- "parent_id": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "nsfw": {
- "type": "boolean"
- },
- "rtc_region": {
- "type": "string"
- },
- "default_auto_archive_duration": {
- "type": "integer"
- },
- "default_reaction_emoji": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "default_thread_rate_limit_per_user": {
- "type": "integer"
- },
- "video_quality_mode": {
- "type": "integer"
- }
- },
- "additionalProperties": false
- },
- "ActivitySchema": {
- "type": "object",
- "properties": {
- "afk": {
- "type": "boolean"
- },
- "status": {
- "$ref": "#/definitions/Status"
- },
- "activities": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Activity"
- }
- },
- "since": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "status"
- ]
- },
- "Status": {
- "enum": [
- "dnd",
- "idle",
- "invisible",
- "offline",
- "online"
- ],
- "type": "string"
- },
- "Activity": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/ActivityType"
- },
- "url": {
- "type": "string"
- },
- "created_at": {
- "type": "integer"
- },
- "timestamps": {
- "type": "object",
- "properties": {
- "start": {
- "type": "integer"
- },
- "end": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "end",
- "start"
- ]
- },
- "application_id": {
- "type": "string"
- },
- "details": {
- "type": "string"
- },
- "state": {
- "type": "string"
- },
- "emoji": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "animated": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "animated",
- "name"
- ]
- },
- "party": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "size": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- }
- },
- "additionalProperties": false
- },
- "assets": {
- "type": "object",
- "properties": {
- "large_image": {
- "type": "string"
- },
- "large_text": {
- "type": "string"
- },
- "small_image": {
- "type": "string"
- },
- "small_text": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "secrets": {
- "type": "object",
- "properties": {
- "join": {
- "type": "string"
- },
- "spectate": {
- "type": "string"
- },
- "match": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "instance": {
- "type": "boolean"
- },
- "flags": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "sync_id": {
- "type": "string"
- },
- "metadata": {
- "type": "object",
- "properties": {
- "context_uri": {
- "type": "string"
- },
- "album_id": {
- "type": "string"
- },
- "artist_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "album_id",
- "artist_ids"
- ]
- },
- "session_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "flags",
- "name",
- "session_id",
- "type"
- ]
- },
- "ActivityType": {
- "enum": [
- 0,
- 1,
- 2,
- 4,
- 5
- ],
- "type": "number"
- },
- "Embed": {
- "type": "object",
- "properties": {
- "title": {
- "type": "string"
- },
- "type": {
- "enum": [
- "article",
- "gifv",
- "image",
- "link",
- "rich",
- "video"
- ],
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "color": {
- "type": "integer"
- },
- "footer": {
- "type": "object",
- "properties": {
- "text": {
- "type": "string"
- },
- "icon_url": {
- "type": "string"
- },
- "proxy_icon_url": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "text"
- ]
- },
- "image": {
- "$ref": "#/definitions/EmbedImage"
- },
- "thumbnail": {
- "$ref": "#/definitions/EmbedImage"
- },
- "video": {
- "$ref": "#/definitions/EmbedImage"
- },
- "provider": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "url": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "author": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "icon_url": {
- "type": "string"
- },
- "proxy_icon_url": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "fields": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "value": {
- "type": "string"
- },
- "inline": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "name",
- "value"
- ]
- }
- }
- },
- "additionalProperties": false
- },
- "EmbedImage": {
- "type": "object",
- "properties": {
- "url": {
- "type": "string"
- },
- "proxy_url": {
- "type": "string"
- },
- "height": {
- "type": "integer"
- },
- "width": {
- "type": "integer"
- }
- },
- "additionalProperties": false
- },
- "ActionRowComponent": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/definitions/MessageComponentType.ActionRow"
- },
- "components": {
- "type": "array",
- "items": {
- "anyOf": [
- {
- "$ref": "#/definitions/ButtonComponent"
- },
- {
- "$ref": "#/definitions/SelectMenuComponent"
- },
- {
- "$ref": "#/definitions/StringSelectMenuComponent"
- },
- {
- "$ref": "#/definitions/TextInputComponent"
- }
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "components",
- "type"
- ]
- },
- "MessageComponentType.ActionRow": {
- "type": "number",
- "enum": [
- 1
- ]
- },
- "ButtonComponent": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/definitions/MessageComponentType.Button"
- },
- "style": {
- "$ref": "#/definitions/ButtonStyle"
- },
- "label": {
- "type": "string"
- },
- "emoji": {
- "$ref": "#/definitions/PartialEmoji"
- },
- "custom_id": {
- "type": "string"
- },
- "sku_id": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "disabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "style",
- "type"
- ]
- },
- "MessageComponentType.Button": {
- "type": "number",
- "enum": [
- 2
- ]
- },
- "ButtonStyle": {
- "enum": [
- 1,
- 2,
- 3,
- 4,
- 5,
- 6
- ],
- "type": "number"
- },
- "PartialEmoji": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "animated": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "name"
- ]
- },
- "SelectMenuComponent": {
- "type": "object",
- "properties": {
- "type": {
- "enum": [
- 3,
- 5,
- 6,
- 7,
- 8
- ],
- "type": "number"
- },
- "custom_id": {
- "type": "string"
- },
- "channel_types": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "placeholder": {
- "type": "string"
- },
- "default_values": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SelectMenuDefaultOption"
- }
- },
- "min_values": {
- "type": "integer"
- },
- "max_values": {
- "type": "integer"
- },
- "disabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom_id",
- "type"
- ]
- },
- "SelectMenuDefaultOption": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {
- "enum": [
- "channel",
- "role",
- "user"
- ],
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "type"
- ]
- },
- "StringSelectMenuComponent": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/definitions/MessageComponentType.StringSelect"
- },
- "options": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SelectMenuOption"
- }
- },
- "custom_id": {
- "type": "string"
- },
- "channel_types": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "placeholder": {
- "type": "string"
- },
- "default_values": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SelectMenuDefaultOption"
- }
- },
- "min_values": {
- "type": "integer"
- },
- "max_values": {
- "type": "integer"
- },
- "disabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom_id",
- "options",
- "type"
- ]
- },
- "MessageComponentType.StringSelect": {
- "type": "number",
- "enum": [
- 3
- ]
- },
- "SelectMenuOption": {
- "type": "object",
- "properties": {
- "label": {
- "type": "string"
- },
- "value": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "emoji": {
- "$ref": "#/definitions/PartialEmoji"
- },
- "default": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "label",
- "value"
- ]
- },
- "TextInputComponent": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/definitions/MessageComponentType.TextInput"
- },
- "custom_id": {
- "type": "string"
- },
- "style": {
- "$ref": "#/definitions/TextInputStyle"
- },
- "label": {
- "type": "string"
- },
- "min_length": {
- "type": "integer"
- },
- "max_length": {
- "type": "integer"
- },
- "required": {
- "type": "boolean"
- },
- "value": {
- "type": "string"
- },
- "placeholder": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom_id",
- "label",
- "style",
- "type"
- ]
- },
- "MessageComponentType.TextInput": {
- "type": "number",
- "enum": [
- 4
- ]
- },
- "TextInputStyle": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
- },
- "PollCreationSchema": {
- "type": "object",
- "properties": {
- "question": {
- "$ref": "#/definitions/PollMedia"
- },
- "answers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PollAnswer"
- }
- },
- "duration": {
- "type": "integer"
- },
- "allow_multiselect": {
- "type": "boolean"
- },
- "layout_type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "answers",
- "question"
- ]
- },
- "PollMedia": {
- "type": "object",
- "properties": {
- "text": {
- "type": "string"
- },
- "emoji": {
- "$ref": "#/definitions/PartialEmoji"
- }
- },
- "additionalProperties": false
- },
- "PollAnswer": {
- "type": "object",
- "properties": {
- "answer_id": {
- "type": "string"
- },
- "poll_media": {
- "$ref": "#/definitions/PollMedia"
- }
- },
- "additionalProperties": false,
- "required": [
- "poll_media"
- ]
- },
- "ChannelOverride": {
- "type": "object",
- "properties": {
- "message_notifications": {
- "type": "integer"
- },
- "mute_config": {
- "$ref": "#/definitions/MuteConfig"
- },
- "muted": {
- "type": "boolean"
- },
- "channel_id": {
- "type": [
- "null",
- "string"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "channel_id",
- "message_notifications",
- "mute_config",
- "muted"
- ]
- },
- "MuteConfig": {
- "type": "object",
- "properties": {
- "end_time": {
- "type": "integer"
- },
- "selected_time_window": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "end_time",
- "selected_time_window"
- ]
- },
- "CustomStatus": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": "string"
- },
- "emoji_name": {
- "type": "string"
- },
- "expires_at": {
- "type": "integer"
- },
- "text": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "FriendSourceFlags": {
- "type": "object",
- "properties": {
- "all": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "all"
- ]
- },
- "GuildFolder": {
- "type": "object",
- "properties": {
- "color": {
- "type": "integer"
- },
- "guild_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "color",
- "guild_ids",
- "id",
- "name"
- ]
- },
- "GenerateWebAuthnCredentialsSchema": {
- "type": "object",
- "properties": {
- "password": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "password"
- ]
- },
- "CreateWebAuthnCredentialSchema": {
- "type": "object",
- "properties": {
- "credential": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "ticket": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "credential",
- "name",
- "ticket"
- ]
- },
- "APIErrorResponse": {
- "type": "object",
- "properties": {
- "code": {
- "type": "integer"
- },
- "message": {
- "type": "string"
- },
- "errors": {
- "type": "object",
- "additionalProperties": {
- "type": "object",
- "properties": {
- "_errors": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "message": {
- "type": "string"
- },
- "code": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "message"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "_errors"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "errors",
- "message"
- ]
- },
- "CaptchaRequiredResponse": {
- "type": "object",
- "properties": {
- "captcha_key": {
- "type": "string"
- },
- "captcha_sitekey": {
- "type": "string"
- },
- "captcha_service": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "captcha_key",
- "captcha_service",
- "captcha_sitekey"
- ]
- },
- "Guild": {
- "type": "object",
- "properties": {
- "afk_channel_id": {
- "type": "string"
- },
- "afk_channel": {
- "$ref": "#/definitions/Channel"
- },
- "afk_timeout": {
- "type": "integer"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "banner": {
- "type": "string"
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "description": {
- "type": "string"
- },
- "discovery_splash": {
- "type": "string"
- },
- "explicit_content_filter": {
- "type": "integer"
- },
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "primary_category_id": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "large": {
- "type": "boolean",
- "default": false
- },
- "max_members": {
- "type": "integer"
- },
- "max_presences": {
- "type": "integer"
- },
- "max_video_channel_users": {
- "type": "integer"
- },
- "member_count": {
- "type": "integer"
- },
- "presence_count": {
- "type": "integer"
- },
- "members": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Member"
- }
- },
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
- },
- "channels": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Channel"
- }
- },
- "template_id": {
- "type": "string"
- },
- "template": {
- "$ref": "#/definitions/Template"
- },
- "emojis": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Emoji"
- }
- },
- "stickers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Sticker"
- }
- },
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
- "mfa_level": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- },
- "owner_id": {
- "type": "string"
- },
- "owner": {
- "$ref": "#/definitions/User"
- },
- "preferred_locale": {
- "type": "string"
- },
- "premium_subscription_count": {
- "type": "integer"
- },
- "premium_tier": {
- "type": "integer"
- },
- "public_updates_channel_id": {
- "type": "string"
- },
- "public_updates_channel": {
- "$ref": "#/definitions/Channel"
- },
- "rules_channel_id": {
- "type": "string"
- },
- "rules_channel": {
- "type": "string"
- },
- "region": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_id": {
- "type": "string"
- },
- "system_channel": {
- "$ref": "#/definitions/Channel"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "unavailable": {
- "type": "boolean",
- "default": false
- },
- "verification_level": {
- "type": "integer"
- },
- "welcome_screen": {
- "$ref": "#/definitions/GuildWelcomeScreen"
- },
- "widget_channel_id": {
- "type": "string"
- },
- "widget_channel": {
- "$ref": "#/definitions/Channel"
- },
- "widget_enabled": {
- "type": "boolean",
- "default": true
- },
- "nsfw_level": {
- "type": "integer"
- },
- "nsfw": {
- "type": "boolean",
- "default": false
- },
- "parent": {
- "type": "string"
- },
- "permissions": {
- "type": "integer"
- },
- "premium_progress_bar_enabled": {
- "type": "boolean",
- "default": false
- },
- "channel_ordering": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "bans",
- "channel_ordering",
- "channels",
- "emojis",
- "features",
- "id",
- "invites",
- "members",
- "name",
- "nsfw",
- "premium_progress_bar_enabled",
- "public_updates_channel_id",
- "roles",
- "stickers",
- "template",
- "unavailable",
- "voice_states",
- "webhooks",
- "welcome_screen",
- "widget_enabled"
- ]
- },
- "Channel": {
- "type": "object",
- "properties": {
- "created_at": {
- "type": "string",
- "format": "date-time"
- },
- "name": {
- "type": "string"
- },
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "type": {
- "$ref": "#/definitions/ChannelType"
- },
- "recipients": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Recipient"
- }
- },
- "last_message_id": {
- "type": "string"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "parent_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "parent": {
- "$ref": "#/definitions/Channel"
- },
- "owner_id": {
- "type": "string"
- },
- "owner": {
- "$ref": "#/definitions/User"
- },
- "last_pin_timestamp": {
- "type": "integer"
- },
- "default_auto_archive_duration": {
- "type": "integer"
- },
- "permission_overwrites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ChannelPermissionOverwrite"
- }
- },
- "video_quality_mode": {
- "type": "integer"
- },
- "bitrate": {
- "type": "integer"
- },
- "user_limit": {
- "type": "integer"
- },
- "nsfw": {
- "type": "boolean",
- "default": false
- },
- "rate_limit_per_user": {
- "type": "integer"
- },
- "topic": {
- "type": "string"
- },
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "retention_policy_id": {
- "type": "string"
- },
- "messages": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Message"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "read_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ReadState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
- "flags": {
- "type": "integer",
- "default": 0
- },
- "default_thread_rate_limit_per_user": {
- "type": "integer",
- "default": 0
- },
- "position": {
- "description": "Must be calculated Channel.calculatePosition",
- "type": "integer"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "created_at",
- "default_thread_rate_limit_per_user",
- "flags",
- "id",
- "nsfw",
- "owner",
- "parent_id",
- "position",
- "type"
- ]
- },
- "ChannelType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 2,
- 255,
- 3,
- 33,
- 34,
- 35,
- 4,
- 5,
- 6,
- 64,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "Recipient": {
- "type": "object",
- "properties": {
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "closed": {
- "type": "boolean"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel",
- "channel_id",
- "closed",
- "id",
- "user",
- "user_id"
- ]
- },
- "User": {
- "type": "object",
- "properties": {
- "username": {
- "type": "string"
- },
- "discriminator": {
- "type": "string"
- },
- "avatar": {
- "type": "string"
- },
- "accent_color": {
- "type": "integer"
- },
- "banner": {
- "type": "string"
- },
- "theme_colors": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "pronouns": {
- "type": "string"
- },
- "phone": {
- "type": "string"
- },
- "desktop": {
- "type": "boolean",
- "default": false
- },
- "mobile": {
- "type": "boolean",
- "default": false
- },
- "premium": {
- "type": "boolean"
- },
- "premium_type": {
- "type": "integer"
- },
- "bot": {
- "type": "boolean",
- "default": false
- },
- "bio": {
- "type": "string",
- "default": ""
- },
- "system": {
- "type": "boolean",
- "default": false
- },
- "nsfw_allowed": {
- "type": "boolean",
- "default": true
- },
- "mfa_enabled": {
- "type": "boolean",
- "default": false
- },
- "webauthn_enabled": {
- "type": "boolean",
- "default": false
- },
- "totp_secret": {
- "type": "string",
- "default": ""
- },
- "totp_last_ticket": {
- "type": "string",
- "default": ""
- },
- "created_at": {
- "type": "string",
- "format": "date-time"
- },
- "premium_since": {
- "type": "string",
- "format": "date-time"
- },
- "verified": {
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean",
- "default": false
- },
- "deleted": {
- "type": "boolean",
- "default": false
- },
- "email": {
- "type": "string"
- },
- "flags": {
- "type": "integer",
- "default": 0
- },
- "public_flags": {
- "type": "integer",
- "default": 0
- },
- "purchased_flags": {
- "type": "integer",
- "default": 0
- },
- "premium_usage_flags": {
- "type": "integer",
- "default": 0
- },
- "rights": {
- "type": "string"
- },
- "sessions": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Session"
- }
- },
- "relationships": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Relationship"
- }
- },
- "connected_accounts": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ConnectedAccount"
- }
- },
- "data": {
- "type": "object",
- "properties": {
- "valid_tokens_since": {
- "type": "string",
- "format": "date-time"
- },
- "hash": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "valid_tokens_since"
- ]
- },
- "fingerprints": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "settings": {
- "$ref": "#/definitions/UserSettings"
- },
- "extended_settings": {
- "type": "string",
- "default": "{}"
- },
- "security_keys": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SecurityKey"
- }
- },
- "badge_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "bio",
- "bot",
- "connected_accounts",
- "created_at",
- "data",
- "deleted",
- "desktop",
- "disabled",
- "discriminator",
- "extended_settings",
- "fingerprints",
- "flags",
- "id",
- "mfa_enabled",
- "mobile",
- "nsfw_allowed",
- "premium",
- "premium_since",
- "premium_type",
- "premium_usage_flags",
- "public_flags",
- "purchased_flags",
- "relationships",
- "rights",
- "security_keys",
- "sessions",
- "settings",
- "system",
- "username",
- "verified",
- "webauthn_enabled"
- ]
- },
- "Session": {
- "type": "object",
- "properties": {
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "session_id": {
- "type": "string"
- },
- "activities": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Activity"
- }
- },
- "client_info": {
- "type": "object",
- "properties": {
- "client": {
- "type": "string"
- },
- "os": {
- "type": "string"
- },
- "version": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "client",
- "os",
- "version"
- ]
- },
- "client_status": {
- "$ref": "#/definitions/ClientStatus"
- },
- "status": {
- "$ref": "#/definitions/Status"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "activities",
- "client_info",
- "client_status",
- "id",
- "session_id",
- "status",
- "user",
- "user_id"
- ]
- },
- "ClientStatus": {
- "type": "object",
- "properties": {
- "desktop": {
- "type": "string"
- },
- "mobile": {
- "type": "string"
- },
- "web": {
- "type": "string"
- },
- "embedded": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "Relationship": {
- "type": "object",
- "properties": {
- "from_id": {
- "type": "string"
- },
- "from": {
- "$ref": "#/definitions/User"
- },
- "to_id": {
- "type": "string"
- },
- "to": {
- "$ref": "#/definitions/User"
- },
- "nickname": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/RelationshipType"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "from",
- "from_id",
- "id",
- "to",
- "to_id",
- "type"
- ]
- },
- "RelationshipType": {
- "enum": [
- 1,
- 2,
- 3,
- 4
- ],
- "type": "number"
- },
- "ConnectedAccount": {
- "type": "object",
- "properties": {
- "external_id": {
- "type": "string"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "friend_sync": {
- "type": "boolean",
- "default": false
- },
- "name": {
- "type": "string"
- },
- "revoked": {
- "type": "boolean",
- "default": false
- },
- "show_activity": {
- "type": "integer",
- "default": 0
- },
- "type": {
- "type": "string"
- },
- "verified": {
- "type": "boolean",
- "default": true
- },
- "visibility": {
- "type": "integer",
- "default": 0
- },
- "integrations": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "metadata_": {},
- "metadata_visibility": {
- "type": "integer",
- "default": 0
- },
- "two_way_link": {
- "type": "boolean",
- "default": false
- },
- "token_data": {
- "anyOf": [
- {
- "$ref": "#/definitions/ConnectedAccountTokenData"
- },
- {
- "type": "null"
- }
- ]
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "external_id",
- "id",
- "name",
- "type",
- "user",
- "user_id"
- ]
- },
- "UserSettings": {
- "type": "object",
- "properties": {
- "index": {
- "type": "string"
- },
- "afk_timeout": {
- "type": "integer",
- "default": 3600
- },
- "allow_accessibility_detection": {
- "type": "boolean",
- "default": true
- },
- "animate_emoji": {
- "type": "boolean",
- "default": true
- },
- "animate_stickers": {
- "type": "integer",
- "default": 0
- },
- "contact_sync_enabled": {
- "type": "boolean",
- "default": false
- },
- "convert_emoticons": {
- "type": "boolean",
- "default": false
- },
- "custom_status": {
- "anyOf": [
- {
- "$ref": "#/definitions/CustomStatus"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "default_guilds_restricted": {
- "type": "boolean",
- "default": false
- },
- "detect_platform_accounts": {
- "type": "boolean",
- "default": false
- },
- "developer_mode": {
- "type": "boolean",
- "default": true
- },
- "disable_games_tab": {
- "type": "boolean",
- "default": true
- },
- "enable_tts_command": {
- "type": "boolean",
- "default": false
- },
- "explicit_content_filter": {
- "type": "integer",
- "default": 0
- },
- "friend_discovery_flags": {
- "type": "integer",
- "default": 0
- },
- "friend_source_flags": {
- "$ref": "#/definitions/FriendSourceFlags"
- },
- "gateway_connected": {
- "type": "boolean",
- "default": false
- },
- "gif_auto_play": {
- "type": "boolean",
- "default": false
- },
- "guild_folders": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/GuildFolder"
- },
- "default": []
- },
- "guild_positions": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "inline_attachment_media": {
- "type": "boolean",
- "default": true
- },
- "inline_embed_media": {
- "type": "boolean",
- "default": true
- },
- "locale": {
- "type": "string",
- "default": "en-US"
- },
- "message_display_compact": {
- "type": "boolean",
- "default": false
- },
- "native_phone_integration_enabled": {
- "type": "boolean",
- "default": true
- },
- "render_embeds": {
- "type": "boolean",
- "default": true
- },
- "render_reactions": {
- "type": "boolean",
- "default": true
- },
- "restricted_guilds": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "show_current_game": {
- "type": "boolean",
- "default": true
- },
- "status": {
- "enum": [
- "dnd",
- "idle",
- "invisible",
- "offline",
- "online"
- ],
- "type": "string",
- "default": "online"
- },
- "stream_notifications_enabled": {
- "type": "boolean",
- "default": false
- },
- "theme": {
- "enum": [
- "dark",
- "light"
- ],
- "type": "string",
- "default": "dark"
- },
- "timezone_offset": {
- "type": "integer",
- "default": 0
- },
- "view_nsfw_guilds": {
- "type": "boolean",
- "default": true
- }
- },
- "additionalProperties": false,
- "required": [
- "afk_timeout",
- "allow_accessibility_detection",
- "animate_emoji",
- "animate_stickers",
- "contact_sync_enabled",
- "convert_emoticons",
- "custom_status",
- "default_guilds_restricted",
- "detect_platform_accounts",
- "developer_mode",
- "disable_games_tab",
- "enable_tts_command",
- "explicit_content_filter",
- "friend_discovery_flags",
- "friend_source_flags",
- "gateway_connected",
- "gif_auto_play",
- "guild_folders",
- "guild_positions",
- "index",
- "inline_attachment_media",
- "inline_embed_media",
- "locale",
- "message_display_compact",
- "native_phone_integration_enabled",
- "render_embeds",
- "render_reactions",
- "restricted_guilds",
- "show_current_game",
- "status",
- "stream_notifications_enabled",
- "theme",
- "timezone_offset",
- "view_nsfw_guilds"
- ]
- },
- "SecurityKey": {
- "type": "object",
- "properties": {
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "key_id": {
- "type": "string"
- },
- "public_key": {
- "type": "string"
- },
- "counter": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "counter",
- "id",
- "key_id",
- "name",
- "public_key",
- "user",
- "user_id"
- ]
- },
- "ChannelPermissionOverwrite": {
- "type": "object",
- "properties": {
- "allow": {
- "type": "string"
- },
- "deny": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/ChannelPermissionOverwriteType"
- }
- },
- "additionalProperties": false,
- "required": [
- "allow",
- "deny",
- "id",
- "type"
- ]
- },
- "Invite": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "temporary": {
- "type": "boolean"
- },
- "uses": {
- "type": "integer"
- },
- "max_uses": {
- "type": "integer"
- },
- "max_age": {
- "type": "integer"
- },
- "created_at": {
- "type": "string",
- "format": "date-time"
- },
- "expires_at": {
- "type": "string",
- "format": "date-time"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "inviter_id": {
- "type": "string"
- },
- "inviter": {
- "$ref": "#/definitions/User"
- },
- "target_user_id": {
- "type": "string"
- },
- "target_user": {
- "type": "string"
- },
- "target_user_type": {
- "type": "integer"
- },
- "vanity_url": {
- "type": "boolean"
- },
- "flags": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel",
- "channel_id",
- "code",
- "created_at",
- "flags",
- "guild",
- "guild_id",
- "inviter",
- "max_age",
- "max_uses",
- "target_user_id",
- "temporary",
- "uses"
- ]
- },
- "Message": {
- "type": "object",
- "properties": {
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "author_id": {
- "type": "string"
- },
- "author": {
- "$ref": "#/definitions/User"
- },
- "member_id": {
- "type": "string"
- },
- "member": {
- "$ref": "#/definitions/Member"
- },
- "webhook_id": {
- "type": "string"
- },
- "webhook": {
- "$ref": "#/definitions/Webhook"
- },
- "application_id": {
- "type": "string"
- },
- "application": {
- "$ref": "#/definitions/Application"
- },
- "content": {
- "type": "string"
- },
- "timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "edited_timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "tts": {
- "type": "boolean"
- },
- "mention_everyone": {
- "type": "boolean"
- },
- "mentions": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/User"
- }
- },
- "mention_roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
- },
- "mention_channels": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Channel"
- }
- },
- "sticker_items": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Sticker"
- }
- },
- "attachments": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Attachment"
- }
- },
- "embeds": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Embed"
- }
- },
- "reactions": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Reaction"
- }
- },
- "nonce": {
- "type": "string"
- },
- "pinned": {
- "type": "boolean"
- },
- "type": {
- "$ref": "#/definitions/MessageType"
- },
- "activity": {
- "type": "object",
- "properties": {
- "type": {
- "type": "integer"
- },
- "party_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "party_id",
- "type"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "message_reference": {
- "type": "object",
- "properties": {
- "message_id": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- },
- "guild_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "message_id"
- ]
- },
- "referenced_message": {
- "$ref": "#/definitions/Message"
- },
- "interaction": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/InteractionType"
- },
- "name": {
- "type": "string"
- },
- "user_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name",
- "type",
- "user_id"
- ]
- },
- "components": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ActionRowComponent"
- }
- },
- "poll": {
- "$ref": "#/definitions/Poll"
- },
- "username": {
- "type": "string"
- },
- "avatar": {
- "type": "string"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel",
- "embeds",
- "flags",
- "id",
- "mention_channels",
- "mention_roles",
- "mentions",
- "reactions",
- "timestamp",
- "type"
- ]
- },
- "Member": {
- "type": "object",
- "properties": {
- "index": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "nick": {
- "type": "string"
- },
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
- },
- "joined_at": {
- "type": "string",
- "format": "date-time"
- },
- "premium_since": {
- "type": "integer"
- },
- "deaf": {
- "type": "boolean"
- },
- "mute": {
- "type": "boolean"
- },
- "pending": {
- "type": "boolean"
- },
- "settings": {
- "$ref": "#/definitions/UserGuildSettings"
- },
- "last_message_id": {
- "type": "string"
- },
- "joined_by": {
- "type": "string"
- },
- "avatar": {
- "type": "string"
- },
- "banner": {
- "type": "string"
- },
- "bio": {
- "type": "string"
- },
- "theme_colors": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "pronouns": {
- "type": "string"
- },
- "communication_disabled_until": {
- "type": "string",
- "format": "date-time"
- }
- },
- "additionalProperties": false,
- "required": [
- "banner",
- "bio",
- "communication_disabled_until",
- "deaf",
- "guild",
- "guild_id",
- "id",
- "index",
- "joined_at",
- "joined_by",
- "mute",
- "pending",
- "roles",
- "settings",
- "user"
- ]
- },
- "Role": {
- "type": "object",
- "properties": {
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "color": {
- "type": "integer"
- },
- "hoist": {
- "type": "boolean"
- },
- "managed": {
- "type": "boolean"
- },
- "mentionable": {
- "type": "boolean"
- },
- "name": {
- "type": "string"
- },
- "permissions": {
- "type": "string"
- },
- "position": {
- "type": "integer"
- },
- "icon": {
- "type": "string"
- },
- "unicode_emoji": {
- "type": "string"
- },
- "tags": {
- "type": "object",
- "properties": {
- "bot_id": {
- "type": "string"
- },
- "integration_id": {
- "type": "string"
- },
- "premium_subscriber": {
- "type": "boolean"
- }
- },
- "additionalProperties": false
- },
- "flags": {
- "type": "integer"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "color",
- "flags",
- "guild",
- "guild_id",
- "hoist",
- "id",
- "managed",
- "mentionable",
- "name",
- "permissions",
- "position"
- ]
- },
- "UserGuildSettings": {
- "type": "object",
- "properties": {
- "channel_overrides": {
- "anyOf": [
- {
- "type": "object",
- "additionalProperties": {
- "$ref": "#/definitions/ChannelOverride"
- }
- },
- {
- "type": "null"
- }
- ]
- },
- "message_notifications": {
- "type": "integer"
- },
- "mobile_push": {
- "type": "boolean"
- },
- "mute_config": {
- "anyOf": [
- {
- "$ref": "#/definitions/MuteConfig"
- },
- {
- "type": "null"
- }
- ]
- },
- "muted": {
- "type": "boolean"
- },
- "suppress_everyone": {
- "type": "boolean"
- },
- "suppress_roles": {
- "type": "boolean"
- },
- "version": {
- "type": "integer"
- },
- "guild_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "mute_scheduled_events": {
- "type": "boolean"
- },
- "hide_muted_channels": {
- "type": "boolean"
- },
- "notify_highlights": {
- "type": "number",
- "enum": [
- 0
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "channel_overrides",
- "flags",
- "guild_id",
- "hide_muted_channels",
- "message_notifications",
- "mobile_push",
- "mute_config",
- "mute_scheduled_events",
- "muted",
- "notify_highlights",
- "suppress_everyone",
- "suppress_roles",
- "version"
- ]
- },
- "Webhook": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/definitions/WebhookType"
- },
- "name": {
- "type": "string"
- },
- "avatar": {
- "type": "string"
- },
- "token": {
- "type": "string"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "application_id": {
- "type": "string"
- },
- "application": {
- "$ref": "#/definitions/Application"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "source_guild_id": {
- "type": "string"
- },
- "source_guild": {
- "$ref": "#/definitions/Guild"
- },
- "source_channel_id": {
- "type": "string"
- },
- "source_channel": {
- "$ref": "#/definitions/Channel"
- },
- "url": {
- "type": "string"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "application",
- "application_id",
- "avatar",
- "channel",
- "channel_id",
- "id",
- "name",
- "source_channel",
- "source_channel_id",
- "type",
- "url",
- "user",
- "user_id"
- ]
- },
- "WebhookType": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "Application": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "summary": {
- "type": "string",
- "default": ""
- },
- "type": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "hook": {
- "type": "boolean",
- "default": true
- },
- "bot_public": {
- "type": "boolean",
- "default": true
- },
- "bot_require_code_grant": {
- "type": "boolean",
- "default": false
- },
- "verify_key": {
- "type": "string"
- },
- "owner": {
- "$ref": "#/definitions/User"
- },
- "flags": {
- "type": "integer",
- "default": 0
- },
- "redirect_uris": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "rpc_application_state": {
- "type": "integer",
- "default": 0
- },
- "store_application_state": {
- "type": "integer",
- "default": 1
- },
- "verification_state": {
- "type": "integer",
- "default": 1
- },
- "interactions_endpoint_url": {
- "type": "string"
- },
- "integration_public": {
- "type": "boolean",
- "default": true
- },
- "integration_require_code_grant": {
- "type": "boolean",
- "default": false
- },
- "discoverability_state": {
- "type": "integer",
- "default": 1
- },
- "discovery_eligibility_flags": {
- "type": "integer",
- "default": 2240
- },
- "bot": {
- "$ref": "#/definitions/User"
- },
- "tags": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "cover_image": {
- "type": "string"
- },
- "install_params": {
- "type": "object",
- "properties": {
- "scopes": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "permissions": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "permissions",
- "scopes"
- ]
- },
- "terms_of_service_url": {
- "type": "string"
- },
- "privacy_policy_url": {
- "type": "string"
- },
- "team": {
- "$ref": "#/definitions/Team"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "description",
- "discoverability_state",
- "discovery_eligibility_flags",
- "flags",
- "hook",
- "id",
- "integration_public",
- "integration_require_code_grant",
- "name",
- "owner",
- "redirect_uris",
- "rpc_application_state",
- "store_application_state",
- "summary",
- "verification_state",
- "verify_key"
- ]
- },
- "Team": {
- "type": "object",
- "properties": {
- "icon": {
- "type": "string"
- },
- "members": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/TeamMember"
- }
- },
- "name": {
- "type": "string"
- },
- "owner_user_id": {
- "type": "string"
- },
- "owner_user": {
- "$ref": "#/definitions/User"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "members",
- "name",
- "owner_user",
- "owner_user_id"
- ]
- },
- "TeamMember": {
- "type": "object",
- "properties": {
- "membership_state": {
- "$ref": "#/definitions/TeamMemberState"
- },
- "permissions": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "team_id": {
- "type": "string"
- },
- "team": {
- "$ref": "#/definitions/Team"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "membership_state",
- "permissions",
- "team",
- "team_id",
- "user",
- "user_id"
- ]
- },
- "TeamMemberState": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
- },
- "Sticker": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "available": {
- "type": "boolean"
- },
- "tags": {
- "type": "string"
- },
- "pack_id": {
- "type": "string"
- },
- "pack": {
- "$ref": "#/definitions/StickerPack"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "type": {
- "$ref": "#/definitions/StickerType"
- },
- "format_type": {
- "$ref": "#/definitions/StickerFormatType"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "format_type",
- "id",
- "name",
- "pack",
- "type"
- ]
- },
- "StickerPack": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "banner_asset_id": {
- "type": "string"
- },
- "stickers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Sticker"
- }
- },
- "cover_sticker_id": {
- "type": "string"
- },
- "cover_sticker": {
- "$ref": "#/definitions/Sticker"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name",
- "stickers"
- ]
- },
- "StickerType": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
- },
- "StickerFormatType": {
- "enum": [
- 0,
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "Attachment": {
- "type": "object",
- "properties": {
- "filename": {
- "type": "string"
- },
- "size": {
- "type": "integer"
- },
- "url": {
- "type": "string"
- },
- "proxy_url": {
- "type": "string"
- },
- "height": {
- "type": "integer"
- },
- "width": {
- "type": "integer"
- },
- "content_type": {
- "type": "string"
- },
- "message_id": {
- "type": "string"
- },
- "message": {
- "$ref": "#/definitions/Message"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "filename",
- "id",
- "message",
- "message_id",
- "proxy_url",
- "size",
- "url"
- ]
- },
- "Reaction": {
- "type": "object",
- "properties": {
- "count": {
- "type": "integer"
- },
- "emoji": {
- "$ref": "#/definitions/PartialEmoji"
- },
- "user_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "count",
- "emoji",
- "user_ids"
- ]
- },
- "MessageType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 19,
- 2,
- 20,
- 255,
- 3,
- 4,
- 41,
- 42,
- 43,
- 5,
- 50,
- 6,
- 63,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "InteractionType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "Poll": {
- "type": "object",
- "properties": {
- "question": {
- "$ref": "#/definitions/PollMedia"
- },
- "answers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PollAnswer"
- }
- },
- "expiry": {
- "type": "string",
- "format": "date-time"
- },
- "allow_multiselect": {
- "type": "boolean"
- },
- "results": {
- "$ref": "#/definitions/PollResult"
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_multiselect",
- "answers",
- "expiry",
- "question"
- ]
- },
- "PollResult": {
- "type": "object",
- "properties": {
- "is_finalized": {
- "type": "boolean"
- },
- "answer_counts": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PollAnswerCount"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "answer_counts",
- "is_finalized"
- ]
- },
- "PollAnswerCount": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "count": {
- "type": "integer"
- },
- "me_voted": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "count",
- "id",
- "me_voted"
- ]
- },
- "VoiceState": {
- "type": "object",
- "properties": {
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "member": {
- "$ref": "#/definitions/Member"
- },
- "session_id": {
- "type": "string"
- },
- "token": {
- "type": "string"
- },
- "deaf": {
- "type": "boolean"
- },
- "mute": {
- "type": "boolean"
- },
- "self_deaf": {
- "type": "boolean"
- },
- "self_mute": {
- "type": "boolean"
- },
- "self_stream": {
- "type": "boolean"
- },
- "self_video": {
- "type": "boolean"
- },
- "suppress": {
- "type": "boolean"
- },
- "request_to_speak_timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel",
- "channel_id",
- "deaf",
- "guild_id",
- "id",
- "member",
- "mute",
- "self_deaf",
- "self_mute",
- "self_video",
- "session_id",
- "suppress",
- "token",
- "user",
- "user_id"
- ]
- },
- "ReadState": {
- "type": "object",
- "properties": {
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "last_message_id": {
- "type": "string"
- },
- "public_ack": {
- "type": "string"
- },
- "notifications_cursor": {
- "type": "string"
- },
- "last_pin_timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "mention_count": {
- "type": "integer"
- },
- "manual": {
- "type": "boolean"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel",
- "channel_id",
- "id",
- "last_message_id",
- "manual",
- "mention_count",
- "notifications_cursor",
- "public_ack",
- "user",
- "user_id"
- ]
- },
- "Ban": {
- "type": "object",
- "properties": {
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "executor_id": {
- "type": "string"
- },
- "executor": {
- "$ref": "#/definitions/User"
- },
- "ip": {
- "type": "string"
- },
- "reason": {
- "type": "string"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "executor",
- "executor_id",
- "guild",
- "guild_id",
- "id",
- "ip",
- "user",
- "user_id"
- ]
- },
- "Template": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "usage_count": {
- "type": "integer"
- },
- "creator_id": {
- "type": "string"
- },
- "creator": {
- "$ref": "#/definitions/User"
- },
- "created_at": {
- "type": "string",
- "format": "date-time"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time"
- },
- "source_guild_id": {
- "type": "string"
- },
- "source_guild": {
- "$ref": "#/definitions/Guild"
- },
- "serialized_source_guild": {
- "$ref": "#/definitions/Guild"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "created_at",
- "creator",
- "creator_id",
- "id",
- "name",
- "serialized_source_guild",
- "source_guild",
- "source_guild_id",
- "updated_at"
- ]
- },
- "Emoji": {
- "type": "object",
- "properties": {
- "animated": {
- "type": "boolean"
- },
- "available": {
- "type": "boolean"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "managed": {
- "type": "boolean"
- },
- "name": {
- "type": "string"
- },
- "require_colons": {
- "type": "boolean"
- },
- "roles": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "groups": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "animated",
- "available",
- "groups",
- "guild",
- "guild_id",
- "id",
- "managed",
- "name",
- "require_colons",
- "roles",
- "user",
- "user_id"
- ]
- },
- "GuildWelcomeScreen": {
- "type": "object",
- "properties": {
- "enabled": {
- "type": "boolean"
- },
- "description": {
- "type": "string"
- },
- "welcome_channels": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "description": {
- "type": "string"
- },
- "emoji_id": {
- "type": "string"
- },
- "emoji_name": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel_id",
- "description"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "description",
- "enabled",
- "welcome_channels"
- ]
- },
- "GuildMessagesSearchMessage": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/MessageType"
- },
- "content": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- },
- "author": {
- "$ref": "#/definitions/PublicUser"
- },
- "attachments": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Attachment"
- }
- },
- "embeds": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Embed"
- }
- },
- "mentions": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PublicUser"
- }
- },
- "mention_roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
- },
- "pinned": {
- "type": "boolean"
- },
- "mention_everyone": {
- "type": "boolean"
- },
- "tts": {
- "type": "boolean"
- },
- "timestamp": {
- "type": "string"
- },
- "edited_timestamp": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "components": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ActionRowComponent"
- }
- },
- "poll": {
- "$ref": "#/definitions/Poll"
- },
- "hit": {
- "type": "boolean",
- "enum": [
- true
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "attachments",
- "author",
- "channel_id",
- "components",
- "edited_timestamp",
- "embeds",
- "flags",
- "hit",
- "id",
- "mention_roles",
- "mentions",
- "pinned",
- "poll",
- "timestamp",
- "tts",
- "type"
- ]
- },
- "PublicUser": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "premium_since": {
- "type": "string",
- "format": "date-time"
- },
- "avatar": {
- "type": "string"
- },
- "username": {
- "type": "string"
- },
- "discriminator": {
- "type": "string"
- },
- "public_flags": {
- "type": "integer"
- },
- "accent_color": {
- "type": "integer"
- },
- "banner": {
- "type": "string"
- },
- "bio": {
- "type": "string"
- },
- "bot": {
- "type": "boolean"
- },
- "premium_type": {
- "type": "integer"
- },
- "theme_colors": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "pronouns": {
- "type": "string"
- },
- "badge_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "bio",
- "bot",
- "discriminator",
- "id",
- "premium_since",
- "premium_type",
- "public_flags",
- "username"
- ]
- },
- "GuildVanityUrl": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "uses": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "uses"
- ]
- },
- "GuildVanityUrlNoInvite": {
- "type": "object",
- "properties": {
- "code": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "code"
- ]
- },
- "Snowflake": {
- "description": "A container for useful snowflake-related methods.",
- "type": "object",
- "additionalProperties": false
- },
- "TenorGifResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "src": {
- "type": "string"
- },
- "gif_src": {
- "type": "string"
- },
- "width": {
- "type": "integer"
- },
- "height": {
- "type": "integer"
- },
- "preview": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "gif_src",
- "height",
- "id",
- "preview",
- "src",
- "title",
- "url",
- "width"
- ]
- },
- "BackupCode": {
- "type": "object",
- "properties": {
- "user": {
- "$ref": "#/definitions/User"
- },
- "code": {
- "type": "string"
- },
- "consumed": {
- "type": "boolean"
- },
- "expired": {
- "type": "boolean"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "consumed",
- "expired",
- "id",
- "user"
- ]
- },
- "APIGuild": {
- "type": "object",
- "properties": {
- "reload": {
- "description": "Reloads entity data from the database.",
- "type": "object",
- "additionalProperties": false
- },
- "name": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "parent": {
- "type": "string"
- },
- "owner_id": {
- "type": "string"
- },
- "nsfw": {
- "type": "boolean"
- },
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
- "toJSON": {
- "type": "object",
- "additionalProperties": false
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
- },
- "assign": {
- "type": "object",
- "additionalProperties": false
- },
- "hasId": {
- "description": "Checks if entity has an id.\nIf entity composite compose ids, it will check them all.",
- "type": "object",
- "additionalProperties": false
- },
- "save": {
- "description": "Saves current entity in the database.\nIf entity does not exist in the database then inserts, otherwise updates.",
- "type": "object",
- "additionalProperties": false
- },
- "remove": {
- "description": "Removes current entity from the database.",
- "type": "object",
- "additionalProperties": false
- },
- "softRemove": {
- "description": "Records the delete date of current entity.",
- "type": "object",
- "additionalProperties": false
- },
- "recover": {
- "description": "Recovers a given entity in the database.",
- "type": "object",
- "additionalProperties": false
- },
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
- },
- "banner": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "unavailable": {
- "type": "boolean"
- },
- "channels": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Channel"
- }
- },
- "region": {
- "type": "string"
- },
- "system_channel_id": {
- "type": "string"
- },
- "rules_channel_id": {
- "type": "string"
- },
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
- },
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
- "type": "string"
- },
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "primary_category_id": {
- "type": "string"
- },
- "large": {
- "type": "boolean"
- },
- "max_members": {
- "type": "integer"
- },
- "max_presences": {
- "type": "integer"
- },
- "max_video_channel_users": {
- "type": "integer"
- },
- "member_count": {
- "type": "integer"
- },
- "presence_count": {
- "type": "integer"
- },
- "members": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Member"
- }
- },
- "template_id": {
- "type": "string"
- },
- "emojis": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Emoji"
- }
- },
- "stickers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Sticker"
- }
- },
- "mfa_level": {
- "type": "integer"
- },
- "preferred_locale": {
- "type": "string"
- },
- "premium_subscription_count": {
- "type": "integer"
- },
- "premium_tier": {
- "type": "integer"
- },
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
- "welcome_screen": {
- "$ref": "#/definitions/GuildWelcomeScreen"
- },
- "widget_channel_id": {
- "type": "string"
- },
- "widget_enabled": {
- "type": "boolean"
- },
- "nsfw_level": {
- "type": "integer"
- },
- "permissions": {
- "type": "integer"
- },
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
- "channel_ordering": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "_do_validate",
- "assign",
- "bans",
- "channel_ordering",
- "channels",
- "emojis",
- "features",
- "hasId",
- "id",
- "invites",
- "members",
- "name",
- "nsfw",
- "premium_progress_bar_enabled",
- "public_updates_channel_id",
- "recover",
- "reload",
- "remove",
- "roles",
- "save",
- "softRemove",
- "stickers",
- "toJSON",
- "unavailable",
- "voice_states",
- "webhooks",
- "welcome_screen",
- "widget_enabled"
- ]
- },
- "DmChannelDTO": {
- "type": "object",
- "properties": {
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "id": {
- "type": "string"
- },
- "last_message_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "name": {
- "type": [
- "null",
- "string"
- ]
- },
- "origin_channel_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "owner_id": {
- "type": "string"
- },
- "recipients": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/MinimalPublicUserDTO"
- }
- },
- "type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "icon",
- "id",
- "last_message_id",
- "name",
- "origin_channel_id",
- "recipients",
- "type"
- ]
- },
- "MinimalPublicUserDTO": {
- "type": "object",
- "properties": {
- "avatar": {
- "type": [
- "null",
- "string"
- ]
- },
- "discriminator": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "public_flags": {
- "type": "integer"
- },
- "username": {
- "type": "string"
- },
- "badge_ids": {
- "anyOf": [
- {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "discriminator",
- "id",
- "public_flags",
- "username"
- ]
- },
- "Categories": {
- "type": "object",
- "properties": {
- "id": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- },
- "localizations": {
- "type": "string"
- },
- "is_primary": {
- "type": "boolean"
- },
- "icon": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "is_primary",
- "localizations",
- "name"
- ]
- },
- "GuildVoiceRegion": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "custom": {
- "type": "boolean"
- },
- "deprecated": {
- "type": "boolean"
- },
- "optimal": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom",
- "deprecated",
- "id",
- "name",
- "optimal"
- ]
- },
- "UserLimits": {
- "type": "object",
- "properties": {
- "maxGuilds": {
- "type": "integer",
- "default": 1048576
- },
- "maxUsername": {
- "type": "integer",
- "default": 32
- },
- "maxFriends": {
- "type": "integer",
- "default": 5000
- },
- "maxBio": {
- "type": "integer",
- "default": 190
- }
- },
- "additionalProperties": false,
- "required": [
- "maxBio",
- "maxFriends",
- "maxGuilds",
- "maxUsername"
- ]
- },
- "GuildLimits": {
- "type": "object",
- "properties": {
- "maxRoles": {
- "type": "integer",
- "default": 1000
- },
- "maxEmojis": {
- "type": "integer",
- "default": 2000
- },
- "maxMembers": {
- "type": "integer",
- "default": 25000000
- },
- "maxChannels": {
- "type": "integer",
- "default": 65535
- },
- "maxBulkBanUsers": {
- "type": "integer",
- "default": 200
- },
- "maxChannelsInCategory": {
- "type": "integer",
- "default": 65535
- }
- },
- "additionalProperties": false,
- "required": [
- "maxBulkBanUsers",
- "maxChannels",
- "maxChannelsInCategory",
- "maxEmojis",
- "maxMembers",
- "maxRoles"
- ]
- },
- "MessageLimits": {
- "type": "object",
- "properties": {
- "maxCharacters": {
- "type": "integer",
- "default": 1048576
- },
- "maxTTSCharacters": {
- "type": "integer",
- "default": 160
- },
- "maxReactions": {
- "type": "integer",
- "default": 2048
- },
- "maxAttachmentSize": {
- "type": "integer",
- "default": 1073741824
- },
- "maxBulkDelete": {
- "type": "integer",
- "default": 1000
- },
- "maxEmbedDownloadSize": {
- "type": "integer",
- "default": 5242880
- }
- },
- "additionalProperties": false,
- "required": [
- "maxAttachmentSize",
- "maxBulkDelete",
- "maxCharacters",
- "maxEmbedDownloadSize",
- "maxReactions",
- "maxTTSCharacters"
- ]
- },
- "ChannelLimits": {
- "type": "object",
- "properties": {
- "maxPins": {
- "type": "integer",
- "default": 500
- },
- "maxTopic": {
- "type": "integer",
- "default": 1024
- },
- "maxWebhooks": {
- "type": "integer",
- "default": 100
- }
- },
- "additionalProperties": false,
- "required": [
- "maxPins",
- "maxTopic",
- "maxWebhooks"
- ]
- },
- "RateLimits": {
- "type": "object",
- "properties": {
- "enabled": {
- "type": "boolean",
- "default": false
- },
- "ip": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "global": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "error": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "routes": {
- "$ref": "#/definitions/RouteRateLimit"
- }
- },
- "additionalProperties": false,
- "required": [
- "enabled",
- "error",
- "global",
- "ip",
- "routes"
- ]
- },
- "RateLimitOptions": {
- "type": "object",
- "properties": {
- "bot": {
- "type": "integer"
- },
- "count": {
- "type": "integer"
- },
- "window": {
- "type": "integer"
- },
- "onyIp": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "count",
- "window"
- ]
- },
- "RouteRateLimit": {
- "type": "object",
- "properties": {
- "guild": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "webhook": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "channel": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "auth": {}
- },
- "additionalProperties": false,
- "required": [
- "auth",
- "channel",
- "guild",
- "webhook"
- ]
- },
- "GlobalRateLimits": {
- "type": "object",
- "properties": {
- "register": {
- "$ref": "#/definitions/GlobalRateLimit"
- },
- "sendMessage": {
- "$ref": "#/definitions/GlobalRateLimit"
- }
- },
- "additionalProperties": false,
- "required": [
- "register",
- "sendMessage"
- ]
- },
- "GlobalRateLimit": {
- "type": "object",
- "properties": {
- "limit": {
- "type": "integer",
- "default": 100
- },
- "window": {
- "type": "integer",
- "default": 3600000
- },
- "enabled": {
- "type": "boolean",
- "default": true
- }
- },
- "additionalProperties": false,
- "required": [
- "enabled",
- "limit",
- "window"
- ]
- },
- "PublicConnectedAccount": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "type": {
- "type": "string"
- },
- "verified": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "name",
- "type"
- ]
- },
- "UserProfile": {
- "type": "object",
- "properties": {
- "accent_color": {
- "type": "integer"
- },
- "banner": {
- "type": "string"
- },
- "bio": {
- "type": "string"
- },
- "theme_colors": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "pronouns": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "bio"
- ]
- },
- "Badge": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "link": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "description",
- "icon",
- "id"
- ]
- },
- "TokenResponse": {
- "type": "object",
- "properties": {
- "token": {
- "type": "string"
- },
- "settings": {
- "$ref": "#/definitions/UserSettings"
- }
- },
- "additionalProperties": false,
- "required": [
- "settings",
- "token"
- ]
- },
- "MFAResponse": {
- "type": "object",
- "properties": {
- "ticket": {
- "type": "string"
- },
- "mfa": {
- "type": "boolean",
- "enum": [
- true
- ]
- },
- "sms": {
- "type": "boolean",
- "enum": [
- false
- ]
- },
- "token": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "mfa",
- "sms",
- "ticket",
- "token"
- ]
- },
- "WebAuthnResponse": {
- "type": "object",
- "properties": {
- "webauthn": {
- "type": "string"
- },
- "ticket": {
- "type": "string"
- },
- "mfa": {
- "type": "boolean",
- "enum": [
- true
- ]
- },
- "sms": {
- "type": "boolean",
- "enum": [
- false
- ]
- },
- "token": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "mfa",
- "sms",
- "ticket",
- "token",
- "webauthn"
- ]
- }
- },
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "global.Response": {
- "type": "object",
- "properties": {
- "headers": {
- "$ref": "#/definitions/Headers"
- },
- "ok": {
- "type": "boolean"
- },
- "status": {
- "type": "integer"
- },
- "statusText": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/ResponseType"
- },
- "url": {
- "type": "string"
- },
- "redirected": {
- "type": "boolean"
- },
- "body": {
- "anyOf": [
- {
- "$ref": "#/definitions/ReadableStream"
- },
- {
- "type": "null"
- }
- ]
- },
- "bodyUsed": {
- "type": "boolean"
- },
- "arrayBuffer": {
- "type": "object",
- "additionalProperties": false
- },
- "blob": {
- "type": "object",
- "additionalProperties": false
- },
- "formData": {
- "type": "object",
- "additionalProperties": false
- },
- "json": {
- "type": "object",
- "additionalProperties": false
- },
- "text": {
- "type": "object",
- "additionalProperties": false
- },
- "clone": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "arrayBuffer",
- "blob",
- "body",
- "bodyUsed",
- "clone",
- "formData",
- "headers",
- "json",
- "ok",
- "redirected",
- "status",
- "statusText",
- "text",
- "type",
- "url"
- ],
- "definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
- "ChannelPermissionOverwriteType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "ConnectedAccountTokenData": {
- "type": "object",
- "properties": {
- "access_token": {
- "type": "string"
- },
- "token_type": {
- "type": "string"
- },
- "scope": {
- "type": "string"
- },
- "refresh_token": {
- "type": "string"
- },
- "expires_in": {
- "type": "integer"
- },
- "expires_at": {
- "type": "integer"
- },
- "fetched_at": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "access_token",
- "fetched_at"
- ]
- },
- "ChannelModifySchema": {
- "type": "object",
- "properties": {
- "name": {
- "maxLength": 100,
- "type": "string"
- },
- "type": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 2,
- 255,
- 3,
- 33,
- 34,
- 35,
- 4,
- 5,
- 6,
- 64,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "topic": {
- "type": "string"
- },
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "bitrate": {
- "type": "integer"
- },
- "user_limit": {
- "type": "integer"
- },
- "rate_limit_per_user": {
- "type": "integer"
- },
- "position": {
- "type": "integer"
- },
- "permission_overwrites": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/ChannelPermissionOverwriteType"
- },
- "allow": {
- "type": "string"
- },
- "deny": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "allow",
- "deny",
- "id",
- "type"
- ]
- }
- },
- "parent_id": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "nsfw": {
- "type": "boolean"
- },
- "rtc_region": {
- "type": "string"
- },
- "default_auto_archive_duration": {
- "type": "integer"
- },
- "default_reaction_emoji": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "default_thread_rate_limit_per_user": {
- "type": "integer"
- },
- "video_quality_mode": {
- "type": "integer"
- }
- },
- "additionalProperties": false
- },
- "ActivitySchema": {
- "type": "object",
- "properties": {
- "afk": {
- "type": "boolean"
- },
- "status": {
- "$ref": "#/definitions/Status"
- },
- "activities": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Activity"
- }
- },
- "since": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "status"
- ]
- },
- "Status": {
- "enum": [
- "dnd",
- "idle",
- "invisible",
- "offline",
- "online"
- ],
- "type": "string"
- },
- "Activity": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/ActivityType"
- },
- "url": {
- "type": "string"
- },
- "created_at": {
- "type": "integer"
- },
- "timestamps": {
- "type": "object",
- "properties": {
- "start": {
- "type": "integer"
- },
- "end": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "end",
- "start"
- ]
- },
- "application_id": {
- "type": "string"
- },
- "details": {
- "type": "string"
- },
- "state": {
- "type": "string"
- },
- "emoji": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "animated": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "animated",
- "name"
- ]
- },
- "party": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "size": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- }
- },
- "additionalProperties": false
- },
- "assets": {
- "type": "object",
- "properties": {
- "large_image": {
- "type": "string"
- },
- "large_text": {
- "type": "string"
- },
- "small_image": {
- "type": "string"
- },
- "small_text": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "secrets": {
- "type": "object",
- "properties": {
- "join": {
- "type": "string"
- },
- "spectate": {
- "type": "string"
- },
- "match": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "instance": {
- "type": "boolean"
- },
- "flags": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "sync_id": {
- "type": "string"
- },
- "metadata": {
- "type": "object",
- "properties": {
- "context_uri": {
- "type": "string"
- },
- "album_id": {
- "type": "string"
- },
- "artist_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "album_id",
- "artist_ids"
- ]
- },
- "session_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "flags",
- "name",
- "session_id",
- "type"
- ]
- },
- "ActivityType": {
- "enum": [
- 0,
- 1,
- 2,
- 4,
- 5
- ],
- "type": "number"
- },
- "Embed": {
- "type": "object",
- "properties": {
- "title": {
- "type": "string"
- },
- "type": {
- "enum": [
- "article",
- "gifv",
- "image",
- "link",
- "rich",
- "video"
- ],
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "color": {
- "type": "integer"
- },
- "footer": {
- "type": "object",
- "properties": {
- "text": {
- "type": "string"
- },
- "icon_url": {
- "type": "string"
- },
- "proxy_icon_url": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "text"
- ]
- },
- "image": {
- "$ref": "#/definitions/EmbedImage"
- },
- "thumbnail": {
- "$ref": "#/definitions/EmbedImage"
- },
- "video": {
- "$ref": "#/definitions/EmbedImage"
- },
- "provider": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "url": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "author": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "icon_url": {
- "type": "string"
- },
- "proxy_icon_url": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "fields": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "value": {
- "type": "string"
- },
- "inline": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "name",
- "value"
- ]
- }
- }
- },
- "additionalProperties": false
- },
- "EmbedImage": {
- "type": "object",
- "properties": {
- "url": {
- "type": "string"
- },
- "proxy_url": {
- "type": "string"
- },
- "height": {
- "type": "integer"
- },
- "width": {
- "type": "integer"
- }
- },
- "additionalProperties": false
- },
- "ActionRowComponent": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/definitions/MessageComponentType.ActionRow"
- },
- "components": {
- "type": "array",
- "items": {
- "anyOf": [
- {
- "$ref": "#/definitions/ButtonComponent"
- },
- {
- "$ref": "#/definitions/SelectMenuComponent"
- },
- {
- "$ref": "#/definitions/StringSelectMenuComponent"
- },
- {
- "$ref": "#/definitions/TextInputComponent"
- }
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "components",
- "type"
- ]
- },
- "MessageComponentType.ActionRow": {
- "type": "number",
- "enum": [
- 1
- ]
- },
- "ButtonComponent": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/definitions/MessageComponentType.Button"
- },
- "style": {
- "$ref": "#/definitions/ButtonStyle"
- },
- "label": {
- "type": "string"
- },
- "emoji": {
- "$ref": "#/definitions/PartialEmoji"
- },
- "custom_id": {
- "type": "string"
- },
- "sku_id": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "disabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "style",
- "type"
- ]
- },
- "MessageComponentType.Button": {
- "type": "number",
- "enum": [
- 2
- ]
- },
- "ButtonStyle": {
- "enum": [
- 1,
- 2,
- 3,
- 4,
- 5,
- 6
- ],
- "type": "number"
- },
- "PartialEmoji": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "animated": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "name"
- ]
- },
- "SelectMenuComponent": {
- "type": "object",
- "properties": {
- "type": {
- "enum": [
- 3,
- 5,
- 6,
- 7,
- 8
- ],
- "type": "number"
- },
- "custom_id": {
- "type": "string"
- },
- "channel_types": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "placeholder": {
- "type": "string"
- },
- "default_values": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SelectMenuDefaultOption"
- }
- },
- "min_values": {
- "type": "integer"
- },
- "max_values": {
- "type": "integer"
- },
- "disabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom_id",
- "type"
- ]
- },
- "SelectMenuDefaultOption": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {
- "enum": [
- "channel",
- "role",
- "user"
- ],
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "type"
- ]
- },
- "StringSelectMenuComponent": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/definitions/MessageComponentType.StringSelect"
- },
- "options": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SelectMenuOption"
- }
- },
- "custom_id": {
- "type": "string"
- },
- "channel_types": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "placeholder": {
- "type": "string"
- },
- "default_values": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SelectMenuDefaultOption"
- }
- },
- "min_values": {
- "type": "integer"
- },
- "max_values": {
- "type": "integer"
- },
- "disabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom_id",
- "options",
- "type"
- ]
- },
- "MessageComponentType.StringSelect": {
- "type": "number",
- "enum": [
- 3
- ]
- },
- "SelectMenuOption": {
- "type": "object",
- "properties": {
- "label": {
- "type": "string"
- },
- "value": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "emoji": {
- "$ref": "#/definitions/PartialEmoji"
- },
- "default": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "label",
- "value"
- ]
- },
- "TextInputComponent": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/definitions/MessageComponentType.TextInput"
- },
- "custom_id": {
- "type": "string"
- },
- "style": {
- "$ref": "#/definitions/TextInputStyle"
- },
- "label": {
- "type": "string"
- },
- "min_length": {
- "type": "integer"
- },
- "max_length": {
- "type": "integer"
- },
- "required": {
- "type": "boolean"
- },
- "value": {
- "type": "string"
- },
- "placeholder": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom_id",
- "label",
- "style",
- "type"
- ]
- },
- "MessageComponentType.TextInput": {
- "type": "number",
- "enum": [
- 4
- ]
- },
- "TextInputStyle": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
- },
- "PollCreationSchema": {
- "type": "object",
- "properties": {
- "question": {
- "$ref": "#/definitions/PollMedia"
- },
- "answers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PollAnswer"
- }
- },
- "duration": {
- "type": "integer"
- },
- "allow_multiselect": {
- "type": "boolean"
- },
- "layout_type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "answers",
- "question"
- ]
- },
- "PollMedia": {
- "type": "object",
- "properties": {
- "text": {
- "type": "string"
- },
- "emoji": {
- "$ref": "#/definitions/PartialEmoji"
- }
- },
- "additionalProperties": false
- },
- "PollAnswer": {
- "type": "object",
- "properties": {
- "answer_id": {
- "type": "string"
- },
- "poll_media": {
- "$ref": "#/definitions/PollMedia"
- }
- },
- "additionalProperties": false,
- "required": [
- "poll_media"
- ]
- },
- "ChannelOverride": {
- "type": "object",
- "properties": {
- "message_notifications": {
- "type": "integer"
- },
- "mute_config": {
- "$ref": "#/definitions/MuteConfig"
- },
- "muted": {
- "type": "boolean"
- },
- "channel_id": {
- "type": [
- "null",
- "string"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "channel_id",
- "message_notifications",
- "mute_config",
- "muted"
- ]
- },
- "MuteConfig": {
- "type": "object",
- "properties": {
- "end_time": {
- "type": "integer"
- },
- "selected_time_window": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "end_time",
- "selected_time_window"
- ]
- },
- "CustomStatus": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": "string"
- },
- "emoji_name": {
- "type": "string"
- },
- "expires_at": {
- "type": "integer"
- },
- "text": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "FriendSourceFlags": {
- "type": "object",
- "properties": {
- "all": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "all"
- ]
- },
- "GuildFolder": {
- "type": "object",
- "properties": {
- "color": {
- "type": "integer"
- },
- "guild_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "color",
- "guild_ids",
- "id",
- "name"
- ]
- },
- "GenerateWebAuthnCredentialsSchema": {
- "type": "object",
- "properties": {
- "password": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "password"
- ]
- },
- "CreateWebAuthnCredentialSchema": {
- "type": "object",
- "properties": {
- "credential": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "ticket": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "credential",
- "name",
- "ticket"
- ]
- },
- "APIErrorResponse": {
- "type": "object",
- "properties": {
- "code": {
- "type": "integer"
- },
- "message": {
- "type": "string"
- },
- "errors": {
- "type": "object",
- "additionalProperties": {
- "type": "object",
- "properties": {
- "_errors": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "message": {
- "type": "string"
- },
- "code": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "message"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "_errors"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "errors",
- "message"
- ]
- },
- "CaptchaRequiredResponse": {
- "type": "object",
- "properties": {
- "captcha_key": {
- "type": "string"
- },
- "captcha_sitekey": {
- "type": "string"
- },
- "captcha_service": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "captcha_key",
- "captcha_service",
- "captcha_sitekey"
- ]
- },
- "Guild": {
- "type": "object",
- "properties": {
- "afk_channel_id": {
- "type": "string"
- },
- "afk_channel": {
- "$ref": "#/definitions/Channel"
- },
- "afk_timeout": {
- "type": "integer"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "banner": {
- "type": "string"
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "description": {
- "type": "string"
- },
- "discovery_splash": {
- "type": "string"
- },
- "explicit_content_filter": {
- "type": "integer"
- },
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "primary_category_id": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "large": {
- "type": "boolean",
- "default": false
- },
- "max_members": {
- "type": "integer"
- },
- "max_presences": {
- "type": "integer"
- },
- "max_video_channel_users": {
- "type": "integer"
- },
- "member_count": {
- "type": "integer"
- },
- "presence_count": {
- "type": "integer"
- },
- "members": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Member"
- }
- },
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
- },
- "channels": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Channel"
- }
- },
- "template_id": {
- "type": "string"
- },
- "template": {
- "$ref": "#/definitions/Template"
- },
- "emojis": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Emoji"
- }
- },
- "stickers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Sticker"
- }
- },
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
- "mfa_level": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- },
- "owner_id": {
- "type": "string"
- },
- "owner": {
- "$ref": "#/definitions/User"
- },
- "preferred_locale": {
- "type": "string"
- },
- "premium_subscription_count": {
- "type": "integer"
- },
- "premium_tier": {
- "type": "integer"
- },
- "public_updates_channel_id": {
- "type": "string"
- },
- "public_updates_channel": {
- "$ref": "#/definitions/Channel"
- },
- "rules_channel_id": {
- "type": "string"
- },
- "rules_channel": {
- "type": "string"
- },
- "region": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_id": {
- "type": "string"
- },
- "system_channel": {
- "$ref": "#/definitions/Channel"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "unavailable": {
- "type": "boolean",
- "default": false
- },
- "verification_level": {
- "type": "integer"
- },
- "welcome_screen": {
- "$ref": "#/definitions/GuildWelcomeScreen"
- },
- "widget_channel_id": {
- "type": "string"
- },
- "widget_channel": {
- "$ref": "#/definitions/Channel"
- },
- "widget_enabled": {
- "type": "boolean",
- "default": true
- },
- "nsfw_level": {
- "type": "integer"
- },
- "nsfw": {
- "type": "boolean",
- "default": false
- },
- "parent": {
- "type": "string"
- },
- "permissions": {
- "type": "integer"
- },
- "premium_progress_bar_enabled": {
- "type": "boolean",
- "default": false
- },
- "channel_ordering": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "bans",
- "channel_ordering",
- "channels",
- "emojis",
- "features",
- "id",
- "invites",
- "members",
- "name",
- "nsfw",
- "premium_progress_bar_enabled",
- "public_updates_channel_id",
- "roles",
- "stickers",
- "template",
- "unavailable",
- "voice_states",
- "webhooks",
- "welcome_screen",
- "widget_enabled"
- ]
- },
- "Channel": {
- "type": "object",
- "properties": {
- "created_at": {
- "type": "string",
- "format": "date-time"
- },
- "name": {
- "type": "string"
- },
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "type": {
- "$ref": "#/definitions/ChannelType"
- },
- "recipients": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Recipient"
- }
- },
- "last_message_id": {
- "type": "string"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "parent_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "parent": {
- "$ref": "#/definitions/Channel"
- },
- "owner_id": {
- "type": "string"
- },
- "owner": {
- "$ref": "#/definitions/User"
- },
- "last_pin_timestamp": {
- "type": "integer"
- },
- "default_auto_archive_duration": {
- "type": "integer"
- },
- "permission_overwrites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ChannelPermissionOverwrite"
- }
- },
- "video_quality_mode": {
- "type": "integer"
- },
- "bitrate": {
- "type": "integer"
- },
- "user_limit": {
- "type": "integer"
- },
- "nsfw": {
- "type": "boolean",
- "default": false
- },
- "rate_limit_per_user": {
- "type": "integer"
- },
- "topic": {
- "type": "string"
- },
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "retention_policy_id": {
- "type": "string"
- },
- "messages": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Message"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "read_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ReadState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
- "flags": {
- "type": "integer",
- "default": 0
- },
- "default_thread_rate_limit_per_user": {
- "type": "integer",
- "default": 0
- },
- "position": {
- "description": "Must be calculated Channel.calculatePosition",
- "type": "integer"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "created_at",
- "default_thread_rate_limit_per_user",
- "flags",
- "id",
- "nsfw",
- "owner",
- "parent_id",
- "position",
- "type"
- ]
- },
- "ChannelType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 2,
- 255,
- 3,
- 33,
- 34,
- 35,
- 4,
- 5,
- 6,
- 64,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "Recipient": {
- "type": "object",
- "properties": {
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "closed": {
- "type": "boolean"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel",
- "channel_id",
- "closed",
- "id",
- "user",
- "user_id"
- ]
- },
- "User": {
- "type": "object",
- "properties": {
- "username": {
- "type": "string"
- },
- "discriminator": {
- "type": "string"
- },
- "avatar": {
- "type": "string"
- },
- "accent_color": {
- "type": "integer"
- },
- "banner": {
- "type": "string"
- },
- "theme_colors": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "pronouns": {
- "type": "string"
- },
- "phone": {
- "type": "string"
- },
- "desktop": {
- "type": "boolean",
- "default": false
- },
- "mobile": {
- "type": "boolean",
- "default": false
- },
- "premium": {
- "type": "boolean"
- },
- "premium_type": {
- "type": "integer"
- },
- "bot": {
- "type": "boolean",
- "default": false
- },
- "bio": {
- "type": "string",
- "default": ""
- },
- "system": {
- "type": "boolean",
- "default": false
- },
- "nsfw_allowed": {
- "type": "boolean",
- "default": true
- },
- "mfa_enabled": {
- "type": "boolean",
- "default": false
- },
- "webauthn_enabled": {
- "type": "boolean",
- "default": false
- },
- "totp_secret": {
- "type": "string",
- "default": ""
- },
- "totp_last_ticket": {
- "type": "string",
- "default": ""
- },
- "created_at": {
- "type": "string",
- "format": "date-time"
- },
- "premium_since": {
- "type": "string",
- "format": "date-time"
- },
- "verified": {
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean",
- "default": false
- },
- "deleted": {
- "type": "boolean",
- "default": false
- },
- "email": {
- "type": "string"
- },
- "flags": {
- "type": "integer",
- "default": 0
- },
- "public_flags": {
- "type": "integer",
- "default": 0
- },
- "purchased_flags": {
- "type": "integer",
- "default": 0
- },
- "premium_usage_flags": {
- "type": "integer",
- "default": 0
- },
- "rights": {
- "type": "string"
- },
- "sessions": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Session"
- }
- },
- "relationships": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Relationship"
- }
- },
- "connected_accounts": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ConnectedAccount"
- }
- },
- "data": {
- "type": "object",
- "properties": {
- "valid_tokens_since": {
- "type": "string",
- "format": "date-time"
- },
- "hash": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "valid_tokens_since"
- ]
- },
- "fingerprints": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "settings": {
- "$ref": "#/definitions/UserSettings"
- },
- "extended_settings": {
- "type": "string",
- "default": "{}"
- },
- "security_keys": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SecurityKey"
- }
- },
- "badge_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "bio",
- "bot",
- "connected_accounts",
- "created_at",
- "data",
- "deleted",
- "desktop",
- "disabled",
- "discriminator",
- "extended_settings",
- "fingerprints",
- "flags",
- "id",
- "mfa_enabled",
- "mobile",
- "nsfw_allowed",
- "premium",
- "premium_since",
- "premium_type",
- "premium_usage_flags",
- "public_flags",
- "purchased_flags",
- "relationships",
- "rights",
- "security_keys",
- "sessions",
- "settings",
- "system",
- "username",
- "verified",
- "webauthn_enabled"
- ]
- },
- "Session": {
- "type": "object",
- "properties": {
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "session_id": {
- "type": "string"
- },
- "activities": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Activity"
- }
- },
- "client_info": {
- "type": "object",
- "properties": {
- "client": {
- "type": "string"
- },
- "os": {
- "type": "string"
- },
- "version": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "client",
- "os",
- "version"
- ]
- },
- "client_status": {
- "$ref": "#/definitions/ClientStatus"
- },
- "status": {
- "$ref": "#/definitions/Status"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "activities",
- "client_info",
- "client_status",
- "id",
- "session_id",
- "status",
- "user",
- "user_id"
- ]
- },
- "ClientStatus": {
- "type": "object",
- "properties": {
- "desktop": {
- "type": "string"
- },
- "mobile": {
- "type": "string"
- },
- "web": {
- "type": "string"
- },
- "embedded": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "Relationship": {
- "type": "object",
- "properties": {
- "from_id": {
- "type": "string"
- },
- "from": {
- "$ref": "#/definitions/User"
- },
- "to_id": {
- "type": "string"
- },
- "to": {
- "$ref": "#/definitions/User"
- },
- "nickname": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/RelationshipType"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "from",
- "from_id",
- "id",
- "to",
- "to_id",
- "type"
- ]
- },
- "RelationshipType": {
- "enum": [
- 1,
- 2,
- 3,
- 4
- ],
- "type": "number"
- },
- "ConnectedAccount": {
- "type": "object",
- "properties": {
- "external_id": {
- "type": "string"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "friend_sync": {
- "type": "boolean",
- "default": false
- },
- "name": {
- "type": "string"
- },
- "revoked": {
- "type": "boolean",
- "default": false
- },
- "show_activity": {
- "type": "integer",
- "default": 0
- },
- "type": {
- "type": "string"
- },
- "verified": {
- "type": "boolean",
- "default": true
- },
- "visibility": {
- "type": "integer",
- "default": 0
- },
- "integrations": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "metadata_": {},
- "metadata_visibility": {
- "type": "integer",
- "default": 0
- },
- "two_way_link": {
- "type": "boolean",
- "default": false
- },
- "token_data": {
- "anyOf": [
- {
- "$ref": "#/definitions/ConnectedAccountTokenData"
- },
- {
- "type": "null"
- }
- ]
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "external_id",
- "id",
- "name",
- "type",
- "user",
- "user_id"
- ]
- },
- "UserSettings": {
- "type": "object",
- "properties": {
- "index": {
- "type": "string"
- },
- "afk_timeout": {
- "type": "integer",
- "default": 3600
- },
- "allow_accessibility_detection": {
- "type": "boolean",
- "default": true
- },
- "animate_emoji": {
- "type": "boolean",
- "default": true
- },
- "animate_stickers": {
- "type": "integer",
- "default": 0
- },
- "contact_sync_enabled": {
- "type": "boolean",
- "default": false
- },
- "convert_emoticons": {
- "type": "boolean",
- "default": false
- },
- "custom_status": {
- "anyOf": [
- {
- "$ref": "#/definitions/CustomStatus"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "default_guilds_restricted": {
- "type": "boolean",
- "default": false
- },
- "detect_platform_accounts": {
- "type": "boolean",
- "default": false
- },
- "developer_mode": {
- "type": "boolean",
- "default": true
- },
- "disable_games_tab": {
- "type": "boolean",
- "default": true
- },
- "enable_tts_command": {
- "type": "boolean",
- "default": false
- },
- "explicit_content_filter": {
- "type": "integer",
- "default": 0
- },
- "friend_discovery_flags": {
- "type": "integer",
- "default": 0
- },
- "friend_source_flags": {
- "$ref": "#/definitions/FriendSourceFlags"
- },
- "gateway_connected": {
- "type": "boolean",
- "default": false
- },
- "gif_auto_play": {
- "type": "boolean",
- "default": false
- },
- "guild_folders": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/GuildFolder"
- },
- "default": []
- },
- "guild_positions": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "inline_attachment_media": {
- "type": "boolean",
- "default": true
- },
- "inline_embed_media": {
- "type": "boolean",
- "default": true
- },
- "locale": {
- "type": "string",
- "default": "en-US"
- },
- "message_display_compact": {
- "type": "boolean",
- "default": false
- },
- "native_phone_integration_enabled": {
- "type": "boolean",
- "default": true
- },
- "render_embeds": {
- "type": "boolean",
- "default": true
- },
- "render_reactions": {
- "type": "boolean",
- "default": true
- },
- "restricted_guilds": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "show_current_game": {
- "type": "boolean",
- "default": true
- },
- "status": {
- "enum": [
- "dnd",
- "idle",
- "invisible",
- "offline",
- "online"
- ],
- "type": "string",
- "default": "online"
- },
- "stream_notifications_enabled": {
- "type": "boolean",
- "default": false
- },
- "theme": {
- "enum": [
- "dark",
- "light"
- ],
- "type": "string",
- "default": "dark"
- },
- "timezone_offset": {
- "type": "integer",
- "default": 0
- },
- "view_nsfw_guilds": {
- "type": "boolean",
- "default": true
- }
- },
- "additionalProperties": false,
- "required": [
- "afk_timeout",
- "allow_accessibility_detection",
- "animate_emoji",
- "animate_stickers",
- "contact_sync_enabled",
- "convert_emoticons",
- "custom_status",
- "default_guilds_restricted",
- "detect_platform_accounts",
- "developer_mode",
- "disable_games_tab",
- "enable_tts_command",
- "explicit_content_filter",
- "friend_discovery_flags",
- "friend_source_flags",
- "gateway_connected",
- "gif_auto_play",
- "guild_folders",
- "guild_positions",
- "index",
- "inline_attachment_media",
- "inline_embed_media",
- "locale",
- "message_display_compact",
- "native_phone_integration_enabled",
- "render_embeds",
- "render_reactions",
- "restricted_guilds",
- "show_current_game",
- "status",
- "stream_notifications_enabled",
- "theme",
- "timezone_offset",
- "view_nsfw_guilds"
- ]
- },
- "SecurityKey": {
- "type": "object",
- "properties": {
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "key_id": {
- "type": "string"
- },
- "public_key": {
- "type": "string"
- },
- "counter": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "counter",
- "id",
- "key_id",
- "name",
- "public_key",
- "user",
- "user_id"
- ]
- },
- "ChannelPermissionOverwrite": {
- "type": "object",
- "properties": {
- "allow": {
- "type": "string"
- },
- "deny": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/ChannelPermissionOverwriteType"
- }
- },
- "additionalProperties": false,
- "required": [
- "allow",
- "deny",
- "id",
- "type"
- ]
- },
- "Invite": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "temporary": {
- "type": "boolean"
- },
- "uses": {
- "type": "integer"
- },
- "max_uses": {
- "type": "integer"
- },
- "max_age": {
- "type": "integer"
- },
- "created_at": {
- "type": "string",
- "format": "date-time"
- },
- "expires_at": {
- "type": "string",
- "format": "date-time"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "inviter_id": {
- "type": "string"
- },
- "inviter": {
- "$ref": "#/definitions/User"
- },
- "target_user_id": {
- "type": "string"
- },
- "target_user": {
- "type": "string"
- },
- "target_user_type": {
- "type": "integer"
- },
- "vanity_url": {
- "type": "boolean"
- },
- "flags": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel",
- "channel_id",
- "code",
- "created_at",
- "flags",
- "guild",
- "guild_id",
- "inviter",
- "max_age",
- "max_uses",
- "target_user_id",
- "temporary",
- "uses"
- ]
- },
- "Message": {
- "type": "object",
- "properties": {
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "author_id": {
- "type": "string"
- },
- "author": {
- "$ref": "#/definitions/User"
- },
- "member_id": {
- "type": "string"
- },
- "member": {
- "$ref": "#/definitions/Member"
- },
- "webhook_id": {
- "type": "string"
- },
- "webhook": {
- "$ref": "#/definitions/Webhook"
- },
- "application_id": {
- "type": "string"
- },
- "application": {
- "$ref": "#/definitions/Application"
- },
- "content": {
- "type": "string"
- },
- "timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "edited_timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "tts": {
- "type": "boolean"
- },
- "mention_everyone": {
- "type": "boolean"
- },
- "mentions": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/User"
- }
- },
- "mention_roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
- },
- "mention_channels": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Channel"
- }
- },
- "sticker_items": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Sticker"
- }
- },
- "attachments": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Attachment"
- }
- },
- "embeds": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Embed"
- }
- },
- "reactions": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Reaction"
- }
- },
- "nonce": {
- "type": "string"
- },
- "pinned": {
- "type": "boolean"
- },
- "type": {
- "$ref": "#/definitions/MessageType"
- },
- "activity": {
- "type": "object",
- "properties": {
- "type": {
- "type": "integer"
- },
- "party_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "party_id",
- "type"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "message_reference": {
- "type": "object",
- "properties": {
- "message_id": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- },
- "guild_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "message_id"
- ]
- },
- "referenced_message": {
- "$ref": "#/definitions/Message"
- },
- "interaction": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/InteractionType"
- },
- "name": {
- "type": "string"
- },
- "user_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name",
- "type",
- "user_id"
- ]
- },
- "components": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ActionRowComponent"
- }
- },
- "poll": {
- "$ref": "#/definitions/Poll"
- },
- "username": {
- "type": "string"
- },
- "avatar": {
- "type": "string"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel",
- "embeds",
- "flags",
- "id",
- "mention_channels",
- "mention_roles",
- "mentions",
- "reactions",
- "timestamp",
- "type"
- ]
- },
- "Member": {
- "type": "object",
- "properties": {
- "index": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "nick": {
- "type": "string"
- },
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
- },
- "joined_at": {
- "type": "string",
- "format": "date-time"
- },
- "premium_since": {
- "type": "integer"
- },
- "deaf": {
- "type": "boolean"
- },
- "mute": {
- "type": "boolean"
- },
- "pending": {
- "type": "boolean"
- },
- "settings": {
- "$ref": "#/definitions/UserGuildSettings"
- },
- "last_message_id": {
- "type": "string"
- },
- "joined_by": {
- "type": "string"
- },
- "avatar": {
- "type": "string"
- },
- "banner": {
- "type": "string"
- },
- "bio": {
- "type": "string"
- },
- "theme_colors": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "pronouns": {
- "type": "string"
- },
- "communication_disabled_until": {
- "type": "string",
- "format": "date-time"
- }
- },
- "additionalProperties": false,
- "required": [
- "banner",
- "bio",
- "communication_disabled_until",
- "deaf",
- "guild",
- "guild_id",
- "id",
- "index",
- "joined_at",
- "joined_by",
- "mute",
- "pending",
- "roles",
- "settings",
- "user"
- ]
- },
- "Role": {
- "type": "object",
- "properties": {
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "color": {
- "type": "integer"
- },
- "hoist": {
- "type": "boolean"
- },
- "managed": {
- "type": "boolean"
- },
- "mentionable": {
- "type": "boolean"
- },
- "name": {
- "type": "string"
- },
- "permissions": {
- "type": "string"
- },
- "position": {
- "type": "integer"
- },
- "icon": {
- "type": "string"
- },
- "unicode_emoji": {
- "type": "string"
- },
- "tags": {
- "type": "object",
- "properties": {
- "bot_id": {
- "type": "string"
- },
- "integration_id": {
- "type": "string"
- },
- "premium_subscriber": {
- "type": "boolean"
- }
- },
- "additionalProperties": false
- },
- "flags": {
- "type": "integer"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "color",
- "flags",
- "guild",
- "guild_id",
- "hoist",
- "id",
- "managed",
- "mentionable",
- "name",
- "permissions",
- "position"
- ]
- },
- "UserGuildSettings": {
- "type": "object",
- "properties": {
- "channel_overrides": {
- "anyOf": [
- {
- "type": "object",
- "additionalProperties": {
- "$ref": "#/definitions/ChannelOverride"
- }
- },
- {
- "type": "null"
- }
- ]
- },
- "message_notifications": {
- "type": "integer"
- },
- "mobile_push": {
- "type": "boolean"
- },
- "mute_config": {
- "anyOf": [
- {
- "$ref": "#/definitions/MuteConfig"
- },
- {
- "type": "null"
- }
- ]
- },
- "muted": {
- "type": "boolean"
- },
- "suppress_everyone": {
- "type": "boolean"
- },
- "suppress_roles": {
- "type": "boolean"
- },
- "version": {
- "type": "integer"
- },
- "guild_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "mute_scheduled_events": {
- "type": "boolean"
- },
- "hide_muted_channels": {
- "type": "boolean"
- },
- "notify_highlights": {
- "type": "number",
- "enum": [
- 0
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "channel_overrides",
- "flags",
- "guild_id",
- "hide_muted_channels",
- "message_notifications",
- "mobile_push",
- "mute_config",
- "mute_scheduled_events",
- "muted",
- "notify_highlights",
- "suppress_everyone",
- "suppress_roles",
- "version"
- ]
- },
- "Webhook": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/definitions/WebhookType"
- },
- "name": {
- "type": "string"
- },
- "avatar": {
- "type": "string"
- },
- "token": {
- "type": "string"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "application_id": {
- "type": "string"
- },
- "application": {
- "$ref": "#/definitions/Application"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "source_guild_id": {
- "type": "string"
- },
- "source_guild": {
- "$ref": "#/definitions/Guild"
- },
- "source_channel_id": {
- "type": "string"
- },
- "source_channel": {
- "$ref": "#/definitions/Channel"
- },
- "url": {
- "type": "string"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "application",
- "application_id",
- "avatar",
- "channel",
- "channel_id",
- "id",
- "name",
- "source_channel",
- "source_channel_id",
- "type",
- "url",
- "user",
- "user_id"
- ]
- },
- "WebhookType": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "Application": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "summary": {
- "type": "string",
- "default": ""
- },
- "type": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "hook": {
- "type": "boolean",
- "default": true
- },
- "bot_public": {
- "type": "boolean",
- "default": true
- },
- "bot_require_code_grant": {
- "type": "boolean",
- "default": false
- },
- "verify_key": {
- "type": "string"
- },
- "owner": {
- "$ref": "#/definitions/User"
- },
- "flags": {
- "type": "integer",
- "default": 0
- },
- "redirect_uris": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "rpc_application_state": {
- "type": "integer",
- "default": 0
- },
- "store_application_state": {
- "type": "integer",
- "default": 1
- },
- "verification_state": {
- "type": "integer",
- "default": 1
- },
- "interactions_endpoint_url": {
- "type": "string"
- },
- "integration_public": {
- "type": "boolean",
- "default": true
- },
- "integration_require_code_grant": {
- "type": "boolean",
- "default": false
- },
- "discoverability_state": {
- "type": "integer",
- "default": 1
- },
- "discovery_eligibility_flags": {
- "type": "integer",
- "default": 2240
- },
- "bot": {
- "$ref": "#/definitions/User"
- },
- "tags": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "cover_image": {
- "type": "string"
- },
- "install_params": {
- "type": "object",
- "properties": {
- "scopes": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "permissions": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "permissions",
- "scopes"
- ]
- },
- "terms_of_service_url": {
- "type": "string"
- },
- "privacy_policy_url": {
- "type": "string"
- },
- "team": {
- "$ref": "#/definitions/Team"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "description",
- "discoverability_state",
- "discovery_eligibility_flags",
- "flags",
- "hook",
- "id",
- "integration_public",
- "integration_require_code_grant",
- "name",
- "owner",
- "redirect_uris",
- "rpc_application_state",
- "store_application_state",
- "summary",
- "verification_state",
- "verify_key"
- ]
- },
- "Team": {
- "type": "object",
- "properties": {
- "icon": {
- "type": "string"
- },
- "members": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/TeamMember"
- }
- },
- "name": {
- "type": "string"
- },
- "owner_user_id": {
- "type": "string"
- },
- "owner_user": {
- "$ref": "#/definitions/User"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "members",
- "name",
- "owner_user",
- "owner_user_id"
- ]
- },
- "TeamMember": {
- "type": "object",
- "properties": {
- "membership_state": {
- "$ref": "#/definitions/TeamMemberState"
- },
- "permissions": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "team_id": {
- "type": "string"
- },
- "team": {
- "$ref": "#/definitions/Team"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "membership_state",
- "permissions",
- "team",
- "team_id",
- "user",
- "user_id"
- ]
- },
- "TeamMemberState": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
- },
- "Sticker": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "available": {
- "type": "boolean"
- },
- "tags": {
- "type": "string"
- },
- "pack_id": {
- "type": "string"
- },
- "pack": {
- "$ref": "#/definitions/StickerPack"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "type": {
- "$ref": "#/definitions/StickerType"
- },
- "format_type": {
- "$ref": "#/definitions/StickerFormatType"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "format_type",
- "id",
- "name",
- "pack",
- "type"
- ]
- },
- "StickerPack": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "banner_asset_id": {
- "type": "string"
- },
- "stickers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Sticker"
- }
- },
- "cover_sticker_id": {
- "type": "string"
- },
- "cover_sticker": {
- "$ref": "#/definitions/Sticker"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name",
- "stickers"
- ]
- },
- "StickerType": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
- },
- "StickerFormatType": {
- "enum": [
- 0,
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "Attachment": {
- "type": "object",
- "properties": {
- "filename": {
- "type": "string"
- },
- "size": {
- "type": "integer"
- },
- "url": {
- "type": "string"
- },
- "proxy_url": {
- "type": "string"
- },
- "height": {
- "type": "integer"
- },
- "width": {
- "type": "integer"
- },
- "content_type": {
- "type": "string"
- },
- "message_id": {
- "type": "string"
- },
- "message": {
- "$ref": "#/definitions/Message"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "filename",
- "id",
- "message",
- "message_id",
- "proxy_url",
- "size",
- "url"
- ]
- },
- "Reaction": {
- "type": "object",
- "properties": {
- "count": {
- "type": "integer"
- },
- "emoji": {
- "$ref": "#/definitions/PartialEmoji"
- },
- "user_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "count",
- "emoji",
- "user_ids"
- ]
- },
- "MessageType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 19,
- 2,
- 20,
- 255,
- 3,
- 4,
- 41,
- 42,
- 43,
- 5,
- 50,
- 6,
- 63,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "InteractionType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "Poll": {
- "type": "object",
- "properties": {
- "question": {
- "$ref": "#/definitions/PollMedia"
- },
- "answers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PollAnswer"
- }
- },
- "expiry": {
- "type": "string",
- "format": "date-time"
- },
- "allow_multiselect": {
- "type": "boolean"
- },
- "results": {
- "$ref": "#/definitions/PollResult"
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_multiselect",
- "answers",
- "expiry",
- "question"
- ]
- },
- "PollResult": {
- "type": "object",
- "properties": {
- "is_finalized": {
- "type": "boolean"
- },
- "answer_counts": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PollAnswerCount"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "answer_counts",
- "is_finalized"
- ]
- },
- "PollAnswerCount": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "count": {
- "type": "integer"
- },
- "me_voted": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "count",
- "id",
- "me_voted"
- ]
- },
- "VoiceState": {
- "type": "object",
- "properties": {
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "member": {
- "$ref": "#/definitions/Member"
- },
- "session_id": {
- "type": "string"
- },
- "token": {
- "type": "string"
- },
- "deaf": {
- "type": "boolean"
- },
- "mute": {
- "type": "boolean"
- },
- "self_deaf": {
- "type": "boolean"
- },
- "self_mute": {
- "type": "boolean"
- },
- "self_stream": {
- "type": "boolean"
- },
- "self_video": {
- "type": "boolean"
- },
- "suppress": {
- "type": "boolean"
- },
- "request_to_speak_timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel",
- "channel_id",
- "deaf",
- "guild_id",
- "id",
- "member",
- "mute",
- "self_deaf",
- "self_mute",
- "self_video",
- "session_id",
- "suppress",
- "token",
- "user",
- "user_id"
- ]
- },
- "ReadState": {
- "type": "object",
- "properties": {
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "last_message_id": {
- "type": "string"
- },
- "public_ack": {
- "type": "string"
- },
- "notifications_cursor": {
- "type": "string"
- },
- "last_pin_timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "mention_count": {
- "type": "integer"
- },
- "manual": {
- "type": "boolean"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel",
- "channel_id",
- "id",
- "last_message_id",
- "manual",
- "mention_count",
- "notifications_cursor",
- "public_ack",
- "user",
- "user_id"
- ]
- },
- "Ban": {
- "type": "object",
- "properties": {
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "executor_id": {
- "type": "string"
- },
- "executor": {
- "$ref": "#/definitions/User"
- },
- "ip": {
- "type": "string"
- },
- "reason": {
- "type": "string"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "executor",
- "executor_id",
- "guild",
- "guild_id",
- "id",
- "ip",
- "user",
- "user_id"
- ]
- },
- "Template": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "usage_count": {
- "type": "integer"
- },
- "creator_id": {
- "type": "string"
- },
- "creator": {
- "$ref": "#/definitions/User"
- },
- "created_at": {
- "type": "string",
- "format": "date-time"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time"
- },
- "source_guild_id": {
- "type": "string"
- },
- "source_guild": {
- "$ref": "#/definitions/Guild"
- },
- "serialized_source_guild": {
- "$ref": "#/definitions/Guild"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "created_at",
- "creator",
- "creator_id",
- "id",
- "name",
- "serialized_source_guild",
- "source_guild",
- "source_guild_id",
- "updated_at"
- ]
- },
- "Emoji": {
- "type": "object",
- "properties": {
- "animated": {
- "type": "boolean"
- },
- "available": {
- "type": "boolean"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "managed": {
- "type": "boolean"
- },
- "name": {
- "type": "string"
- },
- "require_colons": {
- "type": "boolean"
- },
- "roles": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "groups": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "animated",
- "available",
- "groups",
- "guild",
- "guild_id",
- "id",
- "managed",
- "name",
- "require_colons",
- "roles",
- "user",
- "user_id"
- ]
- },
- "GuildWelcomeScreen": {
- "type": "object",
- "properties": {
- "enabled": {
- "type": "boolean"
- },
- "description": {
- "type": "string"
- },
- "welcome_channels": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "description": {
- "type": "string"
- },
- "emoji_id": {
- "type": "string"
- },
- "emoji_name": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel_id",
- "description"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "description",
- "enabled",
- "welcome_channels"
- ]
- },
- "GuildMessagesSearchMessage": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/MessageType"
- },
- "content": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- },
- "author": {
- "$ref": "#/definitions/PublicUser"
- },
- "attachments": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Attachment"
- }
- },
- "embeds": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Embed"
- }
- },
- "mentions": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PublicUser"
- }
- },
- "mention_roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
- },
- "pinned": {
- "type": "boolean"
- },
- "mention_everyone": {
- "type": "boolean"
- },
- "tts": {
- "type": "boolean"
- },
- "timestamp": {
- "type": "string"
- },
- "edited_timestamp": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "components": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ActionRowComponent"
- }
- },
- "poll": {
- "$ref": "#/definitions/Poll"
- },
- "hit": {
- "type": "boolean",
- "enum": [
- true
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "attachments",
- "author",
- "channel_id",
- "components",
- "edited_timestamp",
- "embeds",
- "flags",
- "hit",
- "id",
- "mention_roles",
- "mentions",
- "pinned",
- "poll",
- "timestamp",
- "tts",
- "type"
- ]
- },
- "PublicUser": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "premium_since": {
- "type": "string",
- "format": "date-time"
- },
- "avatar": {
- "type": "string"
- },
- "username": {
- "type": "string"
- },
- "discriminator": {
- "type": "string"
- },
- "public_flags": {
- "type": "integer"
- },
- "accent_color": {
- "type": "integer"
- },
- "banner": {
- "type": "string"
- },
- "bio": {
- "type": "string"
- },
- "bot": {
- "type": "boolean"
- },
- "premium_type": {
- "type": "integer"
- },
- "theme_colors": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "pronouns": {
- "type": "string"
- },
- "badge_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "bio",
- "bot",
- "discriminator",
- "id",
- "premium_since",
- "premium_type",
- "public_flags",
- "username"
- ]
- },
- "GuildVanityUrl": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "uses": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "uses"
- ]
- },
- "GuildVanityUrlNoInvite": {
- "type": "object",
- "properties": {
- "code": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "code"
- ]
- },
- "Snowflake": {
- "description": "A container for useful snowflake-related methods.",
- "type": "object",
- "additionalProperties": false
- },
- "TenorGifResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "src": {
- "type": "string"
- },
- "gif_src": {
- "type": "string"
- },
- "width": {
- "type": "integer"
- },
- "height": {
- "type": "integer"
- },
- "preview": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "gif_src",
- "height",
- "id",
- "preview",
- "src",
- "title",
- "url",
- "width"
- ]
- },
- "BackupCode": {
- "type": "object",
- "properties": {
- "user": {
- "$ref": "#/definitions/User"
- },
- "code": {
- "type": "string"
- },
- "consumed": {
- "type": "boolean"
- },
- "expired": {
- "type": "boolean"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "consumed",
- "expired",
- "id",
- "user"
- ]
- },
- "APIGuild": {
- "type": "object",
- "properties": {
- "reload": {
- "description": "Reloads entity data from the database.",
- "type": "object",
- "additionalProperties": false
- },
- "name": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "parent": {
- "type": "string"
- },
- "owner_id": {
- "type": "string"
- },
- "nsfw": {
- "type": "boolean"
- },
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
- "toJSON": {
- "type": "object",
- "additionalProperties": false
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
- },
- "assign": {
- "type": "object",
- "additionalProperties": false
- },
- "hasId": {
- "description": "Checks if entity has an id.\nIf entity composite compose ids, it will check them all.",
- "type": "object",
- "additionalProperties": false
- },
- "save": {
- "description": "Saves current entity in the database.\nIf entity does not exist in the database then inserts, otherwise updates.",
- "type": "object",
- "additionalProperties": false
- },
- "remove": {
- "description": "Removes current entity from the database.",
- "type": "object",
- "additionalProperties": false
- },
- "softRemove": {
- "description": "Records the delete date of current entity.",
- "type": "object",
- "additionalProperties": false
- },
- "recover": {
- "description": "Recovers a given entity in the database.",
- "type": "object",
- "additionalProperties": false
- },
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
- },
- "banner": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "unavailable": {
- "type": "boolean"
- },
- "channels": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Channel"
- }
- },
- "region": {
- "type": "string"
- },
- "system_channel_id": {
- "type": "string"
- },
- "rules_channel_id": {
- "type": "string"
- },
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
- },
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
- "type": "string"
- },
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "primary_category_id": {
- "type": "string"
- },
- "large": {
- "type": "boolean"
- },
- "max_members": {
- "type": "integer"
- },
- "max_presences": {
- "type": "integer"
- },
- "max_video_channel_users": {
- "type": "integer"
- },
- "member_count": {
- "type": "integer"
- },
- "presence_count": {
- "type": "integer"
- },
- "members": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Member"
- }
- },
- "template_id": {
- "type": "string"
- },
- "emojis": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Emoji"
- }
- },
- "stickers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Sticker"
- }
- },
- "mfa_level": {
- "type": "integer"
- },
- "preferred_locale": {
- "type": "string"
- },
- "premium_subscription_count": {
- "type": "integer"
- },
- "premium_tier": {
- "type": "integer"
- },
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
- "welcome_screen": {
- "$ref": "#/definitions/GuildWelcomeScreen"
- },
- "widget_channel_id": {
- "type": "string"
- },
- "widget_enabled": {
- "type": "boolean"
- },
- "nsfw_level": {
- "type": "integer"
- },
- "permissions": {
- "type": "integer"
- },
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
- "channel_ordering": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "_do_validate",
- "assign",
- "bans",
- "channel_ordering",
- "channels",
- "emojis",
- "features",
- "hasId",
- "id",
- "invites",
- "members",
- "name",
- "nsfw",
- "premium_progress_bar_enabled",
- "public_updates_channel_id",
- "recover",
- "reload",
- "remove",
- "roles",
- "save",
- "softRemove",
- "stickers",
- "toJSON",
- "unavailable",
- "voice_states",
- "webhooks",
- "welcome_screen",
- "widget_enabled"
- ]
- },
- "DmChannelDTO": {
- "type": "object",
- "properties": {
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "id": {
- "type": "string"
- },
- "last_message_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "name": {
- "type": [
- "null",
- "string"
- ]
- },
- "origin_channel_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "owner_id": {
- "type": "string"
- },
- "recipients": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/MinimalPublicUserDTO"
- }
- },
- "type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "icon",
- "id",
- "last_message_id",
- "name",
- "origin_channel_id",
- "recipients",
- "type"
- ]
- },
- "MinimalPublicUserDTO": {
- "type": "object",
- "properties": {
- "avatar": {
- "type": [
- "null",
- "string"
- ]
- },
- "discriminator": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "public_flags": {
- "type": "integer"
- },
- "username": {
- "type": "string"
- },
- "badge_ids": {
- "anyOf": [
- {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "discriminator",
- "id",
- "public_flags",
- "username"
- ]
- },
- "Categories": {
- "type": "object",
- "properties": {
- "id": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- },
- "localizations": {
- "type": "string"
- },
- "is_primary": {
- "type": "boolean"
- },
- "icon": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "is_primary",
- "localizations",
- "name"
- ]
- },
- "GuildVoiceRegion": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "custom": {
- "type": "boolean"
- },
- "deprecated": {
- "type": "boolean"
- },
- "optimal": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom",
- "deprecated",
- "id",
- "name",
- "optimal"
- ]
- },
- "UserLimits": {
- "type": "object",
- "properties": {
- "maxGuilds": {
- "type": "integer",
- "default": 1048576
- },
- "maxUsername": {
- "type": "integer",
- "default": 32
- },
- "maxFriends": {
- "type": "integer",
- "default": 5000
- },
- "maxBio": {
- "type": "integer",
- "default": 190
- }
- },
- "additionalProperties": false,
- "required": [
- "maxBio",
- "maxFriends",
- "maxGuilds",
- "maxUsername"
- ]
- },
- "GuildLimits": {
- "type": "object",
- "properties": {
- "maxRoles": {
- "type": "integer",
- "default": 1000
- },
- "maxEmojis": {
- "type": "integer",
- "default": 2000
- },
- "maxMembers": {
- "type": "integer",
- "default": 25000000
- },
- "maxChannels": {
- "type": "integer",
- "default": 65535
- },
- "maxBulkBanUsers": {
- "type": "integer",
- "default": 200
- },
- "maxChannelsInCategory": {
- "type": "integer",
- "default": 65535
- }
- },
- "additionalProperties": false,
- "required": [
- "maxBulkBanUsers",
- "maxChannels",
- "maxChannelsInCategory",
- "maxEmojis",
- "maxMembers",
- "maxRoles"
- ]
- },
- "MessageLimits": {
- "type": "object",
- "properties": {
- "maxCharacters": {
- "type": "integer",
- "default": 1048576
- },
- "maxTTSCharacters": {
- "type": "integer",
- "default": 160
- },
- "maxReactions": {
- "type": "integer",
- "default": 2048
- },
- "maxAttachmentSize": {
- "type": "integer",
- "default": 1073741824
- },
- "maxBulkDelete": {
- "type": "integer",
- "default": 1000
- },
- "maxEmbedDownloadSize": {
- "type": "integer",
- "default": 5242880
- }
- },
- "additionalProperties": false,
- "required": [
- "maxAttachmentSize",
- "maxBulkDelete",
- "maxCharacters",
- "maxEmbedDownloadSize",
- "maxReactions",
- "maxTTSCharacters"
- ]
- },
- "ChannelLimits": {
- "type": "object",
- "properties": {
- "maxPins": {
- "type": "integer",
- "default": 500
- },
- "maxTopic": {
- "type": "integer",
- "default": 1024
- },
- "maxWebhooks": {
- "type": "integer",
- "default": 100
- }
- },
- "additionalProperties": false,
- "required": [
- "maxPins",
- "maxTopic",
- "maxWebhooks"
- ]
- },
- "RateLimits": {
- "type": "object",
- "properties": {
- "enabled": {
- "type": "boolean",
- "default": false
- },
- "ip": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "global": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "error": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "routes": {
- "$ref": "#/definitions/RouteRateLimit"
- }
- },
- "additionalProperties": false,
- "required": [
- "enabled",
- "error",
- "global",
- "ip",
- "routes"
- ]
- },
- "RateLimitOptions": {
- "type": "object",
- "properties": {
- "bot": {
- "type": "integer"
- },
- "count": {
- "type": "integer"
- },
- "window": {
- "type": "integer"
- },
- "onyIp": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "count",
- "window"
- ]
- },
- "RouteRateLimit": {
- "type": "object",
- "properties": {
- "guild": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "webhook": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "channel": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "auth": {}
- },
- "additionalProperties": false,
- "required": [
- "auth",
- "channel",
- "guild",
- "webhook"
- ]
- },
- "GlobalRateLimits": {
- "type": "object",
- "properties": {
- "register": {
- "$ref": "#/definitions/GlobalRateLimit"
- },
- "sendMessage": {
- "$ref": "#/definitions/GlobalRateLimit"
- }
- },
- "additionalProperties": false,
- "required": [
- "register",
- "sendMessage"
- ]
- },
- "GlobalRateLimit": {
- "type": "object",
- "properties": {
- "limit": {
- "type": "integer",
- "default": 100
- },
- "window": {
- "type": "integer",
- "default": 3600000
- },
- "enabled": {
- "type": "boolean",
- "default": true
- }
- },
- "additionalProperties": false,
- "required": [
- "enabled",
- "limit",
- "window"
- ]
- },
- "PublicConnectedAccount": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "type": {
- "type": "string"
- },
- "verified": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "name",
- "type"
- ]
- },
- "UserProfile": {
- "type": "object",
- "properties": {
- "accent_color": {
- "type": "integer"
- },
- "banner": {
- "type": "string"
- },
- "bio": {
- "type": "string"
- },
- "theme_colors": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "pronouns": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "bio"
- ]
- },
- "Badge": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "link": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "description",
- "icon",
- "id"
- ]
- },
- "TokenResponse": {
- "type": "object",
- "properties": {
- "token": {
- "type": "string"
- },
- "settings": {
- "$ref": "#/definitions/UserSettings"
- }
- },
- "additionalProperties": false,
- "required": [
- "settings",
- "token"
- ]
- },
- "MFAResponse": {
- "type": "object",
- "properties": {
- "ticket": {
- "type": "string"
- },
- "mfa": {
- "type": "boolean",
- "enum": [
- true
- ]
- },
- "sms": {
- "type": "boolean",
- "enum": [
- false
- ]
- },
- "token": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "mfa",
- "sms",
- "ticket",
- "token"
- ]
- },
- "WebAuthnResponse": {
- "type": "object",
- "properties": {
- "webauthn": {
- "type": "string"
- },
- "ticket": {
- "type": "string"
- },
- "mfa": {
- "type": "boolean",
- "enum": [
- true
- ]
- },
- "sms": {
- "type": "boolean",
- "enum": [
- false
- ]
- },
- "token": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "mfa",
- "sms",
- "ticket",
- "token",
- "webauthn"
- ]
- }
- },
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
"ConnectedAccountCommonOAuthTokenResponse": {
"type": "object",
"properties": {
@@ -9783,9543 +57,6 @@
"scope",
"token_type"
],
- "definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
- "ChannelPermissionOverwriteType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "ConnectedAccountTokenData": {
- "type": "object",
- "properties": {
- "access_token": {
- "type": "string"
- },
- "token_type": {
- "type": "string"
- },
- "scope": {
- "type": "string"
- },
- "refresh_token": {
- "type": "string"
- },
- "expires_in": {
- "type": "integer"
- },
- "expires_at": {
- "type": "integer"
- },
- "fetched_at": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "access_token",
- "fetched_at"
- ]
- },
- "ChannelModifySchema": {
- "type": "object",
- "properties": {
- "name": {
- "maxLength": 100,
- "type": "string"
- },
- "type": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 2,
- 255,
- 3,
- 33,
- 34,
- 35,
- 4,
- 5,
- 6,
- 64,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "topic": {
- "type": "string"
- },
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "bitrate": {
- "type": "integer"
- },
- "user_limit": {
- "type": "integer"
- },
- "rate_limit_per_user": {
- "type": "integer"
- },
- "position": {
- "type": "integer"
- },
- "permission_overwrites": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/ChannelPermissionOverwriteType"
- },
- "allow": {
- "type": "string"
- },
- "deny": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "allow",
- "deny",
- "id",
- "type"
- ]
- }
- },
- "parent_id": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "nsfw": {
- "type": "boolean"
- },
- "rtc_region": {
- "type": "string"
- },
- "default_auto_archive_duration": {
- "type": "integer"
- },
- "default_reaction_emoji": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "default_thread_rate_limit_per_user": {
- "type": "integer"
- },
- "video_quality_mode": {
- "type": "integer"
- }
- },
- "additionalProperties": false
- },
- "ActivitySchema": {
- "type": "object",
- "properties": {
- "afk": {
- "type": "boolean"
- },
- "status": {
- "$ref": "#/definitions/Status"
- },
- "activities": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Activity"
- }
- },
- "since": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "status"
- ]
- },
- "Status": {
- "enum": [
- "dnd",
- "idle",
- "invisible",
- "offline",
- "online"
- ],
- "type": "string"
- },
- "Activity": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/ActivityType"
- },
- "url": {
- "type": "string"
- },
- "created_at": {
- "type": "integer"
- },
- "timestamps": {
- "type": "object",
- "properties": {
- "start": {
- "type": "integer"
- },
- "end": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "end",
- "start"
- ]
- },
- "application_id": {
- "type": "string"
- },
- "details": {
- "type": "string"
- },
- "state": {
- "type": "string"
- },
- "emoji": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "animated": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "animated",
- "name"
- ]
- },
- "party": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "size": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- }
- },
- "additionalProperties": false
- },
- "assets": {
- "type": "object",
- "properties": {
- "large_image": {
- "type": "string"
- },
- "large_text": {
- "type": "string"
- },
- "small_image": {
- "type": "string"
- },
- "small_text": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "secrets": {
- "type": "object",
- "properties": {
- "join": {
- "type": "string"
- },
- "spectate": {
- "type": "string"
- },
- "match": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "instance": {
- "type": "boolean"
- },
- "flags": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "sync_id": {
- "type": "string"
- },
- "metadata": {
- "type": "object",
- "properties": {
- "context_uri": {
- "type": "string"
- },
- "album_id": {
- "type": "string"
- },
- "artist_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "album_id",
- "artist_ids"
- ]
- },
- "session_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "flags",
- "name",
- "session_id",
- "type"
- ]
- },
- "ActivityType": {
- "enum": [
- 0,
- 1,
- 2,
- 4,
- 5
- ],
- "type": "number"
- },
- "Embed": {
- "type": "object",
- "properties": {
- "title": {
- "type": "string"
- },
- "type": {
- "enum": [
- "article",
- "gifv",
- "image",
- "link",
- "rich",
- "video"
- ],
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "color": {
- "type": "integer"
- },
- "footer": {
- "type": "object",
- "properties": {
- "text": {
- "type": "string"
- },
- "icon_url": {
- "type": "string"
- },
- "proxy_icon_url": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "text"
- ]
- },
- "image": {
- "$ref": "#/definitions/EmbedImage"
- },
- "thumbnail": {
- "$ref": "#/definitions/EmbedImage"
- },
- "video": {
- "$ref": "#/definitions/EmbedImage"
- },
- "provider": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "url": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "author": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "icon_url": {
- "type": "string"
- },
- "proxy_icon_url": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "fields": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "value": {
- "type": "string"
- },
- "inline": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "name",
- "value"
- ]
- }
- }
- },
- "additionalProperties": false
- },
- "EmbedImage": {
- "type": "object",
- "properties": {
- "url": {
- "type": "string"
- },
- "proxy_url": {
- "type": "string"
- },
- "height": {
- "type": "integer"
- },
- "width": {
- "type": "integer"
- }
- },
- "additionalProperties": false
- },
- "ActionRowComponent": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/definitions/MessageComponentType.ActionRow"
- },
- "components": {
- "type": "array",
- "items": {
- "anyOf": [
- {
- "$ref": "#/definitions/ButtonComponent"
- },
- {
- "$ref": "#/definitions/SelectMenuComponent"
- },
- {
- "$ref": "#/definitions/StringSelectMenuComponent"
- },
- {
- "$ref": "#/definitions/TextInputComponent"
- }
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "components",
- "type"
- ]
- },
- "MessageComponentType.ActionRow": {
- "type": "number",
- "enum": [
- 1
- ]
- },
- "ButtonComponent": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/definitions/MessageComponentType.Button"
- },
- "style": {
- "$ref": "#/definitions/ButtonStyle"
- },
- "label": {
- "type": "string"
- },
- "emoji": {
- "$ref": "#/definitions/PartialEmoji"
- },
- "custom_id": {
- "type": "string"
- },
- "sku_id": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "disabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "style",
- "type"
- ]
- },
- "MessageComponentType.Button": {
- "type": "number",
- "enum": [
- 2
- ]
- },
- "ButtonStyle": {
- "enum": [
- 1,
- 2,
- 3,
- 4,
- 5,
- 6
- ],
- "type": "number"
- },
- "PartialEmoji": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "animated": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "name"
- ]
- },
- "SelectMenuComponent": {
- "type": "object",
- "properties": {
- "type": {
- "enum": [
- 3,
- 5,
- 6,
- 7,
- 8
- ],
- "type": "number"
- },
- "custom_id": {
- "type": "string"
- },
- "channel_types": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "placeholder": {
- "type": "string"
- },
- "default_values": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SelectMenuDefaultOption"
- }
- },
- "min_values": {
- "type": "integer"
- },
- "max_values": {
- "type": "integer"
- },
- "disabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom_id",
- "type"
- ]
- },
- "SelectMenuDefaultOption": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {
- "enum": [
- "channel",
- "role",
- "user"
- ],
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "type"
- ]
- },
- "StringSelectMenuComponent": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/definitions/MessageComponentType.StringSelect"
- },
- "options": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SelectMenuOption"
- }
- },
- "custom_id": {
- "type": "string"
- },
- "channel_types": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "placeholder": {
- "type": "string"
- },
- "default_values": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SelectMenuDefaultOption"
- }
- },
- "min_values": {
- "type": "integer"
- },
- "max_values": {
- "type": "integer"
- },
- "disabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom_id",
- "options",
- "type"
- ]
- },
- "MessageComponentType.StringSelect": {
- "type": "number",
- "enum": [
- 3
- ]
- },
- "SelectMenuOption": {
- "type": "object",
- "properties": {
- "label": {
- "type": "string"
- },
- "value": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "emoji": {
- "$ref": "#/definitions/PartialEmoji"
- },
- "default": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "label",
- "value"
- ]
- },
- "TextInputComponent": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/definitions/MessageComponentType.TextInput"
- },
- "custom_id": {
- "type": "string"
- },
- "style": {
- "$ref": "#/definitions/TextInputStyle"
- },
- "label": {
- "type": "string"
- },
- "min_length": {
- "type": "integer"
- },
- "max_length": {
- "type": "integer"
- },
- "required": {
- "type": "boolean"
- },
- "value": {
- "type": "string"
- },
- "placeholder": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom_id",
- "label",
- "style",
- "type"
- ]
- },
- "MessageComponentType.TextInput": {
- "type": "number",
- "enum": [
- 4
- ]
- },
- "TextInputStyle": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
- },
- "PollCreationSchema": {
- "type": "object",
- "properties": {
- "question": {
- "$ref": "#/definitions/PollMedia"
- },
- "answers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PollAnswer"
- }
- },
- "duration": {
- "type": "integer"
- },
- "allow_multiselect": {
- "type": "boolean"
- },
- "layout_type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "answers",
- "question"
- ]
- },
- "PollMedia": {
- "type": "object",
- "properties": {
- "text": {
- "type": "string"
- },
- "emoji": {
- "$ref": "#/definitions/PartialEmoji"
- }
- },
- "additionalProperties": false
- },
- "PollAnswer": {
- "type": "object",
- "properties": {
- "answer_id": {
- "type": "string"
- },
- "poll_media": {
- "$ref": "#/definitions/PollMedia"
- }
- },
- "additionalProperties": false,
- "required": [
- "poll_media"
- ]
- },
- "ChannelOverride": {
- "type": "object",
- "properties": {
- "message_notifications": {
- "type": "integer"
- },
- "mute_config": {
- "$ref": "#/definitions/MuteConfig"
- },
- "muted": {
- "type": "boolean"
- },
- "channel_id": {
- "type": [
- "null",
- "string"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "channel_id",
- "message_notifications",
- "mute_config",
- "muted"
- ]
- },
- "MuteConfig": {
- "type": "object",
- "properties": {
- "end_time": {
- "type": "integer"
- },
- "selected_time_window": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "end_time",
- "selected_time_window"
- ]
- },
- "CustomStatus": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": "string"
- },
- "emoji_name": {
- "type": "string"
- },
- "expires_at": {
- "type": "integer"
- },
- "text": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "FriendSourceFlags": {
- "type": "object",
- "properties": {
- "all": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "all"
- ]
- },
- "GuildFolder": {
- "type": "object",
- "properties": {
- "color": {
- "type": "integer"
- },
- "guild_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "color",
- "guild_ids",
- "id",
- "name"
- ]
- },
- "GenerateWebAuthnCredentialsSchema": {
- "type": "object",
- "properties": {
- "password": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "password"
- ]
- },
- "CreateWebAuthnCredentialSchema": {
- "type": "object",
- "properties": {
- "credential": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "ticket": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "credential",
- "name",
- "ticket"
- ]
- },
- "APIErrorResponse": {
- "type": "object",
- "properties": {
- "code": {
- "type": "integer"
- },
- "message": {
- "type": "string"
- },
- "errors": {
- "type": "object",
- "additionalProperties": {
- "type": "object",
- "properties": {
- "_errors": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "message": {
- "type": "string"
- },
- "code": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "message"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "_errors"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "errors",
- "message"
- ]
- },
- "CaptchaRequiredResponse": {
- "type": "object",
- "properties": {
- "captcha_key": {
- "type": "string"
- },
- "captcha_sitekey": {
- "type": "string"
- },
- "captcha_service": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "captcha_key",
- "captcha_service",
- "captcha_sitekey"
- ]
- },
- "Guild": {
- "type": "object",
- "properties": {
- "afk_channel_id": {
- "type": "string"
- },
- "afk_channel": {
- "$ref": "#/definitions/Channel"
- },
- "afk_timeout": {
- "type": "integer"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "banner": {
- "type": "string"
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "description": {
- "type": "string"
- },
- "discovery_splash": {
- "type": "string"
- },
- "explicit_content_filter": {
- "type": "integer"
- },
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "primary_category_id": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "large": {
- "type": "boolean",
- "default": false
- },
- "max_members": {
- "type": "integer"
- },
- "max_presences": {
- "type": "integer"
- },
- "max_video_channel_users": {
- "type": "integer"
- },
- "member_count": {
- "type": "integer"
- },
- "presence_count": {
- "type": "integer"
- },
- "members": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Member"
- }
- },
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
- },
- "channels": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Channel"
- }
- },
- "template_id": {
- "type": "string"
- },
- "template": {
- "$ref": "#/definitions/Template"
- },
- "emojis": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Emoji"
- }
- },
- "stickers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Sticker"
- }
- },
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
- "mfa_level": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- },
- "owner_id": {
- "type": "string"
- },
- "owner": {
- "$ref": "#/definitions/User"
- },
- "preferred_locale": {
- "type": "string"
- },
- "premium_subscription_count": {
- "type": "integer"
- },
- "premium_tier": {
- "type": "integer"
- },
- "public_updates_channel_id": {
- "type": "string"
- },
- "public_updates_channel": {
- "$ref": "#/definitions/Channel"
- },
- "rules_channel_id": {
- "type": "string"
- },
- "rules_channel": {
- "type": "string"
- },
- "region": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_id": {
- "type": "string"
- },
- "system_channel": {
- "$ref": "#/definitions/Channel"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "unavailable": {
- "type": "boolean",
- "default": false
- },
- "verification_level": {
- "type": "integer"
- },
- "welcome_screen": {
- "$ref": "#/definitions/GuildWelcomeScreen"
- },
- "widget_channel_id": {
- "type": "string"
- },
- "widget_channel": {
- "$ref": "#/definitions/Channel"
- },
- "widget_enabled": {
- "type": "boolean",
- "default": true
- },
- "nsfw_level": {
- "type": "integer"
- },
- "nsfw": {
- "type": "boolean",
- "default": false
- },
- "parent": {
- "type": "string"
- },
- "permissions": {
- "type": "integer"
- },
- "premium_progress_bar_enabled": {
- "type": "boolean",
- "default": false
- },
- "channel_ordering": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "bans",
- "channel_ordering",
- "channels",
- "emojis",
- "features",
- "id",
- "invites",
- "members",
- "name",
- "nsfw",
- "premium_progress_bar_enabled",
- "public_updates_channel_id",
- "roles",
- "stickers",
- "template",
- "unavailable",
- "voice_states",
- "webhooks",
- "welcome_screen",
- "widget_enabled"
- ]
- },
- "Channel": {
- "type": "object",
- "properties": {
- "created_at": {
- "type": "string",
- "format": "date-time"
- },
- "name": {
- "type": "string"
- },
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "type": {
- "$ref": "#/definitions/ChannelType"
- },
- "recipients": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Recipient"
- }
- },
- "last_message_id": {
- "type": "string"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "parent_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "parent": {
- "$ref": "#/definitions/Channel"
- },
- "owner_id": {
- "type": "string"
- },
- "owner": {
- "$ref": "#/definitions/User"
- },
- "last_pin_timestamp": {
- "type": "integer"
- },
- "default_auto_archive_duration": {
- "type": "integer"
- },
- "permission_overwrites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ChannelPermissionOverwrite"
- }
- },
- "video_quality_mode": {
- "type": "integer"
- },
- "bitrate": {
- "type": "integer"
- },
- "user_limit": {
- "type": "integer"
- },
- "nsfw": {
- "type": "boolean",
- "default": false
- },
- "rate_limit_per_user": {
- "type": "integer"
- },
- "topic": {
- "type": "string"
- },
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "retention_policy_id": {
- "type": "string"
- },
- "messages": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Message"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "read_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ReadState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
- "flags": {
- "type": "integer",
- "default": 0
- },
- "default_thread_rate_limit_per_user": {
- "type": "integer",
- "default": 0
- },
- "position": {
- "description": "Must be calculated Channel.calculatePosition",
- "type": "integer"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "created_at",
- "default_thread_rate_limit_per_user",
- "flags",
- "id",
- "nsfw",
- "owner",
- "parent_id",
- "position",
- "type"
- ]
- },
- "ChannelType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 2,
- 255,
- 3,
- 33,
- 34,
- 35,
- 4,
- 5,
- 6,
- 64,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "Recipient": {
- "type": "object",
- "properties": {
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "closed": {
- "type": "boolean"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel",
- "channel_id",
- "closed",
- "id",
- "user",
- "user_id"
- ]
- },
- "User": {
- "type": "object",
- "properties": {
- "username": {
- "type": "string"
- },
- "discriminator": {
- "type": "string"
- },
- "avatar": {
- "type": "string"
- },
- "accent_color": {
- "type": "integer"
- },
- "banner": {
- "type": "string"
- },
- "theme_colors": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "pronouns": {
- "type": "string"
- },
- "phone": {
- "type": "string"
- },
- "desktop": {
- "type": "boolean",
- "default": false
- },
- "mobile": {
- "type": "boolean",
- "default": false
- },
- "premium": {
- "type": "boolean"
- },
- "premium_type": {
- "type": "integer"
- },
- "bot": {
- "type": "boolean",
- "default": false
- },
- "bio": {
- "type": "string",
- "default": ""
- },
- "system": {
- "type": "boolean",
- "default": false
- },
- "nsfw_allowed": {
- "type": "boolean",
- "default": true
- },
- "mfa_enabled": {
- "type": "boolean",
- "default": false
- },
- "webauthn_enabled": {
- "type": "boolean",
- "default": false
- },
- "totp_secret": {
- "type": "string",
- "default": ""
- },
- "totp_last_ticket": {
- "type": "string",
- "default": ""
- },
- "created_at": {
- "type": "string",
- "format": "date-time"
- },
- "premium_since": {
- "type": "string",
- "format": "date-time"
- },
- "verified": {
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean",
- "default": false
- },
- "deleted": {
- "type": "boolean",
- "default": false
- },
- "email": {
- "type": "string"
- },
- "flags": {
- "type": "integer",
- "default": 0
- },
- "public_flags": {
- "type": "integer",
- "default": 0
- },
- "purchased_flags": {
- "type": "integer",
- "default": 0
- },
- "premium_usage_flags": {
- "type": "integer",
- "default": 0
- },
- "rights": {
- "type": "string"
- },
- "sessions": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Session"
- }
- },
- "relationships": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Relationship"
- }
- },
- "connected_accounts": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ConnectedAccount"
- }
- },
- "data": {
- "type": "object",
- "properties": {
- "valid_tokens_since": {
- "type": "string",
- "format": "date-time"
- },
- "hash": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "valid_tokens_since"
- ]
- },
- "fingerprints": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "settings": {
- "$ref": "#/definitions/UserSettings"
- },
- "extended_settings": {
- "type": "string",
- "default": "{}"
- },
- "security_keys": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SecurityKey"
- }
- },
- "badge_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "bio",
- "bot",
- "connected_accounts",
- "created_at",
- "data",
- "deleted",
- "desktop",
- "disabled",
- "discriminator",
- "extended_settings",
- "fingerprints",
- "flags",
- "id",
- "mfa_enabled",
- "mobile",
- "nsfw_allowed",
- "premium",
- "premium_since",
- "premium_type",
- "premium_usage_flags",
- "public_flags",
- "purchased_flags",
- "relationships",
- "rights",
- "security_keys",
- "sessions",
- "settings",
- "system",
- "username",
- "verified",
- "webauthn_enabled"
- ]
- },
- "Session": {
- "type": "object",
- "properties": {
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "session_id": {
- "type": "string"
- },
- "activities": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Activity"
- }
- },
- "client_info": {
- "type": "object",
- "properties": {
- "client": {
- "type": "string"
- },
- "os": {
- "type": "string"
- },
- "version": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "client",
- "os",
- "version"
- ]
- },
- "client_status": {
- "$ref": "#/definitions/ClientStatus"
- },
- "status": {
- "$ref": "#/definitions/Status"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "activities",
- "client_info",
- "client_status",
- "id",
- "session_id",
- "status",
- "user",
- "user_id"
- ]
- },
- "ClientStatus": {
- "type": "object",
- "properties": {
- "desktop": {
- "type": "string"
- },
- "mobile": {
- "type": "string"
- },
- "web": {
- "type": "string"
- },
- "embedded": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "Relationship": {
- "type": "object",
- "properties": {
- "from_id": {
- "type": "string"
- },
- "from": {
- "$ref": "#/definitions/User"
- },
- "to_id": {
- "type": "string"
- },
- "to": {
- "$ref": "#/definitions/User"
- },
- "nickname": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/RelationshipType"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "from",
- "from_id",
- "id",
- "to",
- "to_id",
- "type"
- ]
- },
- "RelationshipType": {
- "enum": [
- 1,
- 2,
- 3,
- 4
- ],
- "type": "number"
- },
- "ConnectedAccount": {
- "type": "object",
- "properties": {
- "external_id": {
- "type": "string"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "friend_sync": {
- "type": "boolean",
- "default": false
- },
- "name": {
- "type": "string"
- },
- "revoked": {
- "type": "boolean",
- "default": false
- },
- "show_activity": {
- "type": "integer",
- "default": 0
- },
- "type": {
- "type": "string"
- },
- "verified": {
- "type": "boolean",
- "default": true
- },
- "visibility": {
- "type": "integer",
- "default": 0
- },
- "integrations": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "metadata_": {},
- "metadata_visibility": {
- "type": "integer",
- "default": 0
- },
- "two_way_link": {
- "type": "boolean",
- "default": false
- },
- "token_data": {
- "anyOf": [
- {
- "$ref": "#/definitions/ConnectedAccountTokenData"
- },
- {
- "type": "null"
- }
- ]
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "external_id",
- "id",
- "name",
- "type",
- "user",
- "user_id"
- ]
- },
- "UserSettings": {
- "type": "object",
- "properties": {
- "index": {
- "type": "string"
- },
- "afk_timeout": {
- "type": "integer",
- "default": 3600
- },
- "allow_accessibility_detection": {
- "type": "boolean",
- "default": true
- },
- "animate_emoji": {
- "type": "boolean",
- "default": true
- },
- "animate_stickers": {
- "type": "integer",
- "default": 0
- },
- "contact_sync_enabled": {
- "type": "boolean",
- "default": false
- },
- "convert_emoticons": {
- "type": "boolean",
- "default": false
- },
- "custom_status": {
- "anyOf": [
- {
- "$ref": "#/definitions/CustomStatus"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "default_guilds_restricted": {
- "type": "boolean",
- "default": false
- },
- "detect_platform_accounts": {
- "type": "boolean",
- "default": false
- },
- "developer_mode": {
- "type": "boolean",
- "default": true
- },
- "disable_games_tab": {
- "type": "boolean",
- "default": true
- },
- "enable_tts_command": {
- "type": "boolean",
- "default": false
- },
- "explicit_content_filter": {
- "type": "integer",
- "default": 0
- },
- "friend_discovery_flags": {
- "type": "integer",
- "default": 0
- },
- "friend_source_flags": {
- "$ref": "#/definitions/FriendSourceFlags"
- },
- "gateway_connected": {
- "type": "boolean",
- "default": false
- },
- "gif_auto_play": {
- "type": "boolean",
- "default": false
- },
- "guild_folders": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/GuildFolder"
- },
- "default": []
- },
- "guild_positions": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "inline_attachment_media": {
- "type": "boolean",
- "default": true
- },
- "inline_embed_media": {
- "type": "boolean",
- "default": true
- },
- "locale": {
- "type": "string",
- "default": "en-US"
- },
- "message_display_compact": {
- "type": "boolean",
- "default": false
- },
- "native_phone_integration_enabled": {
- "type": "boolean",
- "default": true
- },
- "render_embeds": {
- "type": "boolean",
- "default": true
- },
- "render_reactions": {
- "type": "boolean",
- "default": true
- },
- "restricted_guilds": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "show_current_game": {
- "type": "boolean",
- "default": true
- },
- "status": {
- "enum": [
- "dnd",
- "idle",
- "invisible",
- "offline",
- "online"
- ],
- "type": "string",
- "default": "online"
- },
- "stream_notifications_enabled": {
- "type": "boolean",
- "default": false
- },
- "theme": {
- "enum": [
- "dark",
- "light"
- ],
- "type": "string",
- "default": "dark"
- },
- "timezone_offset": {
- "type": "integer",
- "default": 0
- },
- "view_nsfw_guilds": {
- "type": "boolean",
- "default": true
- }
- },
- "additionalProperties": false,
- "required": [
- "afk_timeout",
- "allow_accessibility_detection",
- "animate_emoji",
- "animate_stickers",
- "contact_sync_enabled",
- "convert_emoticons",
- "custom_status",
- "default_guilds_restricted",
- "detect_platform_accounts",
- "developer_mode",
- "disable_games_tab",
- "enable_tts_command",
- "explicit_content_filter",
- "friend_discovery_flags",
- "friend_source_flags",
- "gateway_connected",
- "gif_auto_play",
- "guild_folders",
- "guild_positions",
- "index",
- "inline_attachment_media",
- "inline_embed_media",
- "locale",
- "message_display_compact",
- "native_phone_integration_enabled",
- "render_embeds",
- "render_reactions",
- "restricted_guilds",
- "show_current_game",
- "status",
- "stream_notifications_enabled",
- "theme",
- "timezone_offset",
- "view_nsfw_guilds"
- ]
- },
- "SecurityKey": {
- "type": "object",
- "properties": {
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "key_id": {
- "type": "string"
- },
- "public_key": {
- "type": "string"
- },
- "counter": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "counter",
- "id",
- "key_id",
- "name",
- "public_key",
- "user",
- "user_id"
- ]
- },
- "ChannelPermissionOverwrite": {
- "type": "object",
- "properties": {
- "allow": {
- "type": "string"
- },
- "deny": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/ChannelPermissionOverwriteType"
- }
- },
- "additionalProperties": false,
- "required": [
- "allow",
- "deny",
- "id",
- "type"
- ]
- },
- "Invite": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "temporary": {
- "type": "boolean"
- },
- "uses": {
- "type": "integer"
- },
- "max_uses": {
- "type": "integer"
- },
- "max_age": {
- "type": "integer"
- },
- "created_at": {
- "type": "string",
- "format": "date-time"
- },
- "expires_at": {
- "type": "string",
- "format": "date-time"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "inviter_id": {
- "type": "string"
- },
- "inviter": {
- "$ref": "#/definitions/User"
- },
- "target_user_id": {
- "type": "string"
- },
- "target_user": {
- "type": "string"
- },
- "target_user_type": {
- "type": "integer"
- },
- "vanity_url": {
- "type": "boolean"
- },
- "flags": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel",
- "channel_id",
- "code",
- "created_at",
- "flags",
- "guild",
- "guild_id",
- "inviter",
- "max_age",
- "max_uses",
- "target_user_id",
- "temporary",
- "uses"
- ]
- },
- "Message": {
- "type": "object",
- "properties": {
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "author_id": {
- "type": "string"
- },
- "author": {
- "$ref": "#/definitions/User"
- },
- "member_id": {
- "type": "string"
- },
- "member": {
- "$ref": "#/definitions/Member"
- },
- "webhook_id": {
- "type": "string"
- },
- "webhook": {
- "$ref": "#/definitions/Webhook"
- },
- "application_id": {
- "type": "string"
- },
- "application": {
- "$ref": "#/definitions/Application"
- },
- "content": {
- "type": "string"
- },
- "timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "edited_timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "tts": {
- "type": "boolean"
- },
- "mention_everyone": {
- "type": "boolean"
- },
- "mentions": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/User"
- }
- },
- "mention_roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
- },
- "mention_channels": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Channel"
- }
- },
- "sticker_items": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Sticker"
- }
- },
- "attachments": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Attachment"
- }
- },
- "embeds": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Embed"
- }
- },
- "reactions": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Reaction"
- }
- },
- "nonce": {
- "type": "string"
- },
- "pinned": {
- "type": "boolean"
- },
- "type": {
- "$ref": "#/definitions/MessageType"
- },
- "activity": {
- "type": "object",
- "properties": {
- "type": {
- "type": "integer"
- },
- "party_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "party_id",
- "type"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "message_reference": {
- "type": "object",
- "properties": {
- "message_id": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- },
- "guild_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "message_id"
- ]
- },
- "referenced_message": {
- "$ref": "#/definitions/Message"
- },
- "interaction": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/InteractionType"
- },
- "name": {
- "type": "string"
- },
- "user_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name",
- "type",
- "user_id"
- ]
- },
- "components": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ActionRowComponent"
- }
- },
- "poll": {
- "$ref": "#/definitions/Poll"
- },
- "username": {
- "type": "string"
- },
- "avatar": {
- "type": "string"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel",
- "embeds",
- "flags",
- "id",
- "mention_channels",
- "mention_roles",
- "mentions",
- "reactions",
- "timestamp",
- "type"
- ]
- },
- "Member": {
- "type": "object",
- "properties": {
- "index": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "nick": {
- "type": "string"
- },
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
- },
- "joined_at": {
- "type": "string",
- "format": "date-time"
- },
- "premium_since": {
- "type": "integer"
- },
- "deaf": {
- "type": "boolean"
- },
- "mute": {
- "type": "boolean"
- },
- "pending": {
- "type": "boolean"
- },
- "settings": {
- "$ref": "#/definitions/UserGuildSettings"
- },
- "last_message_id": {
- "type": "string"
- },
- "joined_by": {
- "type": "string"
- },
- "avatar": {
- "type": "string"
- },
- "banner": {
- "type": "string"
- },
- "bio": {
- "type": "string"
- },
- "theme_colors": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "pronouns": {
- "type": "string"
- },
- "communication_disabled_until": {
- "type": "string",
- "format": "date-time"
- }
- },
- "additionalProperties": false,
- "required": [
- "banner",
- "bio",
- "communication_disabled_until",
- "deaf",
- "guild",
- "guild_id",
- "id",
- "index",
- "joined_at",
- "joined_by",
- "mute",
- "pending",
- "roles",
- "settings",
- "user"
- ]
- },
- "Role": {
- "type": "object",
- "properties": {
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "color": {
- "type": "integer"
- },
- "hoist": {
- "type": "boolean"
- },
- "managed": {
- "type": "boolean"
- },
- "mentionable": {
- "type": "boolean"
- },
- "name": {
- "type": "string"
- },
- "permissions": {
- "type": "string"
- },
- "position": {
- "type": "integer"
- },
- "icon": {
- "type": "string"
- },
- "unicode_emoji": {
- "type": "string"
- },
- "tags": {
- "type": "object",
- "properties": {
- "bot_id": {
- "type": "string"
- },
- "integration_id": {
- "type": "string"
- },
- "premium_subscriber": {
- "type": "boolean"
- }
- },
- "additionalProperties": false
- },
- "flags": {
- "type": "integer"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "color",
- "flags",
- "guild",
- "guild_id",
- "hoist",
- "id",
- "managed",
- "mentionable",
- "name",
- "permissions",
- "position"
- ]
- },
- "UserGuildSettings": {
- "type": "object",
- "properties": {
- "channel_overrides": {
- "anyOf": [
- {
- "type": "object",
- "additionalProperties": {
- "$ref": "#/definitions/ChannelOverride"
- }
- },
- {
- "type": "null"
- }
- ]
- },
- "message_notifications": {
- "type": "integer"
- },
- "mobile_push": {
- "type": "boolean"
- },
- "mute_config": {
- "anyOf": [
- {
- "$ref": "#/definitions/MuteConfig"
- },
- {
- "type": "null"
- }
- ]
- },
- "muted": {
- "type": "boolean"
- },
- "suppress_everyone": {
- "type": "boolean"
- },
- "suppress_roles": {
- "type": "boolean"
- },
- "version": {
- "type": "integer"
- },
- "guild_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "mute_scheduled_events": {
- "type": "boolean"
- },
- "hide_muted_channels": {
- "type": "boolean"
- },
- "notify_highlights": {
- "type": "number",
- "enum": [
- 0
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "channel_overrides",
- "flags",
- "guild_id",
- "hide_muted_channels",
- "message_notifications",
- "mobile_push",
- "mute_config",
- "mute_scheduled_events",
- "muted",
- "notify_highlights",
- "suppress_everyone",
- "suppress_roles",
- "version"
- ]
- },
- "Webhook": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/definitions/WebhookType"
- },
- "name": {
- "type": "string"
- },
- "avatar": {
- "type": "string"
- },
- "token": {
- "type": "string"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "application_id": {
- "type": "string"
- },
- "application": {
- "$ref": "#/definitions/Application"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "source_guild_id": {
- "type": "string"
- },
- "source_guild": {
- "$ref": "#/definitions/Guild"
- },
- "source_channel_id": {
- "type": "string"
- },
- "source_channel": {
- "$ref": "#/definitions/Channel"
- },
- "url": {
- "type": "string"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "application",
- "application_id",
- "avatar",
- "channel",
- "channel_id",
- "id",
- "name",
- "source_channel",
- "source_channel_id",
- "type",
- "url",
- "user",
- "user_id"
- ]
- },
- "WebhookType": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "Application": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "summary": {
- "type": "string",
- "default": ""
- },
- "type": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "hook": {
- "type": "boolean",
- "default": true
- },
- "bot_public": {
- "type": "boolean",
- "default": true
- },
- "bot_require_code_grant": {
- "type": "boolean",
- "default": false
- },
- "verify_key": {
- "type": "string"
- },
- "owner": {
- "$ref": "#/definitions/User"
- },
- "flags": {
- "type": "integer",
- "default": 0
- },
- "redirect_uris": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "rpc_application_state": {
- "type": "integer",
- "default": 0
- },
- "store_application_state": {
- "type": "integer",
- "default": 1
- },
- "verification_state": {
- "type": "integer",
- "default": 1
- },
- "interactions_endpoint_url": {
- "type": "string"
- },
- "integration_public": {
- "type": "boolean",
- "default": true
- },
- "integration_require_code_grant": {
- "type": "boolean",
- "default": false
- },
- "discoverability_state": {
- "type": "integer",
- "default": 1
- },
- "discovery_eligibility_flags": {
- "type": "integer",
- "default": 2240
- },
- "bot": {
- "$ref": "#/definitions/User"
- },
- "tags": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "cover_image": {
- "type": "string"
- },
- "install_params": {
- "type": "object",
- "properties": {
- "scopes": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "permissions": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "permissions",
- "scopes"
- ]
- },
- "terms_of_service_url": {
- "type": "string"
- },
- "privacy_policy_url": {
- "type": "string"
- },
- "team": {
- "$ref": "#/definitions/Team"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "description",
- "discoverability_state",
- "discovery_eligibility_flags",
- "flags",
- "hook",
- "id",
- "integration_public",
- "integration_require_code_grant",
- "name",
- "owner",
- "redirect_uris",
- "rpc_application_state",
- "store_application_state",
- "summary",
- "verification_state",
- "verify_key"
- ]
- },
- "Team": {
- "type": "object",
- "properties": {
- "icon": {
- "type": "string"
- },
- "members": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/TeamMember"
- }
- },
- "name": {
- "type": "string"
- },
- "owner_user_id": {
- "type": "string"
- },
- "owner_user": {
- "$ref": "#/definitions/User"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "members",
- "name",
- "owner_user",
- "owner_user_id"
- ]
- },
- "TeamMember": {
- "type": "object",
- "properties": {
- "membership_state": {
- "$ref": "#/definitions/TeamMemberState"
- },
- "permissions": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "team_id": {
- "type": "string"
- },
- "team": {
- "$ref": "#/definitions/Team"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "membership_state",
- "permissions",
- "team",
- "team_id",
- "user",
- "user_id"
- ]
- },
- "TeamMemberState": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
- },
- "Sticker": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "available": {
- "type": "boolean"
- },
- "tags": {
- "type": "string"
- },
- "pack_id": {
- "type": "string"
- },
- "pack": {
- "$ref": "#/definitions/StickerPack"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "type": {
- "$ref": "#/definitions/StickerType"
- },
- "format_type": {
- "$ref": "#/definitions/StickerFormatType"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "format_type",
- "id",
- "name",
- "pack",
- "type"
- ]
- },
- "StickerPack": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "banner_asset_id": {
- "type": "string"
- },
- "stickers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Sticker"
- }
- },
- "cover_sticker_id": {
- "type": "string"
- },
- "cover_sticker": {
- "$ref": "#/definitions/Sticker"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name",
- "stickers"
- ]
- },
- "StickerType": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
- },
- "StickerFormatType": {
- "enum": [
- 0,
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "Attachment": {
- "type": "object",
- "properties": {
- "filename": {
- "type": "string"
- },
- "size": {
- "type": "integer"
- },
- "url": {
- "type": "string"
- },
- "proxy_url": {
- "type": "string"
- },
- "height": {
- "type": "integer"
- },
- "width": {
- "type": "integer"
- },
- "content_type": {
- "type": "string"
- },
- "message_id": {
- "type": "string"
- },
- "message": {
- "$ref": "#/definitions/Message"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "filename",
- "id",
- "message",
- "message_id",
- "proxy_url",
- "size",
- "url"
- ]
- },
- "Reaction": {
- "type": "object",
- "properties": {
- "count": {
- "type": "integer"
- },
- "emoji": {
- "$ref": "#/definitions/PartialEmoji"
- },
- "user_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "count",
- "emoji",
- "user_ids"
- ]
- },
- "MessageType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 19,
- 2,
- 20,
- 255,
- 3,
- 4,
- 41,
- 42,
- 43,
- 5,
- 50,
- 6,
- 63,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "InteractionType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "Poll": {
- "type": "object",
- "properties": {
- "question": {
- "$ref": "#/definitions/PollMedia"
- },
- "answers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PollAnswer"
- }
- },
- "expiry": {
- "type": "string",
- "format": "date-time"
- },
- "allow_multiselect": {
- "type": "boolean"
- },
- "results": {
- "$ref": "#/definitions/PollResult"
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_multiselect",
- "answers",
- "expiry",
- "question"
- ]
- },
- "PollResult": {
- "type": "object",
- "properties": {
- "is_finalized": {
- "type": "boolean"
- },
- "answer_counts": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PollAnswerCount"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "answer_counts",
- "is_finalized"
- ]
- },
- "PollAnswerCount": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "count": {
- "type": "integer"
- },
- "me_voted": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "count",
- "id",
- "me_voted"
- ]
- },
- "VoiceState": {
- "type": "object",
- "properties": {
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "member": {
- "$ref": "#/definitions/Member"
- },
- "session_id": {
- "type": "string"
- },
- "token": {
- "type": "string"
- },
- "deaf": {
- "type": "boolean"
- },
- "mute": {
- "type": "boolean"
- },
- "self_deaf": {
- "type": "boolean"
- },
- "self_mute": {
- "type": "boolean"
- },
- "self_stream": {
- "type": "boolean"
- },
- "self_video": {
- "type": "boolean"
- },
- "suppress": {
- "type": "boolean"
- },
- "request_to_speak_timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel",
- "channel_id",
- "deaf",
- "guild_id",
- "id",
- "member",
- "mute",
- "self_deaf",
- "self_mute",
- "self_video",
- "session_id",
- "suppress",
- "token",
- "user",
- "user_id"
- ]
- },
- "ReadState": {
- "type": "object",
- "properties": {
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "last_message_id": {
- "type": "string"
- },
- "public_ack": {
- "type": "string"
- },
- "notifications_cursor": {
- "type": "string"
- },
- "last_pin_timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "mention_count": {
- "type": "integer"
- },
- "manual": {
- "type": "boolean"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel",
- "channel_id",
- "id",
- "last_message_id",
- "manual",
- "mention_count",
- "notifications_cursor",
- "public_ack",
- "user",
- "user_id"
- ]
- },
- "Ban": {
- "type": "object",
- "properties": {
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "executor_id": {
- "type": "string"
- },
- "executor": {
- "$ref": "#/definitions/User"
- },
- "ip": {
- "type": "string"
- },
- "reason": {
- "type": "string"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "executor",
- "executor_id",
- "guild",
- "guild_id",
- "id",
- "ip",
- "user",
- "user_id"
- ]
- },
- "Template": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "usage_count": {
- "type": "integer"
- },
- "creator_id": {
- "type": "string"
- },
- "creator": {
- "$ref": "#/definitions/User"
- },
- "created_at": {
- "type": "string",
- "format": "date-time"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time"
- },
- "source_guild_id": {
- "type": "string"
- },
- "source_guild": {
- "$ref": "#/definitions/Guild"
- },
- "serialized_source_guild": {
- "$ref": "#/definitions/Guild"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "created_at",
- "creator",
- "creator_id",
- "id",
- "name",
- "serialized_source_guild",
- "source_guild",
- "source_guild_id",
- "updated_at"
- ]
- },
- "Emoji": {
- "type": "object",
- "properties": {
- "animated": {
- "type": "boolean"
- },
- "available": {
- "type": "boolean"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "managed": {
- "type": "boolean"
- },
- "name": {
- "type": "string"
- },
- "require_colons": {
- "type": "boolean"
- },
- "roles": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "groups": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "animated",
- "available",
- "groups",
- "guild",
- "guild_id",
- "id",
- "managed",
- "name",
- "require_colons",
- "roles",
- "user",
- "user_id"
- ]
- },
- "GuildWelcomeScreen": {
- "type": "object",
- "properties": {
- "enabled": {
- "type": "boolean"
- },
- "description": {
- "type": "string"
- },
- "welcome_channels": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "description": {
- "type": "string"
- },
- "emoji_id": {
- "type": "string"
- },
- "emoji_name": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel_id",
- "description"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "description",
- "enabled",
- "welcome_channels"
- ]
- },
- "GuildMessagesSearchMessage": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/MessageType"
- },
- "content": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- },
- "author": {
- "$ref": "#/definitions/PublicUser"
- },
- "attachments": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Attachment"
- }
- },
- "embeds": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Embed"
- }
- },
- "mentions": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PublicUser"
- }
- },
- "mention_roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
- },
- "pinned": {
- "type": "boolean"
- },
- "mention_everyone": {
- "type": "boolean"
- },
- "tts": {
- "type": "boolean"
- },
- "timestamp": {
- "type": "string"
- },
- "edited_timestamp": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "components": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ActionRowComponent"
- }
- },
- "poll": {
- "$ref": "#/definitions/Poll"
- },
- "hit": {
- "type": "boolean",
- "enum": [
- true
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "attachments",
- "author",
- "channel_id",
- "components",
- "edited_timestamp",
- "embeds",
- "flags",
- "hit",
- "id",
- "mention_roles",
- "mentions",
- "pinned",
- "poll",
- "timestamp",
- "tts",
- "type"
- ]
- },
- "PublicUser": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "premium_since": {
- "type": "string",
- "format": "date-time"
- },
- "avatar": {
- "type": "string"
- },
- "username": {
- "type": "string"
- },
- "discriminator": {
- "type": "string"
- },
- "public_flags": {
- "type": "integer"
- },
- "accent_color": {
- "type": "integer"
- },
- "banner": {
- "type": "string"
- },
- "bio": {
- "type": "string"
- },
- "bot": {
- "type": "boolean"
- },
- "premium_type": {
- "type": "integer"
- },
- "theme_colors": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "pronouns": {
- "type": "string"
- },
- "badge_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "bio",
- "bot",
- "discriminator",
- "id",
- "premium_since",
- "premium_type",
- "public_flags",
- "username"
- ]
- },
- "GuildVanityUrl": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "uses": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "uses"
- ]
- },
- "GuildVanityUrlNoInvite": {
- "type": "object",
- "properties": {
- "code": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "code"
- ]
- },
- "Snowflake": {
- "description": "A container for useful snowflake-related methods.",
- "type": "object",
- "additionalProperties": false
- },
- "TenorGifResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "src": {
- "type": "string"
- },
- "gif_src": {
- "type": "string"
- },
- "width": {
- "type": "integer"
- },
- "height": {
- "type": "integer"
- },
- "preview": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "gif_src",
- "height",
- "id",
- "preview",
- "src",
- "title",
- "url",
- "width"
- ]
- },
- "BackupCode": {
- "type": "object",
- "properties": {
- "user": {
- "$ref": "#/definitions/User"
- },
- "code": {
- "type": "string"
- },
- "consumed": {
- "type": "boolean"
- },
- "expired": {
- "type": "boolean"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "consumed",
- "expired",
- "id",
- "user"
- ]
- },
- "APIGuild": {
- "type": "object",
- "properties": {
- "reload": {
- "description": "Reloads entity data from the database.",
- "type": "object",
- "additionalProperties": false
- },
- "name": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "parent": {
- "type": "string"
- },
- "owner_id": {
- "type": "string"
- },
- "nsfw": {
- "type": "boolean"
- },
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
- "toJSON": {
- "type": "object",
- "additionalProperties": false
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
- },
- "assign": {
- "type": "object",
- "additionalProperties": false
- },
- "hasId": {
- "description": "Checks if entity has an id.\nIf entity composite compose ids, it will check them all.",
- "type": "object",
- "additionalProperties": false
- },
- "save": {
- "description": "Saves current entity in the database.\nIf entity does not exist in the database then inserts, otherwise updates.",
- "type": "object",
- "additionalProperties": false
- },
- "remove": {
- "description": "Removes current entity from the database.",
- "type": "object",
- "additionalProperties": false
- },
- "softRemove": {
- "description": "Records the delete date of current entity.",
- "type": "object",
- "additionalProperties": false
- },
- "recover": {
- "description": "Recovers a given entity in the database.",
- "type": "object",
- "additionalProperties": false
- },
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
- },
- "banner": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "unavailable": {
- "type": "boolean"
- },
- "channels": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Channel"
- }
- },
- "region": {
- "type": "string"
- },
- "system_channel_id": {
- "type": "string"
- },
- "rules_channel_id": {
- "type": "string"
- },
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
- },
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
- "type": "string"
- },
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "primary_category_id": {
- "type": "string"
- },
- "large": {
- "type": "boolean"
- },
- "max_members": {
- "type": "integer"
- },
- "max_presences": {
- "type": "integer"
- },
- "max_video_channel_users": {
- "type": "integer"
- },
- "member_count": {
- "type": "integer"
- },
- "presence_count": {
- "type": "integer"
- },
- "members": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Member"
- }
- },
- "template_id": {
- "type": "string"
- },
- "emojis": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Emoji"
- }
- },
- "stickers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Sticker"
- }
- },
- "mfa_level": {
- "type": "integer"
- },
- "preferred_locale": {
- "type": "string"
- },
- "premium_subscription_count": {
- "type": "integer"
- },
- "premium_tier": {
- "type": "integer"
- },
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
- "welcome_screen": {
- "$ref": "#/definitions/GuildWelcomeScreen"
- },
- "widget_channel_id": {
- "type": "string"
- },
- "widget_enabled": {
- "type": "boolean"
- },
- "nsfw_level": {
- "type": "integer"
- },
- "permissions": {
- "type": "integer"
- },
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
- "channel_ordering": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "_do_validate",
- "assign",
- "bans",
- "channel_ordering",
- "channels",
- "emojis",
- "features",
- "hasId",
- "id",
- "invites",
- "members",
- "name",
- "nsfw",
- "premium_progress_bar_enabled",
- "public_updates_channel_id",
- "recover",
- "reload",
- "remove",
- "roles",
- "save",
- "softRemove",
- "stickers",
- "toJSON",
- "unavailable",
- "voice_states",
- "webhooks",
- "welcome_screen",
- "widget_enabled"
- ]
- },
- "DmChannelDTO": {
- "type": "object",
- "properties": {
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "id": {
- "type": "string"
- },
- "last_message_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "name": {
- "type": [
- "null",
- "string"
- ]
- },
- "origin_channel_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "owner_id": {
- "type": "string"
- },
- "recipients": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/MinimalPublicUserDTO"
- }
- },
- "type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "icon",
- "id",
- "last_message_id",
- "name",
- "origin_channel_id",
- "recipients",
- "type"
- ]
- },
- "MinimalPublicUserDTO": {
- "type": "object",
- "properties": {
- "avatar": {
- "type": [
- "null",
- "string"
- ]
- },
- "discriminator": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "public_flags": {
- "type": "integer"
- },
- "username": {
- "type": "string"
- },
- "badge_ids": {
- "anyOf": [
- {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "discriminator",
- "id",
- "public_flags",
- "username"
- ]
- },
- "Categories": {
- "type": "object",
- "properties": {
- "id": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- },
- "localizations": {
- "type": "string"
- },
- "is_primary": {
- "type": "boolean"
- },
- "icon": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "is_primary",
- "localizations",
- "name"
- ]
- },
- "GuildVoiceRegion": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "custom": {
- "type": "boolean"
- },
- "deprecated": {
- "type": "boolean"
- },
- "optimal": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom",
- "deprecated",
- "id",
- "name",
- "optimal"
- ]
- },
- "UserLimits": {
- "type": "object",
- "properties": {
- "maxGuilds": {
- "type": "integer",
- "default": 1048576
- },
- "maxUsername": {
- "type": "integer",
- "default": 32
- },
- "maxFriends": {
- "type": "integer",
- "default": 5000
- },
- "maxBio": {
- "type": "integer",
- "default": 190
- }
- },
- "additionalProperties": false,
- "required": [
- "maxBio",
- "maxFriends",
- "maxGuilds",
- "maxUsername"
- ]
- },
- "GuildLimits": {
- "type": "object",
- "properties": {
- "maxRoles": {
- "type": "integer",
- "default": 1000
- },
- "maxEmojis": {
- "type": "integer",
- "default": 2000
- },
- "maxMembers": {
- "type": "integer",
- "default": 25000000
- },
- "maxChannels": {
- "type": "integer",
- "default": 65535
- },
- "maxBulkBanUsers": {
- "type": "integer",
- "default": 200
- },
- "maxChannelsInCategory": {
- "type": "integer",
- "default": 65535
- }
- },
- "additionalProperties": false,
- "required": [
- "maxBulkBanUsers",
- "maxChannels",
- "maxChannelsInCategory",
- "maxEmojis",
- "maxMembers",
- "maxRoles"
- ]
- },
- "MessageLimits": {
- "type": "object",
- "properties": {
- "maxCharacters": {
- "type": "integer",
- "default": 1048576
- },
- "maxTTSCharacters": {
- "type": "integer",
- "default": 160
- },
- "maxReactions": {
- "type": "integer",
- "default": 2048
- },
- "maxAttachmentSize": {
- "type": "integer",
- "default": 1073741824
- },
- "maxBulkDelete": {
- "type": "integer",
- "default": 1000
- },
- "maxEmbedDownloadSize": {
- "type": "integer",
- "default": 5242880
- }
- },
- "additionalProperties": false,
- "required": [
- "maxAttachmentSize",
- "maxBulkDelete",
- "maxCharacters",
- "maxEmbedDownloadSize",
- "maxReactions",
- "maxTTSCharacters"
- ]
- },
- "ChannelLimits": {
- "type": "object",
- "properties": {
- "maxPins": {
- "type": "integer",
- "default": 500
- },
- "maxTopic": {
- "type": "integer",
- "default": 1024
- },
- "maxWebhooks": {
- "type": "integer",
- "default": 100
- }
- },
- "additionalProperties": false,
- "required": [
- "maxPins",
- "maxTopic",
- "maxWebhooks"
- ]
- },
- "RateLimits": {
- "type": "object",
- "properties": {
- "enabled": {
- "type": "boolean",
- "default": false
- },
- "ip": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "global": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "error": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "routes": {
- "$ref": "#/definitions/RouteRateLimit"
- }
- },
- "additionalProperties": false,
- "required": [
- "enabled",
- "error",
- "global",
- "ip",
- "routes"
- ]
- },
- "RateLimitOptions": {
- "type": "object",
- "properties": {
- "bot": {
- "type": "integer"
- },
- "count": {
- "type": "integer"
- },
- "window": {
- "type": "integer"
- },
- "onyIp": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "count",
- "window"
- ]
- },
- "RouteRateLimit": {
- "type": "object",
- "properties": {
- "guild": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "webhook": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "channel": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "auth": {}
- },
- "additionalProperties": false,
- "required": [
- "auth",
- "channel",
- "guild",
- "webhook"
- ]
- },
- "GlobalRateLimits": {
- "type": "object",
- "properties": {
- "register": {
- "$ref": "#/definitions/GlobalRateLimit"
- },
- "sendMessage": {
- "$ref": "#/definitions/GlobalRateLimit"
- }
- },
- "additionalProperties": false,
- "required": [
- "register",
- "sendMessage"
- ]
- },
- "GlobalRateLimit": {
- "type": "object",
- "properties": {
- "limit": {
- "type": "integer",
- "default": 100
- },
- "window": {
- "type": "integer",
- "default": 3600000
- },
- "enabled": {
- "type": "boolean",
- "default": true
- }
- },
- "additionalProperties": false,
- "required": [
- "enabled",
- "limit",
- "window"
- ]
- },
- "PublicConnectedAccount": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "type": {
- "type": "string"
- },
- "verified": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "name",
- "type"
- ]
- },
- "UserProfile": {
- "type": "object",
- "properties": {
- "accent_color": {
- "type": "integer"
- },
- "banner": {
- "type": "string"
- },
- "bio": {
- "type": "string"
- },
- "theme_colors": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "pronouns": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "bio"
- ]
- },
- "Badge": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "link": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "description",
- "icon",
- "id"
- ]
- },
- "TokenResponse": {
- "type": "object",
- "properties": {
- "token": {
- "type": "string"
- },
- "settings": {
- "$ref": "#/definitions/UserSettings"
- }
- },
- "additionalProperties": false,
- "required": [
- "settings",
- "token"
- ]
- },
- "MFAResponse": {
- "type": "object",
- "properties": {
- "ticket": {
- "type": "string"
- },
- "mfa": {
- "type": "boolean",
- "enum": [
- true
- ]
- },
- "sms": {
- "type": "boolean",
- "enum": [
- false
- ]
- },
- "token": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "mfa",
- "sms",
- "ticket",
- "token"
- ]
- },
- "WebAuthnResponse": {
- "type": "object",
- "properties": {
- "webauthn": {
- "type": "string"
- },
- "ticket": {
- "type": "string"
- },
- "mfa": {
- "type": "boolean",
- "enum": [
- true
- ]
- },
- "sms": {
- "type": "boolean",
- "enum": [
- false
- ]
- },
- "token": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "mfa",
- "sms",
- "ticket",
- "token",
- "webauthn"
- ]
- }
- },
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "ExpressResponse": {
- "type": "object",
- "additionalProperties": false,
- "definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
- "ChannelPermissionOverwriteType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "ConnectedAccountTokenData": {
- "type": "object",
- "properties": {
- "access_token": {
- "type": "string"
- },
- "token_type": {
- "type": "string"
- },
- "scope": {
- "type": "string"
- },
- "refresh_token": {
- "type": "string"
- },
- "expires_in": {
- "type": "integer"
- },
- "expires_at": {
- "type": "integer"
- },
- "fetched_at": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "access_token",
- "fetched_at"
- ]
- },
- "ChannelModifySchema": {
- "type": "object",
- "properties": {
- "name": {
- "maxLength": 100,
- "type": "string"
- },
- "type": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 2,
- 255,
- 3,
- 33,
- 34,
- 35,
- 4,
- 5,
- 6,
- 64,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "topic": {
- "type": "string"
- },
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "bitrate": {
- "type": "integer"
- },
- "user_limit": {
- "type": "integer"
- },
- "rate_limit_per_user": {
- "type": "integer"
- },
- "position": {
- "type": "integer"
- },
- "permission_overwrites": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/ChannelPermissionOverwriteType"
- },
- "allow": {
- "type": "string"
- },
- "deny": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "allow",
- "deny",
- "id",
- "type"
- ]
- }
- },
- "parent_id": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "nsfw": {
- "type": "boolean"
- },
- "rtc_region": {
- "type": "string"
- },
- "default_auto_archive_duration": {
- "type": "integer"
- },
- "default_reaction_emoji": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "default_thread_rate_limit_per_user": {
- "type": "integer"
- },
- "video_quality_mode": {
- "type": "integer"
- }
- },
- "additionalProperties": false
- },
- "ActivitySchema": {
- "type": "object",
- "properties": {
- "afk": {
- "type": "boolean"
- },
- "status": {
- "$ref": "#/definitions/Status"
- },
- "activities": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Activity"
- }
- },
- "since": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "status"
- ]
- },
- "Status": {
- "enum": [
- "dnd",
- "idle",
- "invisible",
- "offline",
- "online"
- ],
- "type": "string"
- },
- "Activity": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/ActivityType"
- },
- "url": {
- "type": "string"
- },
- "created_at": {
- "type": "integer"
- },
- "timestamps": {
- "type": "object",
- "properties": {
- "start": {
- "type": "integer"
- },
- "end": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "end",
- "start"
- ]
- },
- "application_id": {
- "type": "string"
- },
- "details": {
- "type": "string"
- },
- "state": {
- "type": "string"
- },
- "emoji": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "animated": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "animated",
- "name"
- ]
- },
- "party": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "size": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- }
- },
- "additionalProperties": false
- },
- "assets": {
- "type": "object",
- "properties": {
- "large_image": {
- "type": "string"
- },
- "large_text": {
- "type": "string"
- },
- "small_image": {
- "type": "string"
- },
- "small_text": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "secrets": {
- "type": "object",
- "properties": {
- "join": {
- "type": "string"
- },
- "spectate": {
- "type": "string"
- },
- "match": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "instance": {
- "type": "boolean"
- },
- "flags": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "sync_id": {
- "type": "string"
- },
- "metadata": {
- "type": "object",
- "properties": {
- "context_uri": {
- "type": "string"
- },
- "album_id": {
- "type": "string"
- },
- "artist_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "album_id",
- "artist_ids"
- ]
- },
- "session_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "flags",
- "name",
- "session_id",
- "type"
- ]
- },
- "ActivityType": {
- "enum": [
- 0,
- 1,
- 2,
- 4,
- 5
- ],
- "type": "number"
- },
- "Embed": {
- "type": "object",
- "properties": {
- "title": {
- "type": "string"
- },
- "type": {
- "enum": [
- "article",
- "gifv",
- "image",
- "link",
- "rich",
- "video"
- ],
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "color": {
- "type": "integer"
- },
- "footer": {
- "type": "object",
- "properties": {
- "text": {
- "type": "string"
- },
- "icon_url": {
- "type": "string"
- },
- "proxy_icon_url": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "text"
- ]
- },
- "image": {
- "$ref": "#/definitions/EmbedImage"
- },
- "thumbnail": {
- "$ref": "#/definitions/EmbedImage"
- },
- "video": {
- "$ref": "#/definitions/EmbedImage"
- },
- "provider": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "url": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "author": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "icon_url": {
- "type": "string"
- },
- "proxy_icon_url": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "fields": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "value": {
- "type": "string"
- },
- "inline": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "name",
- "value"
- ]
- }
- }
- },
- "additionalProperties": false
- },
- "EmbedImage": {
- "type": "object",
- "properties": {
- "url": {
- "type": "string"
- },
- "proxy_url": {
- "type": "string"
- },
- "height": {
- "type": "integer"
- },
- "width": {
- "type": "integer"
- }
- },
- "additionalProperties": false
- },
- "ActionRowComponent": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/definitions/MessageComponentType.ActionRow"
- },
- "components": {
- "type": "array",
- "items": {
- "anyOf": [
- {
- "$ref": "#/definitions/ButtonComponent"
- },
- {
- "$ref": "#/definitions/SelectMenuComponent"
- },
- {
- "$ref": "#/definitions/StringSelectMenuComponent"
- },
- {
- "$ref": "#/definitions/TextInputComponent"
- }
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "components",
- "type"
- ]
- },
- "MessageComponentType.ActionRow": {
- "type": "number",
- "enum": [
- 1
- ]
- },
- "ButtonComponent": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/definitions/MessageComponentType.Button"
- },
- "style": {
- "$ref": "#/definitions/ButtonStyle"
- },
- "label": {
- "type": "string"
- },
- "emoji": {
- "$ref": "#/definitions/PartialEmoji"
- },
- "custom_id": {
- "type": "string"
- },
- "sku_id": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "disabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "style",
- "type"
- ]
- },
- "MessageComponentType.Button": {
- "type": "number",
- "enum": [
- 2
- ]
- },
- "ButtonStyle": {
- "enum": [
- 1,
- 2,
- 3,
- 4,
- 5,
- 6
- ],
- "type": "number"
- },
- "PartialEmoji": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "animated": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "name"
- ]
- },
- "SelectMenuComponent": {
- "type": "object",
- "properties": {
- "type": {
- "enum": [
- 3,
- 5,
- 6,
- 7,
- 8
- ],
- "type": "number"
- },
- "custom_id": {
- "type": "string"
- },
- "channel_types": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "placeholder": {
- "type": "string"
- },
- "default_values": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SelectMenuDefaultOption"
- }
- },
- "min_values": {
- "type": "integer"
- },
- "max_values": {
- "type": "integer"
- },
- "disabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom_id",
- "type"
- ]
- },
- "SelectMenuDefaultOption": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {
- "enum": [
- "channel",
- "role",
- "user"
- ],
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "type"
- ]
- },
- "StringSelectMenuComponent": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/definitions/MessageComponentType.StringSelect"
- },
- "options": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SelectMenuOption"
- }
- },
- "custom_id": {
- "type": "string"
- },
- "channel_types": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "placeholder": {
- "type": "string"
- },
- "default_values": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SelectMenuDefaultOption"
- }
- },
- "min_values": {
- "type": "integer"
- },
- "max_values": {
- "type": "integer"
- },
- "disabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom_id",
- "options",
- "type"
- ]
- },
- "MessageComponentType.StringSelect": {
- "type": "number",
- "enum": [
- 3
- ]
- },
- "SelectMenuOption": {
- "type": "object",
- "properties": {
- "label": {
- "type": "string"
- },
- "value": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "emoji": {
- "$ref": "#/definitions/PartialEmoji"
- },
- "default": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "label",
- "value"
- ]
- },
- "TextInputComponent": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/definitions/MessageComponentType.TextInput"
- },
- "custom_id": {
- "type": "string"
- },
- "style": {
- "$ref": "#/definitions/TextInputStyle"
- },
- "label": {
- "type": "string"
- },
- "min_length": {
- "type": "integer"
- },
- "max_length": {
- "type": "integer"
- },
- "required": {
- "type": "boolean"
- },
- "value": {
- "type": "string"
- },
- "placeholder": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom_id",
- "label",
- "style",
- "type"
- ]
- },
- "MessageComponentType.TextInput": {
- "type": "number",
- "enum": [
- 4
- ]
- },
- "TextInputStyle": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
- },
- "PollCreationSchema": {
- "type": "object",
- "properties": {
- "question": {
- "$ref": "#/definitions/PollMedia"
- },
- "answers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PollAnswer"
- }
- },
- "duration": {
- "type": "integer"
- },
- "allow_multiselect": {
- "type": "boolean"
- },
- "layout_type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "answers",
- "question"
- ]
- },
- "PollMedia": {
- "type": "object",
- "properties": {
- "text": {
- "type": "string"
- },
- "emoji": {
- "$ref": "#/definitions/PartialEmoji"
- }
- },
- "additionalProperties": false
- },
- "PollAnswer": {
- "type": "object",
- "properties": {
- "answer_id": {
- "type": "string"
- },
- "poll_media": {
- "$ref": "#/definitions/PollMedia"
- }
- },
- "additionalProperties": false,
- "required": [
- "poll_media"
- ]
- },
- "ChannelOverride": {
- "type": "object",
- "properties": {
- "message_notifications": {
- "type": "integer"
- },
- "mute_config": {
- "$ref": "#/definitions/MuteConfig"
- },
- "muted": {
- "type": "boolean"
- },
- "channel_id": {
- "type": [
- "null",
- "string"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "channel_id",
- "message_notifications",
- "mute_config",
- "muted"
- ]
- },
- "MuteConfig": {
- "type": "object",
- "properties": {
- "end_time": {
- "type": "integer"
- },
- "selected_time_window": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "end_time",
- "selected_time_window"
- ]
- },
- "CustomStatus": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": "string"
- },
- "emoji_name": {
- "type": "string"
- },
- "expires_at": {
- "type": "integer"
- },
- "text": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "FriendSourceFlags": {
- "type": "object",
- "properties": {
- "all": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "all"
- ]
- },
- "GuildFolder": {
- "type": "object",
- "properties": {
- "color": {
- "type": "integer"
- },
- "guild_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "color",
- "guild_ids",
- "id",
- "name"
- ]
- },
- "GenerateWebAuthnCredentialsSchema": {
- "type": "object",
- "properties": {
- "password": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "password"
- ]
- },
- "CreateWebAuthnCredentialSchema": {
- "type": "object",
- "properties": {
- "credential": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "ticket": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "credential",
- "name",
- "ticket"
- ]
- },
- "APIErrorResponse": {
- "type": "object",
- "properties": {
- "code": {
- "type": "integer"
- },
- "message": {
- "type": "string"
- },
- "errors": {
- "type": "object",
- "additionalProperties": {
- "type": "object",
- "properties": {
- "_errors": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "message": {
- "type": "string"
- },
- "code": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "message"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "_errors"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "errors",
- "message"
- ]
- },
- "CaptchaRequiredResponse": {
- "type": "object",
- "properties": {
- "captcha_key": {
- "type": "string"
- },
- "captcha_sitekey": {
- "type": "string"
- },
- "captcha_service": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "captcha_key",
- "captcha_service",
- "captcha_sitekey"
- ]
- },
- "Guild": {
- "type": "object",
- "properties": {
- "afk_channel_id": {
- "type": "string"
- },
- "afk_channel": {
- "$ref": "#/definitions/Channel"
- },
- "afk_timeout": {
- "type": "integer"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "banner": {
- "type": "string"
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "description": {
- "type": "string"
- },
- "discovery_splash": {
- "type": "string"
- },
- "explicit_content_filter": {
- "type": "integer"
- },
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "primary_category_id": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "large": {
- "type": "boolean",
- "default": false
- },
- "max_members": {
- "type": "integer"
- },
- "max_presences": {
- "type": "integer"
- },
- "max_video_channel_users": {
- "type": "integer"
- },
- "member_count": {
- "type": "integer"
- },
- "presence_count": {
- "type": "integer"
- },
- "members": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Member"
- }
- },
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
- },
- "channels": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Channel"
- }
- },
- "template_id": {
- "type": "string"
- },
- "template": {
- "$ref": "#/definitions/Template"
- },
- "emojis": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Emoji"
- }
- },
- "stickers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Sticker"
- }
- },
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
- "mfa_level": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- },
- "owner_id": {
- "type": "string"
- },
- "owner": {
- "$ref": "#/definitions/User"
- },
- "preferred_locale": {
- "type": "string"
- },
- "premium_subscription_count": {
- "type": "integer"
- },
- "premium_tier": {
- "type": "integer"
- },
- "public_updates_channel_id": {
- "type": "string"
- },
- "public_updates_channel": {
- "$ref": "#/definitions/Channel"
- },
- "rules_channel_id": {
- "type": "string"
- },
- "rules_channel": {
- "type": "string"
- },
- "region": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_id": {
- "type": "string"
- },
- "system_channel": {
- "$ref": "#/definitions/Channel"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "unavailable": {
- "type": "boolean",
- "default": false
- },
- "verification_level": {
- "type": "integer"
- },
- "welcome_screen": {
- "$ref": "#/definitions/GuildWelcomeScreen"
- },
- "widget_channel_id": {
- "type": "string"
- },
- "widget_channel": {
- "$ref": "#/definitions/Channel"
- },
- "widget_enabled": {
- "type": "boolean",
- "default": true
- },
- "nsfw_level": {
- "type": "integer"
- },
- "nsfw": {
- "type": "boolean",
- "default": false
- },
- "parent": {
- "type": "string"
- },
- "permissions": {
- "type": "integer"
- },
- "premium_progress_bar_enabled": {
- "type": "boolean",
- "default": false
- },
- "channel_ordering": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "bans",
- "channel_ordering",
- "channels",
- "emojis",
- "features",
- "id",
- "invites",
- "members",
- "name",
- "nsfw",
- "premium_progress_bar_enabled",
- "public_updates_channel_id",
- "roles",
- "stickers",
- "template",
- "unavailable",
- "voice_states",
- "webhooks",
- "welcome_screen",
- "widget_enabled"
- ]
- },
- "Channel": {
- "type": "object",
- "properties": {
- "created_at": {
- "type": "string",
- "format": "date-time"
- },
- "name": {
- "type": "string"
- },
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "type": {
- "$ref": "#/definitions/ChannelType"
- },
- "recipients": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Recipient"
- }
- },
- "last_message_id": {
- "type": "string"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "parent_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "parent": {
- "$ref": "#/definitions/Channel"
- },
- "owner_id": {
- "type": "string"
- },
- "owner": {
- "$ref": "#/definitions/User"
- },
- "last_pin_timestamp": {
- "type": "integer"
- },
- "default_auto_archive_duration": {
- "type": "integer"
- },
- "permission_overwrites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ChannelPermissionOverwrite"
- }
- },
- "video_quality_mode": {
- "type": "integer"
- },
- "bitrate": {
- "type": "integer"
- },
- "user_limit": {
- "type": "integer"
- },
- "nsfw": {
- "type": "boolean",
- "default": false
- },
- "rate_limit_per_user": {
- "type": "integer"
- },
- "topic": {
- "type": "string"
- },
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "retention_policy_id": {
- "type": "string"
- },
- "messages": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Message"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "read_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ReadState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
- "flags": {
- "type": "integer",
- "default": 0
- },
- "default_thread_rate_limit_per_user": {
- "type": "integer",
- "default": 0
- },
- "position": {
- "description": "Must be calculated Channel.calculatePosition",
- "type": "integer"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "created_at",
- "default_thread_rate_limit_per_user",
- "flags",
- "id",
- "nsfw",
- "owner",
- "parent_id",
- "position",
- "type"
- ]
- },
- "ChannelType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 2,
- 255,
- 3,
- 33,
- 34,
- 35,
- 4,
- 5,
- 6,
- 64,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "Recipient": {
- "type": "object",
- "properties": {
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "closed": {
- "type": "boolean"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel",
- "channel_id",
- "closed",
- "id",
- "user",
- "user_id"
- ]
- },
- "User": {
- "type": "object",
- "properties": {
- "username": {
- "type": "string"
- },
- "discriminator": {
- "type": "string"
- },
- "avatar": {
- "type": "string"
- },
- "accent_color": {
- "type": "integer"
- },
- "banner": {
- "type": "string"
- },
- "theme_colors": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "pronouns": {
- "type": "string"
- },
- "phone": {
- "type": "string"
- },
- "desktop": {
- "type": "boolean",
- "default": false
- },
- "mobile": {
- "type": "boolean",
- "default": false
- },
- "premium": {
- "type": "boolean"
- },
- "premium_type": {
- "type": "integer"
- },
- "bot": {
- "type": "boolean",
- "default": false
- },
- "bio": {
- "type": "string",
- "default": ""
- },
- "system": {
- "type": "boolean",
- "default": false
- },
- "nsfw_allowed": {
- "type": "boolean",
- "default": true
- },
- "mfa_enabled": {
- "type": "boolean",
- "default": false
- },
- "webauthn_enabled": {
- "type": "boolean",
- "default": false
- },
- "totp_secret": {
- "type": "string",
- "default": ""
- },
- "totp_last_ticket": {
- "type": "string",
- "default": ""
- },
- "created_at": {
- "type": "string",
- "format": "date-time"
- },
- "premium_since": {
- "type": "string",
- "format": "date-time"
- },
- "verified": {
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean",
- "default": false
- },
- "deleted": {
- "type": "boolean",
- "default": false
- },
- "email": {
- "type": "string"
- },
- "flags": {
- "type": "integer",
- "default": 0
- },
- "public_flags": {
- "type": "integer",
- "default": 0
- },
- "purchased_flags": {
- "type": "integer",
- "default": 0
- },
- "premium_usage_flags": {
- "type": "integer",
- "default": 0
- },
- "rights": {
- "type": "string"
- },
- "sessions": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Session"
- }
- },
- "relationships": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Relationship"
- }
- },
- "connected_accounts": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ConnectedAccount"
- }
- },
- "data": {
- "type": "object",
- "properties": {
- "valid_tokens_since": {
- "type": "string",
- "format": "date-time"
- },
- "hash": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "valid_tokens_since"
- ]
- },
- "fingerprints": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "settings": {
- "$ref": "#/definitions/UserSettings"
- },
- "extended_settings": {
- "type": "string",
- "default": "{}"
- },
- "security_keys": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SecurityKey"
- }
- },
- "badge_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "bio",
- "bot",
- "connected_accounts",
- "created_at",
- "data",
- "deleted",
- "desktop",
- "disabled",
- "discriminator",
- "extended_settings",
- "fingerprints",
- "flags",
- "id",
- "mfa_enabled",
- "mobile",
- "nsfw_allowed",
- "premium",
- "premium_since",
- "premium_type",
- "premium_usage_flags",
- "public_flags",
- "purchased_flags",
- "relationships",
- "rights",
- "security_keys",
- "sessions",
- "settings",
- "system",
- "username",
- "verified",
- "webauthn_enabled"
- ]
- },
- "Session": {
- "type": "object",
- "properties": {
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "session_id": {
- "type": "string"
- },
- "activities": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Activity"
- }
- },
- "client_info": {
- "type": "object",
- "properties": {
- "client": {
- "type": "string"
- },
- "os": {
- "type": "string"
- },
- "version": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "client",
- "os",
- "version"
- ]
- },
- "client_status": {
- "$ref": "#/definitions/ClientStatus"
- },
- "status": {
- "$ref": "#/definitions/Status"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "activities",
- "client_info",
- "client_status",
- "id",
- "session_id",
- "status",
- "user",
- "user_id"
- ]
- },
- "ClientStatus": {
- "type": "object",
- "properties": {
- "desktop": {
- "type": "string"
- },
- "mobile": {
- "type": "string"
- },
- "web": {
- "type": "string"
- },
- "embedded": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "Relationship": {
- "type": "object",
- "properties": {
- "from_id": {
- "type": "string"
- },
- "from": {
- "$ref": "#/definitions/User"
- },
- "to_id": {
- "type": "string"
- },
- "to": {
- "$ref": "#/definitions/User"
- },
- "nickname": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/RelationshipType"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "from",
- "from_id",
- "id",
- "to",
- "to_id",
- "type"
- ]
- },
- "RelationshipType": {
- "enum": [
- 1,
- 2,
- 3,
- 4
- ],
- "type": "number"
- },
- "ConnectedAccount": {
- "type": "object",
- "properties": {
- "external_id": {
- "type": "string"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "friend_sync": {
- "type": "boolean",
- "default": false
- },
- "name": {
- "type": "string"
- },
- "revoked": {
- "type": "boolean",
- "default": false
- },
- "show_activity": {
- "type": "integer",
- "default": 0
- },
- "type": {
- "type": "string"
- },
- "verified": {
- "type": "boolean",
- "default": true
- },
- "visibility": {
- "type": "integer",
- "default": 0
- },
- "integrations": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "metadata_": {},
- "metadata_visibility": {
- "type": "integer",
- "default": 0
- },
- "two_way_link": {
- "type": "boolean",
- "default": false
- },
- "token_data": {
- "anyOf": [
- {
- "$ref": "#/definitions/ConnectedAccountTokenData"
- },
- {
- "type": "null"
- }
- ]
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "external_id",
- "id",
- "name",
- "type",
- "user",
- "user_id"
- ]
- },
- "UserSettings": {
- "type": "object",
- "properties": {
- "index": {
- "type": "string"
- },
- "afk_timeout": {
- "type": "integer",
- "default": 3600
- },
- "allow_accessibility_detection": {
- "type": "boolean",
- "default": true
- },
- "animate_emoji": {
- "type": "boolean",
- "default": true
- },
- "animate_stickers": {
- "type": "integer",
- "default": 0
- },
- "contact_sync_enabled": {
- "type": "boolean",
- "default": false
- },
- "convert_emoticons": {
- "type": "boolean",
- "default": false
- },
- "custom_status": {
- "anyOf": [
- {
- "$ref": "#/definitions/CustomStatus"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "default_guilds_restricted": {
- "type": "boolean",
- "default": false
- },
- "detect_platform_accounts": {
- "type": "boolean",
- "default": false
- },
- "developer_mode": {
- "type": "boolean",
- "default": true
- },
- "disable_games_tab": {
- "type": "boolean",
- "default": true
- },
- "enable_tts_command": {
- "type": "boolean",
- "default": false
- },
- "explicit_content_filter": {
- "type": "integer",
- "default": 0
- },
- "friend_discovery_flags": {
- "type": "integer",
- "default": 0
- },
- "friend_source_flags": {
- "$ref": "#/definitions/FriendSourceFlags"
- },
- "gateway_connected": {
- "type": "boolean",
- "default": false
- },
- "gif_auto_play": {
- "type": "boolean",
- "default": false
- },
- "guild_folders": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/GuildFolder"
- },
- "default": []
- },
- "guild_positions": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "inline_attachment_media": {
- "type": "boolean",
- "default": true
- },
- "inline_embed_media": {
- "type": "boolean",
- "default": true
- },
- "locale": {
- "type": "string",
- "default": "en-US"
- },
- "message_display_compact": {
- "type": "boolean",
- "default": false
- },
- "native_phone_integration_enabled": {
- "type": "boolean",
- "default": true
- },
- "render_embeds": {
- "type": "boolean",
- "default": true
- },
- "render_reactions": {
- "type": "boolean",
- "default": true
- },
- "restricted_guilds": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "show_current_game": {
- "type": "boolean",
- "default": true
- },
- "status": {
- "enum": [
- "dnd",
- "idle",
- "invisible",
- "offline",
- "online"
- ],
- "type": "string",
- "default": "online"
- },
- "stream_notifications_enabled": {
- "type": "boolean",
- "default": false
- },
- "theme": {
- "enum": [
- "dark",
- "light"
- ],
- "type": "string",
- "default": "dark"
- },
- "timezone_offset": {
- "type": "integer",
- "default": 0
- },
- "view_nsfw_guilds": {
- "type": "boolean",
- "default": true
- }
- },
- "additionalProperties": false,
- "required": [
- "afk_timeout",
- "allow_accessibility_detection",
- "animate_emoji",
- "animate_stickers",
- "contact_sync_enabled",
- "convert_emoticons",
- "custom_status",
- "default_guilds_restricted",
- "detect_platform_accounts",
- "developer_mode",
- "disable_games_tab",
- "enable_tts_command",
- "explicit_content_filter",
- "friend_discovery_flags",
- "friend_source_flags",
- "gateway_connected",
- "gif_auto_play",
- "guild_folders",
- "guild_positions",
- "index",
- "inline_attachment_media",
- "inline_embed_media",
- "locale",
- "message_display_compact",
- "native_phone_integration_enabled",
- "render_embeds",
- "render_reactions",
- "restricted_guilds",
- "show_current_game",
- "status",
- "stream_notifications_enabled",
- "theme",
- "timezone_offset",
- "view_nsfw_guilds"
- ]
- },
- "SecurityKey": {
- "type": "object",
- "properties": {
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "key_id": {
- "type": "string"
- },
- "public_key": {
- "type": "string"
- },
- "counter": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "counter",
- "id",
- "key_id",
- "name",
- "public_key",
- "user",
- "user_id"
- ]
- },
- "ChannelPermissionOverwrite": {
- "type": "object",
- "properties": {
- "allow": {
- "type": "string"
- },
- "deny": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/ChannelPermissionOverwriteType"
- }
- },
- "additionalProperties": false,
- "required": [
- "allow",
- "deny",
- "id",
- "type"
- ]
- },
- "Invite": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "temporary": {
- "type": "boolean"
- },
- "uses": {
- "type": "integer"
- },
- "max_uses": {
- "type": "integer"
- },
- "max_age": {
- "type": "integer"
- },
- "created_at": {
- "type": "string",
- "format": "date-time"
- },
- "expires_at": {
- "type": "string",
- "format": "date-time"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "inviter_id": {
- "type": "string"
- },
- "inviter": {
- "$ref": "#/definitions/User"
- },
- "target_user_id": {
- "type": "string"
- },
- "target_user": {
- "type": "string"
- },
- "target_user_type": {
- "type": "integer"
- },
- "vanity_url": {
- "type": "boolean"
- },
- "flags": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel",
- "channel_id",
- "code",
- "created_at",
- "flags",
- "guild",
- "guild_id",
- "inviter",
- "max_age",
- "max_uses",
- "target_user_id",
- "temporary",
- "uses"
- ]
- },
- "Message": {
- "type": "object",
- "properties": {
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "author_id": {
- "type": "string"
- },
- "author": {
- "$ref": "#/definitions/User"
- },
- "member_id": {
- "type": "string"
- },
- "member": {
- "$ref": "#/definitions/Member"
- },
- "webhook_id": {
- "type": "string"
- },
- "webhook": {
- "$ref": "#/definitions/Webhook"
- },
- "application_id": {
- "type": "string"
- },
- "application": {
- "$ref": "#/definitions/Application"
- },
- "content": {
- "type": "string"
- },
- "timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "edited_timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "tts": {
- "type": "boolean"
- },
- "mention_everyone": {
- "type": "boolean"
- },
- "mentions": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/User"
- }
- },
- "mention_roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
- },
- "mention_channels": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Channel"
- }
- },
- "sticker_items": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Sticker"
- }
- },
- "attachments": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Attachment"
- }
- },
- "embeds": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Embed"
- }
- },
- "reactions": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Reaction"
- }
- },
- "nonce": {
- "type": "string"
- },
- "pinned": {
- "type": "boolean"
- },
- "type": {
- "$ref": "#/definitions/MessageType"
- },
- "activity": {
- "type": "object",
- "properties": {
- "type": {
- "type": "integer"
- },
- "party_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "party_id",
- "type"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "message_reference": {
- "type": "object",
- "properties": {
- "message_id": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- },
- "guild_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "message_id"
- ]
- },
- "referenced_message": {
- "$ref": "#/definitions/Message"
- },
- "interaction": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/InteractionType"
- },
- "name": {
- "type": "string"
- },
- "user_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name",
- "type",
- "user_id"
- ]
- },
- "components": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ActionRowComponent"
- }
- },
- "poll": {
- "$ref": "#/definitions/Poll"
- },
- "username": {
- "type": "string"
- },
- "avatar": {
- "type": "string"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel",
- "embeds",
- "flags",
- "id",
- "mention_channels",
- "mention_roles",
- "mentions",
- "reactions",
- "timestamp",
- "type"
- ]
- },
- "Member": {
- "type": "object",
- "properties": {
- "index": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "nick": {
- "type": "string"
- },
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
- },
- "joined_at": {
- "type": "string",
- "format": "date-time"
- },
- "premium_since": {
- "type": "integer"
- },
- "deaf": {
- "type": "boolean"
- },
- "mute": {
- "type": "boolean"
- },
- "pending": {
- "type": "boolean"
- },
- "settings": {
- "$ref": "#/definitions/UserGuildSettings"
- },
- "last_message_id": {
- "type": "string"
- },
- "joined_by": {
- "type": "string"
- },
- "avatar": {
- "type": "string"
- },
- "banner": {
- "type": "string"
- },
- "bio": {
- "type": "string"
- },
- "theme_colors": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "pronouns": {
- "type": "string"
- },
- "communication_disabled_until": {
- "type": "string",
- "format": "date-time"
- }
- },
- "additionalProperties": false,
- "required": [
- "banner",
- "bio",
- "communication_disabled_until",
- "deaf",
- "guild",
- "guild_id",
- "id",
- "index",
- "joined_at",
- "joined_by",
- "mute",
- "pending",
- "roles",
- "settings",
- "user"
- ]
- },
- "Role": {
- "type": "object",
- "properties": {
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "color": {
- "type": "integer"
- },
- "hoist": {
- "type": "boolean"
- },
- "managed": {
- "type": "boolean"
- },
- "mentionable": {
- "type": "boolean"
- },
- "name": {
- "type": "string"
- },
- "permissions": {
- "type": "string"
- },
- "position": {
- "type": "integer"
- },
- "icon": {
- "type": "string"
- },
- "unicode_emoji": {
- "type": "string"
- },
- "tags": {
- "type": "object",
- "properties": {
- "bot_id": {
- "type": "string"
- },
- "integration_id": {
- "type": "string"
- },
- "premium_subscriber": {
- "type": "boolean"
- }
- },
- "additionalProperties": false
- },
- "flags": {
- "type": "integer"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "color",
- "flags",
- "guild",
- "guild_id",
- "hoist",
- "id",
- "managed",
- "mentionable",
- "name",
- "permissions",
- "position"
- ]
- },
- "UserGuildSettings": {
- "type": "object",
- "properties": {
- "channel_overrides": {
- "anyOf": [
- {
- "type": "object",
- "additionalProperties": {
- "$ref": "#/definitions/ChannelOverride"
- }
- },
- {
- "type": "null"
- }
- ]
- },
- "message_notifications": {
- "type": "integer"
- },
- "mobile_push": {
- "type": "boolean"
- },
- "mute_config": {
- "anyOf": [
- {
- "$ref": "#/definitions/MuteConfig"
- },
- {
- "type": "null"
- }
- ]
- },
- "muted": {
- "type": "boolean"
- },
- "suppress_everyone": {
- "type": "boolean"
- },
- "suppress_roles": {
- "type": "boolean"
- },
- "version": {
- "type": "integer"
- },
- "guild_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "mute_scheduled_events": {
- "type": "boolean"
- },
- "hide_muted_channels": {
- "type": "boolean"
- },
- "notify_highlights": {
- "type": "number",
- "enum": [
- 0
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "channel_overrides",
- "flags",
- "guild_id",
- "hide_muted_channels",
- "message_notifications",
- "mobile_push",
- "mute_config",
- "mute_scheduled_events",
- "muted",
- "notify_highlights",
- "suppress_everyone",
- "suppress_roles",
- "version"
- ]
- },
- "Webhook": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/definitions/WebhookType"
- },
- "name": {
- "type": "string"
- },
- "avatar": {
- "type": "string"
- },
- "token": {
- "type": "string"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "application_id": {
- "type": "string"
- },
- "application": {
- "$ref": "#/definitions/Application"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "source_guild_id": {
- "type": "string"
- },
- "source_guild": {
- "$ref": "#/definitions/Guild"
- },
- "source_channel_id": {
- "type": "string"
- },
- "source_channel": {
- "$ref": "#/definitions/Channel"
- },
- "url": {
- "type": "string"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "application",
- "application_id",
- "avatar",
- "channel",
- "channel_id",
- "id",
- "name",
- "source_channel",
- "source_channel_id",
- "type",
- "url",
- "user",
- "user_id"
- ]
- },
- "WebhookType": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "Application": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "summary": {
- "type": "string",
- "default": ""
- },
- "type": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "hook": {
- "type": "boolean",
- "default": true
- },
- "bot_public": {
- "type": "boolean",
- "default": true
- },
- "bot_require_code_grant": {
- "type": "boolean",
- "default": false
- },
- "verify_key": {
- "type": "string"
- },
- "owner": {
- "$ref": "#/definitions/User"
- },
- "flags": {
- "type": "integer",
- "default": 0
- },
- "redirect_uris": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "rpc_application_state": {
- "type": "integer",
- "default": 0
- },
- "store_application_state": {
- "type": "integer",
- "default": 1
- },
- "verification_state": {
- "type": "integer",
- "default": 1
- },
- "interactions_endpoint_url": {
- "type": "string"
- },
- "integration_public": {
- "type": "boolean",
- "default": true
- },
- "integration_require_code_grant": {
- "type": "boolean",
- "default": false
- },
- "discoverability_state": {
- "type": "integer",
- "default": 1
- },
- "discovery_eligibility_flags": {
- "type": "integer",
- "default": 2240
- },
- "bot": {
- "$ref": "#/definitions/User"
- },
- "tags": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "cover_image": {
- "type": "string"
- },
- "install_params": {
- "type": "object",
- "properties": {
- "scopes": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "permissions": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "permissions",
- "scopes"
- ]
- },
- "terms_of_service_url": {
- "type": "string"
- },
- "privacy_policy_url": {
- "type": "string"
- },
- "team": {
- "$ref": "#/definitions/Team"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "description",
- "discoverability_state",
- "discovery_eligibility_flags",
- "flags",
- "hook",
- "id",
- "integration_public",
- "integration_require_code_grant",
- "name",
- "owner",
- "redirect_uris",
- "rpc_application_state",
- "store_application_state",
- "summary",
- "verification_state",
- "verify_key"
- ]
- },
- "Team": {
- "type": "object",
- "properties": {
- "icon": {
- "type": "string"
- },
- "members": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/TeamMember"
- }
- },
- "name": {
- "type": "string"
- },
- "owner_user_id": {
- "type": "string"
- },
- "owner_user": {
- "$ref": "#/definitions/User"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "members",
- "name",
- "owner_user",
- "owner_user_id"
- ]
- },
- "TeamMember": {
- "type": "object",
- "properties": {
- "membership_state": {
- "$ref": "#/definitions/TeamMemberState"
- },
- "permissions": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "team_id": {
- "type": "string"
- },
- "team": {
- "$ref": "#/definitions/Team"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "membership_state",
- "permissions",
- "team",
- "team_id",
- "user",
- "user_id"
- ]
- },
- "TeamMemberState": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
- },
- "Sticker": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "available": {
- "type": "boolean"
- },
- "tags": {
- "type": "string"
- },
- "pack_id": {
- "type": "string"
- },
- "pack": {
- "$ref": "#/definitions/StickerPack"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "type": {
- "$ref": "#/definitions/StickerType"
- },
- "format_type": {
- "$ref": "#/definitions/StickerFormatType"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "format_type",
- "id",
- "name",
- "pack",
- "type"
- ]
- },
- "StickerPack": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "banner_asset_id": {
- "type": "string"
- },
- "stickers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Sticker"
- }
- },
- "cover_sticker_id": {
- "type": "string"
- },
- "cover_sticker": {
- "$ref": "#/definitions/Sticker"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name",
- "stickers"
- ]
- },
- "StickerType": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
- },
- "StickerFormatType": {
- "enum": [
- 0,
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "Attachment": {
- "type": "object",
- "properties": {
- "filename": {
- "type": "string"
- },
- "size": {
- "type": "integer"
- },
- "url": {
- "type": "string"
- },
- "proxy_url": {
- "type": "string"
- },
- "height": {
- "type": "integer"
- },
- "width": {
- "type": "integer"
- },
- "content_type": {
- "type": "string"
- },
- "message_id": {
- "type": "string"
- },
- "message": {
- "$ref": "#/definitions/Message"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "filename",
- "id",
- "message",
- "message_id",
- "proxy_url",
- "size",
- "url"
- ]
- },
- "Reaction": {
- "type": "object",
- "properties": {
- "count": {
- "type": "integer"
- },
- "emoji": {
- "$ref": "#/definitions/PartialEmoji"
- },
- "user_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "count",
- "emoji",
- "user_ids"
- ]
- },
- "MessageType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 19,
- 2,
- 20,
- 255,
- 3,
- 4,
- 41,
- 42,
- 43,
- 5,
- 50,
- 6,
- 63,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "InteractionType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "Poll": {
- "type": "object",
- "properties": {
- "question": {
- "$ref": "#/definitions/PollMedia"
- },
- "answers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PollAnswer"
- }
- },
- "expiry": {
- "type": "string",
- "format": "date-time"
- },
- "allow_multiselect": {
- "type": "boolean"
- },
- "results": {
- "$ref": "#/definitions/PollResult"
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_multiselect",
- "answers",
- "expiry",
- "question"
- ]
- },
- "PollResult": {
- "type": "object",
- "properties": {
- "is_finalized": {
- "type": "boolean"
- },
- "answer_counts": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PollAnswerCount"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "answer_counts",
- "is_finalized"
- ]
- },
- "PollAnswerCount": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "count": {
- "type": "integer"
- },
- "me_voted": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "count",
- "id",
- "me_voted"
- ]
- },
- "VoiceState": {
- "type": "object",
- "properties": {
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "member": {
- "$ref": "#/definitions/Member"
- },
- "session_id": {
- "type": "string"
- },
- "token": {
- "type": "string"
- },
- "deaf": {
- "type": "boolean"
- },
- "mute": {
- "type": "boolean"
- },
- "self_deaf": {
- "type": "boolean"
- },
- "self_mute": {
- "type": "boolean"
- },
- "self_stream": {
- "type": "boolean"
- },
- "self_video": {
- "type": "boolean"
- },
- "suppress": {
- "type": "boolean"
- },
- "request_to_speak_timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel",
- "channel_id",
- "deaf",
- "guild_id",
- "id",
- "member",
- "mute",
- "self_deaf",
- "self_mute",
- "self_video",
- "session_id",
- "suppress",
- "token",
- "user",
- "user_id"
- ]
- },
- "ReadState": {
- "type": "object",
- "properties": {
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "last_message_id": {
- "type": "string"
- },
- "public_ack": {
- "type": "string"
- },
- "notifications_cursor": {
- "type": "string"
- },
- "last_pin_timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "mention_count": {
- "type": "integer"
- },
- "manual": {
- "type": "boolean"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel",
- "channel_id",
- "id",
- "last_message_id",
- "manual",
- "mention_count",
- "notifications_cursor",
- "public_ack",
- "user",
- "user_id"
- ]
- },
- "Ban": {
- "type": "object",
- "properties": {
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "executor_id": {
- "type": "string"
- },
- "executor": {
- "$ref": "#/definitions/User"
- },
- "ip": {
- "type": "string"
- },
- "reason": {
- "type": "string"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "executor",
- "executor_id",
- "guild",
- "guild_id",
- "id",
- "ip",
- "user",
- "user_id"
- ]
- },
- "Template": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "usage_count": {
- "type": "integer"
- },
- "creator_id": {
- "type": "string"
- },
- "creator": {
- "$ref": "#/definitions/User"
- },
- "created_at": {
- "type": "string",
- "format": "date-time"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time"
- },
- "source_guild_id": {
- "type": "string"
- },
- "source_guild": {
- "$ref": "#/definitions/Guild"
- },
- "serialized_source_guild": {
- "$ref": "#/definitions/Guild"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "created_at",
- "creator",
- "creator_id",
- "id",
- "name",
- "serialized_source_guild",
- "source_guild",
- "source_guild_id",
- "updated_at"
- ]
- },
- "Emoji": {
- "type": "object",
- "properties": {
- "animated": {
- "type": "boolean"
- },
- "available": {
- "type": "boolean"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "managed": {
- "type": "boolean"
- },
- "name": {
- "type": "string"
- },
- "require_colons": {
- "type": "boolean"
- },
- "roles": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "groups": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "animated",
- "available",
- "groups",
- "guild",
- "guild_id",
- "id",
- "managed",
- "name",
- "require_colons",
- "roles",
- "user",
- "user_id"
- ]
- },
- "GuildWelcomeScreen": {
- "type": "object",
- "properties": {
- "enabled": {
- "type": "boolean"
- },
- "description": {
- "type": "string"
- },
- "welcome_channels": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "description": {
- "type": "string"
- },
- "emoji_id": {
- "type": "string"
- },
- "emoji_name": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel_id",
- "description"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "description",
- "enabled",
- "welcome_channels"
- ]
- },
- "GuildMessagesSearchMessage": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/MessageType"
- },
- "content": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- },
- "author": {
- "$ref": "#/definitions/PublicUser"
- },
- "attachments": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Attachment"
- }
- },
- "embeds": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Embed"
- }
- },
- "mentions": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PublicUser"
- }
- },
- "mention_roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
- },
- "pinned": {
- "type": "boolean"
- },
- "mention_everyone": {
- "type": "boolean"
- },
- "tts": {
- "type": "boolean"
- },
- "timestamp": {
- "type": "string"
- },
- "edited_timestamp": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "components": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ActionRowComponent"
- }
- },
- "poll": {
- "$ref": "#/definitions/Poll"
- },
- "hit": {
- "type": "boolean",
- "enum": [
- true
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "attachments",
- "author",
- "channel_id",
- "components",
- "edited_timestamp",
- "embeds",
- "flags",
- "hit",
- "id",
- "mention_roles",
- "mentions",
- "pinned",
- "poll",
- "timestamp",
- "tts",
- "type"
- ]
- },
- "PublicUser": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "premium_since": {
- "type": "string",
- "format": "date-time"
- },
- "avatar": {
- "type": "string"
- },
- "username": {
- "type": "string"
- },
- "discriminator": {
- "type": "string"
- },
- "public_flags": {
- "type": "integer"
- },
- "accent_color": {
- "type": "integer"
- },
- "banner": {
- "type": "string"
- },
- "bio": {
- "type": "string"
- },
- "bot": {
- "type": "boolean"
- },
- "premium_type": {
- "type": "integer"
- },
- "theme_colors": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "pronouns": {
- "type": "string"
- },
- "badge_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "bio",
- "bot",
- "discriminator",
- "id",
- "premium_since",
- "premium_type",
- "public_flags",
- "username"
- ]
- },
- "GuildVanityUrl": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "uses": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "uses"
- ]
- },
- "GuildVanityUrlNoInvite": {
- "type": "object",
- "properties": {
- "code": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "code"
- ]
- },
- "Snowflake": {
- "description": "A container for useful snowflake-related methods.",
- "type": "object",
- "additionalProperties": false
- },
- "TenorGifResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "src": {
- "type": "string"
- },
- "gif_src": {
- "type": "string"
- },
- "width": {
- "type": "integer"
- },
- "height": {
- "type": "integer"
- },
- "preview": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "gif_src",
- "height",
- "id",
- "preview",
- "src",
- "title",
- "url",
- "width"
- ]
- },
- "BackupCode": {
- "type": "object",
- "properties": {
- "user": {
- "$ref": "#/definitions/User"
- },
- "code": {
- "type": "string"
- },
- "consumed": {
- "type": "boolean"
- },
- "expired": {
- "type": "boolean"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "consumed",
- "expired",
- "id",
- "user"
- ]
- },
- "APIGuild": {
- "type": "object",
- "properties": {
- "reload": {
- "description": "Reloads entity data from the database.",
- "type": "object",
- "additionalProperties": false
- },
- "name": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "parent": {
- "type": "string"
- },
- "owner_id": {
- "type": "string"
- },
- "nsfw": {
- "type": "boolean"
- },
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
- "toJSON": {
- "type": "object",
- "additionalProperties": false
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
- },
- "assign": {
- "type": "object",
- "additionalProperties": false
- },
- "hasId": {
- "description": "Checks if entity has an id.\nIf entity composite compose ids, it will check them all.",
- "type": "object",
- "additionalProperties": false
- },
- "save": {
- "description": "Saves current entity in the database.\nIf entity does not exist in the database then inserts, otherwise updates.",
- "type": "object",
- "additionalProperties": false
- },
- "remove": {
- "description": "Removes current entity from the database.",
- "type": "object",
- "additionalProperties": false
- },
- "softRemove": {
- "description": "Records the delete date of current entity.",
- "type": "object",
- "additionalProperties": false
- },
- "recover": {
- "description": "Recovers a given entity in the database.",
- "type": "object",
- "additionalProperties": false
- },
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
- },
- "banner": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "unavailable": {
- "type": "boolean"
- },
- "channels": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Channel"
- }
- },
- "region": {
- "type": "string"
- },
- "system_channel_id": {
- "type": "string"
- },
- "rules_channel_id": {
- "type": "string"
- },
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
- },
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
- "type": "string"
- },
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "primary_category_id": {
- "type": "string"
- },
- "large": {
- "type": "boolean"
- },
- "max_members": {
- "type": "integer"
- },
- "max_presences": {
- "type": "integer"
- },
- "max_video_channel_users": {
- "type": "integer"
- },
- "member_count": {
- "type": "integer"
- },
- "presence_count": {
- "type": "integer"
- },
- "members": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Member"
- }
- },
- "template_id": {
- "type": "string"
- },
- "emojis": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Emoji"
- }
- },
- "stickers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Sticker"
- }
- },
- "mfa_level": {
- "type": "integer"
- },
- "preferred_locale": {
- "type": "string"
- },
- "premium_subscription_count": {
- "type": "integer"
- },
- "premium_tier": {
- "type": "integer"
- },
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
- "welcome_screen": {
- "$ref": "#/definitions/GuildWelcomeScreen"
- },
- "widget_channel_id": {
- "type": "string"
- },
- "widget_enabled": {
- "type": "boolean"
- },
- "nsfw_level": {
- "type": "integer"
- },
- "permissions": {
- "type": "integer"
- },
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
- "channel_ordering": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "_do_validate",
- "assign",
- "bans",
- "channel_ordering",
- "channels",
- "emojis",
- "features",
- "hasId",
- "id",
- "invites",
- "members",
- "name",
- "nsfw",
- "premium_progress_bar_enabled",
- "public_updates_channel_id",
- "recover",
- "reload",
- "remove",
- "roles",
- "save",
- "softRemove",
- "stickers",
- "toJSON",
- "unavailable",
- "voice_states",
- "webhooks",
- "welcome_screen",
- "widget_enabled"
- ]
- },
- "DmChannelDTO": {
- "type": "object",
- "properties": {
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "id": {
- "type": "string"
- },
- "last_message_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "name": {
- "type": [
- "null",
- "string"
- ]
- },
- "origin_channel_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "owner_id": {
- "type": "string"
- },
- "recipients": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/MinimalPublicUserDTO"
- }
- },
- "type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "icon",
- "id",
- "last_message_id",
- "name",
- "origin_channel_id",
- "recipients",
- "type"
- ]
- },
- "MinimalPublicUserDTO": {
- "type": "object",
- "properties": {
- "avatar": {
- "type": [
- "null",
- "string"
- ]
- },
- "discriminator": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "public_flags": {
- "type": "integer"
- },
- "username": {
- "type": "string"
- },
- "badge_ids": {
- "anyOf": [
- {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "discriminator",
- "id",
- "public_flags",
- "username"
- ]
- },
- "Categories": {
- "type": "object",
- "properties": {
- "id": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- },
- "localizations": {
- "type": "string"
- },
- "is_primary": {
- "type": "boolean"
- },
- "icon": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "is_primary",
- "localizations",
- "name"
- ]
- },
- "GuildVoiceRegion": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "custom": {
- "type": "boolean"
- },
- "deprecated": {
- "type": "boolean"
- },
- "optimal": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom",
- "deprecated",
- "id",
- "name",
- "optimal"
- ]
- },
- "UserLimits": {
- "type": "object",
- "properties": {
- "maxGuilds": {
- "type": "integer",
- "default": 1048576
- },
- "maxUsername": {
- "type": "integer",
- "default": 32
- },
- "maxFriends": {
- "type": "integer",
- "default": 5000
- },
- "maxBio": {
- "type": "integer",
- "default": 190
- }
- },
- "additionalProperties": false,
- "required": [
- "maxBio",
- "maxFriends",
- "maxGuilds",
- "maxUsername"
- ]
- },
- "GuildLimits": {
- "type": "object",
- "properties": {
- "maxRoles": {
- "type": "integer",
- "default": 1000
- },
- "maxEmojis": {
- "type": "integer",
- "default": 2000
- },
- "maxMembers": {
- "type": "integer",
- "default": 25000000
- },
- "maxChannels": {
- "type": "integer",
- "default": 65535
- },
- "maxBulkBanUsers": {
- "type": "integer",
- "default": 200
- },
- "maxChannelsInCategory": {
- "type": "integer",
- "default": 65535
- }
- },
- "additionalProperties": false,
- "required": [
- "maxBulkBanUsers",
- "maxChannels",
- "maxChannelsInCategory",
- "maxEmojis",
- "maxMembers",
- "maxRoles"
- ]
- },
- "MessageLimits": {
- "type": "object",
- "properties": {
- "maxCharacters": {
- "type": "integer",
- "default": 1048576
- },
- "maxTTSCharacters": {
- "type": "integer",
- "default": 160
- },
- "maxReactions": {
- "type": "integer",
- "default": 2048
- },
- "maxAttachmentSize": {
- "type": "integer",
- "default": 1073741824
- },
- "maxBulkDelete": {
- "type": "integer",
- "default": 1000
- },
- "maxEmbedDownloadSize": {
- "type": "integer",
- "default": 5242880
- }
- },
- "additionalProperties": false,
- "required": [
- "maxAttachmentSize",
- "maxBulkDelete",
- "maxCharacters",
- "maxEmbedDownloadSize",
- "maxReactions",
- "maxTTSCharacters"
- ]
- },
- "ChannelLimits": {
- "type": "object",
- "properties": {
- "maxPins": {
- "type": "integer",
- "default": 500
- },
- "maxTopic": {
- "type": "integer",
- "default": 1024
- },
- "maxWebhooks": {
- "type": "integer",
- "default": 100
- }
- },
- "additionalProperties": false,
- "required": [
- "maxPins",
- "maxTopic",
- "maxWebhooks"
- ]
- },
- "RateLimits": {
- "type": "object",
- "properties": {
- "enabled": {
- "type": "boolean",
- "default": false
- },
- "ip": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "global": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "error": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "routes": {
- "$ref": "#/definitions/RouteRateLimit"
- }
- },
- "additionalProperties": false,
- "required": [
- "enabled",
- "error",
- "global",
- "ip",
- "routes"
- ]
- },
- "RateLimitOptions": {
- "type": "object",
- "properties": {
- "bot": {
- "type": "integer"
- },
- "count": {
- "type": "integer"
- },
- "window": {
- "type": "integer"
- },
- "onyIp": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "count",
- "window"
- ]
- },
- "RouteRateLimit": {
- "type": "object",
- "properties": {
- "guild": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "webhook": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "channel": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "auth": {}
- },
- "additionalProperties": false,
- "required": [
- "auth",
- "channel",
- "guild",
- "webhook"
- ]
- },
- "GlobalRateLimits": {
- "type": "object",
- "properties": {
- "register": {
- "$ref": "#/definitions/GlobalRateLimit"
- },
- "sendMessage": {
- "$ref": "#/definitions/GlobalRateLimit"
- }
- },
- "additionalProperties": false,
- "required": [
- "register",
- "sendMessage"
- ]
- },
- "GlobalRateLimit": {
- "type": "object",
- "properties": {
- "limit": {
- "type": "integer",
- "default": 100
- },
- "window": {
- "type": "integer",
- "default": 3600000
- },
- "enabled": {
- "type": "boolean",
- "default": true
- }
- },
- "additionalProperties": false,
- "required": [
- "enabled",
- "limit",
- "window"
- ]
- },
- "PublicConnectedAccount": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "type": {
- "type": "string"
- },
- "verified": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "name",
- "type"
- ]
- },
- "UserProfile": {
- "type": "object",
- "properties": {
- "accent_color": {
- "type": "integer"
- },
- "banner": {
- "type": "string"
- },
- "bio": {
- "type": "string"
- },
- "theme_colors": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "pronouns": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "bio"
- ]
- },
- "Badge": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "link": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "description",
- "icon",
- "id"
- ]
- },
- "TokenResponse": {
- "type": "object",
- "properties": {
- "token": {
- "type": "string"
- },
- "settings": {
- "$ref": "#/definitions/UserSettings"
- }
- },
- "additionalProperties": false,
- "required": [
- "settings",
- "token"
- ]
- },
- "MFAResponse": {
- "type": "object",
- "properties": {
- "ticket": {
- "type": "string"
- },
- "mfa": {
- "type": "boolean",
- "enum": [
- true
- ]
- },
- "sms": {
- "type": "boolean",
- "enum": [
- false
- ]
- },
- "token": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "mfa",
- "sms",
- "ticket",
- "token"
- ]
- },
- "WebAuthnResponse": {
- "type": "object",
- "properties": {
- "webauthn": {
- "type": "string"
- },
- "ticket": {
- "type": "string"
- },
- "mfa": {
- "type": "boolean",
- "enum": [
- true
- ]
- },
- "sms": {
- "type": "boolean",
- "enum": [
- false
- ]
- },
- "token": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "mfa",
- "sms",
- "ticket",
- "token",
- "webauthn"
- ]
- }
- },
"$schema": "http://json-schema.org/draft-07/schema#"
},
"ApplicationAuthorizeSchema": {
@@ -19347,4772 +84,6 @@
"guild_id",
"permissions"
],
- "definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
- "ChannelPermissionOverwriteType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "ConnectedAccountTokenData": {
- "type": "object",
- "properties": {
- "access_token": {
- "type": "string"
- },
- "token_type": {
- "type": "string"
- },
- "scope": {
- "type": "string"
- },
- "refresh_token": {
- "type": "string"
- },
- "expires_in": {
- "type": "integer"
- },
- "expires_at": {
- "type": "integer"
- },
- "fetched_at": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "access_token",
- "fetched_at"
- ]
- },
- "ChannelModifySchema": {
- "type": "object",
- "properties": {
- "name": {
- "maxLength": 100,
- "type": "string"
- },
- "type": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 2,
- 255,
- 3,
- 33,
- 34,
- 35,
- 4,
- 5,
- 6,
- 64,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "topic": {
- "type": "string"
- },
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "bitrate": {
- "type": "integer"
- },
- "user_limit": {
- "type": "integer"
- },
- "rate_limit_per_user": {
- "type": "integer"
- },
- "position": {
- "type": "integer"
- },
- "permission_overwrites": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/ChannelPermissionOverwriteType"
- },
- "allow": {
- "type": "string"
- },
- "deny": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "allow",
- "deny",
- "id",
- "type"
- ]
- }
- },
- "parent_id": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "nsfw": {
- "type": "boolean"
- },
- "rtc_region": {
- "type": "string"
- },
- "default_auto_archive_duration": {
- "type": "integer"
- },
- "default_reaction_emoji": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "default_thread_rate_limit_per_user": {
- "type": "integer"
- },
- "video_quality_mode": {
- "type": "integer"
- }
- },
- "additionalProperties": false
- },
- "ActivitySchema": {
- "type": "object",
- "properties": {
- "afk": {
- "type": "boolean"
- },
- "status": {
- "$ref": "#/definitions/Status"
- },
- "activities": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Activity"
- }
- },
- "since": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "status"
- ]
- },
- "Status": {
- "enum": [
- "dnd",
- "idle",
- "invisible",
- "offline",
- "online"
- ],
- "type": "string"
- },
- "Activity": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/ActivityType"
- },
- "url": {
- "type": "string"
- },
- "created_at": {
- "type": "integer"
- },
- "timestamps": {
- "type": "object",
- "properties": {
- "start": {
- "type": "integer"
- },
- "end": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "end",
- "start"
- ]
- },
- "application_id": {
- "type": "string"
- },
- "details": {
- "type": "string"
- },
- "state": {
- "type": "string"
- },
- "emoji": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "animated": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "animated",
- "name"
- ]
- },
- "party": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "size": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- }
- },
- "additionalProperties": false
- },
- "assets": {
- "type": "object",
- "properties": {
- "large_image": {
- "type": "string"
- },
- "large_text": {
- "type": "string"
- },
- "small_image": {
- "type": "string"
- },
- "small_text": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "secrets": {
- "type": "object",
- "properties": {
- "join": {
- "type": "string"
- },
- "spectate": {
- "type": "string"
- },
- "match": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "instance": {
- "type": "boolean"
- },
- "flags": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "sync_id": {
- "type": "string"
- },
- "metadata": {
- "type": "object",
- "properties": {
- "context_uri": {
- "type": "string"
- },
- "album_id": {
- "type": "string"
- },
- "artist_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "album_id",
- "artist_ids"
- ]
- },
- "session_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "flags",
- "name",
- "session_id",
- "type"
- ]
- },
- "ActivityType": {
- "enum": [
- 0,
- 1,
- 2,
- 4,
- 5
- ],
- "type": "number"
- },
- "Embed": {
- "type": "object",
- "properties": {
- "title": {
- "type": "string"
- },
- "type": {
- "enum": [
- "article",
- "gifv",
- "image",
- "link",
- "rich",
- "video"
- ],
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "color": {
- "type": "integer"
- },
- "footer": {
- "type": "object",
- "properties": {
- "text": {
- "type": "string"
- },
- "icon_url": {
- "type": "string"
- },
- "proxy_icon_url": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "text"
- ]
- },
- "image": {
- "$ref": "#/definitions/EmbedImage"
- },
- "thumbnail": {
- "$ref": "#/definitions/EmbedImage"
- },
- "video": {
- "$ref": "#/definitions/EmbedImage"
- },
- "provider": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "url": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "author": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "icon_url": {
- "type": "string"
- },
- "proxy_icon_url": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "fields": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "value": {
- "type": "string"
- },
- "inline": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "name",
- "value"
- ]
- }
- }
- },
- "additionalProperties": false
- },
- "EmbedImage": {
- "type": "object",
- "properties": {
- "url": {
- "type": "string"
- },
- "proxy_url": {
- "type": "string"
- },
- "height": {
- "type": "integer"
- },
- "width": {
- "type": "integer"
- }
- },
- "additionalProperties": false
- },
- "ActionRowComponent": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/definitions/MessageComponentType.ActionRow"
- },
- "components": {
- "type": "array",
- "items": {
- "anyOf": [
- {
- "$ref": "#/definitions/ButtonComponent"
- },
- {
- "$ref": "#/definitions/SelectMenuComponent"
- },
- {
- "$ref": "#/definitions/StringSelectMenuComponent"
- },
- {
- "$ref": "#/definitions/TextInputComponent"
- }
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "components",
- "type"
- ]
- },
- "MessageComponentType.ActionRow": {
- "type": "number",
- "enum": [
- 1
- ]
- },
- "ButtonComponent": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/definitions/MessageComponentType.Button"
- },
- "style": {
- "$ref": "#/definitions/ButtonStyle"
- },
- "label": {
- "type": "string"
- },
- "emoji": {
- "$ref": "#/definitions/PartialEmoji"
- },
- "custom_id": {
- "type": "string"
- },
- "sku_id": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "disabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "style",
- "type"
- ]
- },
- "MessageComponentType.Button": {
- "type": "number",
- "enum": [
- 2
- ]
- },
- "ButtonStyle": {
- "enum": [
- 1,
- 2,
- 3,
- 4,
- 5,
- 6
- ],
- "type": "number"
- },
- "PartialEmoji": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "animated": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "name"
- ]
- },
- "SelectMenuComponent": {
- "type": "object",
- "properties": {
- "type": {
- "enum": [
- 3,
- 5,
- 6,
- 7,
- 8
- ],
- "type": "number"
- },
- "custom_id": {
- "type": "string"
- },
- "channel_types": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "placeholder": {
- "type": "string"
- },
- "default_values": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SelectMenuDefaultOption"
- }
- },
- "min_values": {
- "type": "integer"
- },
- "max_values": {
- "type": "integer"
- },
- "disabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom_id",
- "type"
- ]
- },
- "SelectMenuDefaultOption": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {
- "enum": [
- "channel",
- "role",
- "user"
- ],
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "type"
- ]
- },
- "StringSelectMenuComponent": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/definitions/MessageComponentType.StringSelect"
- },
- "options": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SelectMenuOption"
- }
- },
- "custom_id": {
- "type": "string"
- },
- "channel_types": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "placeholder": {
- "type": "string"
- },
- "default_values": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SelectMenuDefaultOption"
- }
- },
- "min_values": {
- "type": "integer"
- },
- "max_values": {
- "type": "integer"
- },
- "disabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom_id",
- "options",
- "type"
- ]
- },
- "MessageComponentType.StringSelect": {
- "type": "number",
- "enum": [
- 3
- ]
- },
- "SelectMenuOption": {
- "type": "object",
- "properties": {
- "label": {
- "type": "string"
- },
- "value": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "emoji": {
- "$ref": "#/definitions/PartialEmoji"
- },
- "default": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "label",
- "value"
- ]
- },
- "TextInputComponent": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/definitions/MessageComponentType.TextInput"
- },
- "custom_id": {
- "type": "string"
- },
- "style": {
- "$ref": "#/definitions/TextInputStyle"
- },
- "label": {
- "type": "string"
- },
- "min_length": {
- "type": "integer"
- },
- "max_length": {
- "type": "integer"
- },
- "required": {
- "type": "boolean"
- },
- "value": {
- "type": "string"
- },
- "placeholder": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom_id",
- "label",
- "style",
- "type"
- ]
- },
- "MessageComponentType.TextInput": {
- "type": "number",
- "enum": [
- 4
- ]
- },
- "TextInputStyle": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
- },
- "PollCreationSchema": {
- "type": "object",
- "properties": {
- "question": {
- "$ref": "#/definitions/PollMedia"
- },
- "answers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PollAnswer"
- }
- },
- "duration": {
- "type": "integer"
- },
- "allow_multiselect": {
- "type": "boolean"
- },
- "layout_type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "answers",
- "question"
- ]
- },
- "PollMedia": {
- "type": "object",
- "properties": {
- "text": {
- "type": "string"
- },
- "emoji": {
- "$ref": "#/definitions/PartialEmoji"
- }
- },
- "additionalProperties": false
- },
- "PollAnswer": {
- "type": "object",
- "properties": {
- "answer_id": {
- "type": "string"
- },
- "poll_media": {
- "$ref": "#/definitions/PollMedia"
- }
- },
- "additionalProperties": false,
- "required": [
- "poll_media"
- ]
- },
- "ChannelOverride": {
- "type": "object",
- "properties": {
- "message_notifications": {
- "type": "integer"
- },
- "mute_config": {
- "$ref": "#/definitions/MuteConfig"
- },
- "muted": {
- "type": "boolean"
- },
- "channel_id": {
- "type": [
- "null",
- "string"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "channel_id",
- "message_notifications",
- "mute_config",
- "muted"
- ]
- },
- "MuteConfig": {
- "type": "object",
- "properties": {
- "end_time": {
- "type": "integer"
- },
- "selected_time_window": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "end_time",
- "selected_time_window"
- ]
- },
- "CustomStatus": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": "string"
- },
- "emoji_name": {
- "type": "string"
- },
- "expires_at": {
- "type": "integer"
- },
- "text": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "FriendSourceFlags": {
- "type": "object",
- "properties": {
- "all": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "all"
- ]
- },
- "GuildFolder": {
- "type": "object",
- "properties": {
- "color": {
- "type": "integer"
- },
- "guild_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "color",
- "guild_ids",
- "id",
- "name"
- ]
- },
- "GenerateWebAuthnCredentialsSchema": {
- "type": "object",
- "properties": {
- "password": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "password"
- ]
- },
- "CreateWebAuthnCredentialSchema": {
- "type": "object",
- "properties": {
- "credential": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "ticket": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "credential",
- "name",
- "ticket"
- ]
- },
- "APIErrorResponse": {
- "type": "object",
- "properties": {
- "code": {
- "type": "integer"
- },
- "message": {
- "type": "string"
- },
- "errors": {
- "type": "object",
- "additionalProperties": {
- "type": "object",
- "properties": {
- "_errors": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "message": {
- "type": "string"
- },
- "code": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "message"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "_errors"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "errors",
- "message"
- ]
- },
- "CaptchaRequiredResponse": {
- "type": "object",
- "properties": {
- "captcha_key": {
- "type": "string"
- },
- "captcha_sitekey": {
- "type": "string"
- },
- "captcha_service": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "captcha_key",
- "captcha_service",
- "captcha_sitekey"
- ]
- },
- "Guild": {
- "type": "object",
- "properties": {
- "afk_channel_id": {
- "type": "string"
- },
- "afk_channel": {
- "$ref": "#/definitions/Channel"
- },
- "afk_timeout": {
- "type": "integer"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "banner": {
- "type": "string"
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "description": {
- "type": "string"
- },
- "discovery_splash": {
- "type": "string"
- },
- "explicit_content_filter": {
- "type": "integer"
- },
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "primary_category_id": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "large": {
- "type": "boolean",
- "default": false
- },
- "max_members": {
- "type": "integer"
- },
- "max_presences": {
- "type": "integer"
- },
- "max_video_channel_users": {
- "type": "integer"
- },
- "member_count": {
- "type": "integer"
- },
- "presence_count": {
- "type": "integer"
- },
- "members": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Member"
- }
- },
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
- },
- "channels": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Channel"
- }
- },
- "template_id": {
- "type": "string"
- },
- "template": {
- "$ref": "#/definitions/Template"
- },
- "emojis": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Emoji"
- }
- },
- "stickers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Sticker"
- }
- },
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
- "mfa_level": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- },
- "owner_id": {
- "type": "string"
- },
- "owner": {
- "$ref": "#/definitions/User"
- },
- "preferred_locale": {
- "type": "string"
- },
- "premium_subscription_count": {
- "type": "integer"
- },
- "premium_tier": {
- "type": "integer"
- },
- "public_updates_channel_id": {
- "type": "string"
- },
- "public_updates_channel": {
- "$ref": "#/definitions/Channel"
- },
- "rules_channel_id": {
- "type": "string"
- },
- "rules_channel": {
- "type": "string"
- },
- "region": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_id": {
- "type": "string"
- },
- "system_channel": {
- "$ref": "#/definitions/Channel"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "unavailable": {
- "type": "boolean",
- "default": false
- },
- "verification_level": {
- "type": "integer"
- },
- "welcome_screen": {
- "$ref": "#/definitions/GuildWelcomeScreen"
- },
- "widget_channel_id": {
- "type": "string"
- },
- "widget_channel": {
- "$ref": "#/definitions/Channel"
- },
- "widget_enabled": {
- "type": "boolean",
- "default": true
- },
- "nsfw_level": {
- "type": "integer"
- },
- "nsfw": {
- "type": "boolean",
- "default": false
- },
- "parent": {
- "type": "string"
- },
- "permissions": {
- "type": "integer"
- },
- "premium_progress_bar_enabled": {
- "type": "boolean",
- "default": false
- },
- "channel_ordering": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "bans",
- "channel_ordering",
- "channels",
- "emojis",
- "features",
- "id",
- "invites",
- "members",
- "name",
- "nsfw",
- "premium_progress_bar_enabled",
- "public_updates_channel_id",
- "roles",
- "stickers",
- "template",
- "unavailable",
- "voice_states",
- "webhooks",
- "welcome_screen",
- "widget_enabled"
- ]
- },
- "Channel": {
- "type": "object",
- "properties": {
- "created_at": {
- "type": "string",
- "format": "date-time"
- },
- "name": {
- "type": "string"
- },
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "type": {
- "$ref": "#/definitions/ChannelType"
- },
- "recipients": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Recipient"
- }
- },
- "last_message_id": {
- "type": "string"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "parent_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "parent": {
- "$ref": "#/definitions/Channel"
- },
- "owner_id": {
- "type": "string"
- },
- "owner": {
- "$ref": "#/definitions/User"
- },
- "last_pin_timestamp": {
- "type": "integer"
- },
- "default_auto_archive_duration": {
- "type": "integer"
- },
- "permission_overwrites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ChannelPermissionOverwrite"
- }
- },
- "video_quality_mode": {
- "type": "integer"
- },
- "bitrate": {
- "type": "integer"
- },
- "user_limit": {
- "type": "integer"
- },
- "nsfw": {
- "type": "boolean",
- "default": false
- },
- "rate_limit_per_user": {
- "type": "integer"
- },
- "topic": {
- "type": "string"
- },
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "retention_policy_id": {
- "type": "string"
- },
- "messages": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Message"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "read_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ReadState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
- "flags": {
- "type": "integer",
- "default": 0
- },
- "default_thread_rate_limit_per_user": {
- "type": "integer",
- "default": 0
- },
- "position": {
- "description": "Must be calculated Channel.calculatePosition",
- "type": "integer"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "created_at",
- "default_thread_rate_limit_per_user",
- "flags",
- "id",
- "nsfw",
- "owner",
- "parent_id",
- "position",
- "type"
- ]
- },
- "ChannelType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 2,
- 255,
- 3,
- 33,
- 34,
- 35,
- 4,
- 5,
- 6,
- 64,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "Recipient": {
- "type": "object",
- "properties": {
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "closed": {
- "type": "boolean"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel",
- "channel_id",
- "closed",
- "id",
- "user",
- "user_id"
- ]
- },
- "User": {
- "type": "object",
- "properties": {
- "username": {
- "type": "string"
- },
- "discriminator": {
- "type": "string"
- },
- "avatar": {
- "type": "string"
- },
- "accent_color": {
- "type": "integer"
- },
- "banner": {
- "type": "string"
- },
- "theme_colors": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "pronouns": {
- "type": "string"
- },
- "phone": {
- "type": "string"
- },
- "desktop": {
- "type": "boolean",
- "default": false
- },
- "mobile": {
- "type": "boolean",
- "default": false
- },
- "premium": {
- "type": "boolean"
- },
- "premium_type": {
- "type": "integer"
- },
- "bot": {
- "type": "boolean",
- "default": false
- },
- "bio": {
- "type": "string",
- "default": ""
- },
- "system": {
- "type": "boolean",
- "default": false
- },
- "nsfw_allowed": {
- "type": "boolean",
- "default": true
- },
- "mfa_enabled": {
- "type": "boolean",
- "default": false
- },
- "webauthn_enabled": {
- "type": "boolean",
- "default": false
- },
- "totp_secret": {
- "type": "string",
- "default": ""
- },
- "totp_last_ticket": {
- "type": "string",
- "default": ""
- },
- "created_at": {
- "type": "string",
- "format": "date-time"
- },
- "premium_since": {
- "type": "string",
- "format": "date-time"
- },
- "verified": {
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean",
- "default": false
- },
- "deleted": {
- "type": "boolean",
- "default": false
- },
- "email": {
- "type": "string"
- },
- "flags": {
- "type": "integer",
- "default": 0
- },
- "public_flags": {
- "type": "integer",
- "default": 0
- },
- "purchased_flags": {
- "type": "integer",
- "default": 0
- },
- "premium_usage_flags": {
- "type": "integer",
- "default": 0
- },
- "rights": {
- "type": "string"
- },
- "sessions": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Session"
- }
- },
- "relationships": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Relationship"
- }
- },
- "connected_accounts": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ConnectedAccount"
- }
- },
- "data": {
- "type": "object",
- "properties": {
- "valid_tokens_since": {
- "type": "string",
- "format": "date-time"
- },
- "hash": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "valid_tokens_since"
- ]
- },
- "fingerprints": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "settings": {
- "$ref": "#/definitions/UserSettings"
- },
- "extended_settings": {
- "type": "string",
- "default": "{}"
- },
- "security_keys": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SecurityKey"
- }
- },
- "badge_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "bio",
- "bot",
- "connected_accounts",
- "created_at",
- "data",
- "deleted",
- "desktop",
- "disabled",
- "discriminator",
- "extended_settings",
- "fingerprints",
- "flags",
- "id",
- "mfa_enabled",
- "mobile",
- "nsfw_allowed",
- "premium",
- "premium_since",
- "premium_type",
- "premium_usage_flags",
- "public_flags",
- "purchased_flags",
- "relationships",
- "rights",
- "security_keys",
- "sessions",
- "settings",
- "system",
- "username",
- "verified",
- "webauthn_enabled"
- ]
- },
- "Session": {
- "type": "object",
- "properties": {
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "session_id": {
- "type": "string"
- },
- "activities": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Activity"
- }
- },
- "client_info": {
- "type": "object",
- "properties": {
- "client": {
- "type": "string"
- },
- "os": {
- "type": "string"
- },
- "version": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "client",
- "os",
- "version"
- ]
- },
- "client_status": {
- "$ref": "#/definitions/ClientStatus"
- },
- "status": {
- "$ref": "#/definitions/Status"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "activities",
- "client_info",
- "client_status",
- "id",
- "session_id",
- "status",
- "user",
- "user_id"
- ]
- },
- "ClientStatus": {
- "type": "object",
- "properties": {
- "desktop": {
- "type": "string"
- },
- "mobile": {
- "type": "string"
- },
- "web": {
- "type": "string"
- },
- "embedded": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "Relationship": {
- "type": "object",
- "properties": {
- "from_id": {
- "type": "string"
- },
- "from": {
- "$ref": "#/definitions/User"
- },
- "to_id": {
- "type": "string"
- },
- "to": {
- "$ref": "#/definitions/User"
- },
- "nickname": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/RelationshipType"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "from",
- "from_id",
- "id",
- "to",
- "to_id",
- "type"
- ]
- },
- "RelationshipType": {
- "enum": [
- 1,
- 2,
- 3,
- 4
- ],
- "type": "number"
- },
- "ConnectedAccount": {
- "type": "object",
- "properties": {
- "external_id": {
- "type": "string"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "friend_sync": {
- "type": "boolean",
- "default": false
- },
- "name": {
- "type": "string"
- },
- "revoked": {
- "type": "boolean",
- "default": false
- },
- "show_activity": {
- "type": "integer",
- "default": 0
- },
- "type": {
- "type": "string"
- },
- "verified": {
- "type": "boolean",
- "default": true
- },
- "visibility": {
- "type": "integer",
- "default": 0
- },
- "integrations": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "metadata_": {},
- "metadata_visibility": {
- "type": "integer",
- "default": 0
- },
- "two_way_link": {
- "type": "boolean",
- "default": false
- },
- "token_data": {
- "anyOf": [
- {
- "$ref": "#/definitions/ConnectedAccountTokenData"
- },
- {
- "type": "null"
- }
- ]
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "external_id",
- "id",
- "name",
- "type",
- "user",
- "user_id"
- ]
- },
- "UserSettings": {
- "type": "object",
- "properties": {
- "index": {
- "type": "string"
- },
- "afk_timeout": {
- "type": "integer",
- "default": 3600
- },
- "allow_accessibility_detection": {
- "type": "boolean",
- "default": true
- },
- "animate_emoji": {
- "type": "boolean",
- "default": true
- },
- "animate_stickers": {
- "type": "integer",
- "default": 0
- },
- "contact_sync_enabled": {
- "type": "boolean",
- "default": false
- },
- "convert_emoticons": {
- "type": "boolean",
- "default": false
- },
- "custom_status": {
- "anyOf": [
- {
- "$ref": "#/definitions/CustomStatus"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "default_guilds_restricted": {
- "type": "boolean",
- "default": false
- },
- "detect_platform_accounts": {
- "type": "boolean",
- "default": false
- },
- "developer_mode": {
- "type": "boolean",
- "default": true
- },
- "disable_games_tab": {
- "type": "boolean",
- "default": true
- },
- "enable_tts_command": {
- "type": "boolean",
- "default": false
- },
- "explicit_content_filter": {
- "type": "integer",
- "default": 0
- },
- "friend_discovery_flags": {
- "type": "integer",
- "default": 0
- },
- "friend_source_flags": {
- "$ref": "#/definitions/FriendSourceFlags"
- },
- "gateway_connected": {
- "type": "boolean",
- "default": false
- },
- "gif_auto_play": {
- "type": "boolean",
- "default": false
- },
- "guild_folders": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/GuildFolder"
- },
- "default": []
- },
- "guild_positions": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "inline_attachment_media": {
- "type": "boolean",
- "default": true
- },
- "inline_embed_media": {
- "type": "boolean",
- "default": true
- },
- "locale": {
- "type": "string",
- "default": "en-US"
- },
- "message_display_compact": {
- "type": "boolean",
- "default": false
- },
- "native_phone_integration_enabled": {
- "type": "boolean",
- "default": true
- },
- "render_embeds": {
- "type": "boolean",
- "default": true
- },
- "render_reactions": {
- "type": "boolean",
- "default": true
- },
- "restricted_guilds": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "show_current_game": {
- "type": "boolean",
- "default": true
- },
- "status": {
- "enum": [
- "dnd",
- "idle",
- "invisible",
- "offline",
- "online"
- ],
- "type": "string",
- "default": "online"
- },
- "stream_notifications_enabled": {
- "type": "boolean",
- "default": false
- },
- "theme": {
- "enum": [
- "dark",
- "light"
- ],
- "type": "string",
- "default": "dark"
- },
- "timezone_offset": {
- "type": "integer",
- "default": 0
- },
- "view_nsfw_guilds": {
- "type": "boolean",
- "default": true
- }
- },
- "additionalProperties": false,
- "required": [
- "afk_timeout",
- "allow_accessibility_detection",
- "animate_emoji",
- "animate_stickers",
- "contact_sync_enabled",
- "convert_emoticons",
- "custom_status",
- "default_guilds_restricted",
- "detect_platform_accounts",
- "developer_mode",
- "disable_games_tab",
- "enable_tts_command",
- "explicit_content_filter",
- "friend_discovery_flags",
- "friend_source_flags",
- "gateway_connected",
- "gif_auto_play",
- "guild_folders",
- "guild_positions",
- "index",
- "inline_attachment_media",
- "inline_embed_media",
- "locale",
- "message_display_compact",
- "native_phone_integration_enabled",
- "render_embeds",
- "render_reactions",
- "restricted_guilds",
- "show_current_game",
- "status",
- "stream_notifications_enabled",
- "theme",
- "timezone_offset",
- "view_nsfw_guilds"
- ]
- },
- "SecurityKey": {
- "type": "object",
- "properties": {
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "key_id": {
- "type": "string"
- },
- "public_key": {
- "type": "string"
- },
- "counter": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "counter",
- "id",
- "key_id",
- "name",
- "public_key",
- "user",
- "user_id"
- ]
- },
- "ChannelPermissionOverwrite": {
- "type": "object",
- "properties": {
- "allow": {
- "type": "string"
- },
- "deny": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/ChannelPermissionOverwriteType"
- }
- },
- "additionalProperties": false,
- "required": [
- "allow",
- "deny",
- "id",
- "type"
- ]
- },
- "Invite": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "temporary": {
- "type": "boolean"
- },
- "uses": {
- "type": "integer"
- },
- "max_uses": {
- "type": "integer"
- },
- "max_age": {
- "type": "integer"
- },
- "created_at": {
- "type": "string",
- "format": "date-time"
- },
- "expires_at": {
- "type": "string",
- "format": "date-time"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "inviter_id": {
- "type": "string"
- },
- "inviter": {
- "$ref": "#/definitions/User"
- },
- "target_user_id": {
- "type": "string"
- },
- "target_user": {
- "type": "string"
- },
- "target_user_type": {
- "type": "integer"
- },
- "vanity_url": {
- "type": "boolean"
- },
- "flags": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel",
- "channel_id",
- "code",
- "created_at",
- "flags",
- "guild",
- "guild_id",
- "inviter",
- "max_age",
- "max_uses",
- "target_user_id",
- "temporary",
- "uses"
- ]
- },
- "Message": {
- "type": "object",
- "properties": {
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "author_id": {
- "type": "string"
- },
- "author": {
- "$ref": "#/definitions/User"
- },
- "member_id": {
- "type": "string"
- },
- "member": {
- "$ref": "#/definitions/Member"
- },
- "webhook_id": {
- "type": "string"
- },
- "webhook": {
- "$ref": "#/definitions/Webhook"
- },
- "application_id": {
- "type": "string"
- },
- "application": {
- "$ref": "#/definitions/Application"
- },
- "content": {
- "type": "string"
- },
- "timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "edited_timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "tts": {
- "type": "boolean"
- },
- "mention_everyone": {
- "type": "boolean"
- },
- "mentions": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/User"
- }
- },
- "mention_roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
- },
- "mention_channels": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Channel"
- }
- },
- "sticker_items": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Sticker"
- }
- },
- "attachments": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Attachment"
- }
- },
- "embeds": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Embed"
- }
- },
- "reactions": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Reaction"
- }
- },
- "nonce": {
- "type": "string"
- },
- "pinned": {
- "type": "boolean"
- },
- "type": {
- "$ref": "#/definitions/MessageType"
- },
- "activity": {
- "type": "object",
- "properties": {
- "type": {
- "type": "integer"
- },
- "party_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "party_id",
- "type"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "message_reference": {
- "type": "object",
- "properties": {
- "message_id": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- },
- "guild_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "message_id"
- ]
- },
- "referenced_message": {
- "$ref": "#/definitions/Message"
- },
- "interaction": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/InteractionType"
- },
- "name": {
- "type": "string"
- },
- "user_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name",
- "type",
- "user_id"
- ]
- },
- "components": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ActionRowComponent"
- }
- },
- "poll": {
- "$ref": "#/definitions/Poll"
- },
- "username": {
- "type": "string"
- },
- "avatar": {
- "type": "string"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel",
- "embeds",
- "flags",
- "id",
- "mention_channels",
- "mention_roles",
- "mentions",
- "reactions",
- "timestamp",
- "type"
- ]
- },
- "Member": {
- "type": "object",
- "properties": {
- "index": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "nick": {
- "type": "string"
- },
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
- },
- "joined_at": {
- "type": "string",
- "format": "date-time"
- },
- "premium_since": {
- "type": "integer"
- },
- "deaf": {
- "type": "boolean"
- },
- "mute": {
- "type": "boolean"
- },
- "pending": {
- "type": "boolean"
- },
- "settings": {
- "$ref": "#/definitions/UserGuildSettings"
- },
- "last_message_id": {
- "type": "string"
- },
- "joined_by": {
- "type": "string"
- },
- "avatar": {
- "type": "string"
- },
- "banner": {
- "type": "string"
- },
- "bio": {
- "type": "string"
- },
- "theme_colors": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "pronouns": {
- "type": "string"
- },
- "communication_disabled_until": {
- "type": "string",
- "format": "date-time"
- }
- },
- "additionalProperties": false,
- "required": [
- "banner",
- "bio",
- "communication_disabled_until",
- "deaf",
- "guild",
- "guild_id",
- "id",
- "index",
- "joined_at",
- "joined_by",
- "mute",
- "pending",
- "roles",
- "settings",
- "user"
- ]
- },
- "Role": {
- "type": "object",
- "properties": {
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "color": {
- "type": "integer"
- },
- "hoist": {
- "type": "boolean"
- },
- "managed": {
- "type": "boolean"
- },
- "mentionable": {
- "type": "boolean"
- },
- "name": {
- "type": "string"
- },
- "permissions": {
- "type": "string"
- },
- "position": {
- "type": "integer"
- },
- "icon": {
- "type": "string"
- },
- "unicode_emoji": {
- "type": "string"
- },
- "tags": {
- "type": "object",
- "properties": {
- "bot_id": {
- "type": "string"
- },
- "integration_id": {
- "type": "string"
- },
- "premium_subscriber": {
- "type": "boolean"
- }
- },
- "additionalProperties": false
- },
- "flags": {
- "type": "integer"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "color",
- "flags",
- "guild",
- "guild_id",
- "hoist",
- "id",
- "managed",
- "mentionable",
- "name",
- "permissions",
- "position"
- ]
- },
- "UserGuildSettings": {
- "type": "object",
- "properties": {
- "channel_overrides": {
- "anyOf": [
- {
- "type": "object",
- "additionalProperties": {
- "$ref": "#/definitions/ChannelOverride"
- }
- },
- {
- "type": "null"
- }
- ]
- },
- "message_notifications": {
- "type": "integer"
- },
- "mobile_push": {
- "type": "boolean"
- },
- "mute_config": {
- "anyOf": [
- {
- "$ref": "#/definitions/MuteConfig"
- },
- {
- "type": "null"
- }
- ]
- },
- "muted": {
- "type": "boolean"
- },
- "suppress_everyone": {
- "type": "boolean"
- },
- "suppress_roles": {
- "type": "boolean"
- },
- "version": {
- "type": "integer"
- },
- "guild_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "mute_scheduled_events": {
- "type": "boolean"
- },
- "hide_muted_channels": {
- "type": "boolean"
- },
- "notify_highlights": {
- "type": "number",
- "enum": [
- 0
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "channel_overrides",
- "flags",
- "guild_id",
- "hide_muted_channels",
- "message_notifications",
- "mobile_push",
- "mute_config",
- "mute_scheduled_events",
- "muted",
- "notify_highlights",
- "suppress_everyone",
- "suppress_roles",
- "version"
- ]
- },
- "Webhook": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/definitions/WebhookType"
- },
- "name": {
- "type": "string"
- },
- "avatar": {
- "type": "string"
- },
- "token": {
- "type": "string"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "application_id": {
- "type": "string"
- },
- "application": {
- "$ref": "#/definitions/Application"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "source_guild_id": {
- "type": "string"
- },
- "source_guild": {
- "$ref": "#/definitions/Guild"
- },
- "source_channel_id": {
- "type": "string"
- },
- "source_channel": {
- "$ref": "#/definitions/Channel"
- },
- "url": {
- "type": "string"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "application",
- "application_id",
- "avatar",
- "channel",
- "channel_id",
- "id",
- "name",
- "source_channel",
- "source_channel_id",
- "type",
- "url",
- "user",
- "user_id"
- ]
- },
- "WebhookType": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "Application": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "summary": {
- "type": "string",
- "default": ""
- },
- "type": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "hook": {
- "type": "boolean",
- "default": true
- },
- "bot_public": {
- "type": "boolean",
- "default": true
- },
- "bot_require_code_grant": {
- "type": "boolean",
- "default": false
- },
- "verify_key": {
- "type": "string"
- },
- "owner": {
- "$ref": "#/definitions/User"
- },
- "flags": {
- "type": "integer",
- "default": 0
- },
- "redirect_uris": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "rpc_application_state": {
- "type": "integer",
- "default": 0
- },
- "store_application_state": {
- "type": "integer",
- "default": 1
- },
- "verification_state": {
- "type": "integer",
- "default": 1
- },
- "interactions_endpoint_url": {
- "type": "string"
- },
- "integration_public": {
- "type": "boolean",
- "default": true
- },
- "integration_require_code_grant": {
- "type": "boolean",
- "default": false
- },
- "discoverability_state": {
- "type": "integer",
- "default": 1
- },
- "discovery_eligibility_flags": {
- "type": "integer",
- "default": 2240
- },
- "bot": {
- "$ref": "#/definitions/User"
- },
- "tags": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "cover_image": {
- "type": "string"
- },
- "install_params": {
- "type": "object",
- "properties": {
- "scopes": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "permissions": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "permissions",
- "scopes"
- ]
- },
- "terms_of_service_url": {
- "type": "string"
- },
- "privacy_policy_url": {
- "type": "string"
- },
- "team": {
- "$ref": "#/definitions/Team"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "description",
- "discoverability_state",
- "discovery_eligibility_flags",
- "flags",
- "hook",
- "id",
- "integration_public",
- "integration_require_code_grant",
- "name",
- "owner",
- "redirect_uris",
- "rpc_application_state",
- "store_application_state",
- "summary",
- "verification_state",
- "verify_key"
- ]
- },
- "Team": {
- "type": "object",
- "properties": {
- "icon": {
- "type": "string"
- },
- "members": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/TeamMember"
- }
- },
- "name": {
- "type": "string"
- },
- "owner_user_id": {
- "type": "string"
- },
- "owner_user": {
- "$ref": "#/definitions/User"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "members",
- "name",
- "owner_user",
- "owner_user_id"
- ]
- },
- "TeamMember": {
- "type": "object",
- "properties": {
- "membership_state": {
- "$ref": "#/definitions/TeamMemberState"
- },
- "permissions": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "team_id": {
- "type": "string"
- },
- "team": {
- "$ref": "#/definitions/Team"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "membership_state",
- "permissions",
- "team",
- "team_id",
- "user",
- "user_id"
- ]
- },
- "TeamMemberState": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
- },
- "Sticker": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "available": {
- "type": "boolean"
- },
- "tags": {
- "type": "string"
- },
- "pack_id": {
- "type": "string"
- },
- "pack": {
- "$ref": "#/definitions/StickerPack"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "type": {
- "$ref": "#/definitions/StickerType"
- },
- "format_type": {
- "$ref": "#/definitions/StickerFormatType"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "format_type",
- "id",
- "name",
- "pack",
- "type"
- ]
- },
- "StickerPack": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "banner_asset_id": {
- "type": "string"
- },
- "stickers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Sticker"
- }
- },
- "cover_sticker_id": {
- "type": "string"
- },
- "cover_sticker": {
- "$ref": "#/definitions/Sticker"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name",
- "stickers"
- ]
- },
- "StickerType": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
- },
- "StickerFormatType": {
- "enum": [
- 0,
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "Attachment": {
- "type": "object",
- "properties": {
- "filename": {
- "type": "string"
- },
- "size": {
- "type": "integer"
- },
- "url": {
- "type": "string"
- },
- "proxy_url": {
- "type": "string"
- },
- "height": {
- "type": "integer"
- },
- "width": {
- "type": "integer"
- },
- "content_type": {
- "type": "string"
- },
- "message_id": {
- "type": "string"
- },
- "message": {
- "$ref": "#/definitions/Message"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "filename",
- "id",
- "message",
- "message_id",
- "proxy_url",
- "size",
- "url"
- ]
- },
- "Reaction": {
- "type": "object",
- "properties": {
- "count": {
- "type": "integer"
- },
- "emoji": {
- "$ref": "#/definitions/PartialEmoji"
- },
- "user_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "count",
- "emoji",
- "user_ids"
- ]
- },
- "MessageType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 19,
- 2,
- 20,
- 255,
- 3,
- 4,
- 41,
- 42,
- 43,
- 5,
- 50,
- 6,
- 63,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "InteractionType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "Poll": {
- "type": "object",
- "properties": {
- "question": {
- "$ref": "#/definitions/PollMedia"
- },
- "answers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PollAnswer"
- }
- },
- "expiry": {
- "type": "string",
- "format": "date-time"
- },
- "allow_multiselect": {
- "type": "boolean"
- },
- "results": {
- "$ref": "#/definitions/PollResult"
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_multiselect",
- "answers",
- "expiry",
- "question"
- ]
- },
- "PollResult": {
- "type": "object",
- "properties": {
- "is_finalized": {
- "type": "boolean"
- },
- "answer_counts": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PollAnswerCount"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "answer_counts",
- "is_finalized"
- ]
- },
- "PollAnswerCount": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "count": {
- "type": "integer"
- },
- "me_voted": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "count",
- "id",
- "me_voted"
- ]
- },
- "VoiceState": {
- "type": "object",
- "properties": {
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "member": {
- "$ref": "#/definitions/Member"
- },
- "session_id": {
- "type": "string"
- },
- "token": {
- "type": "string"
- },
- "deaf": {
- "type": "boolean"
- },
- "mute": {
- "type": "boolean"
- },
- "self_deaf": {
- "type": "boolean"
- },
- "self_mute": {
- "type": "boolean"
- },
- "self_stream": {
- "type": "boolean"
- },
- "self_video": {
- "type": "boolean"
- },
- "suppress": {
- "type": "boolean"
- },
- "request_to_speak_timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel",
- "channel_id",
- "deaf",
- "guild_id",
- "id",
- "member",
- "mute",
- "self_deaf",
- "self_mute",
- "self_video",
- "session_id",
- "suppress",
- "token",
- "user",
- "user_id"
- ]
- },
- "ReadState": {
- "type": "object",
- "properties": {
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "last_message_id": {
- "type": "string"
- },
- "public_ack": {
- "type": "string"
- },
- "notifications_cursor": {
- "type": "string"
- },
- "last_pin_timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "mention_count": {
- "type": "integer"
- },
- "manual": {
- "type": "boolean"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel",
- "channel_id",
- "id",
- "last_message_id",
- "manual",
- "mention_count",
- "notifications_cursor",
- "public_ack",
- "user",
- "user_id"
- ]
- },
- "Ban": {
- "type": "object",
- "properties": {
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "executor_id": {
- "type": "string"
- },
- "executor": {
- "$ref": "#/definitions/User"
- },
- "ip": {
- "type": "string"
- },
- "reason": {
- "type": "string"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "executor",
- "executor_id",
- "guild",
- "guild_id",
- "id",
- "ip",
- "user",
- "user_id"
- ]
- },
- "Template": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "usage_count": {
- "type": "integer"
- },
- "creator_id": {
- "type": "string"
- },
- "creator": {
- "$ref": "#/definitions/User"
- },
- "created_at": {
- "type": "string",
- "format": "date-time"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time"
- },
- "source_guild_id": {
- "type": "string"
- },
- "source_guild": {
- "$ref": "#/definitions/Guild"
- },
- "serialized_source_guild": {
- "$ref": "#/definitions/Guild"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "created_at",
- "creator",
- "creator_id",
- "id",
- "name",
- "serialized_source_guild",
- "source_guild",
- "source_guild_id",
- "updated_at"
- ]
- },
- "Emoji": {
- "type": "object",
- "properties": {
- "animated": {
- "type": "boolean"
- },
- "available": {
- "type": "boolean"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "managed": {
- "type": "boolean"
- },
- "name": {
- "type": "string"
- },
- "require_colons": {
- "type": "boolean"
- },
- "roles": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "groups": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "animated",
- "available",
- "groups",
- "guild",
- "guild_id",
- "id",
- "managed",
- "name",
- "require_colons",
- "roles",
- "user",
- "user_id"
- ]
- },
- "GuildWelcomeScreen": {
- "type": "object",
- "properties": {
- "enabled": {
- "type": "boolean"
- },
- "description": {
- "type": "string"
- },
- "welcome_channels": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "description": {
- "type": "string"
- },
- "emoji_id": {
- "type": "string"
- },
- "emoji_name": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel_id",
- "description"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "description",
- "enabled",
- "welcome_channels"
- ]
- },
- "GuildMessagesSearchMessage": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/MessageType"
- },
- "content": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- },
- "author": {
- "$ref": "#/definitions/PublicUser"
- },
- "attachments": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Attachment"
- }
- },
- "embeds": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Embed"
- }
- },
- "mentions": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PublicUser"
- }
- },
- "mention_roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
- },
- "pinned": {
- "type": "boolean"
- },
- "mention_everyone": {
- "type": "boolean"
- },
- "tts": {
- "type": "boolean"
- },
- "timestamp": {
- "type": "string"
- },
- "edited_timestamp": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "components": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ActionRowComponent"
- }
- },
- "poll": {
- "$ref": "#/definitions/Poll"
- },
- "hit": {
- "type": "boolean",
- "enum": [
- true
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "attachments",
- "author",
- "channel_id",
- "components",
- "edited_timestamp",
- "embeds",
- "flags",
- "hit",
- "id",
- "mention_roles",
- "mentions",
- "pinned",
- "poll",
- "timestamp",
- "tts",
- "type"
- ]
- },
- "PublicUser": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "premium_since": {
- "type": "string",
- "format": "date-time"
- },
- "avatar": {
- "type": "string"
- },
- "username": {
- "type": "string"
- },
- "discriminator": {
- "type": "string"
- },
- "public_flags": {
- "type": "integer"
- },
- "accent_color": {
- "type": "integer"
- },
- "banner": {
- "type": "string"
- },
- "bio": {
- "type": "string"
- },
- "bot": {
- "type": "boolean"
- },
- "premium_type": {
- "type": "integer"
- },
- "theme_colors": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "pronouns": {
- "type": "string"
- },
- "badge_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "bio",
- "bot",
- "discriminator",
- "id",
- "premium_since",
- "premium_type",
- "public_flags",
- "username"
- ]
- },
- "GuildVanityUrl": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "uses": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "uses"
- ]
- },
- "GuildVanityUrlNoInvite": {
- "type": "object",
- "properties": {
- "code": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "code"
- ]
- },
- "Snowflake": {
- "description": "A container for useful snowflake-related methods.",
- "type": "object",
- "additionalProperties": false
- },
- "TenorGifResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "src": {
- "type": "string"
- },
- "gif_src": {
- "type": "string"
- },
- "width": {
- "type": "integer"
- },
- "height": {
- "type": "integer"
- },
- "preview": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "gif_src",
- "height",
- "id",
- "preview",
- "src",
- "title",
- "url",
- "width"
- ]
- },
- "BackupCode": {
- "type": "object",
- "properties": {
- "user": {
- "$ref": "#/definitions/User"
- },
- "code": {
- "type": "string"
- },
- "consumed": {
- "type": "boolean"
- },
- "expired": {
- "type": "boolean"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "consumed",
- "expired",
- "id",
- "user"
- ]
- },
- "APIGuild": {
- "type": "object",
- "properties": {
- "reload": {
- "description": "Reloads entity data from the database.",
- "type": "object",
- "additionalProperties": false
- },
- "name": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "parent": {
- "type": "string"
- },
- "owner_id": {
- "type": "string"
- },
- "nsfw": {
- "type": "boolean"
- },
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
- "toJSON": {
- "type": "object",
- "additionalProperties": false
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
- },
- "assign": {
- "type": "object",
- "additionalProperties": false
- },
- "hasId": {
- "description": "Checks if entity has an id.\nIf entity composite compose ids, it will check them all.",
- "type": "object",
- "additionalProperties": false
- },
- "save": {
- "description": "Saves current entity in the database.\nIf entity does not exist in the database then inserts, otherwise updates.",
- "type": "object",
- "additionalProperties": false
- },
- "remove": {
- "description": "Removes current entity from the database.",
- "type": "object",
- "additionalProperties": false
- },
- "softRemove": {
- "description": "Records the delete date of current entity.",
- "type": "object",
- "additionalProperties": false
- },
- "recover": {
- "description": "Recovers a given entity in the database.",
- "type": "object",
- "additionalProperties": false
- },
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
- },
- "banner": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "unavailable": {
- "type": "boolean"
- },
- "channels": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Channel"
- }
- },
- "region": {
- "type": "string"
- },
- "system_channel_id": {
- "type": "string"
- },
- "rules_channel_id": {
- "type": "string"
- },
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
- },
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
- "type": "string"
- },
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "primary_category_id": {
- "type": "string"
- },
- "large": {
- "type": "boolean"
- },
- "max_members": {
- "type": "integer"
- },
- "max_presences": {
- "type": "integer"
- },
- "max_video_channel_users": {
- "type": "integer"
- },
- "member_count": {
- "type": "integer"
- },
- "presence_count": {
- "type": "integer"
- },
- "members": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Member"
- }
- },
- "template_id": {
- "type": "string"
- },
- "emojis": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Emoji"
- }
- },
- "stickers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Sticker"
- }
- },
- "mfa_level": {
- "type": "integer"
- },
- "preferred_locale": {
- "type": "string"
- },
- "premium_subscription_count": {
- "type": "integer"
- },
- "premium_tier": {
- "type": "integer"
- },
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
- "welcome_screen": {
- "$ref": "#/definitions/GuildWelcomeScreen"
- },
- "widget_channel_id": {
- "type": "string"
- },
- "widget_enabled": {
- "type": "boolean"
- },
- "nsfw_level": {
- "type": "integer"
- },
- "permissions": {
- "type": "integer"
- },
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
- "channel_ordering": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "_do_validate",
- "assign",
- "bans",
- "channel_ordering",
- "channels",
- "emojis",
- "features",
- "hasId",
- "id",
- "invites",
- "members",
- "name",
- "nsfw",
- "premium_progress_bar_enabled",
- "public_updates_channel_id",
- "recover",
- "reload",
- "remove",
- "roles",
- "save",
- "softRemove",
- "stickers",
- "toJSON",
- "unavailable",
- "voice_states",
- "webhooks",
- "welcome_screen",
- "widget_enabled"
- ]
- },
- "DmChannelDTO": {
- "type": "object",
- "properties": {
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "id": {
- "type": "string"
- },
- "last_message_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "name": {
- "type": [
- "null",
- "string"
- ]
- },
- "origin_channel_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "owner_id": {
- "type": "string"
- },
- "recipients": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/MinimalPublicUserDTO"
- }
- },
- "type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "icon",
- "id",
- "last_message_id",
- "name",
- "origin_channel_id",
- "recipients",
- "type"
- ]
- },
- "MinimalPublicUserDTO": {
- "type": "object",
- "properties": {
- "avatar": {
- "type": [
- "null",
- "string"
- ]
- },
- "discriminator": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "public_flags": {
- "type": "integer"
- },
- "username": {
- "type": "string"
- },
- "badge_ids": {
- "anyOf": [
- {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "discriminator",
- "id",
- "public_flags",
- "username"
- ]
- },
- "Categories": {
- "type": "object",
- "properties": {
- "id": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- },
- "localizations": {
- "type": "string"
- },
- "is_primary": {
- "type": "boolean"
- },
- "icon": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "is_primary",
- "localizations",
- "name"
- ]
- },
- "GuildVoiceRegion": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "custom": {
- "type": "boolean"
- },
- "deprecated": {
- "type": "boolean"
- },
- "optimal": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom",
- "deprecated",
- "id",
- "name",
- "optimal"
- ]
- },
- "UserLimits": {
- "type": "object",
- "properties": {
- "maxGuilds": {
- "type": "integer",
- "default": 1048576
- },
- "maxUsername": {
- "type": "integer",
- "default": 32
- },
- "maxFriends": {
- "type": "integer",
- "default": 5000
- },
- "maxBio": {
- "type": "integer",
- "default": 190
- }
- },
- "additionalProperties": false,
- "required": [
- "maxBio",
- "maxFriends",
- "maxGuilds",
- "maxUsername"
- ]
- },
- "GuildLimits": {
- "type": "object",
- "properties": {
- "maxRoles": {
- "type": "integer",
- "default": 1000
- },
- "maxEmojis": {
- "type": "integer",
- "default": 2000
- },
- "maxMembers": {
- "type": "integer",
- "default": 25000000
- },
- "maxChannels": {
- "type": "integer",
- "default": 65535
- },
- "maxBulkBanUsers": {
- "type": "integer",
- "default": 200
- },
- "maxChannelsInCategory": {
- "type": "integer",
- "default": 65535
- }
- },
- "additionalProperties": false,
- "required": [
- "maxBulkBanUsers",
- "maxChannels",
- "maxChannelsInCategory",
- "maxEmojis",
- "maxMembers",
- "maxRoles"
- ]
- },
- "MessageLimits": {
- "type": "object",
- "properties": {
- "maxCharacters": {
- "type": "integer",
- "default": 1048576
- },
- "maxTTSCharacters": {
- "type": "integer",
- "default": 160
- },
- "maxReactions": {
- "type": "integer",
- "default": 2048
- },
- "maxAttachmentSize": {
- "type": "integer",
- "default": 1073741824
- },
- "maxBulkDelete": {
- "type": "integer",
- "default": 1000
- },
- "maxEmbedDownloadSize": {
- "type": "integer",
- "default": 5242880
- }
- },
- "additionalProperties": false,
- "required": [
- "maxAttachmentSize",
- "maxBulkDelete",
- "maxCharacters",
- "maxEmbedDownloadSize",
- "maxReactions",
- "maxTTSCharacters"
- ]
- },
- "ChannelLimits": {
- "type": "object",
- "properties": {
- "maxPins": {
- "type": "integer",
- "default": 500
- },
- "maxTopic": {
- "type": "integer",
- "default": 1024
- },
- "maxWebhooks": {
- "type": "integer",
- "default": 100
- }
- },
- "additionalProperties": false,
- "required": [
- "maxPins",
- "maxTopic",
- "maxWebhooks"
- ]
- },
- "RateLimits": {
- "type": "object",
- "properties": {
- "enabled": {
- "type": "boolean",
- "default": false
- },
- "ip": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "global": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "error": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "routes": {
- "$ref": "#/definitions/RouteRateLimit"
- }
- },
- "additionalProperties": false,
- "required": [
- "enabled",
- "error",
- "global",
- "ip",
- "routes"
- ]
- },
- "RateLimitOptions": {
- "type": "object",
- "properties": {
- "bot": {
- "type": "integer"
- },
- "count": {
- "type": "integer"
- },
- "window": {
- "type": "integer"
- },
- "onyIp": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "count",
- "window"
- ]
- },
- "RouteRateLimit": {
- "type": "object",
- "properties": {
- "guild": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "webhook": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "channel": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "auth": {}
- },
- "additionalProperties": false,
- "required": [
- "auth",
- "channel",
- "guild",
- "webhook"
- ]
- },
- "GlobalRateLimits": {
- "type": "object",
- "properties": {
- "register": {
- "$ref": "#/definitions/GlobalRateLimit"
- },
- "sendMessage": {
- "$ref": "#/definitions/GlobalRateLimit"
- }
- },
- "additionalProperties": false,
- "required": [
- "register",
- "sendMessage"
- ]
- },
- "GlobalRateLimit": {
- "type": "object",
- "properties": {
- "limit": {
- "type": "integer",
- "default": 100
- },
- "window": {
- "type": "integer",
- "default": 3600000
- },
- "enabled": {
- "type": "boolean",
- "default": true
- }
- },
- "additionalProperties": false,
- "required": [
- "enabled",
- "limit",
- "window"
- ]
- },
- "PublicConnectedAccount": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "type": {
- "type": "string"
- },
- "verified": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "name",
- "type"
- ]
- },
- "UserProfile": {
- "type": "object",
- "properties": {
- "accent_color": {
- "type": "integer"
- },
- "banner": {
- "type": "string"
- },
- "bio": {
- "type": "string"
- },
- "theme_colors": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "pronouns": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "bio"
- ]
- },
- "Badge": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "link": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "description",
- "icon",
- "id"
- ]
- },
- "TokenResponse": {
- "type": "object",
- "properties": {
- "token": {
- "type": "string"
- },
- "settings": {
- "$ref": "#/definitions/UserSettings"
- }
- },
- "additionalProperties": false,
- "required": [
- "settings",
- "token"
- ]
- },
- "MFAResponse": {
- "type": "object",
- "properties": {
- "ticket": {
- "type": "string"
- },
- "mfa": {
- "type": "boolean",
- "enum": [
- true
- ]
- },
- "sms": {
- "type": "boolean",
- "enum": [
- false
- ]
- },
- "token": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "mfa",
- "sms",
- "ticket",
- "token"
- ]
- },
- "WebAuthnResponse": {
- "type": "object",
- "properties": {
- "webauthn": {
- "type": "string"
- },
- "ticket": {
- "type": "string"
- },
- "mfa": {
- "type": "boolean",
- "enum": [
- true
- ]
- },
- "sms": {
- "type": "boolean",
- "enum": [
- false
- ]
- },
- "token": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "mfa",
- "sms",
- "ticket",
- "token",
- "webauthn"
- ]
- }
- },
"$schema": "http://json-schema.org/draft-07/schema#"
},
"ApplicationCreateSchema": {
@@ -24132,4772 +103,6 @@
"required": [
"name"
],
- "definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
- "ChannelPermissionOverwriteType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "ConnectedAccountTokenData": {
- "type": "object",
- "properties": {
- "access_token": {
- "type": "string"
- },
- "token_type": {
- "type": "string"
- },
- "scope": {
- "type": "string"
- },
- "refresh_token": {
- "type": "string"
- },
- "expires_in": {
- "type": "integer"
- },
- "expires_at": {
- "type": "integer"
- },
- "fetched_at": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "access_token",
- "fetched_at"
- ]
- },
- "ChannelModifySchema": {
- "type": "object",
- "properties": {
- "name": {
- "maxLength": 100,
- "type": "string"
- },
- "type": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 2,
- 255,
- 3,
- 33,
- 34,
- 35,
- 4,
- 5,
- 6,
- 64,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "topic": {
- "type": "string"
- },
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "bitrate": {
- "type": "integer"
- },
- "user_limit": {
- "type": "integer"
- },
- "rate_limit_per_user": {
- "type": "integer"
- },
- "position": {
- "type": "integer"
- },
- "permission_overwrites": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/ChannelPermissionOverwriteType"
- },
- "allow": {
- "type": "string"
- },
- "deny": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "allow",
- "deny",
- "id",
- "type"
- ]
- }
- },
- "parent_id": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "nsfw": {
- "type": "boolean"
- },
- "rtc_region": {
- "type": "string"
- },
- "default_auto_archive_duration": {
- "type": "integer"
- },
- "default_reaction_emoji": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "default_thread_rate_limit_per_user": {
- "type": "integer"
- },
- "video_quality_mode": {
- "type": "integer"
- }
- },
- "additionalProperties": false
- },
- "ActivitySchema": {
- "type": "object",
- "properties": {
- "afk": {
- "type": "boolean"
- },
- "status": {
- "$ref": "#/definitions/Status"
- },
- "activities": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Activity"
- }
- },
- "since": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "status"
- ]
- },
- "Status": {
- "enum": [
- "dnd",
- "idle",
- "invisible",
- "offline",
- "online"
- ],
- "type": "string"
- },
- "Activity": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/ActivityType"
- },
- "url": {
- "type": "string"
- },
- "created_at": {
- "type": "integer"
- },
- "timestamps": {
- "type": "object",
- "properties": {
- "start": {
- "type": "integer"
- },
- "end": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "end",
- "start"
- ]
- },
- "application_id": {
- "type": "string"
- },
- "details": {
- "type": "string"
- },
- "state": {
- "type": "string"
- },
- "emoji": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "animated": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "animated",
- "name"
- ]
- },
- "party": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "size": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- }
- },
- "additionalProperties": false
- },
- "assets": {
- "type": "object",
- "properties": {
- "large_image": {
- "type": "string"
- },
- "large_text": {
- "type": "string"
- },
- "small_image": {
- "type": "string"
- },
- "small_text": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "secrets": {
- "type": "object",
- "properties": {
- "join": {
- "type": "string"
- },
- "spectate": {
- "type": "string"
- },
- "match": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "instance": {
- "type": "boolean"
- },
- "flags": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "sync_id": {
- "type": "string"
- },
- "metadata": {
- "type": "object",
- "properties": {
- "context_uri": {
- "type": "string"
- },
- "album_id": {
- "type": "string"
- },
- "artist_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "album_id",
- "artist_ids"
- ]
- },
- "session_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "flags",
- "name",
- "session_id",
- "type"
- ]
- },
- "ActivityType": {
- "enum": [
- 0,
- 1,
- 2,
- 4,
- 5
- ],
- "type": "number"
- },
- "Embed": {
- "type": "object",
- "properties": {
- "title": {
- "type": "string"
- },
- "type": {
- "enum": [
- "article",
- "gifv",
- "image",
- "link",
- "rich",
- "video"
- ],
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "color": {
- "type": "integer"
- },
- "footer": {
- "type": "object",
- "properties": {
- "text": {
- "type": "string"
- },
- "icon_url": {
- "type": "string"
- },
- "proxy_icon_url": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "text"
- ]
- },
- "image": {
- "$ref": "#/definitions/EmbedImage"
- },
- "thumbnail": {
- "$ref": "#/definitions/EmbedImage"
- },
- "video": {
- "$ref": "#/definitions/EmbedImage"
- },
- "provider": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "url": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "author": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "icon_url": {
- "type": "string"
- },
- "proxy_icon_url": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "fields": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "value": {
- "type": "string"
- },
- "inline": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "name",
- "value"
- ]
- }
- }
- },
- "additionalProperties": false
- },
- "EmbedImage": {
- "type": "object",
- "properties": {
- "url": {
- "type": "string"
- },
- "proxy_url": {
- "type": "string"
- },
- "height": {
- "type": "integer"
- },
- "width": {
- "type": "integer"
- }
- },
- "additionalProperties": false
- },
- "ActionRowComponent": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/definitions/MessageComponentType.ActionRow"
- },
- "components": {
- "type": "array",
- "items": {
- "anyOf": [
- {
- "$ref": "#/definitions/ButtonComponent"
- },
- {
- "$ref": "#/definitions/SelectMenuComponent"
- },
- {
- "$ref": "#/definitions/StringSelectMenuComponent"
- },
- {
- "$ref": "#/definitions/TextInputComponent"
- }
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "components",
- "type"
- ]
- },
- "MessageComponentType.ActionRow": {
- "type": "number",
- "enum": [
- 1
- ]
- },
- "ButtonComponent": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/definitions/MessageComponentType.Button"
- },
- "style": {
- "$ref": "#/definitions/ButtonStyle"
- },
- "label": {
- "type": "string"
- },
- "emoji": {
- "$ref": "#/definitions/PartialEmoji"
- },
- "custom_id": {
- "type": "string"
- },
- "sku_id": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "disabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "style",
- "type"
- ]
- },
- "MessageComponentType.Button": {
- "type": "number",
- "enum": [
- 2
- ]
- },
- "ButtonStyle": {
- "enum": [
- 1,
- 2,
- 3,
- 4,
- 5,
- 6
- ],
- "type": "number"
- },
- "PartialEmoji": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "animated": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "name"
- ]
- },
- "SelectMenuComponent": {
- "type": "object",
- "properties": {
- "type": {
- "enum": [
- 3,
- 5,
- 6,
- 7,
- 8
- ],
- "type": "number"
- },
- "custom_id": {
- "type": "string"
- },
- "channel_types": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "placeholder": {
- "type": "string"
- },
- "default_values": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SelectMenuDefaultOption"
- }
- },
- "min_values": {
- "type": "integer"
- },
- "max_values": {
- "type": "integer"
- },
- "disabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom_id",
- "type"
- ]
- },
- "SelectMenuDefaultOption": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {
- "enum": [
- "channel",
- "role",
- "user"
- ],
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "type"
- ]
- },
- "StringSelectMenuComponent": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/definitions/MessageComponentType.StringSelect"
- },
- "options": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SelectMenuOption"
- }
- },
- "custom_id": {
- "type": "string"
- },
- "channel_types": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "placeholder": {
- "type": "string"
- },
- "default_values": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SelectMenuDefaultOption"
- }
- },
- "min_values": {
- "type": "integer"
- },
- "max_values": {
- "type": "integer"
- },
- "disabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom_id",
- "options",
- "type"
- ]
- },
- "MessageComponentType.StringSelect": {
- "type": "number",
- "enum": [
- 3
- ]
- },
- "SelectMenuOption": {
- "type": "object",
- "properties": {
- "label": {
- "type": "string"
- },
- "value": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "emoji": {
- "$ref": "#/definitions/PartialEmoji"
- },
- "default": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "label",
- "value"
- ]
- },
- "TextInputComponent": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/definitions/MessageComponentType.TextInput"
- },
- "custom_id": {
- "type": "string"
- },
- "style": {
- "$ref": "#/definitions/TextInputStyle"
- },
- "label": {
- "type": "string"
- },
- "min_length": {
- "type": "integer"
- },
- "max_length": {
- "type": "integer"
- },
- "required": {
- "type": "boolean"
- },
- "value": {
- "type": "string"
- },
- "placeholder": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom_id",
- "label",
- "style",
- "type"
- ]
- },
- "MessageComponentType.TextInput": {
- "type": "number",
- "enum": [
- 4
- ]
- },
- "TextInputStyle": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
- },
- "PollCreationSchema": {
- "type": "object",
- "properties": {
- "question": {
- "$ref": "#/definitions/PollMedia"
- },
- "answers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PollAnswer"
- }
- },
- "duration": {
- "type": "integer"
- },
- "allow_multiselect": {
- "type": "boolean"
- },
- "layout_type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "answers",
- "question"
- ]
- },
- "PollMedia": {
- "type": "object",
- "properties": {
- "text": {
- "type": "string"
- },
- "emoji": {
- "$ref": "#/definitions/PartialEmoji"
- }
- },
- "additionalProperties": false
- },
- "PollAnswer": {
- "type": "object",
- "properties": {
- "answer_id": {
- "type": "string"
- },
- "poll_media": {
- "$ref": "#/definitions/PollMedia"
- }
- },
- "additionalProperties": false,
- "required": [
- "poll_media"
- ]
- },
- "ChannelOverride": {
- "type": "object",
- "properties": {
- "message_notifications": {
- "type": "integer"
- },
- "mute_config": {
- "$ref": "#/definitions/MuteConfig"
- },
- "muted": {
- "type": "boolean"
- },
- "channel_id": {
- "type": [
- "null",
- "string"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "channel_id",
- "message_notifications",
- "mute_config",
- "muted"
- ]
- },
- "MuteConfig": {
- "type": "object",
- "properties": {
- "end_time": {
- "type": "integer"
- },
- "selected_time_window": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "end_time",
- "selected_time_window"
- ]
- },
- "CustomStatus": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": "string"
- },
- "emoji_name": {
- "type": "string"
- },
- "expires_at": {
- "type": "integer"
- },
- "text": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "FriendSourceFlags": {
- "type": "object",
- "properties": {
- "all": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "all"
- ]
- },
- "GuildFolder": {
- "type": "object",
- "properties": {
- "color": {
- "type": "integer"
- },
- "guild_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "color",
- "guild_ids",
- "id",
- "name"
- ]
- },
- "GenerateWebAuthnCredentialsSchema": {
- "type": "object",
- "properties": {
- "password": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "password"
- ]
- },
- "CreateWebAuthnCredentialSchema": {
- "type": "object",
- "properties": {
- "credential": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "ticket": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "credential",
- "name",
- "ticket"
- ]
- },
- "APIErrorResponse": {
- "type": "object",
- "properties": {
- "code": {
- "type": "integer"
- },
- "message": {
- "type": "string"
- },
- "errors": {
- "type": "object",
- "additionalProperties": {
- "type": "object",
- "properties": {
- "_errors": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "message": {
- "type": "string"
- },
- "code": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "message"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "_errors"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "errors",
- "message"
- ]
- },
- "CaptchaRequiredResponse": {
- "type": "object",
- "properties": {
- "captcha_key": {
- "type": "string"
- },
- "captcha_sitekey": {
- "type": "string"
- },
- "captcha_service": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "captcha_key",
- "captcha_service",
- "captcha_sitekey"
- ]
- },
- "Guild": {
- "type": "object",
- "properties": {
- "afk_channel_id": {
- "type": "string"
- },
- "afk_channel": {
- "$ref": "#/definitions/Channel"
- },
- "afk_timeout": {
- "type": "integer"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "banner": {
- "type": "string"
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "description": {
- "type": "string"
- },
- "discovery_splash": {
- "type": "string"
- },
- "explicit_content_filter": {
- "type": "integer"
- },
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "primary_category_id": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "large": {
- "type": "boolean",
- "default": false
- },
- "max_members": {
- "type": "integer"
- },
- "max_presences": {
- "type": "integer"
- },
- "max_video_channel_users": {
- "type": "integer"
- },
- "member_count": {
- "type": "integer"
- },
- "presence_count": {
- "type": "integer"
- },
- "members": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Member"
- }
- },
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
- },
- "channels": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Channel"
- }
- },
- "template_id": {
- "type": "string"
- },
- "template": {
- "$ref": "#/definitions/Template"
- },
- "emojis": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Emoji"
- }
- },
- "stickers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Sticker"
- }
- },
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
- "mfa_level": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- },
- "owner_id": {
- "type": "string"
- },
- "owner": {
- "$ref": "#/definitions/User"
- },
- "preferred_locale": {
- "type": "string"
- },
- "premium_subscription_count": {
- "type": "integer"
- },
- "premium_tier": {
- "type": "integer"
- },
- "public_updates_channel_id": {
- "type": "string"
- },
- "public_updates_channel": {
- "$ref": "#/definitions/Channel"
- },
- "rules_channel_id": {
- "type": "string"
- },
- "rules_channel": {
- "type": "string"
- },
- "region": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_id": {
- "type": "string"
- },
- "system_channel": {
- "$ref": "#/definitions/Channel"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "unavailable": {
- "type": "boolean",
- "default": false
- },
- "verification_level": {
- "type": "integer"
- },
- "welcome_screen": {
- "$ref": "#/definitions/GuildWelcomeScreen"
- },
- "widget_channel_id": {
- "type": "string"
- },
- "widget_channel": {
- "$ref": "#/definitions/Channel"
- },
- "widget_enabled": {
- "type": "boolean",
- "default": true
- },
- "nsfw_level": {
- "type": "integer"
- },
- "nsfw": {
- "type": "boolean",
- "default": false
- },
- "parent": {
- "type": "string"
- },
- "permissions": {
- "type": "integer"
- },
- "premium_progress_bar_enabled": {
- "type": "boolean",
- "default": false
- },
- "channel_ordering": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "bans",
- "channel_ordering",
- "channels",
- "emojis",
- "features",
- "id",
- "invites",
- "members",
- "name",
- "nsfw",
- "premium_progress_bar_enabled",
- "public_updates_channel_id",
- "roles",
- "stickers",
- "template",
- "unavailable",
- "voice_states",
- "webhooks",
- "welcome_screen",
- "widget_enabled"
- ]
- },
- "Channel": {
- "type": "object",
- "properties": {
- "created_at": {
- "type": "string",
- "format": "date-time"
- },
- "name": {
- "type": "string"
- },
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "type": {
- "$ref": "#/definitions/ChannelType"
- },
- "recipients": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Recipient"
- }
- },
- "last_message_id": {
- "type": "string"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "parent_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "parent": {
- "$ref": "#/definitions/Channel"
- },
- "owner_id": {
- "type": "string"
- },
- "owner": {
- "$ref": "#/definitions/User"
- },
- "last_pin_timestamp": {
- "type": "integer"
- },
- "default_auto_archive_duration": {
- "type": "integer"
- },
- "permission_overwrites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ChannelPermissionOverwrite"
- }
- },
- "video_quality_mode": {
- "type": "integer"
- },
- "bitrate": {
- "type": "integer"
- },
- "user_limit": {
- "type": "integer"
- },
- "nsfw": {
- "type": "boolean",
- "default": false
- },
- "rate_limit_per_user": {
- "type": "integer"
- },
- "topic": {
- "type": "string"
- },
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "retention_policy_id": {
- "type": "string"
- },
- "messages": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Message"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "read_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ReadState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
- "flags": {
- "type": "integer",
- "default": 0
- },
- "default_thread_rate_limit_per_user": {
- "type": "integer",
- "default": 0
- },
- "position": {
- "description": "Must be calculated Channel.calculatePosition",
- "type": "integer"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "created_at",
- "default_thread_rate_limit_per_user",
- "flags",
- "id",
- "nsfw",
- "owner",
- "parent_id",
- "position",
- "type"
- ]
- },
- "ChannelType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 2,
- 255,
- 3,
- 33,
- 34,
- 35,
- 4,
- 5,
- 6,
- 64,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "Recipient": {
- "type": "object",
- "properties": {
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "closed": {
- "type": "boolean"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel",
- "channel_id",
- "closed",
- "id",
- "user",
- "user_id"
- ]
- },
- "User": {
- "type": "object",
- "properties": {
- "username": {
- "type": "string"
- },
- "discriminator": {
- "type": "string"
- },
- "avatar": {
- "type": "string"
- },
- "accent_color": {
- "type": "integer"
- },
- "banner": {
- "type": "string"
- },
- "theme_colors": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "pronouns": {
- "type": "string"
- },
- "phone": {
- "type": "string"
- },
- "desktop": {
- "type": "boolean",
- "default": false
- },
- "mobile": {
- "type": "boolean",
- "default": false
- },
- "premium": {
- "type": "boolean"
- },
- "premium_type": {
- "type": "integer"
- },
- "bot": {
- "type": "boolean",
- "default": false
- },
- "bio": {
- "type": "string",
- "default": ""
- },
- "system": {
- "type": "boolean",
- "default": false
- },
- "nsfw_allowed": {
- "type": "boolean",
- "default": true
- },
- "mfa_enabled": {
- "type": "boolean",
- "default": false
- },
- "webauthn_enabled": {
- "type": "boolean",
- "default": false
- },
- "totp_secret": {
- "type": "string",
- "default": ""
- },
- "totp_last_ticket": {
- "type": "string",
- "default": ""
- },
- "created_at": {
- "type": "string",
- "format": "date-time"
- },
- "premium_since": {
- "type": "string",
- "format": "date-time"
- },
- "verified": {
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean",
- "default": false
- },
- "deleted": {
- "type": "boolean",
- "default": false
- },
- "email": {
- "type": "string"
- },
- "flags": {
- "type": "integer",
- "default": 0
- },
- "public_flags": {
- "type": "integer",
- "default": 0
- },
- "purchased_flags": {
- "type": "integer",
- "default": 0
- },
- "premium_usage_flags": {
- "type": "integer",
- "default": 0
- },
- "rights": {
- "type": "string"
- },
- "sessions": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Session"
- }
- },
- "relationships": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Relationship"
- }
- },
- "connected_accounts": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ConnectedAccount"
- }
- },
- "data": {
- "type": "object",
- "properties": {
- "valid_tokens_since": {
- "type": "string",
- "format": "date-time"
- },
- "hash": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "valid_tokens_since"
- ]
- },
- "fingerprints": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "settings": {
- "$ref": "#/definitions/UserSettings"
- },
- "extended_settings": {
- "type": "string",
- "default": "{}"
- },
- "security_keys": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SecurityKey"
- }
- },
- "badge_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "bio",
- "bot",
- "connected_accounts",
- "created_at",
- "data",
- "deleted",
- "desktop",
- "disabled",
- "discriminator",
- "extended_settings",
- "fingerprints",
- "flags",
- "id",
- "mfa_enabled",
- "mobile",
- "nsfw_allowed",
- "premium",
- "premium_since",
- "premium_type",
- "premium_usage_flags",
- "public_flags",
- "purchased_flags",
- "relationships",
- "rights",
- "security_keys",
- "sessions",
- "settings",
- "system",
- "username",
- "verified",
- "webauthn_enabled"
- ]
- },
- "Session": {
- "type": "object",
- "properties": {
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "session_id": {
- "type": "string"
- },
- "activities": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Activity"
- }
- },
- "client_info": {
- "type": "object",
- "properties": {
- "client": {
- "type": "string"
- },
- "os": {
- "type": "string"
- },
- "version": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "client",
- "os",
- "version"
- ]
- },
- "client_status": {
- "$ref": "#/definitions/ClientStatus"
- },
- "status": {
- "$ref": "#/definitions/Status"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "activities",
- "client_info",
- "client_status",
- "id",
- "session_id",
- "status",
- "user",
- "user_id"
- ]
- },
- "ClientStatus": {
- "type": "object",
- "properties": {
- "desktop": {
- "type": "string"
- },
- "mobile": {
- "type": "string"
- },
- "web": {
- "type": "string"
- },
- "embedded": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "Relationship": {
- "type": "object",
- "properties": {
- "from_id": {
- "type": "string"
- },
- "from": {
- "$ref": "#/definitions/User"
- },
- "to_id": {
- "type": "string"
- },
- "to": {
- "$ref": "#/definitions/User"
- },
- "nickname": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/RelationshipType"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "from",
- "from_id",
- "id",
- "to",
- "to_id",
- "type"
- ]
- },
- "RelationshipType": {
- "enum": [
- 1,
- 2,
- 3,
- 4
- ],
- "type": "number"
- },
- "ConnectedAccount": {
- "type": "object",
- "properties": {
- "external_id": {
- "type": "string"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "friend_sync": {
- "type": "boolean",
- "default": false
- },
- "name": {
- "type": "string"
- },
- "revoked": {
- "type": "boolean",
- "default": false
- },
- "show_activity": {
- "type": "integer",
- "default": 0
- },
- "type": {
- "type": "string"
- },
- "verified": {
- "type": "boolean",
- "default": true
- },
- "visibility": {
- "type": "integer",
- "default": 0
- },
- "integrations": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "metadata_": {},
- "metadata_visibility": {
- "type": "integer",
- "default": 0
- },
- "two_way_link": {
- "type": "boolean",
- "default": false
- },
- "token_data": {
- "anyOf": [
- {
- "$ref": "#/definitions/ConnectedAccountTokenData"
- },
- {
- "type": "null"
- }
- ]
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "external_id",
- "id",
- "name",
- "type",
- "user",
- "user_id"
- ]
- },
- "UserSettings": {
- "type": "object",
- "properties": {
- "index": {
- "type": "string"
- },
- "afk_timeout": {
- "type": "integer",
- "default": 3600
- },
- "allow_accessibility_detection": {
- "type": "boolean",
- "default": true
- },
- "animate_emoji": {
- "type": "boolean",
- "default": true
- },
- "animate_stickers": {
- "type": "integer",
- "default": 0
- },
- "contact_sync_enabled": {
- "type": "boolean",
- "default": false
- },
- "convert_emoticons": {
- "type": "boolean",
- "default": false
- },
- "custom_status": {
- "anyOf": [
- {
- "$ref": "#/definitions/CustomStatus"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "default_guilds_restricted": {
- "type": "boolean",
- "default": false
- },
- "detect_platform_accounts": {
- "type": "boolean",
- "default": false
- },
- "developer_mode": {
- "type": "boolean",
- "default": true
- },
- "disable_games_tab": {
- "type": "boolean",
- "default": true
- },
- "enable_tts_command": {
- "type": "boolean",
- "default": false
- },
- "explicit_content_filter": {
- "type": "integer",
- "default": 0
- },
- "friend_discovery_flags": {
- "type": "integer",
- "default": 0
- },
- "friend_source_flags": {
- "$ref": "#/definitions/FriendSourceFlags"
- },
- "gateway_connected": {
- "type": "boolean",
- "default": false
- },
- "gif_auto_play": {
- "type": "boolean",
- "default": false
- },
- "guild_folders": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/GuildFolder"
- },
- "default": []
- },
- "guild_positions": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "inline_attachment_media": {
- "type": "boolean",
- "default": true
- },
- "inline_embed_media": {
- "type": "boolean",
- "default": true
- },
- "locale": {
- "type": "string",
- "default": "en-US"
- },
- "message_display_compact": {
- "type": "boolean",
- "default": false
- },
- "native_phone_integration_enabled": {
- "type": "boolean",
- "default": true
- },
- "render_embeds": {
- "type": "boolean",
- "default": true
- },
- "render_reactions": {
- "type": "boolean",
- "default": true
- },
- "restricted_guilds": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "show_current_game": {
- "type": "boolean",
- "default": true
- },
- "status": {
- "enum": [
- "dnd",
- "idle",
- "invisible",
- "offline",
- "online"
- ],
- "type": "string",
- "default": "online"
- },
- "stream_notifications_enabled": {
- "type": "boolean",
- "default": false
- },
- "theme": {
- "enum": [
- "dark",
- "light"
- ],
- "type": "string",
- "default": "dark"
- },
- "timezone_offset": {
- "type": "integer",
- "default": 0
- },
- "view_nsfw_guilds": {
- "type": "boolean",
- "default": true
- }
- },
- "additionalProperties": false,
- "required": [
- "afk_timeout",
- "allow_accessibility_detection",
- "animate_emoji",
- "animate_stickers",
- "contact_sync_enabled",
- "convert_emoticons",
- "custom_status",
- "default_guilds_restricted",
- "detect_platform_accounts",
- "developer_mode",
- "disable_games_tab",
- "enable_tts_command",
- "explicit_content_filter",
- "friend_discovery_flags",
- "friend_source_flags",
- "gateway_connected",
- "gif_auto_play",
- "guild_folders",
- "guild_positions",
- "index",
- "inline_attachment_media",
- "inline_embed_media",
- "locale",
- "message_display_compact",
- "native_phone_integration_enabled",
- "render_embeds",
- "render_reactions",
- "restricted_guilds",
- "show_current_game",
- "status",
- "stream_notifications_enabled",
- "theme",
- "timezone_offset",
- "view_nsfw_guilds"
- ]
- },
- "SecurityKey": {
- "type": "object",
- "properties": {
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "key_id": {
- "type": "string"
- },
- "public_key": {
- "type": "string"
- },
- "counter": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "counter",
- "id",
- "key_id",
- "name",
- "public_key",
- "user",
- "user_id"
- ]
- },
- "ChannelPermissionOverwrite": {
- "type": "object",
- "properties": {
- "allow": {
- "type": "string"
- },
- "deny": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/ChannelPermissionOverwriteType"
- }
- },
- "additionalProperties": false,
- "required": [
- "allow",
- "deny",
- "id",
- "type"
- ]
- },
- "Invite": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "temporary": {
- "type": "boolean"
- },
- "uses": {
- "type": "integer"
- },
- "max_uses": {
- "type": "integer"
- },
- "max_age": {
- "type": "integer"
- },
- "created_at": {
- "type": "string",
- "format": "date-time"
- },
- "expires_at": {
- "type": "string",
- "format": "date-time"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "inviter_id": {
- "type": "string"
- },
- "inviter": {
- "$ref": "#/definitions/User"
- },
- "target_user_id": {
- "type": "string"
- },
- "target_user": {
- "type": "string"
- },
- "target_user_type": {
- "type": "integer"
- },
- "vanity_url": {
- "type": "boolean"
- },
- "flags": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel",
- "channel_id",
- "code",
- "created_at",
- "flags",
- "guild",
- "guild_id",
- "inviter",
- "max_age",
- "max_uses",
- "target_user_id",
- "temporary",
- "uses"
- ]
- },
- "Message": {
- "type": "object",
- "properties": {
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "author_id": {
- "type": "string"
- },
- "author": {
- "$ref": "#/definitions/User"
- },
- "member_id": {
- "type": "string"
- },
- "member": {
- "$ref": "#/definitions/Member"
- },
- "webhook_id": {
- "type": "string"
- },
- "webhook": {
- "$ref": "#/definitions/Webhook"
- },
- "application_id": {
- "type": "string"
- },
- "application": {
- "$ref": "#/definitions/Application"
- },
- "content": {
- "type": "string"
- },
- "timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "edited_timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "tts": {
- "type": "boolean"
- },
- "mention_everyone": {
- "type": "boolean"
- },
- "mentions": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/User"
- }
- },
- "mention_roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
- },
- "mention_channels": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Channel"
- }
- },
- "sticker_items": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Sticker"
- }
- },
- "attachments": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Attachment"
- }
- },
- "embeds": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Embed"
- }
- },
- "reactions": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Reaction"
- }
- },
- "nonce": {
- "type": "string"
- },
- "pinned": {
- "type": "boolean"
- },
- "type": {
- "$ref": "#/definitions/MessageType"
- },
- "activity": {
- "type": "object",
- "properties": {
- "type": {
- "type": "integer"
- },
- "party_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "party_id",
- "type"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "message_reference": {
- "type": "object",
- "properties": {
- "message_id": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- },
- "guild_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "message_id"
- ]
- },
- "referenced_message": {
- "$ref": "#/definitions/Message"
- },
- "interaction": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/InteractionType"
- },
- "name": {
- "type": "string"
- },
- "user_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name",
- "type",
- "user_id"
- ]
- },
- "components": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ActionRowComponent"
- }
- },
- "poll": {
- "$ref": "#/definitions/Poll"
- },
- "username": {
- "type": "string"
- },
- "avatar": {
- "type": "string"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel",
- "embeds",
- "flags",
- "id",
- "mention_channels",
- "mention_roles",
- "mentions",
- "reactions",
- "timestamp",
- "type"
- ]
- },
- "Member": {
- "type": "object",
- "properties": {
- "index": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "nick": {
- "type": "string"
- },
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
- },
- "joined_at": {
- "type": "string",
- "format": "date-time"
- },
- "premium_since": {
- "type": "integer"
- },
- "deaf": {
- "type": "boolean"
- },
- "mute": {
- "type": "boolean"
- },
- "pending": {
- "type": "boolean"
- },
- "settings": {
- "$ref": "#/definitions/UserGuildSettings"
- },
- "last_message_id": {
- "type": "string"
- },
- "joined_by": {
- "type": "string"
- },
- "avatar": {
- "type": "string"
- },
- "banner": {
- "type": "string"
- },
- "bio": {
- "type": "string"
- },
- "theme_colors": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "pronouns": {
- "type": "string"
- },
- "communication_disabled_until": {
- "type": "string",
- "format": "date-time"
- }
- },
- "additionalProperties": false,
- "required": [
- "banner",
- "bio",
- "communication_disabled_until",
- "deaf",
- "guild",
- "guild_id",
- "id",
- "index",
- "joined_at",
- "joined_by",
- "mute",
- "pending",
- "roles",
- "settings",
- "user"
- ]
- },
- "Role": {
- "type": "object",
- "properties": {
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "color": {
- "type": "integer"
- },
- "hoist": {
- "type": "boolean"
- },
- "managed": {
- "type": "boolean"
- },
- "mentionable": {
- "type": "boolean"
- },
- "name": {
- "type": "string"
- },
- "permissions": {
- "type": "string"
- },
- "position": {
- "type": "integer"
- },
- "icon": {
- "type": "string"
- },
- "unicode_emoji": {
- "type": "string"
- },
- "tags": {
- "type": "object",
- "properties": {
- "bot_id": {
- "type": "string"
- },
- "integration_id": {
- "type": "string"
- },
- "premium_subscriber": {
- "type": "boolean"
- }
- },
- "additionalProperties": false
- },
- "flags": {
- "type": "integer"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "color",
- "flags",
- "guild",
- "guild_id",
- "hoist",
- "id",
- "managed",
- "mentionable",
- "name",
- "permissions",
- "position"
- ]
- },
- "UserGuildSettings": {
- "type": "object",
- "properties": {
- "channel_overrides": {
- "anyOf": [
- {
- "type": "object",
- "additionalProperties": {
- "$ref": "#/definitions/ChannelOverride"
- }
- },
- {
- "type": "null"
- }
- ]
- },
- "message_notifications": {
- "type": "integer"
- },
- "mobile_push": {
- "type": "boolean"
- },
- "mute_config": {
- "anyOf": [
- {
- "$ref": "#/definitions/MuteConfig"
- },
- {
- "type": "null"
- }
- ]
- },
- "muted": {
- "type": "boolean"
- },
- "suppress_everyone": {
- "type": "boolean"
- },
- "suppress_roles": {
- "type": "boolean"
- },
- "version": {
- "type": "integer"
- },
- "guild_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "mute_scheduled_events": {
- "type": "boolean"
- },
- "hide_muted_channels": {
- "type": "boolean"
- },
- "notify_highlights": {
- "type": "number",
- "enum": [
- 0
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "channel_overrides",
- "flags",
- "guild_id",
- "hide_muted_channels",
- "message_notifications",
- "mobile_push",
- "mute_config",
- "mute_scheduled_events",
- "muted",
- "notify_highlights",
- "suppress_everyone",
- "suppress_roles",
- "version"
- ]
- },
- "Webhook": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/definitions/WebhookType"
- },
- "name": {
- "type": "string"
- },
- "avatar": {
- "type": "string"
- },
- "token": {
- "type": "string"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "application_id": {
- "type": "string"
- },
- "application": {
- "$ref": "#/definitions/Application"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "source_guild_id": {
- "type": "string"
- },
- "source_guild": {
- "$ref": "#/definitions/Guild"
- },
- "source_channel_id": {
- "type": "string"
- },
- "source_channel": {
- "$ref": "#/definitions/Channel"
- },
- "url": {
- "type": "string"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "application",
- "application_id",
- "avatar",
- "channel",
- "channel_id",
- "id",
- "name",
- "source_channel",
- "source_channel_id",
- "type",
- "url",
- "user",
- "user_id"
- ]
- },
- "WebhookType": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "Application": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "summary": {
- "type": "string",
- "default": ""
- },
- "type": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "hook": {
- "type": "boolean",
- "default": true
- },
- "bot_public": {
- "type": "boolean",
- "default": true
- },
- "bot_require_code_grant": {
- "type": "boolean",
- "default": false
- },
- "verify_key": {
- "type": "string"
- },
- "owner": {
- "$ref": "#/definitions/User"
- },
- "flags": {
- "type": "integer",
- "default": 0
- },
- "redirect_uris": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "rpc_application_state": {
- "type": "integer",
- "default": 0
- },
- "store_application_state": {
- "type": "integer",
- "default": 1
- },
- "verification_state": {
- "type": "integer",
- "default": 1
- },
- "interactions_endpoint_url": {
- "type": "string"
- },
- "integration_public": {
- "type": "boolean",
- "default": true
- },
- "integration_require_code_grant": {
- "type": "boolean",
- "default": false
- },
- "discoverability_state": {
- "type": "integer",
- "default": 1
- },
- "discovery_eligibility_flags": {
- "type": "integer",
- "default": 2240
- },
- "bot": {
- "$ref": "#/definitions/User"
- },
- "tags": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "cover_image": {
- "type": "string"
- },
- "install_params": {
- "type": "object",
- "properties": {
- "scopes": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "permissions": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "permissions",
- "scopes"
- ]
- },
- "terms_of_service_url": {
- "type": "string"
- },
- "privacy_policy_url": {
- "type": "string"
- },
- "team": {
- "$ref": "#/definitions/Team"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "description",
- "discoverability_state",
- "discovery_eligibility_flags",
- "flags",
- "hook",
- "id",
- "integration_public",
- "integration_require_code_grant",
- "name",
- "owner",
- "redirect_uris",
- "rpc_application_state",
- "store_application_state",
- "summary",
- "verification_state",
- "verify_key"
- ]
- },
- "Team": {
- "type": "object",
- "properties": {
- "icon": {
- "type": "string"
- },
- "members": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/TeamMember"
- }
- },
- "name": {
- "type": "string"
- },
- "owner_user_id": {
- "type": "string"
- },
- "owner_user": {
- "$ref": "#/definitions/User"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "members",
- "name",
- "owner_user",
- "owner_user_id"
- ]
- },
- "TeamMember": {
- "type": "object",
- "properties": {
- "membership_state": {
- "$ref": "#/definitions/TeamMemberState"
- },
- "permissions": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "team_id": {
- "type": "string"
- },
- "team": {
- "$ref": "#/definitions/Team"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "membership_state",
- "permissions",
- "team",
- "team_id",
- "user",
- "user_id"
- ]
- },
- "TeamMemberState": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
- },
- "Sticker": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "available": {
- "type": "boolean"
- },
- "tags": {
- "type": "string"
- },
- "pack_id": {
- "type": "string"
- },
- "pack": {
- "$ref": "#/definitions/StickerPack"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "type": {
- "$ref": "#/definitions/StickerType"
- },
- "format_type": {
- "$ref": "#/definitions/StickerFormatType"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "format_type",
- "id",
- "name",
- "pack",
- "type"
- ]
- },
- "StickerPack": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "banner_asset_id": {
- "type": "string"
- },
- "stickers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Sticker"
- }
- },
- "cover_sticker_id": {
- "type": "string"
- },
- "cover_sticker": {
- "$ref": "#/definitions/Sticker"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name",
- "stickers"
- ]
- },
- "StickerType": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
- },
- "StickerFormatType": {
- "enum": [
- 0,
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "Attachment": {
- "type": "object",
- "properties": {
- "filename": {
- "type": "string"
- },
- "size": {
- "type": "integer"
- },
- "url": {
- "type": "string"
- },
- "proxy_url": {
- "type": "string"
- },
- "height": {
- "type": "integer"
- },
- "width": {
- "type": "integer"
- },
- "content_type": {
- "type": "string"
- },
- "message_id": {
- "type": "string"
- },
- "message": {
- "$ref": "#/definitions/Message"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "filename",
- "id",
- "message",
- "message_id",
- "proxy_url",
- "size",
- "url"
- ]
- },
- "Reaction": {
- "type": "object",
- "properties": {
- "count": {
- "type": "integer"
- },
- "emoji": {
- "$ref": "#/definitions/PartialEmoji"
- },
- "user_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "count",
- "emoji",
- "user_ids"
- ]
- },
- "MessageType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 19,
- 2,
- 20,
- 255,
- 3,
- 4,
- 41,
- 42,
- 43,
- 5,
- 50,
- 6,
- 63,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "InteractionType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "Poll": {
- "type": "object",
- "properties": {
- "question": {
- "$ref": "#/definitions/PollMedia"
- },
- "answers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PollAnswer"
- }
- },
- "expiry": {
- "type": "string",
- "format": "date-time"
- },
- "allow_multiselect": {
- "type": "boolean"
- },
- "results": {
- "$ref": "#/definitions/PollResult"
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_multiselect",
- "answers",
- "expiry",
- "question"
- ]
- },
- "PollResult": {
- "type": "object",
- "properties": {
- "is_finalized": {
- "type": "boolean"
- },
- "answer_counts": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PollAnswerCount"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "answer_counts",
- "is_finalized"
- ]
- },
- "PollAnswerCount": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "count": {
- "type": "integer"
- },
- "me_voted": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "count",
- "id",
- "me_voted"
- ]
- },
- "VoiceState": {
- "type": "object",
- "properties": {
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "member": {
- "$ref": "#/definitions/Member"
- },
- "session_id": {
- "type": "string"
- },
- "token": {
- "type": "string"
- },
- "deaf": {
- "type": "boolean"
- },
- "mute": {
- "type": "boolean"
- },
- "self_deaf": {
- "type": "boolean"
- },
- "self_mute": {
- "type": "boolean"
- },
- "self_stream": {
- "type": "boolean"
- },
- "self_video": {
- "type": "boolean"
- },
- "suppress": {
- "type": "boolean"
- },
- "request_to_speak_timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel",
- "channel_id",
- "deaf",
- "guild_id",
- "id",
- "member",
- "mute",
- "self_deaf",
- "self_mute",
- "self_video",
- "session_id",
- "suppress",
- "token",
- "user",
- "user_id"
- ]
- },
- "ReadState": {
- "type": "object",
- "properties": {
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "last_message_id": {
- "type": "string"
- },
- "public_ack": {
- "type": "string"
- },
- "notifications_cursor": {
- "type": "string"
- },
- "last_pin_timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "mention_count": {
- "type": "integer"
- },
- "manual": {
- "type": "boolean"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel",
- "channel_id",
- "id",
- "last_message_id",
- "manual",
- "mention_count",
- "notifications_cursor",
- "public_ack",
- "user",
- "user_id"
- ]
- },
- "Ban": {
- "type": "object",
- "properties": {
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "executor_id": {
- "type": "string"
- },
- "executor": {
- "$ref": "#/definitions/User"
- },
- "ip": {
- "type": "string"
- },
- "reason": {
- "type": "string"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "executor",
- "executor_id",
- "guild",
- "guild_id",
- "id",
- "ip",
- "user",
- "user_id"
- ]
- },
- "Template": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "usage_count": {
- "type": "integer"
- },
- "creator_id": {
- "type": "string"
- },
- "creator": {
- "$ref": "#/definitions/User"
- },
- "created_at": {
- "type": "string",
- "format": "date-time"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time"
- },
- "source_guild_id": {
- "type": "string"
- },
- "source_guild": {
- "$ref": "#/definitions/Guild"
- },
- "serialized_source_guild": {
- "$ref": "#/definitions/Guild"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "created_at",
- "creator",
- "creator_id",
- "id",
- "name",
- "serialized_source_guild",
- "source_guild",
- "source_guild_id",
- "updated_at"
- ]
- },
- "Emoji": {
- "type": "object",
- "properties": {
- "animated": {
- "type": "boolean"
- },
- "available": {
- "type": "boolean"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "managed": {
- "type": "boolean"
- },
- "name": {
- "type": "string"
- },
- "require_colons": {
- "type": "boolean"
- },
- "roles": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "groups": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "animated",
- "available",
- "groups",
- "guild",
- "guild_id",
- "id",
- "managed",
- "name",
- "require_colons",
- "roles",
- "user",
- "user_id"
- ]
- },
- "GuildWelcomeScreen": {
- "type": "object",
- "properties": {
- "enabled": {
- "type": "boolean"
- },
- "description": {
- "type": "string"
- },
- "welcome_channels": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "description": {
- "type": "string"
- },
- "emoji_id": {
- "type": "string"
- },
- "emoji_name": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel_id",
- "description"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "description",
- "enabled",
- "welcome_channels"
- ]
- },
- "GuildMessagesSearchMessage": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/MessageType"
- },
- "content": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- },
- "author": {
- "$ref": "#/definitions/PublicUser"
- },
- "attachments": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Attachment"
- }
- },
- "embeds": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Embed"
- }
- },
- "mentions": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PublicUser"
- }
- },
- "mention_roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
- },
- "pinned": {
- "type": "boolean"
- },
- "mention_everyone": {
- "type": "boolean"
- },
- "tts": {
- "type": "boolean"
- },
- "timestamp": {
- "type": "string"
- },
- "edited_timestamp": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "components": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ActionRowComponent"
- }
- },
- "poll": {
- "$ref": "#/definitions/Poll"
- },
- "hit": {
- "type": "boolean",
- "enum": [
- true
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "attachments",
- "author",
- "channel_id",
- "components",
- "edited_timestamp",
- "embeds",
- "flags",
- "hit",
- "id",
- "mention_roles",
- "mentions",
- "pinned",
- "poll",
- "timestamp",
- "tts",
- "type"
- ]
- },
- "PublicUser": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "premium_since": {
- "type": "string",
- "format": "date-time"
- },
- "avatar": {
- "type": "string"
- },
- "username": {
- "type": "string"
- },
- "discriminator": {
- "type": "string"
- },
- "public_flags": {
- "type": "integer"
- },
- "accent_color": {
- "type": "integer"
- },
- "banner": {
- "type": "string"
- },
- "bio": {
- "type": "string"
- },
- "bot": {
- "type": "boolean"
- },
- "premium_type": {
- "type": "integer"
- },
- "theme_colors": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "pronouns": {
- "type": "string"
- },
- "badge_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "bio",
- "bot",
- "discriminator",
- "id",
- "premium_since",
- "premium_type",
- "public_flags",
- "username"
- ]
- },
- "GuildVanityUrl": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "uses": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "uses"
- ]
- },
- "GuildVanityUrlNoInvite": {
- "type": "object",
- "properties": {
- "code": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "code"
- ]
- },
- "Snowflake": {
- "description": "A container for useful snowflake-related methods.",
- "type": "object",
- "additionalProperties": false
- },
- "TenorGifResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "src": {
- "type": "string"
- },
- "gif_src": {
- "type": "string"
- },
- "width": {
- "type": "integer"
- },
- "height": {
- "type": "integer"
- },
- "preview": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "gif_src",
- "height",
- "id",
- "preview",
- "src",
- "title",
- "url",
- "width"
- ]
- },
- "BackupCode": {
- "type": "object",
- "properties": {
- "user": {
- "$ref": "#/definitions/User"
- },
- "code": {
- "type": "string"
- },
- "consumed": {
- "type": "boolean"
- },
- "expired": {
- "type": "boolean"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "consumed",
- "expired",
- "id",
- "user"
- ]
- },
- "APIGuild": {
- "type": "object",
- "properties": {
- "reload": {
- "description": "Reloads entity data from the database.",
- "type": "object",
- "additionalProperties": false
- },
- "name": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "parent": {
- "type": "string"
- },
- "owner_id": {
- "type": "string"
- },
- "nsfw": {
- "type": "boolean"
- },
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
- "toJSON": {
- "type": "object",
- "additionalProperties": false
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
- },
- "assign": {
- "type": "object",
- "additionalProperties": false
- },
- "hasId": {
- "description": "Checks if entity has an id.\nIf entity composite compose ids, it will check them all.",
- "type": "object",
- "additionalProperties": false
- },
- "save": {
- "description": "Saves current entity in the database.\nIf entity does not exist in the database then inserts, otherwise updates.",
- "type": "object",
- "additionalProperties": false
- },
- "remove": {
- "description": "Removes current entity from the database.",
- "type": "object",
- "additionalProperties": false
- },
- "softRemove": {
- "description": "Records the delete date of current entity.",
- "type": "object",
- "additionalProperties": false
- },
- "recover": {
- "description": "Recovers a given entity in the database.",
- "type": "object",
- "additionalProperties": false
- },
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
- },
- "banner": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "unavailable": {
- "type": "boolean"
- },
- "channels": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Channel"
- }
- },
- "region": {
- "type": "string"
- },
- "system_channel_id": {
- "type": "string"
- },
- "rules_channel_id": {
- "type": "string"
- },
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
- },
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
- "type": "string"
- },
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "primary_category_id": {
- "type": "string"
- },
- "large": {
- "type": "boolean"
- },
- "max_members": {
- "type": "integer"
- },
- "max_presences": {
- "type": "integer"
- },
- "max_video_channel_users": {
- "type": "integer"
- },
- "member_count": {
- "type": "integer"
- },
- "presence_count": {
- "type": "integer"
- },
- "members": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Member"
- }
- },
- "template_id": {
- "type": "string"
- },
- "emojis": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Emoji"
- }
- },
- "stickers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Sticker"
- }
- },
- "mfa_level": {
- "type": "integer"
- },
- "preferred_locale": {
- "type": "string"
- },
- "premium_subscription_count": {
- "type": "integer"
- },
- "premium_tier": {
- "type": "integer"
- },
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
- "welcome_screen": {
- "$ref": "#/definitions/GuildWelcomeScreen"
- },
- "widget_channel_id": {
- "type": "string"
- },
- "widget_enabled": {
- "type": "boolean"
- },
- "nsfw_level": {
- "type": "integer"
- },
- "permissions": {
- "type": "integer"
- },
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
- "channel_ordering": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "_do_validate",
- "assign",
- "bans",
- "channel_ordering",
- "channels",
- "emojis",
- "features",
- "hasId",
- "id",
- "invites",
- "members",
- "name",
- "nsfw",
- "premium_progress_bar_enabled",
- "public_updates_channel_id",
- "recover",
- "reload",
- "remove",
- "roles",
- "save",
- "softRemove",
- "stickers",
- "toJSON",
- "unavailable",
- "voice_states",
- "webhooks",
- "welcome_screen",
- "widget_enabled"
- ]
- },
- "DmChannelDTO": {
- "type": "object",
- "properties": {
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "id": {
- "type": "string"
- },
- "last_message_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "name": {
- "type": [
- "null",
- "string"
- ]
- },
- "origin_channel_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "owner_id": {
- "type": "string"
- },
- "recipients": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/MinimalPublicUserDTO"
- }
- },
- "type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "icon",
- "id",
- "last_message_id",
- "name",
- "origin_channel_id",
- "recipients",
- "type"
- ]
- },
- "MinimalPublicUserDTO": {
- "type": "object",
- "properties": {
- "avatar": {
- "type": [
- "null",
- "string"
- ]
- },
- "discriminator": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "public_flags": {
- "type": "integer"
- },
- "username": {
- "type": "string"
- },
- "badge_ids": {
- "anyOf": [
- {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "discriminator",
- "id",
- "public_flags",
- "username"
- ]
- },
- "Categories": {
- "type": "object",
- "properties": {
- "id": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- },
- "localizations": {
- "type": "string"
- },
- "is_primary": {
- "type": "boolean"
- },
- "icon": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "is_primary",
- "localizations",
- "name"
- ]
- },
- "GuildVoiceRegion": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "custom": {
- "type": "boolean"
- },
- "deprecated": {
- "type": "boolean"
- },
- "optimal": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom",
- "deprecated",
- "id",
- "name",
- "optimal"
- ]
- },
- "UserLimits": {
- "type": "object",
- "properties": {
- "maxGuilds": {
- "type": "integer",
- "default": 1048576
- },
- "maxUsername": {
- "type": "integer",
- "default": 32
- },
- "maxFriends": {
- "type": "integer",
- "default": 5000
- },
- "maxBio": {
- "type": "integer",
- "default": 190
- }
- },
- "additionalProperties": false,
- "required": [
- "maxBio",
- "maxFriends",
- "maxGuilds",
- "maxUsername"
- ]
- },
- "GuildLimits": {
- "type": "object",
- "properties": {
- "maxRoles": {
- "type": "integer",
- "default": 1000
- },
- "maxEmojis": {
- "type": "integer",
- "default": 2000
- },
- "maxMembers": {
- "type": "integer",
- "default": 25000000
- },
- "maxChannels": {
- "type": "integer",
- "default": 65535
- },
- "maxBulkBanUsers": {
- "type": "integer",
- "default": 200
- },
- "maxChannelsInCategory": {
- "type": "integer",
- "default": 65535
- }
- },
- "additionalProperties": false,
- "required": [
- "maxBulkBanUsers",
- "maxChannels",
- "maxChannelsInCategory",
- "maxEmojis",
- "maxMembers",
- "maxRoles"
- ]
- },
- "MessageLimits": {
- "type": "object",
- "properties": {
- "maxCharacters": {
- "type": "integer",
- "default": 1048576
- },
- "maxTTSCharacters": {
- "type": "integer",
- "default": 160
- },
- "maxReactions": {
- "type": "integer",
- "default": 2048
- },
- "maxAttachmentSize": {
- "type": "integer",
- "default": 1073741824
- },
- "maxBulkDelete": {
- "type": "integer",
- "default": 1000
- },
- "maxEmbedDownloadSize": {
- "type": "integer",
- "default": 5242880
- }
- },
- "additionalProperties": false,
- "required": [
- "maxAttachmentSize",
- "maxBulkDelete",
- "maxCharacters",
- "maxEmbedDownloadSize",
- "maxReactions",
- "maxTTSCharacters"
- ]
- },
- "ChannelLimits": {
- "type": "object",
- "properties": {
- "maxPins": {
- "type": "integer",
- "default": 500
- },
- "maxTopic": {
- "type": "integer",
- "default": 1024
- },
- "maxWebhooks": {
- "type": "integer",
- "default": 100
- }
- },
- "additionalProperties": false,
- "required": [
- "maxPins",
- "maxTopic",
- "maxWebhooks"
- ]
- },
- "RateLimits": {
- "type": "object",
- "properties": {
- "enabled": {
- "type": "boolean",
- "default": false
- },
- "ip": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "global": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "error": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "routes": {
- "$ref": "#/definitions/RouteRateLimit"
- }
- },
- "additionalProperties": false,
- "required": [
- "enabled",
- "error",
- "global",
- "ip",
- "routes"
- ]
- },
- "RateLimitOptions": {
- "type": "object",
- "properties": {
- "bot": {
- "type": "integer"
- },
- "count": {
- "type": "integer"
- },
- "window": {
- "type": "integer"
- },
- "onyIp": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "count",
- "window"
- ]
- },
- "RouteRateLimit": {
- "type": "object",
- "properties": {
- "guild": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "webhook": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "channel": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "auth": {}
- },
- "additionalProperties": false,
- "required": [
- "auth",
- "channel",
- "guild",
- "webhook"
- ]
- },
- "GlobalRateLimits": {
- "type": "object",
- "properties": {
- "register": {
- "$ref": "#/definitions/GlobalRateLimit"
- },
- "sendMessage": {
- "$ref": "#/definitions/GlobalRateLimit"
- }
- },
- "additionalProperties": false,
- "required": [
- "register",
- "sendMessage"
- ]
- },
- "GlobalRateLimit": {
- "type": "object",
- "properties": {
- "limit": {
- "type": "integer",
- "default": 100
- },
- "window": {
- "type": "integer",
- "default": 3600000
- },
- "enabled": {
- "type": "boolean",
- "default": true
- }
- },
- "additionalProperties": false,
- "required": [
- "enabled",
- "limit",
- "window"
- ]
- },
- "PublicConnectedAccount": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "type": {
- "type": "string"
- },
- "verified": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "name",
- "type"
- ]
- },
- "UserProfile": {
- "type": "object",
- "properties": {
- "accent_color": {
- "type": "integer"
- },
- "banner": {
- "type": "string"
- },
- "bio": {
- "type": "string"
- },
- "theme_colors": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "pronouns": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "bio"
- ]
- },
- "Badge": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "link": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "description",
- "icon",
- "id"
- ]
- },
- "TokenResponse": {
- "type": "object",
- "properties": {
- "token": {
- "type": "string"
- },
- "settings": {
- "$ref": "#/definitions/UserSettings"
- }
- },
- "additionalProperties": false,
- "required": [
- "settings",
- "token"
- ]
- },
- "MFAResponse": {
- "type": "object",
- "properties": {
- "ticket": {
- "type": "string"
- },
- "mfa": {
- "type": "boolean",
- "enum": [
- true
- ]
- },
- "sms": {
- "type": "boolean",
- "enum": [
- false
- ]
- },
- "token": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "mfa",
- "sms",
- "ticket",
- "token"
- ]
- },
- "WebAuthnResponse": {
- "type": "object",
- "properties": {
- "webauthn": {
- "type": "string"
- },
- "ticket": {
- "type": "string"
- },
- "mfa": {
- "type": "boolean",
- "enum": [
- true
- ]
- },
- "sms": {
- "type": "boolean",
- "enum": [
- false
- ]
- },
- "token": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "mfa",
- "sms",
- "ticket",
- "token",
- "webauthn"
- ]
- }
- },
"$schema": "http://json-schema.org/draft-07/schema#"
},
"ApplicationModifySchema": {
@@ -28947,4772 +152,6 @@
}
},
"additionalProperties": false,
- "definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
- "ChannelPermissionOverwriteType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "ConnectedAccountTokenData": {
- "type": "object",
- "properties": {
- "access_token": {
- "type": "string"
- },
- "token_type": {
- "type": "string"
- },
- "scope": {
- "type": "string"
- },
- "refresh_token": {
- "type": "string"
- },
- "expires_in": {
- "type": "integer"
- },
- "expires_at": {
- "type": "integer"
- },
- "fetched_at": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "access_token",
- "fetched_at"
- ]
- },
- "ChannelModifySchema": {
- "type": "object",
- "properties": {
- "name": {
- "maxLength": 100,
- "type": "string"
- },
- "type": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 2,
- 255,
- 3,
- 33,
- 34,
- 35,
- 4,
- 5,
- 6,
- 64,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "topic": {
- "type": "string"
- },
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "bitrate": {
- "type": "integer"
- },
- "user_limit": {
- "type": "integer"
- },
- "rate_limit_per_user": {
- "type": "integer"
- },
- "position": {
- "type": "integer"
- },
- "permission_overwrites": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/ChannelPermissionOverwriteType"
- },
- "allow": {
- "type": "string"
- },
- "deny": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "allow",
- "deny",
- "id",
- "type"
- ]
- }
- },
- "parent_id": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "nsfw": {
- "type": "boolean"
- },
- "rtc_region": {
- "type": "string"
- },
- "default_auto_archive_duration": {
- "type": "integer"
- },
- "default_reaction_emoji": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "default_thread_rate_limit_per_user": {
- "type": "integer"
- },
- "video_quality_mode": {
- "type": "integer"
- }
- },
- "additionalProperties": false
- },
- "ActivitySchema": {
- "type": "object",
- "properties": {
- "afk": {
- "type": "boolean"
- },
- "status": {
- "$ref": "#/definitions/Status"
- },
- "activities": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Activity"
- }
- },
- "since": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "status"
- ]
- },
- "Status": {
- "enum": [
- "dnd",
- "idle",
- "invisible",
- "offline",
- "online"
- ],
- "type": "string"
- },
- "Activity": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/ActivityType"
- },
- "url": {
- "type": "string"
- },
- "created_at": {
- "type": "integer"
- },
- "timestamps": {
- "type": "object",
- "properties": {
- "start": {
- "type": "integer"
- },
- "end": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "end",
- "start"
- ]
- },
- "application_id": {
- "type": "string"
- },
- "details": {
- "type": "string"
- },
- "state": {
- "type": "string"
- },
- "emoji": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "animated": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "animated",
- "name"
- ]
- },
- "party": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "size": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- }
- },
- "additionalProperties": false
- },
- "assets": {
- "type": "object",
- "properties": {
- "large_image": {
- "type": "string"
- },
- "large_text": {
- "type": "string"
- },
- "small_image": {
- "type": "string"
- },
- "small_text": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "secrets": {
- "type": "object",
- "properties": {
- "join": {
- "type": "string"
- },
- "spectate": {
- "type": "string"
- },
- "match": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "instance": {
- "type": "boolean"
- },
- "flags": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "sync_id": {
- "type": "string"
- },
- "metadata": {
- "type": "object",
- "properties": {
- "context_uri": {
- "type": "string"
- },
- "album_id": {
- "type": "string"
- },
- "artist_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "album_id",
- "artist_ids"
- ]
- },
- "session_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "flags",
- "name",
- "session_id",
- "type"
- ]
- },
- "ActivityType": {
- "enum": [
- 0,
- 1,
- 2,
- 4,
- 5
- ],
- "type": "number"
- },
- "Embed": {
- "type": "object",
- "properties": {
- "title": {
- "type": "string"
- },
- "type": {
- "enum": [
- "article",
- "gifv",
- "image",
- "link",
- "rich",
- "video"
- ],
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "color": {
- "type": "integer"
- },
- "footer": {
- "type": "object",
- "properties": {
- "text": {
- "type": "string"
- },
- "icon_url": {
- "type": "string"
- },
- "proxy_icon_url": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "text"
- ]
- },
- "image": {
- "$ref": "#/definitions/EmbedImage"
- },
- "thumbnail": {
- "$ref": "#/definitions/EmbedImage"
- },
- "video": {
- "$ref": "#/definitions/EmbedImage"
- },
- "provider": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "url": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "author": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "icon_url": {
- "type": "string"
- },
- "proxy_icon_url": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "fields": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "value": {
- "type": "string"
- },
- "inline": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "name",
- "value"
- ]
- }
- }
- },
- "additionalProperties": false
- },
- "EmbedImage": {
- "type": "object",
- "properties": {
- "url": {
- "type": "string"
- },
- "proxy_url": {
- "type": "string"
- },
- "height": {
- "type": "integer"
- },
- "width": {
- "type": "integer"
- }
- },
- "additionalProperties": false
- },
- "ActionRowComponent": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/definitions/MessageComponentType.ActionRow"
- },
- "components": {
- "type": "array",
- "items": {
- "anyOf": [
- {
- "$ref": "#/definitions/ButtonComponent"
- },
- {
- "$ref": "#/definitions/SelectMenuComponent"
- },
- {
- "$ref": "#/definitions/StringSelectMenuComponent"
- },
- {
- "$ref": "#/definitions/TextInputComponent"
- }
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "components",
- "type"
- ]
- },
- "MessageComponentType.ActionRow": {
- "type": "number",
- "enum": [
- 1
- ]
- },
- "ButtonComponent": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/definitions/MessageComponentType.Button"
- },
- "style": {
- "$ref": "#/definitions/ButtonStyle"
- },
- "label": {
- "type": "string"
- },
- "emoji": {
- "$ref": "#/definitions/PartialEmoji"
- },
- "custom_id": {
- "type": "string"
- },
- "sku_id": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "disabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "style",
- "type"
- ]
- },
- "MessageComponentType.Button": {
- "type": "number",
- "enum": [
- 2
- ]
- },
- "ButtonStyle": {
- "enum": [
- 1,
- 2,
- 3,
- 4,
- 5,
- 6
- ],
- "type": "number"
- },
- "PartialEmoji": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "animated": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "name"
- ]
- },
- "SelectMenuComponent": {
- "type": "object",
- "properties": {
- "type": {
- "enum": [
- 3,
- 5,
- 6,
- 7,
- 8
- ],
- "type": "number"
- },
- "custom_id": {
- "type": "string"
- },
- "channel_types": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "placeholder": {
- "type": "string"
- },
- "default_values": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SelectMenuDefaultOption"
- }
- },
- "min_values": {
- "type": "integer"
- },
- "max_values": {
- "type": "integer"
- },
- "disabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom_id",
- "type"
- ]
- },
- "SelectMenuDefaultOption": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {
- "enum": [
- "channel",
- "role",
- "user"
- ],
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "type"
- ]
- },
- "StringSelectMenuComponent": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/definitions/MessageComponentType.StringSelect"
- },
- "options": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SelectMenuOption"
- }
- },
- "custom_id": {
- "type": "string"
- },
- "channel_types": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "placeholder": {
- "type": "string"
- },
- "default_values": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SelectMenuDefaultOption"
- }
- },
- "min_values": {
- "type": "integer"
- },
- "max_values": {
- "type": "integer"
- },
- "disabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom_id",
- "options",
- "type"
- ]
- },
- "MessageComponentType.StringSelect": {
- "type": "number",
- "enum": [
- 3
- ]
- },
- "SelectMenuOption": {
- "type": "object",
- "properties": {
- "label": {
- "type": "string"
- },
- "value": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "emoji": {
- "$ref": "#/definitions/PartialEmoji"
- },
- "default": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "label",
- "value"
- ]
- },
- "TextInputComponent": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/definitions/MessageComponentType.TextInput"
- },
- "custom_id": {
- "type": "string"
- },
- "style": {
- "$ref": "#/definitions/TextInputStyle"
- },
- "label": {
- "type": "string"
- },
- "min_length": {
- "type": "integer"
- },
- "max_length": {
- "type": "integer"
- },
- "required": {
- "type": "boolean"
- },
- "value": {
- "type": "string"
- },
- "placeholder": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom_id",
- "label",
- "style",
- "type"
- ]
- },
- "MessageComponentType.TextInput": {
- "type": "number",
- "enum": [
- 4
- ]
- },
- "TextInputStyle": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
- },
- "PollCreationSchema": {
- "type": "object",
- "properties": {
- "question": {
- "$ref": "#/definitions/PollMedia"
- },
- "answers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PollAnswer"
- }
- },
- "duration": {
- "type": "integer"
- },
- "allow_multiselect": {
- "type": "boolean"
- },
- "layout_type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "answers",
- "question"
- ]
- },
- "PollMedia": {
- "type": "object",
- "properties": {
- "text": {
- "type": "string"
- },
- "emoji": {
- "$ref": "#/definitions/PartialEmoji"
- }
- },
- "additionalProperties": false
- },
- "PollAnswer": {
- "type": "object",
- "properties": {
- "answer_id": {
- "type": "string"
- },
- "poll_media": {
- "$ref": "#/definitions/PollMedia"
- }
- },
- "additionalProperties": false,
- "required": [
- "poll_media"
- ]
- },
- "ChannelOverride": {
- "type": "object",
- "properties": {
- "message_notifications": {
- "type": "integer"
- },
- "mute_config": {
- "$ref": "#/definitions/MuteConfig"
- },
- "muted": {
- "type": "boolean"
- },
- "channel_id": {
- "type": [
- "null",
- "string"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "channel_id",
- "message_notifications",
- "mute_config",
- "muted"
- ]
- },
- "MuteConfig": {
- "type": "object",
- "properties": {
- "end_time": {
- "type": "integer"
- },
- "selected_time_window": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "end_time",
- "selected_time_window"
- ]
- },
- "CustomStatus": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": "string"
- },
- "emoji_name": {
- "type": "string"
- },
- "expires_at": {
- "type": "integer"
- },
- "text": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "FriendSourceFlags": {
- "type": "object",
- "properties": {
- "all": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "all"
- ]
- },
- "GuildFolder": {
- "type": "object",
- "properties": {
- "color": {
- "type": "integer"
- },
- "guild_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "color",
- "guild_ids",
- "id",
- "name"
- ]
- },
- "GenerateWebAuthnCredentialsSchema": {
- "type": "object",
- "properties": {
- "password": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "password"
- ]
- },
- "CreateWebAuthnCredentialSchema": {
- "type": "object",
- "properties": {
- "credential": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "ticket": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "credential",
- "name",
- "ticket"
- ]
- },
- "APIErrorResponse": {
- "type": "object",
- "properties": {
- "code": {
- "type": "integer"
- },
- "message": {
- "type": "string"
- },
- "errors": {
- "type": "object",
- "additionalProperties": {
- "type": "object",
- "properties": {
- "_errors": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "message": {
- "type": "string"
- },
- "code": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "message"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "_errors"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "errors",
- "message"
- ]
- },
- "CaptchaRequiredResponse": {
- "type": "object",
- "properties": {
- "captcha_key": {
- "type": "string"
- },
- "captcha_sitekey": {
- "type": "string"
- },
- "captcha_service": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "captcha_key",
- "captcha_service",
- "captcha_sitekey"
- ]
- },
- "Guild": {
- "type": "object",
- "properties": {
- "afk_channel_id": {
- "type": "string"
- },
- "afk_channel": {
- "$ref": "#/definitions/Channel"
- },
- "afk_timeout": {
- "type": "integer"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "banner": {
- "type": "string"
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "description": {
- "type": "string"
- },
- "discovery_splash": {
- "type": "string"
- },
- "explicit_content_filter": {
- "type": "integer"
- },
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "primary_category_id": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "large": {
- "type": "boolean",
- "default": false
- },
- "max_members": {
- "type": "integer"
- },
- "max_presences": {
- "type": "integer"
- },
- "max_video_channel_users": {
- "type": "integer"
- },
- "member_count": {
- "type": "integer"
- },
- "presence_count": {
- "type": "integer"
- },
- "members": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Member"
- }
- },
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
- },
- "channels": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Channel"
- }
- },
- "template_id": {
- "type": "string"
- },
- "template": {
- "$ref": "#/definitions/Template"
- },
- "emojis": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Emoji"
- }
- },
- "stickers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Sticker"
- }
- },
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
- "mfa_level": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- },
- "owner_id": {
- "type": "string"
- },
- "owner": {
- "$ref": "#/definitions/User"
- },
- "preferred_locale": {
- "type": "string"
- },
- "premium_subscription_count": {
- "type": "integer"
- },
- "premium_tier": {
- "type": "integer"
- },
- "public_updates_channel_id": {
- "type": "string"
- },
- "public_updates_channel": {
- "$ref": "#/definitions/Channel"
- },
- "rules_channel_id": {
- "type": "string"
- },
- "rules_channel": {
- "type": "string"
- },
- "region": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_id": {
- "type": "string"
- },
- "system_channel": {
- "$ref": "#/definitions/Channel"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "unavailable": {
- "type": "boolean",
- "default": false
- },
- "verification_level": {
- "type": "integer"
- },
- "welcome_screen": {
- "$ref": "#/definitions/GuildWelcomeScreen"
- },
- "widget_channel_id": {
- "type": "string"
- },
- "widget_channel": {
- "$ref": "#/definitions/Channel"
- },
- "widget_enabled": {
- "type": "boolean",
- "default": true
- },
- "nsfw_level": {
- "type": "integer"
- },
- "nsfw": {
- "type": "boolean",
- "default": false
- },
- "parent": {
- "type": "string"
- },
- "permissions": {
- "type": "integer"
- },
- "premium_progress_bar_enabled": {
- "type": "boolean",
- "default": false
- },
- "channel_ordering": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "bans",
- "channel_ordering",
- "channels",
- "emojis",
- "features",
- "id",
- "invites",
- "members",
- "name",
- "nsfw",
- "premium_progress_bar_enabled",
- "public_updates_channel_id",
- "roles",
- "stickers",
- "template",
- "unavailable",
- "voice_states",
- "webhooks",
- "welcome_screen",
- "widget_enabled"
- ]
- },
- "Channel": {
- "type": "object",
- "properties": {
- "created_at": {
- "type": "string",
- "format": "date-time"
- },
- "name": {
- "type": "string"
- },
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "type": {
- "$ref": "#/definitions/ChannelType"
- },
- "recipients": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Recipient"
- }
- },
- "last_message_id": {
- "type": "string"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "parent_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "parent": {
- "$ref": "#/definitions/Channel"
- },
- "owner_id": {
- "type": "string"
- },
- "owner": {
- "$ref": "#/definitions/User"
- },
- "last_pin_timestamp": {
- "type": "integer"
- },
- "default_auto_archive_duration": {
- "type": "integer"
- },
- "permission_overwrites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ChannelPermissionOverwrite"
- }
- },
- "video_quality_mode": {
- "type": "integer"
- },
- "bitrate": {
- "type": "integer"
- },
- "user_limit": {
- "type": "integer"
- },
- "nsfw": {
- "type": "boolean",
- "default": false
- },
- "rate_limit_per_user": {
- "type": "integer"
- },
- "topic": {
- "type": "string"
- },
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "retention_policy_id": {
- "type": "string"
- },
- "messages": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Message"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "read_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ReadState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
- "flags": {
- "type": "integer",
- "default": 0
- },
- "default_thread_rate_limit_per_user": {
- "type": "integer",
- "default": 0
- },
- "position": {
- "description": "Must be calculated Channel.calculatePosition",
- "type": "integer"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "created_at",
- "default_thread_rate_limit_per_user",
- "flags",
- "id",
- "nsfw",
- "owner",
- "parent_id",
- "position",
- "type"
- ]
- },
- "ChannelType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 2,
- 255,
- 3,
- 33,
- 34,
- 35,
- 4,
- 5,
- 6,
- 64,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "Recipient": {
- "type": "object",
- "properties": {
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "closed": {
- "type": "boolean"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel",
- "channel_id",
- "closed",
- "id",
- "user",
- "user_id"
- ]
- },
- "User": {
- "type": "object",
- "properties": {
- "username": {
- "type": "string"
- },
- "discriminator": {
- "type": "string"
- },
- "avatar": {
- "type": "string"
- },
- "accent_color": {
- "type": "integer"
- },
- "banner": {
- "type": "string"
- },
- "theme_colors": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "pronouns": {
- "type": "string"
- },
- "phone": {
- "type": "string"
- },
- "desktop": {
- "type": "boolean",
- "default": false
- },
- "mobile": {
- "type": "boolean",
- "default": false
- },
- "premium": {
- "type": "boolean"
- },
- "premium_type": {
- "type": "integer"
- },
- "bot": {
- "type": "boolean",
- "default": false
- },
- "bio": {
- "type": "string",
- "default": ""
- },
- "system": {
- "type": "boolean",
- "default": false
- },
- "nsfw_allowed": {
- "type": "boolean",
- "default": true
- },
- "mfa_enabled": {
- "type": "boolean",
- "default": false
- },
- "webauthn_enabled": {
- "type": "boolean",
- "default": false
- },
- "totp_secret": {
- "type": "string",
- "default": ""
- },
- "totp_last_ticket": {
- "type": "string",
- "default": ""
- },
- "created_at": {
- "type": "string",
- "format": "date-time"
- },
- "premium_since": {
- "type": "string",
- "format": "date-time"
- },
- "verified": {
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean",
- "default": false
- },
- "deleted": {
- "type": "boolean",
- "default": false
- },
- "email": {
- "type": "string"
- },
- "flags": {
- "type": "integer",
- "default": 0
- },
- "public_flags": {
- "type": "integer",
- "default": 0
- },
- "purchased_flags": {
- "type": "integer",
- "default": 0
- },
- "premium_usage_flags": {
- "type": "integer",
- "default": 0
- },
- "rights": {
- "type": "string"
- },
- "sessions": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Session"
- }
- },
- "relationships": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Relationship"
- }
- },
- "connected_accounts": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ConnectedAccount"
- }
- },
- "data": {
- "type": "object",
- "properties": {
- "valid_tokens_since": {
- "type": "string",
- "format": "date-time"
- },
- "hash": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "valid_tokens_since"
- ]
- },
- "fingerprints": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "settings": {
- "$ref": "#/definitions/UserSettings"
- },
- "extended_settings": {
- "type": "string",
- "default": "{}"
- },
- "security_keys": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SecurityKey"
- }
- },
- "badge_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "bio",
- "bot",
- "connected_accounts",
- "created_at",
- "data",
- "deleted",
- "desktop",
- "disabled",
- "discriminator",
- "extended_settings",
- "fingerprints",
- "flags",
- "id",
- "mfa_enabled",
- "mobile",
- "nsfw_allowed",
- "premium",
- "premium_since",
- "premium_type",
- "premium_usage_flags",
- "public_flags",
- "purchased_flags",
- "relationships",
- "rights",
- "security_keys",
- "sessions",
- "settings",
- "system",
- "username",
- "verified",
- "webauthn_enabled"
- ]
- },
- "Session": {
- "type": "object",
- "properties": {
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "session_id": {
- "type": "string"
- },
- "activities": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Activity"
- }
- },
- "client_info": {
- "type": "object",
- "properties": {
- "client": {
- "type": "string"
- },
- "os": {
- "type": "string"
- },
- "version": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "client",
- "os",
- "version"
- ]
- },
- "client_status": {
- "$ref": "#/definitions/ClientStatus"
- },
- "status": {
- "$ref": "#/definitions/Status"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "activities",
- "client_info",
- "client_status",
- "id",
- "session_id",
- "status",
- "user",
- "user_id"
- ]
- },
- "ClientStatus": {
- "type": "object",
- "properties": {
- "desktop": {
- "type": "string"
- },
- "mobile": {
- "type": "string"
- },
- "web": {
- "type": "string"
- },
- "embedded": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "Relationship": {
- "type": "object",
- "properties": {
- "from_id": {
- "type": "string"
- },
- "from": {
- "$ref": "#/definitions/User"
- },
- "to_id": {
- "type": "string"
- },
- "to": {
- "$ref": "#/definitions/User"
- },
- "nickname": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/RelationshipType"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "from",
- "from_id",
- "id",
- "to",
- "to_id",
- "type"
- ]
- },
- "RelationshipType": {
- "enum": [
- 1,
- 2,
- 3,
- 4
- ],
- "type": "number"
- },
- "ConnectedAccount": {
- "type": "object",
- "properties": {
- "external_id": {
- "type": "string"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "friend_sync": {
- "type": "boolean",
- "default": false
- },
- "name": {
- "type": "string"
- },
- "revoked": {
- "type": "boolean",
- "default": false
- },
- "show_activity": {
- "type": "integer",
- "default": 0
- },
- "type": {
- "type": "string"
- },
- "verified": {
- "type": "boolean",
- "default": true
- },
- "visibility": {
- "type": "integer",
- "default": 0
- },
- "integrations": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "metadata_": {},
- "metadata_visibility": {
- "type": "integer",
- "default": 0
- },
- "two_way_link": {
- "type": "boolean",
- "default": false
- },
- "token_data": {
- "anyOf": [
- {
- "$ref": "#/definitions/ConnectedAccountTokenData"
- },
- {
- "type": "null"
- }
- ]
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "external_id",
- "id",
- "name",
- "type",
- "user",
- "user_id"
- ]
- },
- "UserSettings": {
- "type": "object",
- "properties": {
- "index": {
- "type": "string"
- },
- "afk_timeout": {
- "type": "integer",
- "default": 3600
- },
- "allow_accessibility_detection": {
- "type": "boolean",
- "default": true
- },
- "animate_emoji": {
- "type": "boolean",
- "default": true
- },
- "animate_stickers": {
- "type": "integer",
- "default": 0
- },
- "contact_sync_enabled": {
- "type": "boolean",
- "default": false
- },
- "convert_emoticons": {
- "type": "boolean",
- "default": false
- },
- "custom_status": {
- "anyOf": [
- {
- "$ref": "#/definitions/CustomStatus"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "default_guilds_restricted": {
- "type": "boolean",
- "default": false
- },
- "detect_platform_accounts": {
- "type": "boolean",
- "default": false
- },
- "developer_mode": {
- "type": "boolean",
- "default": true
- },
- "disable_games_tab": {
- "type": "boolean",
- "default": true
- },
- "enable_tts_command": {
- "type": "boolean",
- "default": false
- },
- "explicit_content_filter": {
- "type": "integer",
- "default": 0
- },
- "friend_discovery_flags": {
- "type": "integer",
- "default": 0
- },
- "friend_source_flags": {
- "$ref": "#/definitions/FriendSourceFlags"
- },
- "gateway_connected": {
- "type": "boolean",
- "default": false
- },
- "gif_auto_play": {
- "type": "boolean",
- "default": false
- },
- "guild_folders": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/GuildFolder"
- },
- "default": []
- },
- "guild_positions": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "inline_attachment_media": {
- "type": "boolean",
- "default": true
- },
- "inline_embed_media": {
- "type": "boolean",
- "default": true
- },
- "locale": {
- "type": "string",
- "default": "en-US"
- },
- "message_display_compact": {
- "type": "boolean",
- "default": false
- },
- "native_phone_integration_enabled": {
- "type": "boolean",
- "default": true
- },
- "render_embeds": {
- "type": "boolean",
- "default": true
- },
- "render_reactions": {
- "type": "boolean",
- "default": true
- },
- "restricted_guilds": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "show_current_game": {
- "type": "boolean",
- "default": true
- },
- "status": {
- "enum": [
- "dnd",
- "idle",
- "invisible",
- "offline",
- "online"
- ],
- "type": "string",
- "default": "online"
- },
- "stream_notifications_enabled": {
- "type": "boolean",
- "default": false
- },
- "theme": {
- "enum": [
- "dark",
- "light"
- ],
- "type": "string",
- "default": "dark"
- },
- "timezone_offset": {
- "type": "integer",
- "default": 0
- },
- "view_nsfw_guilds": {
- "type": "boolean",
- "default": true
- }
- },
- "additionalProperties": false,
- "required": [
- "afk_timeout",
- "allow_accessibility_detection",
- "animate_emoji",
- "animate_stickers",
- "contact_sync_enabled",
- "convert_emoticons",
- "custom_status",
- "default_guilds_restricted",
- "detect_platform_accounts",
- "developer_mode",
- "disable_games_tab",
- "enable_tts_command",
- "explicit_content_filter",
- "friend_discovery_flags",
- "friend_source_flags",
- "gateway_connected",
- "gif_auto_play",
- "guild_folders",
- "guild_positions",
- "index",
- "inline_attachment_media",
- "inline_embed_media",
- "locale",
- "message_display_compact",
- "native_phone_integration_enabled",
- "render_embeds",
- "render_reactions",
- "restricted_guilds",
- "show_current_game",
- "status",
- "stream_notifications_enabled",
- "theme",
- "timezone_offset",
- "view_nsfw_guilds"
- ]
- },
- "SecurityKey": {
- "type": "object",
- "properties": {
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "key_id": {
- "type": "string"
- },
- "public_key": {
- "type": "string"
- },
- "counter": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "counter",
- "id",
- "key_id",
- "name",
- "public_key",
- "user",
- "user_id"
- ]
- },
- "ChannelPermissionOverwrite": {
- "type": "object",
- "properties": {
- "allow": {
- "type": "string"
- },
- "deny": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/ChannelPermissionOverwriteType"
- }
- },
- "additionalProperties": false,
- "required": [
- "allow",
- "deny",
- "id",
- "type"
- ]
- },
- "Invite": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "temporary": {
- "type": "boolean"
- },
- "uses": {
- "type": "integer"
- },
- "max_uses": {
- "type": "integer"
- },
- "max_age": {
- "type": "integer"
- },
- "created_at": {
- "type": "string",
- "format": "date-time"
- },
- "expires_at": {
- "type": "string",
- "format": "date-time"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "inviter_id": {
- "type": "string"
- },
- "inviter": {
- "$ref": "#/definitions/User"
- },
- "target_user_id": {
- "type": "string"
- },
- "target_user": {
- "type": "string"
- },
- "target_user_type": {
- "type": "integer"
- },
- "vanity_url": {
- "type": "boolean"
- },
- "flags": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel",
- "channel_id",
- "code",
- "created_at",
- "flags",
- "guild",
- "guild_id",
- "inviter",
- "max_age",
- "max_uses",
- "target_user_id",
- "temporary",
- "uses"
- ]
- },
- "Message": {
- "type": "object",
- "properties": {
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "author_id": {
- "type": "string"
- },
- "author": {
- "$ref": "#/definitions/User"
- },
- "member_id": {
- "type": "string"
- },
- "member": {
- "$ref": "#/definitions/Member"
- },
- "webhook_id": {
- "type": "string"
- },
- "webhook": {
- "$ref": "#/definitions/Webhook"
- },
- "application_id": {
- "type": "string"
- },
- "application": {
- "$ref": "#/definitions/Application"
- },
- "content": {
- "type": "string"
- },
- "timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "edited_timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "tts": {
- "type": "boolean"
- },
- "mention_everyone": {
- "type": "boolean"
- },
- "mentions": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/User"
- }
- },
- "mention_roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
- },
- "mention_channels": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Channel"
- }
- },
- "sticker_items": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Sticker"
- }
- },
- "attachments": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Attachment"
- }
- },
- "embeds": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Embed"
- }
- },
- "reactions": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Reaction"
- }
- },
- "nonce": {
- "type": "string"
- },
- "pinned": {
- "type": "boolean"
- },
- "type": {
- "$ref": "#/definitions/MessageType"
- },
- "activity": {
- "type": "object",
- "properties": {
- "type": {
- "type": "integer"
- },
- "party_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "party_id",
- "type"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "message_reference": {
- "type": "object",
- "properties": {
- "message_id": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- },
- "guild_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "message_id"
- ]
- },
- "referenced_message": {
- "$ref": "#/definitions/Message"
- },
- "interaction": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/InteractionType"
- },
- "name": {
- "type": "string"
- },
- "user_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name",
- "type",
- "user_id"
- ]
- },
- "components": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ActionRowComponent"
- }
- },
- "poll": {
- "$ref": "#/definitions/Poll"
- },
- "username": {
- "type": "string"
- },
- "avatar": {
- "type": "string"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel",
- "embeds",
- "flags",
- "id",
- "mention_channels",
- "mention_roles",
- "mentions",
- "reactions",
- "timestamp",
- "type"
- ]
- },
- "Member": {
- "type": "object",
- "properties": {
- "index": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "nick": {
- "type": "string"
- },
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
- },
- "joined_at": {
- "type": "string",
- "format": "date-time"
- },
- "premium_since": {
- "type": "integer"
- },
- "deaf": {
- "type": "boolean"
- },
- "mute": {
- "type": "boolean"
- },
- "pending": {
- "type": "boolean"
- },
- "settings": {
- "$ref": "#/definitions/UserGuildSettings"
- },
- "last_message_id": {
- "type": "string"
- },
- "joined_by": {
- "type": "string"
- },
- "avatar": {
- "type": "string"
- },
- "banner": {
- "type": "string"
- },
- "bio": {
- "type": "string"
- },
- "theme_colors": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "pronouns": {
- "type": "string"
- },
- "communication_disabled_until": {
- "type": "string",
- "format": "date-time"
- }
- },
- "additionalProperties": false,
- "required": [
- "banner",
- "bio",
- "communication_disabled_until",
- "deaf",
- "guild",
- "guild_id",
- "id",
- "index",
- "joined_at",
- "joined_by",
- "mute",
- "pending",
- "roles",
- "settings",
- "user"
- ]
- },
- "Role": {
- "type": "object",
- "properties": {
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "color": {
- "type": "integer"
- },
- "hoist": {
- "type": "boolean"
- },
- "managed": {
- "type": "boolean"
- },
- "mentionable": {
- "type": "boolean"
- },
- "name": {
- "type": "string"
- },
- "permissions": {
- "type": "string"
- },
- "position": {
- "type": "integer"
- },
- "icon": {
- "type": "string"
- },
- "unicode_emoji": {
- "type": "string"
- },
- "tags": {
- "type": "object",
- "properties": {
- "bot_id": {
- "type": "string"
- },
- "integration_id": {
- "type": "string"
- },
- "premium_subscriber": {
- "type": "boolean"
- }
- },
- "additionalProperties": false
- },
- "flags": {
- "type": "integer"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "color",
- "flags",
- "guild",
- "guild_id",
- "hoist",
- "id",
- "managed",
- "mentionable",
- "name",
- "permissions",
- "position"
- ]
- },
- "UserGuildSettings": {
- "type": "object",
- "properties": {
- "channel_overrides": {
- "anyOf": [
- {
- "type": "object",
- "additionalProperties": {
- "$ref": "#/definitions/ChannelOverride"
- }
- },
- {
- "type": "null"
- }
- ]
- },
- "message_notifications": {
- "type": "integer"
- },
- "mobile_push": {
- "type": "boolean"
- },
- "mute_config": {
- "anyOf": [
- {
- "$ref": "#/definitions/MuteConfig"
- },
- {
- "type": "null"
- }
- ]
- },
- "muted": {
- "type": "boolean"
- },
- "suppress_everyone": {
- "type": "boolean"
- },
- "suppress_roles": {
- "type": "boolean"
- },
- "version": {
- "type": "integer"
- },
- "guild_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "mute_scheduled_events": {
- "type": "boolean"
- },
- "hide_muted_channels": {
- "type": "boolean"
- },
- "notify_highlights": {
- "type": "number",
- "enum": [
- 0
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "channel_overrides",
- "flags",
- "guild_id",
- "hide_muted_channels",
- "message_notifications",
- "mobile_push",
- "mute_config",
- "mute_scheduled_events",
- "muted",
- "notify_highlights",
- "suppress_everyone",
- "suppress_roles",
- "version"
- ]
- },
- "Webhook": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/definitions/WebhookType"
- },
- "name": {
- "type": "string"
- },
- "avatar": {
- "type": "string"
- },
- "token": {
- "type": "string"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "application_id": {
- "type": "string"
- },
- "application": {
- "$ref": "#/definitions/Application"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "source_guild_id": {
- "type": "string"
- },
- "source_guild": {
- "$ref": "#/definitions/Guild"
- },
- "source_channel_id": {
- "type": "string"
- },
- "source_channel": {
- "$ref": "#/definitions/Channel"
- },
- "url": {
- "type": "string"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "application",
- "application_id",
- "avatar",
- "channel",
- "channel_id",
- "id",
- "name",
- "source_channel",
- "source_channel_id",
- "type",
- "url",
- "user",
- "user_id"
- ]
- },
- "WebhookType": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "Application": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "summary": {
- "type": "string",
- "default": ""
- },
- "type": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "hook": {
- "type": "boolean",
- "default": true
- },
- "bot_public": {
- "type": "boolean",
- "default": true
- },
- "bot_require_code_grant": {
- "type": "boolean",
- "default": false
- },
- "verify_key": {
- "type": "string"
- },
- "owner": {
- "$ref": "#/definitions/User"
- },
- "flags": {
- "type": "integer",
- "default": 0
- },
- "redirect_uris": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "rpc_application_state": {
- "type": "integer",
- "default": 0
- },
- "store_application_state": {
- "type": "integer",
- "default": 1
- },
- "verification_state": {
- "type": "integer",
- "default": 1
- },
- "interactions_endpoint_url": {
- "type": "string"
- },
- "integration_public": {
- "type": "boolean",
- "default": true
- },
- "integration_require_code_grant": {
- "type": "boolean",
- "default": false
- },
- "discoverability_state": {
- "type": "integer",
- "default": 1
- },
- "discovery_eligibility_flags": {
- "type": "integer",
- "default": 2240
- },
- "bot": {
- "$ref": "#/definitions/User"
- },
- "tags": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "cover_image": {
- "type": "string"
- },
- "install_params": {
- "type": "object",
- "properties": {
- "scopes": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "permissions": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "permissions",
- "scopes"
- ]
- },
- "terms_of_service_url": {
- "type": "string"
- },
- "privacy_policy_url": {
- "type": "string"
- },
- "team": {
- "$ref": "#/definitions/Team"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "description",
- "discoverability_state",
- "discovery_eligibility_flags",
- "flags",
- "hook",
- "id",
- "integration_public",
- "integration_require_code_grant",
- "name",
- "owner",
- "redirect_uris",
- "rpc_application_state",
- "store_application_state",
- "summary",
- "verification_state",
- "verify_key"
- ]
- },
- "Team": {
- "type": "object",
- "properties": {
- "icon": {
- "type": "string"
- },
- "members": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/TeamMember"
- }
- },
- "name": {
- "type": "string"
- },
- "owner_user_id": {
- "type": "string"
- },
- "owner_user": {
- "$ref": "#/definitions/User"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "members",
- "name",
- "owner_user",
- "owner_user_id"
- ]
- },
- "TeamMember": {
- "type": "object",
- "properties": {
- "membership_state": {
- "$ref": "#/definitions/TeamMemberState"
- },
- "permissions": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "team_id": {
- "type": "string"
- },
- "team": {
- "$ref": "#/definitions/Team"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "membership_state",
- "permissions",
- "team",
- "team_id",
- "user",
- "user_id"
- ]
- },
- "TeamMemberState": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
- },
- "Sticker": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "available": {
- "type": "boolean"
- },
- "tags": {
- "type": "string"
- },
- "pack_id": {
- "type": "string"
- },
- "pack": {
- "$ref": "#/definitions/StickerPack"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "type": {
- "$ref": "#/definitions/StickerType"
- },
- "format_type": {
- "$ref": "#/definitions/StickerFormatType"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "format_type",
- "id",
- "name",
- "pack",
- "type"
- ]
- },
- "StickerPack": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "banner_asset_id": {
- "type": "string"
- },
- "stickers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Sticker"
- }
- },
- "cover_sticker_id": {
- "type": "string"
- },
- "cover_sticker": {
- "$ref": "#/definitions/Sticker"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name",
- "stickers"
- ]
- },
- "StickerType": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
- },
- "StickerFormatType": {
- "enum": [
- 0,
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "Attachment": {
- "type": "object",
- "properties": {
- "filename": {
- "type": "string"
- },
- "size": {
- "type": "integer"
- },
- "url": {
- "type": "string"
- },
- "proxy_url": {
- "type": "string"
- },
- "height": {
- "type": "integer"
- },
- "width": {
- "type": "integer"
- },
- "content_type": {
- "type": "string"
- },
- "message_id": {
- "type": "string"
- },
- "message": {
- "$ref": "#/definitions/Message"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "filename",
- "id",
- "message",
- "message_id",
- "proxy_url",
- "size",
- "url"
- ]
- },
- "Reaction": {
- "type": "object",
- "properties": {
- "count": {
- "type": "integer"
- },
- "emoji": {
- "$ref": "#/definitions/PartialEmoji"
- },
- "user_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "count",
- "emoji",
- "user_ids"
- ]
- },
- "MessageType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 19,
- 2,
- 20,
- 255,
- 3,
- 4,
- 41,
- 42,
- 43,
- 5,
- 50,
- 6,
- 63,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "InteractionType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "Poll": {
- "type": "object",
- "properties": {
- "question": {
- "$ref": "#/definitions/PollMedia"
- },
- "answers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PollAnswer"
- }
- },
- "expiry": {
- "type": "string",
- "format": "date-time"
- },
- "allow_multiselect": {
- "type": "boolean"
- },
- "results": {
- "$ref": "#/definitions/PollResult"
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_multiselect",
- "answers",
- "expiry",
- "question"
- ]
- },
- "PollResult": {
- "type": "object",
- "properties": {
- "is_finalized": {
- "type": "boolean"
- },
- "answer_counts": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PollAnswerCount"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "answer_counts",
- "is_finalized"
- ]
- },
- "PollAnswerCount": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "count": {
- "type": "integer"
- },
- "me_voted": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "count",
- "id",
- "me_voted"
- ]
- },
- "VoiceState": {
- "type": "object",
- "properties": {
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "member": {
- "$ref": "#/definitions/Member"
- },
- "session_id": {
- "type": "string"
- },
- "token": {
- "type": "string"
- },
- "deaf": {
- "type": "boolean"
- },
- "mute": {
- "type": "boolean"
- },
- "self_deaf": {
- "type": "boolean"
- },
- "self_mute": {
- "type": "boolean"
- },
- "self_stream": {
- "type": "boolean"
- },
- "self_video": {
- "type": "boolean"
- },
- "suppress": {
- "type": "boolean"
- },
- "request_to_speak_timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel",
- "channel_id",
- "deaf",
- "guild_id",
- "id",
- "member",
- "mute",
- "self_deaf",
- "self_mute",
- "self_video",
- "session_id",
- "suppress",
- "token",
- "user",
- "user_id"
- ]
- },
- "ReadState": {
- "type": "object",
- "properties": {
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "last_message_id": {
- "type": "string"
- },
- "public_ack": {
- "type": "string"
- },
- "notifications_cursor": {
- "type": "string"
- },
- "last_pin_timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "mention_count": {
- "type": "integer"
- },
- "manual": {
- "type": "boolean"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel",
- "channel_id",
- "id",
- "last_message_id",
- "manual",
- "mention_count",
- "notifications_cursor",
- "public_ack",
- "user",
- "user_id"
- ]
- },
- "Ban": {
- "type": "object",
- "properties": {
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "executor_id": {
- "type": "string"
- },
- "executor": {
- "$ref": "#/definitions/User"
- },
- "ip": {
- "type": "string"
- },
- "reason": {
- "type": "string"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "executor",
- "executor_id",
- "guild",
- "guild_id",
- "id",
- "ip",
- "user",
- "user_id"
- ]
- },
- "Template": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "usage_count": {
- "type": "integer"
- },
- "creator_id": {
- "type": "string"
- },
- "creator": {
- "$ref": "#/definitions/User"
- },
- "created_at": {
- "type": "string",
- "format": "date-time"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time"
- },
- "source_guild_id": {
- "type": "string"
- },
- "source_guild": {
- "$ref": "#/definitions/Guild"
- },
- "serialized_source_guild": {
- "$ref": "#/definitions/Guild"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "created_at",
- "creator",
- "creator_id",
- "id",
- "name",
- "serialized_source_guild",
- "source_guild",
- "source_guild_id",
- "updated_at"
- ]
- },
- "Emoji": {
- "type": "object",
- "properties": {
- "animated": {
- "type": "boolean"
- },
- "available": {
- "type": "boolean"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "managed": {
- "type": "boolean"
- },
- "name": {
- "type": "string"
- },
- "require_colons": {
- "type": "boolean"
- },
- "roles": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "groups": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "animated",
- "available",
- "groups",
- "guild",
- "guild_id",
- "id",
- "managed",
- "name",
- "require_colons",
- "roles",
- "user",
- "user_id"
- ]
- },
- "GuildWelcomeScreen": {
- "type": "object",
- "properties": {
- "enabled": {
- "type": "boolean"
- },
- "description": {
- "type": "string"
- },
- "welcome_channels": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "description": {
- "type": "string"
- },
- "emoji_id": {
- "type": "string"
- },
- "emoji_name": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel_id",
- "description"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "description",
- "enabled",
- "welcome_channels"
- ]
- },
- "GuildMessagesSearchMessage": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/MessageType"
- },
- "content": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- },
- "author": {
- "$ref": "#/definitions/PublicUser"
- },
- "attachments": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Attachment"
- }
- },
- "embeds": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Embed"
- }
- },
- "mentions": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PublicUser"
- }
- },
- "mention_roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
- },
- "pinned": {
- "type": "boolean"
- },
- "mention_everyone": {
- "type": "boolean"
- },
- "tts": {
- "type": "boolean"
- },
- "timestamp": {
- "type": "string"
- },
- "edited_timestamp": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "components": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ActionRowComponent"
- }
- },
- "poll": {
- "$ref": "#/definitions/Poll"
- },
- "hit": {
- "type": "boolean",
- "enum": [
- true
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "attachments",
- "author",
- "channel_id",
- "components",
- "edited_timestamp",
- "embeds",
- "flags",
- "hit",
- "id",
- "mention_roles",
- "mentions",
- "pinned",
- "poll",
- "timestamp",
- "tts",
- "type"
- ]
- },
- "PublicUser": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "premium_since": {
- "type": "string",
- "format": "date-time"
- },
- "avatar": {
- "type": "string"
- },
- "username": {
- "type": "string"
- },
- "discriminator": {
- "type": "string"
- },
- "public_flags": {
- "type": "integer"
- },
- "accent_color": {
- "type": "integer"
- },
- "banner": {
- "type": "string"
- },
- "bio": {
- "type": "string"
- },
- "bot": {
- "type": "boolean"
- },
- "premium_type": {
- "type": "integer"
- },
- "theme_colors": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "pronouns": {
- "type": "string"
- },
- "badge_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "bio",
- "bot",
- "discriminator",
- "id",
- "premium_since",
- "premium_type",
- "public_flags",
- "username"
- ]
- },
- "GuildVanityUrl": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "uses": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "uses"
- ]
- },
- "GuildVanityUrlNoInvite": {
- "type": "object",
- "properties": {
- "code": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "code"
- ]
- },
- "Snowflake": {
- "description": "A container for useful snowflake-related methods.",
- "type": "object",
- "additionalProperties": false
- },
- "TenorGifResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "src": {
- "type": "string"
- },
- "gif_src": {
- "type": "string"
- },
- "width": {
- "type": "integer"
- },
- "height": {
- "type": "integer"
- },
- "preview": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "gif_src",
- "height",
- "id",
- "preview",
- "src",
- "title",
- "url",
- "width"
- ]
- },
- "BackupCode": {
- "type": "object",
- "properties": {
- "user": {
- "$ref": "#/definitions/User"
- },
- "code": {
- "type": "string"
- },
- "consumed": {
- "type": "boolean"
- },
- "expired": {
- "type": "boolean"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "consumed",
- "expired",
- "id",
- "user"
- ]
- },
- "APIGuild": {
- "type": "object",
- "properties": {
- "reload": {
- "description": "Reloads entity data from the database.",
- "type": "object",
- "additionalProperties": false
- },
- "name": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "parent": {
- "type": "string"
- },
- "owner_id": {
- "type": "string"
- },
- "nsfw": {
- "type": "boolean"
- },
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
- "toJSON": {
- "type": "object",
- "additionalProperties": false
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
- },
- "assign": {
- "type": "object",
- "additionalProperties": false
- },
- "hasId": {
- "description": "Checks if entity has an id.\nIf entity composite compose ids, it will check them all.",
- "type": "object",
- "additionalProperties": false
- },
- "save": {
- "description": "Saves current entity in the database.\nIf entity does not exist in the database then inserts, otherwise updates.",
- "type": "object",
- "additionalProperties": false
- },
- "remove": {
- "description": "Removes current entity from the database.",
- "type": "object",
- "additionalProperties": false
- },
- "softRemove": {
- "description": "Records the delete date of current entity.",
- "type": "object",
- "additionalProperties": false
- },
- "recover": {
- "description": "Recovers a given entity in the database.",
- "type": "object",
- "additionalProperties": false
- },
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
- },
- "banner": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "unavailable": {
- "type": "boolean"
- },
- "channels": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Channel"
- }
- },
- "region": {
- "type": "string"
- },
- "system_channel_id": {
- "type": "string"
- },
- "rules_channel_id": {
- "type": "string"
- },
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
- },
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
- "type": "string"
- },
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "primary_category_id": {
- "type": "string"
- },
- "large": {
- "type": "boolean"
- },
- "max_members": {
- "type": "integer"
- },
- "max_presences": {
- "type": "integer"
- },
- "max_video_channel_users": {
- "type": "integer"
- },
- "member_count": {
- "type": "integer"
- },
- "presence_count": {
- "type": "integer"
- },
- "members": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Member"
- }
- },
- "template_id": {
- "type": "string"
- },
- "emojis": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Emoji"
- }
- },
- "stickers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Sticker"
- }
- },
- "mfa_level": {
- "type": "integer"
- },
- "preferred_locale": {
- "type": "string"
- },
- "premium_subscription_count": {
- "type": "integer"
- },
- "premium_tier": {
- "type": "integer"
- },
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
- "welcome_screen": {
- "$ref": "#/definitions/GuildWelcomeScreen"
- },
- "widget_channel_id": {
- "type": "string"
- },
- "widget_enabled": {
- "type": "boolean"
- },
- "nsfw_level": {
- "type": "integer"
- },
- "permissions": {
- "type": "integer"
- },
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
- "channel_ordering": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "_do_validate",
- "assign",
- "bans",
- "channel_ordering",
- "channels",
- "emojis",
- "features",
- "hasId",
- "id",
- "invites",
- "members",
- "name",
- "nsfw",
- "premium_progress_bar_enabled",
- "public_updates_channel_id",
- "recover",
- "reload",
- "remove",
- "roles",
- "save",
- "softRemove",
- "stickers",
- "toJSON",
- "unavailable",
- "voice_states",
- "webhooks",
- "welcome_screen",
- "widget_enabled"
- ]
- },
- "DmChannelDTO": {
- "type": "object",
- "properties": {
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "id": {
- "type": "string"
- },
- "last_message_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "name": {
- "type": [
- "null",
- "string"
- ]
- },
- "origin_channel_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "owner_id": {
- "type": "string"
- },
- "recipients": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/MinimalPublicUserDTO"
- }
- },
- "type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "icon",
- "id",
- "last_message_id",
- "name",
- "origin_channel_id",
- "recipients",
- "type"
- ]
- },
- "MinimalPublicUserDTO": {
- "type": "object",
- "properties": {
- "avatar": {
- "type": [
- "null",
- "string"
- ]
- },
- "discriminator": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "public_flags": {
- "type": "integer"
- },
- "username": {
- "type": "string"
- },
- "badge_ids": {
- "anyOf": [
- {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "discriminator",
- "id",
- "public_flags",
- "username"
- ]
- },
- "Categories": {
- "type": "object",
- "properties": {
- "id": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- },
- "localizations": {
- "type": "string"
- },
- "is_primary": {
- "type": "boolean"
- },
- "icon": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "is_primary",
- "localizations",
- "name"
- ]
- },
- "GuildVoiceRegion": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "custom": {
- "type": "boolean"
- },
- "deprecated": {
- "type": "boolean"
- },
- "optimal": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom",
- "deprecated",
- "id",
- "name",
- "optimal"
- ]
- },
- "UserLimits": {
- "type": "object",
- "properties": {
- "maxGuilds": {
- "type": "integer",
- "default": 1048576
- },
- "maxUsername": {
- "type": "integer",
- "default": 32
- },
- "maxFriends": {
- "type": "integer",
- "default": 5000
- },
- "maxBio": {
- "type": "integer",
- "default": 190
- }
- },
- "additionalProperties": false,
- "required": [
- "maxBio",
- "maxFriends",
- "maxGuilds",
- "maxUsername"
- ]
- },
- "GuildLimits": {
- "type": "object",
- "properties": {
- "maxRoles": {
- "type": "integer",
- "default": 1000
- },
- "maxEmojis": {
- "type": "integer",
- "default": 2000
- },
- "maxMembers": {
- "type": "integer",
- "default": 25000000
- },
- "maxChannels": {
- "type": "integer",
- "default": 65535
- },
- "maxBulkBanUsers": {
- "type": "integer",
- "default": 200
- },
- "maxChannelsInCategory": {
- "type": "integer",
- "default": 65535
- }
- },
- "additionalProperties": false,
- "required": [
- "maxBulkBanUsers",
- "maxChannels",
- "maxChannelsInCategory",
- "maxEmojis",
- "maxMembers",
- "maxRoles"
- ]
- },
- "MessageLimits": {
- "type": "object",
- "properties": {
- "maxCharacters": {
- "type": "integer",
- "default": 1048576
- },
- "maxTTSCharacters": {
- "type": "integer",
- "default": 160
- },
- "maxReactions": {
- "type": "integer",
- "default": 2048
- },
- "maxAttachmentSize": {
- "type": "integer",
- "default": 1073741824
- },
- "maxBulkDelete": {
- "type": "integer",
- "default": 1000
- },
- "maxEmbedDownloadSize": {
- "type": "integer",
- "default": 5242880
- }
- },
- "additionalProperties": false,
- "required": [
- "maxAttachmentSize",
- "maxBulkDelete",
- "maxCharacters",
- "maxEmbedDownloadSize",
- "maxReactions",
- "maxTTSCharacters"
- ]
- },
- "ChannelLimits": {
- "type": "object",
- "properties": {
- "maxPins": {
- "type": "integer",
- "default": 500
- },
- "maxTopic": {
- "type": "integer",
- "default": 1024
- },
- "maxWebhooks": {
- "type": "integer",
- "default": 100
- }
- },
- "additionalProperties": false,
- "required": [
- "maxPins",
- "maxTopic",
- "maxWebhooks"
- ]
- },
- "RateLimits": {
- "type": "object",
- "properties": {
- "enabled": {
- "type": "boolean",
- "default": false
- },
- "ip": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "global": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "error": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "routes": {
- "$ref": "#/definitions/RouteRateLimit"
- }
- },
- "additionalProperties": false,
- "required": [
- "enabled",
- "error",
- "global",
- "ip",
- "routes"
- ]
- },
- "RateLimitOptions": {
- "type": "object",
- "properties": {
- "bot": {
- "type": "integer"
- },
- "count": {
- "type": "integer"
- },
- "window": {
- "type": "integer"
- },
- "onyIp": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "count",
- "window"
- ]
- },
- "RouteRateLimit": {
- "type": "object",
- "properties": {
- "guild": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "webhook": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "channel": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "auth": {}
- },
- "additionalProperties": false,
- "required": [
- "auth",
- "channel",
- "guild",
- "webhook"
- ]
- },
- "GlobalRateLimits": {
- "type": "object",
- "properties": {
- "register": {
- "$ref": "#/definitions/GlobalRateLimit"
- },
- "sendMessage": {
- "$ref": "#/definitions/GlobalRateLimit"
- }
- },
- "additionalProperties": false,
- "required": [
- "register",
- "sendMessage"
- ]
- },
- "GlobalRateLimit": {
- "type": "object",
- "properties": {
- "limit": {
- "type": "integer",
- "default": 100
- },
- "window": {
- "type": "integer",
- "default": 3600000
- },
- "enabled": {
- "type": "boolean",
- "default": true
- }
- },
- "additionalProperties": false,
- "required": [
- "enabled",
- "limit",
- "window"
- ]
- },
- "PublicConnectedAccount": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "type": {
- "type": "string"
- },
- "verified": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "name",
- "type"
- ]
- },
- "UserProfile": {
- "type": "object",
- "properties": {
- "accent_color": {
- "type": "integer"
- },
- "banner": {
- "type": "string"
- },
- "bio": {
- "type": "string"
- },
- "theme_colors": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "pronouns": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "bio"
- ]
- },
- "Badge": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "link": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "description",
- "icon",
- "id"
- ]
- },
- "TokenResponse": {
- "type": "object",
- "properties": {
- "token": {
- "type": "string"
- },
- "settings": {
- "$ref": "#/definitions/UserSettings"
- }
- },
- "additionalProperties": false,
- "required": [
- "settings",
- "token"
- ]
- },
- "MFAResponse": {
- "type": "object",
- "properties": {
- "ticket": {
- "type": "string"
- },
- "mfa": {
- "type": "boolean",
- "enum": [
- true
- ]
- },
- "sms": {
- "type": "boolean",
- "enum": [
- false
- ]
- },
- "token": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "mfa",
- "sms",
- "ticket",
- "token"
- ]
- },
- "WebAuthnResponse": {
- "type": "object",
- "properties": {
- "webauthn": {
- "type": "string"
- },
- "ticket": {
- "type": "string"
- },
- "mfa": {
- "type": "boolean",
- "enum": [
- true
- ]
- },
- "sms": {
- "type": "boolean",
- "enum": [
- false
- ]
- },
- "token": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "mfa",
- "sms",
- "ticket",
- "token",
- "webauthn"
- ]
- }
- },
"$schema": "http://json-schema.org/draft-07/schema#"
},
"BackupCodesChallengeSchema": {
@@ -33726,4772 +165,6 @@
"required": [
"password"
],
- "definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
- "ChannelPermissionOverwriteType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "ConnectedAccountTokenData": {
- "type": "object",
- "properties": {
- "access_token": {
- "type": "string"
- },
- "token_type": {
- "type": "string"
- },
- "scope": {
- "type": "string"
- },
- "refresh_token": {
- "type": "string"
- },
- "expires_in": {
- "type": "integer"
- },
- "expires_at": {
- "type": "integer"
- },
- "fetched_at": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "access_token",
- "fetched_at"
- ]
- },
- "ChannelModifySchema": {
- "type": "object",
- "properties": {
- "name": {
- "maxLength": 100,
- "type": "string"
- },
- "type": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 2,
- 255,
- 3,
- 33,
- 34,
- 35,
- 4,
- 5,
- 6,
- 64,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "topic": {
- "type": "string"
- },
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "bitrate": {
- "type": "integer"
- },
- "user_limit": {
- "type": "integer"
- },
- "rate_limit_per_user": {
- "type": "integer"
- },
- "position": {
- "type": "integer"
- },
- "permission_overwrites": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/ChannelPermissionOverwriteType"
- },
- "allow": {
- "type": "string"
- },
- "deny": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "allow",
- "deny",
- "id",
- "type"
- ]
- }
- },
- "parent_id": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "nsfw": {
- "type": "boolean"
- },
- "rtc_region": {
- "type": "string"
- },
- "default_auto_archive_duration": {
- "type": "integer"
- },
- "default_reaction_emoji": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "default_thread_rate_limit_per_user": {
- "type": "integer"
- },
- "video_quality_mode": {
- "type": "integer"
- }
- },
- "additionalProperties": false
- },
- "ActivitySchema": {
- "type": "object",
- "properties": {
- "afk": {
- "type": "boolean"
- },
- "status": {
- "$ref": "#/definitions/Status"
- },
- "activities": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Activity"
- }
- },
- "since": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "status"
- ]
- },
- "Status": {
- "enum": [
- "dnd",
- "idle",
- "invisible",
- "offline",
- "online"
- ],
- "type": "string"
- },
- "Activity": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/ActivityType"
- },
- "url": {
- "type": "string"
- },
- "created_at": {
- "type": "integer"
- },
- "timestamps": {
- "type": "object",
- "properties": {
- "start": {
- "type": "integer"
- },
- "end": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "end",
- "start"
- ]
- },
- "application_id": {
- "type": "string"
- },
- "details": {
- "type": "string"
- },
- "state": {
- "type": "string"
- },
- "emoji": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "animated": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "animated",
- "name"
- ]
- },
- "party": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "size": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- }
- },
- "additionalProperties": false
- },
- "assets": {
- "type": "object",
- "properties": {
- "large_image": {
- "type": "string"
- },
- "large_text": {
- "type": "string"
- },
- "small_image": {
- "type": "string"
- },
- "small_text": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "secrets": {
- "type": "object",
- "properties": {
- "join": {
- "type": "string"
- },
- "spectate": {
- "type": "string"
- },
- "match": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "instance": {
- "type": "boolean"
- },
- "flags": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "sync_id": {
- "type": "string"
- },
- "metadata": {
- "type": "object",
- "properties": {
- "context_uri": {
- "type": "string"
- },
- "album_id": {
- "type": "string"
- },
- "artist_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "album_id",
- "artist_ids"
- ]
- },
- "session_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "flags",
- "name",
- "session_id",
- "type"
- ]
- },
- "ActivityType": {
- "enum": [
- 0,
- 1,
- 2,
- 4,
- 5
- ],
- "type": "number"
- },
- "Embed": {
- "type": "object",
- "properties": {
- "title": {
- "type": "string"
- },
- "type": {
- "enum": [
- "article",
- "gifv",
- "image",
- "link",
- "rich",
- "video"
- ],
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "color": {
- "type": "integer"
- },
- "footer": {
- "type": "object",
- "properties": {
- "text": {
- "type": "string"
- },
- "icon_url": {
- "type": "string"
- },
- "proxy_icon_url": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "text"
- ]
- },
- "image": {
- "$ref": "#/definitions/EmbedImage"
- },
- "thumbnail": {
- "$ref": "#/definitions/EmbedImage"
- },
- "video": {
- "$ref": "#/definitions/EmbedImage"
- },
- "provider": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "url": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "author": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "icon_url": {
- "type": "string"
- },
- "proxy_icon_url": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "fields": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "value": {
- "type": "string"
- },
- "inline": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "name",
- "value"
- ]
- }
- }
- },
- "additionalProperties": false
- },
- "EmbedImage": {
- "type": "object",
- "properties": {
- "url": {
- "type": "string"
- },
- "proxy_url": {
- "type": "string"
- },
- "height": {
- "type": "integer"
- },
- "width": {
- "type": "integer"
- }
- },
- "additionalProperties": false
- },
- "ActionRowComponent": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/definitions/MessageComponentType.ActionRow"
- },
- "components": {
- "type": "array",
- "items": {
- "anyOf": [
- {
- "$ref": "#/definitions/ButtonComponent"
- },
- {
- "$ref": "#/definitions/SelectMenuComponent"
- },
- {
- "$ref": "#/definitions/StringSelectMenuComponent"
- },
- {
- "$ref": "#/definitions/TextInputComponent"
- }
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "components",
- "type"
- ]
- },
- "MessageComponentType.ActionRow": {
- "type": "number",
- "enum": [
- 1
- ]
- },
- "ButtonComponent": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/definitions/MessageComponentType.Button"
- },
- "style": {
- "$ref": "#/definitions/ButtonStyle"
- },
- "label": {
- "type": "string"
- },
- "emoji": {
- "$ref": "#/definitions/PartialEmoji"
- },
- "custom_id": {
- "type": "string"
- },
- "sku_id": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "disabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "style",
- "type"
- ]
- },
- "MessageComponentType.Button": {
- "type": "number",
- "enum": [
- 2
- ]
- },
- "ButtonStyle": {
- "enum": [
- 1,
- 2,
- 3,
- 4,
- 5,
- 6
- ],
- "type": "number"
- },
- "PartialEmoji": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "animated": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "name"
- ]
- },
- "SelectMenuComponent": {
- "type": "object",
- "properties": {
- "type": {
- "enum": [
- 3,
- 5,
- 6,
- 7,
- 8
- ],
- "type": "number"
- },
- "custom_id": {
- "type": "string"
- },
- "channel_types": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "placeholder": {
- "type": "string"
- },
- "default_values": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SelectMenuDefaultOption"
- }
- },
- "min_values": {
- "type": "integer"
- },
- "max_values": {
- "type": "integer"
- },
- "disabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom_id",
- "type"
- ]
- },
- "SelectMenuDefaultOption": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {
- "enum": [
- "channel",
- "role",
- "user"
- ],
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "type"
- ]
- },
- "StringSelectMenuComponent": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/definitions/MessageComponentType.StringSelect"
- },
- "options": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SelectMenuOption"
- }
- },
- "custom_id": {
- "type": "string"
- },
- "channel_types": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "placeholder": {
- "type": "string"
- },
- "default_values": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SelectMenuDefaultOption"
- }
- },
- "min_values": {
- "type": "integer"
- },
- "max_values": {
- "type": "integer"
- },
- "disabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom_id",
- "options",
- "type"
- ]
- },
- "MessageComponentType.StringSelect": {
- "type": "number",
- "enum": [
- 3
- ]
- },
- "SelectMenuOption": {
- "type": "object",
- "properties": {
- "label": {
- "type": "string"
- },
- "value": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "emoji": {
- "$ref": "#/definitions/PartialEmoji"
- },
- "default": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "label",
- "value"
- ]
- },
- "TextInputComponent": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/definitions/MessageComponentType.TextInput"
- },
- "custom_id": {
- "type": "string"
- },
- "style": {
- "$ref": "#/definitions/TextInputStyle"
- },
- "label": {
- "type": "string"
- },
- "min_length": {
- "type": "integer"
- },
- "max_length": {
- "type": "integer"
- },
- "required": {
- "type": "boolean"
- },
- "value": {
- "type": "string"
- },
- "placeholder": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom_id",
- "label",
- "style",
- "type"
- ]
- },
- "MessageComponentType.TextInput": {
- "type": "number",
- "enum": [
- 4
- ]
- },
- "TextInputStyle": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
- },
- "PollCreationSchema": {
- "type": "object",
- "properties": {
- "question": {
- "$ref": "#/definitions/PollMedia"
- },
- "answers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PollAnswer"
- }
- },
- "duration": {
- "type": "integer"
- },
- "allow_multiselect": {
- "type": "boolean"
- },
- "layout_type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "answers",
- "question"
- ]
- },
- "PollMedia": {
- "type": "object",
- "properties": {
- "text": {
- "type": "string"
- },
- "emoji": {
- "$ref": "#/definitions/PartialEmoji"
- }
- },
- "additionalProperties": false
- },
- "PollAnswer": {
- "type": "object",
- "properties": {
- "answer_id": {
- "type": "string"
- },
- "poll_media": {
- "$ref": "#/definitions/PollMedia"
- }
- },
- "additionalProperties": false,
- "required": [
- "poll_media"
- ]
- },
- "ChannelOverride": {
- "type": "object",
- "properties": {
- "message_notifications": {
- "type": "integer"
- },
- "mute_config": {
- "$ref": "#/definitions/MuteConfig"
- },
- "muted": {
- "type": "boolean"
- },
- "channel_id": {
- "type": [
- "null",
- "string"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "channel_id",
- "message_notifications",
- "mute_config",
- "muted"
- ]
- },
- "MuteConfig": {
- "type": "object",
- "properties": {
- "end_time": {
- "type": "integer"
- },
- "selected_time_window": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "end_time",
- "selected_time_window"
- ]
- },
- "CustomStatus": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": "string"
- },
- "emoji_name": {
- "type": "string"
- },
- "expires_at": {
- "type": "integer"
- },
- "text": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "FriendSourceFlags": {
- "type": "object",
- "properties": {
- "all": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "all"
- ]
- },
- "GuildFolder": {
- "type": "object",
- "properties": {
- "color": {
- "type": "integer"
- },
- "guild_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "color",
- "guild_ids",
- "id",
- "name"
- ]
- },
- "GenerateWebAuthnCredentialsSchema": {
- "type": "object",
- "properties": {
- "password": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "password"
- ]
- },
- "CreateWebAuthnCredentialSchema": {
- "type": "object",
- "properties": {
- "credential": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "ticket": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "credential",
- "name",
- "ticket"
- ]
- },
- "APIErrorResponse": {
- "type": "object",
- "properties": {
- "code": {
- "type": "integer"
- },
- "message": {
- "type": "string"
- },
- "errors": {
- "type": "object",
- "additionalProperties": {
- "type": "object",
- "properties": {
- "_errors": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "message": {
- "type": "string"
- },
- "code": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "message"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "_errors"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "errors",
- "message"
- ]
- },
- "CaptchaRequiredResponse": {
- "type": "object",
- "properties": {
- "captcha_key": {
- "type": "string"
- },
- "captcha_sitekey": {
- "type": "string"
- },
- "captcha_service": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "captcha_key",
- "captcha_service",
- "captcha_sitekey"
- ]
- },
- "Guild": {
- "type": "object",
- "properties": {
- "afk_channel_id": {
- "type": "string"
- },
- "afk_channel": {
- "$ref": "#/definitions/Channel"
- },
- "afk_timeout": {
- "type": "integer"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "banner": {
- "type": "string"
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "description": {
- "type": "string"
- },
- "discovery_splash": {
- "type": "string"
- },
- "explicit_content_filter": {
- "type": "integer"
- },
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "primary_category_id": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "large": {
- "type": "boolean",
- "default": false
- },
- "max_members": {
- "type": "integer"
- },
- "max_presences": {
- "type": "integer"
- },
- "max_video_channel_users": {
- "type": "integer"
- },
- "member_count": {
- "type": "integer"
- },
- "presence_count": {
- "type": "integer"
- },
- "members": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Member"
- }
- },
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
- },
- "channels": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Channel"
- }
- },
- "template_id": {
- "type": "string"
- },
- "template": {
- "$ref": "#/definitions/Template"
- },
- "emojis": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Emoji"
- }
- },
- "stickers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Sticker"
- }
- },
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
- "mfa_level": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- },
- "owner_id": {
- "type": "string"
- },
- "owner": {
- "$ref": "#/definitions/User"
- },
- "preferred_locale": {
- "type": "string"
- },
- "premium_subscription_count": {
- "type": "integer"
- },
- "premium_tier": {
- "type": "integer"
- },
- "public_updates_channel_id": {
- "type": "string"
- },
- "public_updates_channel": {
- "$ref": "#/definitions/Channel"
- },
- "rules_channel_id": {
- "type": "string"
- },
- "rules_channel": {
- "type": "string"
- },
- "region": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_id": {
- "type": "string"
- },
- "system_channel": {
- "$ref": "#/definitions/Channel"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "unavailable": {
- "type": "boolean",
- "default": false
- },
- "verification_level": {
- "type": "integer"
- },
- "welcome_screen": {
- "$ref": "#/definitions/GuildWelcomeScreen"
- },
- "widget_channel_id": {
- "type": "string"
- },
- "widget_channel": {
- "$ref": "#/definitions/Channel"
- },
- "widget_enabled": {
- "type": "boolean",
- "default": true
- },
- "nsfw_level": {
- "type": "integer"
- },
- "nsfw": {
- "type": "boolean",
- "default": false
- },
- "parent": {
- "type": "string"
- },
- "permissions": {
- "type": "integer"
- },
- "premium_progress_bar_enabled": {
- "type": "boolean",
- "default": false
- },
- "channel_ordering": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "bans",
- "channel_ordering",
- "channels",
- "emojis",
- "features",
- "id",
- "invites",
- "members",
- "name",
- "nsfw",
- "premium_progress_bar_enabled",
- "public_updates_channel_id",
- "roles",
- "stickers",
- "template",
- "unavailable",
- "voice_states",
- "webhooks",
- "welcome_screen",
- "widget_enabled"
- ]
- },
- "Channel": {
- "type": "object",
- "properties": {
- "created_at": {
- "type": "string",
- "format": "date-time"
- },
- "name": {
- "type": "string"
- },
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "type": {
- "$ref": "#/definitions/ChannelType"
- },
- "recipients": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Recipient"
- }
- },
- "last_message_id": {
- "type": "string"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "parent_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "parent": {
- "$ref": "#/definitions/Channel"
- },
- "owner_id": {
- "type": "string"
- },
- "owner": {
- "$ref": "#/definitions/User"
- },
- "last_pin_timestamp": {
- "type": "integer"
- },
- "default_auto_archive_duration": {
- "type": "integer"
- },
- "permission_overwrites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ChannelPermissionOverwrite"
- }
- },
- "video_quality_mode": {
- "type": "integer"
- },
- "bitrate": {
- "type": "integer"
- },
- "user_limit": {
- "type": "integer"
- },
- "nsfw": {
- "type": "boolean",
- "default": false
- },
- "rate_limit_per_user": {
- "type": "integer"
- },
- "topic": {
- "type": "string"
- },
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "retention_policy_id": {
- "type": "string"
- },
- "messages": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Message"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "read_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ReadState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
- "flags": {
- "type": "integer",
- "default": 0
- },
- "default_thread_rate_limit_per_user": {
- "type": "integer",
- "default": 0
- },
- "position": {
- "description": "Must be calculated Channel.calculatePosition",
- "type": "integer"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "created_at",
- "default_thread_rate_limit_per_user",
- "flags",
- "id",
- "nsfw",
- "owner",
- "parent_id",
- "position",
- "type"
- ]
- },
- "ChannelType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 2,
- 255,
- 3,
- 33,
- 34,
- 35,
- 4,
- 5,
- 6,
- 64,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "Recipient": {
- "type": "object",
- "properties": {
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "closed": {
- "type": "boolean"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel",
- "channel_id",
- "closed",
- "id",
- "user",
- "user_id"
- ]
- },
- "User": {
- "type": "object",
- "properties": {
- "username": {
- "type": "string"
- },
- "discriminator": {
- "type": "string"
- },
- "avatar": {
- "type": "string"
- },
- "accent_color": {
- "type": "integer"
- },
- "banner": {
- "type": "string"
- },
- "theme_colors": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "pronouns": {
- "type": "string"
- },
- "phone": {
- "type": "string"
- },
- "desktop": {
- "type": "boolean",
- "default": false
- },
- "mobile": {
- "type": "boolean",
- "default": false
- },
- "premium": {
- "type": "boolean"
- },
- "premium_type": {
- "type": "integer"
- },
- "bot": {
- "type": "boolean",
- "default": false
- },
- "bio": {
- "type": "string",
- "default": ""
- },
- "system": {
- "type": "boolean",
- "default": false
- },
- "nsfw_allowed": {
- "type": "boolean",
- "default": true
- },
- "mfa_enabled": {
- "type": "boolean",
- "default": false
- },
- "webauthn_enabled": {
- "type": "boolean",
- "default": false
- },
- "totp_secret": {
- "type": "string",
- "default": ""
- },
- "totp_last_ticket": {
- "type": "string",
- "default": ""
- },
- "created_at": {
- "type": "string",
- "format": "date-time"
- },
- "premium_since": {
- "type": "string",
- "format": "date-time"
- },
- "verified": {
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean",
- "default": false
- },
- "deleted": {
- "type": "boolean",
- "default": false
- },
- "email": {
- "type": "string"
- },
- "flags": {
- "type": "integer",
- "default": 0
- },
- "public_flags": {
- "type": "integer",
- "default": 0
- },
- "purchased_flags": {
- "type": "integer",
- "default": 0
- },
- "premium_usage_flags": {
- "type": "integer",
- "default": 0
- },
- "rights": {
- "type": "string"
- },
- "sessions": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Session"
- }
- },
- "relationships": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Relationship"
- }
- },
- "connected_accounts": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ConnectedAccount"
- }
- },
- "data": {
- "type": "object",
- "properties": {
- "valid_tokens_since": {
- "type": "string",
- "format": "date-time"
- },
- "hash": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "valid_tokens_since"
- ]
- },
- "fingerprints": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "settings": {
- "$ref": "#/definitions/UserSettings"
- },
- "extended_settings": {
- "type": "string",
- "default": "{}"
- },
- "security_keys": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SecurityKey"
- }
- },
- "badge_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "bio",
- "bot",
- "connected_accounts",
- "created_at",
- "data",
- "deleted",
- "desktop",
- "disabled",
- "discriminator",
- "extended_settings",
- "fingerprints",
- "flags",
- "id",
- "mfa_enabled",
- "mobile",
- "nsfw_allowed",
- "premium",
- "premium_since",
- "premium_type",
- "premium_usage_flags",
- "public_flags",
- "purchased_flags",
- "relationships",
- "rights",
- "security_keys",
- "sessions",
- "settings",
- "system",
- "username",
- "verified",
- "webauthn_enabled"
- ]
- },
- "Session": {
- "type": "object",
- "properties": {
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "session_id": {
- "type": "string"
- },
- "activities": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Activity"
- }
- },
- "client_info": {
- "type": "object",
- "properties": {
- "client": {
- "type": "string"
- },
- "os": {
- "type": "string"
- },
- "version": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "client",
- "os",
- "version"
- ]
- },
- "client_status": {
- "$ref": "#/definitions/ClientStatus"
- },
- "status": {
- "$ref": "#/definitions/Status"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "activities",
- "client_info",
- "client_status",
- "id",
- "session_id",
- "status",
- "user",
- "user_id"
- ]
- },
- "ClientStatus": {
- "type": "object",
- "properties": {
- "desktop": {
- "type": "string"
- },
- "mobile": {
- "type": "string"
- },
- "web": {
- "type": "string"
- },
- "embedded": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "Relationship": {
- "type": "object",
- "properties": {
- "from_id": {
- "type": "string"
- },
- "from": {
- "$ref": "#/definitions/User"
- },
- "to_id": {
- "type": "string"
- },
- "to": {
- "$ref": "#/definitions/User"
- },
- "nickname": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/RelationshipType"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "from",
- "from_id",
- "id",
- "to",
- "to_id",
- "type"
- ]
- },
- "RelationshipType": {
- "enum": [
- 1,
- 2,
- 3,
- 4
- ],
- "type": "number"
- },
- "ConnectedAccount": {
- "type": "object",
- "properties": {
- "external_id": {
- "type": "string"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "friend_sync": {
- "type": "boolean",
- "default": false
- },
- "name": {
- "type": "string"
- },
- "revoked": {
- "type": "boolean",
- "default": false
- },
- "show_activity": {
- "type": "integer",
- "default": 0
- },
- "type": {
- "type": "string"
- },
- "verified": {
- "type": "boolean",
- "default": true
- },
- "visibility": {
- "type": "integer",
- "default": 0
- },
- "integrations": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "metadata_": {},
- "metadata_visibility": {
- "type": "integer",
- "default": 0
- },
- "two_way_link": {
- "type": "boolean",
- "default": false
- },
- "token_data": {
- "anyOf": [
- {
- "$ref": "#/definitions/ConnectedAccountTokenData"
- },
- {
- "type": "null"
- }
- ]
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "external_id",
- "id",
- "name",
- "type",
- "user",
- "user_id"
- ]
- },
- "UserSettings": {
- "type": "object",
- "properties": {
- "index": {
- "type": "string"
- },
- "afk_timeout": {
- "type": "integer",
- "default": 3600
- },
- "allow_accessibility_detection": {
- "type": "boolean",
- "default": true
- },
- "animate_emoji": {
- "type": "boolean",
- "default": true
- },
- "animate_stickers": {
- "type": "integer",
- "default": 0
- },
- "contact_sync_enabled": {
- "type": "boolean",
- "default": false
- },
- "convert_emoticons": {
- "type": "boolean",
- "default": false
- },
- "custom_status": {
- "anyOf": [
- {
- "$ref": "#/definitions/CustomStatus"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "default_guilds_restricted": {
- "type": "boolean",
- "default": false
- },
- "detect_platform_accounts": {
- "type": "boolean",
- "default": false
- },
- "developer_mode": {
- "type": "boolean",
- "default": true
- },
- "disable_games_tab": {
- "type": "boolean",
- "default": true
- },
- "enable_tts_command": {
- "type": "boolean",
- "default": false
- },
- "explicit_content_filter": {
- "type": "integer",
- "default": 0
- },
- "friend_discovery_flags": {
- "type": "integer",
- "default": 0
- },
- "friend_source_flags": {
- "$ref": "#/definitions/FriendSourceFlags"
- },
- "gateway_connected": {
- "type": "boolean",
- "default": false
- },
- "gif_auto_play": {
- "type": "boolean",
- "default": false
- },
- "guild_folders": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/GuildFolder"
- },
- "default": []
- },
- "guild_positions": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "inline_attachment_media": {
- "type": "boolean",
- "default": true
- },
- "inline_embed_media": {
- "type": "boolean",
- "default": true
- },
- "locale": {
- "type": "string",
- "default": "en-US"
- },
- "message_display_compact": {
- "type": "boolean",
- "default": false
- },
- "native_phone_integration_enabled": {
- "type": "boolean",
- "default": true
- },
- "render_embeds": {
- "type": "boolean",
- "default": true
- },
- "render_reactions": {
- "type": "boolean",
- "default": true
- },
- "restricted_guilds": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "show_current_game": {
- "type": "boolean",
- "default": true
- },
- "status": {
- "enum": [
- "dnd",
- "idle",
- "invisible",
- "offline",
- "online"
- ],
- "type": "string",
- "default": "online"
- },
- "stream_notifications_enabled": {
- "type": "boolean",
- "default": false
- },
- "theme": {
- "enum": [
- "dark",
- "light"
- ],
- "type": "string",
- "default": "dark"
- },
- "timezone_offset": {
- "type": "integer",
- "default": 0
- },
- "view_nsfw_guilds": {
- "type": "boolean",
- "default": true
- }
- },
- "additionalProperties": false,
- "required": [
- "afk_timeout",
- "allow_accessibility_detection",
- "animate_emoji",
- "animate_stickers",
- "contact_sync_enabled",
- "convert_emoticons",
- "custom_status",
- "default_guilds_restricted",
- "detect_platform_accounts",
- "developer_mode",
- "disable_games_tab",
- "enable_tts_command",
- "explicit_content_filter",
- "friend_discovery_flags",
- "friend_source_flags",
- "gateway_connected",
- "gif_auto_play",
- "guild_folders",
- "guild_positions",
- "index",
- "inline_attachment_media",
- "inline_embed_media",
- "locale",
- "message_display_compact",
- "native_phone_integration_enabled",
- "render_embeds",
- "render_reactions",
- "restricted_guilds",
- "show_current_game",
- "status",
- "stream_notifications_enabled",
- "theme",
- "timezone_offset",
- "view_nsfw_guilds"
- ]
- },
- "SecurityKey": {
- "type": "object",
- "properties": {
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "key_id": {
- "type": "string"
- },
- "public_key": {
- "type": "string"
- },
- "counter": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "counter",
- "id",
- "key_id",
- "name",
- "public_key",
- "user",
- "user_id"
- ]
- },
- "ChannelPermissionOverwrite": {
- "type": "object",
- "properties": {
- "allow": {
- "type": "string"
- },
- "deny": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/ChannelPermissionOverwriteType"
- }
- },
- "additionalProperties": false,
- "required": [
- "allow",
- "deny",
- "id",
- "type"
- ]
- },
- "Invite": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "temporary": {
- "type": "boolean"
- },
- "uses": {
- "type": "integer"
- },
- "max_uses": {
- "type": "integer"
- },
- "max_age": {
- "type": "integer"
- },
- "created_at": {
- "type": "string",
- "format": "date-time"
- },
- "expires_at": {
- "type": "string",
- "format": "date-time"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "inviter_id": {
- "type": "string"
- },
- "inviter": {
- "$ref": "#/definitions/User"
- },
- "target_user_id": {
- "type": "string"
- },
- "target_user": {
- "type": "string"
- },
- "target_user_type": {
- "type": "integer"
- },
- "vanity_url": {
- "type": "boolean"
- },
- "flags": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel",
- "channel_id",
- "code",
- "created_at",
- "flags",
- "guild",
- "guild_id",
- "inviter",
- "max_age",
- "max_uses",
- "target_user_id",
- "temporary",
- "uses"
- ]
- },
- "Message": {
- "type": "object",
- "properties": {
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "author_id": {
- "type": "string"
- },
- "author": {
- "$ref": "#/definitions/User"
- },
- "member_id": {
- "type": "string"
- },
- "member": {
- "$ref": "#/definitions/Member"
- },
- "webhook_id": {
- "type": "string"
- },
- "webhook": {
- "$ref": "#/definitions/Webhook"
- },
- "application_id": {
- "type": "string"
- },
- "application": {
- "$ref": "#/definitions/Application"
- },
- "content": {
- "type": "string"
- },
- "timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "edited_timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "tts": {
- "type": "boolean"
- },
- "mention_everyone": {
- "type": "boolean"
- },
- "mentions": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/User"
- }
- },
- "mention_roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
- },
- "mention_channels": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Channel"
- }
- },
- "sticker_items": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Sticker"
- }
- },
- "attachments": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Attachment"
- }
- },
- "embeds": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Embed"
- }
- },
- "reactions": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Reaction"
- }
- },
- "nonce": {
- "type": "string"
- },
- "pinned": {
- "type": "boolean"
- },
- "type": {
- "$ref": "#/definitions/MessageType"
- },
- "activity": {
- "type": "object",
- "properties": {
- "type": {
- "type": "integer"
- },
- "party_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "party_id",
- "type"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "message_reference": {
- "type": "object",
- "properties": {
- "message_id": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- },
- "guild_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "message_id"
- ]
- },
- "referenced_message": {
- "$ref": "#/definitions/Message"
- },
- "interaction": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/InteractionType"
- },
- "name": {
- "type": "string"
- },
- "user_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name",
- "type",
- "user_id"
- ]
- },
- "components": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ActionRowComponent"
- }
- },
- "poll": {
- "$ref": "#/definitions/Poll"
- },
- "username": {
- "type": "string"
- },
- "avatar": {
- "type": "string"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel",
- "embeds",
- "flags",
- "id",
- "mention_channels",
- "mention_roles",
- "mentions",
- "reactions",
- "timestamp",
- "type"
- ]
- },
- "Member": {
- "type": "object",
- "properties": {
- "index": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "nick": {
- "type": "string"
- },
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
- },
- "joined_at": {
- "type": "string",
- "format": "date-time"
- },
- "premium_since": {
- "type": "integer"
- },
- "deaf": {
- "type": "boolean"
- },
- "mute": {
- "type": "boolean"
- },
- "pending": {
- "type": "boolean"
- },
- "settings": {
- "$ref": "#/definitions/UserGuildSettings"
- },
- "last_message_id": {
- "type": "string"
- },
- "joined_by": {
- "type": "string"
- },
- "avatar": {
- "type": "string"
- },
- "banner": {
- "type": "string"
- },
- "bio": {
- "type": "string"
- },
- "theme_colors": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "pronouns": {
- "type": "string"
- },
- "communication_disabled_until": {
- "type": "string",
- "format": "date-time"
- }
- },
- "additionalProperties": false,
- "required": [
- "banner",
- "bio",
- "communication_disabled_until",
- "deaf",
- "guild",
- "guild_id",
- "id",
- "index",
- "joined_at",
- "joined_by",
- "mute",
- "pending",
- "roles",
- "settings",
- "user"
- ]
- },
- "Role": {
- "type": "object",
- "properties": {
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "color": {
- "type": "integer"
- },
- "hoist": {
- "type": "boolean"
- },
- "managed": {
- "type": "boolean"
- },
- "mentionable": {
- "type": "boolean"
- },
- "name": {
- "type": "string"
- },
- "permissions": {
- "type": "string"
- },
- "position": {
- "type": "integer"
- },
- "icon": {
- "type": "string"
- },
- "unicode_emoji": {
- "type": "string"
- },
- "tags": {
- "type": "object",
- "properties": {
- "bot_id": {
- "type": "string"
- },
- "integration_id": {
- "type": "string"
- },
- "premium_subscriber": {
- "type": "boolean"
- }
- },
- "additionalProperties": false
- },
- "flags": {
- "type": "integer"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "color",
- "flags",
- "guild",
- "guild_id",
- "hoist",
- "id",
- "managed",
- "mentionable",
- "name",
- "permissions",
- "position"
- ]
- },
- "UserGuildSettings": {
- "type": "object",
- "properties": {
- "channel_overrides": {
- "anyOf": [
- {
- "type": "object",
- "additionalProperties": {
- "$ref": "#/definitions/ChannelOverride"
- }
- },
- {
- "type": "null"
- }
- ]
- },
- "message_notifications": {
- "type": "integer"
- },
- "mobile_push": {
- "type": "boolean"
- },
- "mute_config": {
- "anyOf": [
- {
- "$ref": "#/definitions/MuteConfig"
- },
- {
- "type": "null"
- }
- ]
- },
- "muted": {
- "type": "boolean"
- },
- "suppress_everyone": {
- "type": "boolean"
- },
- "suppress_roles": {
- "type": "boolean"
- },
- "version": {
- "type": "integer"
- },
- "guild_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "mute_scheduled_events": {
- "type": "boolean"
- },
- "hide_muted_channels": {
- "type": "boolean"
- },
- "notify_highlights": {
- "type": "number",
- "enum": [
- 0
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "channel_overrides",
- "flags",
- "guild_id",
- "hide_muted_channels",
- "message_notifications",
- "mobile_push",
- "mute_config",
- "mute_scheduled_events",
- "muted",
- "notify_highlights",
- "suppress_everyone",
- "suppress_roles",
- "version"
- ]
- },
- "Webhook": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/definitions/WebhookType"
- },
- "name": {
- "type": "string"
- },
- "avatar": {
- "type": "string"
- },
- "token": {
- "type": "string"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "application_id": {
- "type": "string"
- },
- "application": {
- "$ref": "#/definitions/Application"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "source_guild_id": {
- "type": "string"
- },
- "source_guild": {
- "$ref": "#/definitions/Guild"
- },
- "source_channel_id": {
- "type": "string"
- },
- "source_channel": {
- "$ref": "#/definitions/Channel"
- },
- "url": {
- "type": "string"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "application",
- "application_id",
- "avatar",
- "channel",
- "channel_id",
- "id",
- "name",
- "source_channel",
- "source_channel_id",
- "type",
- "url",
- "user",
- "user_id"
- ]
- },
- "WebhookType": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "Application": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "summary": {
- "type": "string",
- "default": ""
- },
- "type": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "hook": {
- "type": "boolean",
- "default": true
- },
- "bot_public": {
- "type": "boolean",
- "default": true
- },
- "bot_require_code_grant": {
- "type": "boolean",
- "default": false
- },
- "verify_key": {
- "type": "string"
- },
- "owner": {
- "$ref": "#/definitions/User"
- },
- "flags": {
- "type": "integer",
- "default": 0
- },
- "redirect_uris": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "rpc_application_state": {
- "type": "integer",
- "default": 0
- },
- "store_application_state": {
- "type": "integer",
- "default": 1
- },
- "verification_state": {
- "type": "integer",
- "default": 1
- },
- "interactions_endpoint_url": {
- "type": "string"
- },
- "integration_public": {
- "type": "boolean",
- "default": true
- },
- "integration_require_code_grant": {
- "type": "boolean",
- "default": false
- },
- "discoverability_state": {
- "type": "integer",
- "default": 1
- },
- "discovery_eligibility_flags": {
- "type": "integer",
- "default": 2240
- },
- "bot": {
- "$ref": "#/definitions/User"
- },
- "tags": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "cover_image": {
- "type": "string"
- },
- "install_params": {
- "type": "object",
- "properties": {
- "scopes": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "permissions": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "permissions",
- "scopes"
- ]
- },
- "terms_of_service_url": {
- "type": "string"
- },
- "privacy_policy_url": {
- "type": "string"
- },
- "team": {
- "$ref": "#/definitions/Team"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "description",
- "discoverability_state",
- "discovery_eligibility_flags",
- "flags",
- "hook",
- "id",
- "integration_public",
- "integration_require_code_grant",
- "name",
- "owner",
- "redirect_uris",
- "rpc_application_state",
- "store_application_state",
- "summary",
- "verification_state",
- "verify_key"
- ]
- },
- "Team": {
- "type": "object",
- "properties": {
- "icon": {
- "type": "string"
- },
- "members": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/TeamMember"
- }
- },
- "name": {
- "type": "string"
- },
- "owner_user_id": {
- "type": "string"
- },
- "owner_user": {
- "$ref": "#/definitions/User"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "members",
- "name",
- "owner_user",
- "owner_user_id"
- ]
- },
- "TeamMember": {
- "type": "object",
- "properties": {
- "membership_state": {
- "$ref": "#/definitions/TeamMemberState"
- },
- "permissions": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "team_id": {
- "type": "string"
- },
- "team": {
- "$ref": "#/definitions/Team"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "membership_state",
- "permissions",
- "team",
- "team_id",
- "user",
- "user_id"
- ]
- },
- "TeamMemberState": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
- },
- "Sticker": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "available": {
- "type": "boolean"
- },
- "tags": {
- "type": "string"
- },
- "pack_id": {
- "type": "string"
- },
- "pack": {
- "$ref": "#/definitions/StickerPack"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "type": {
- "$ref": "#/definitions/StickerType"
- },
- "format_type": {
- "$ref": "#/definitions/StickerFormatType"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "format_type",
- "id",
- "name",
- "pack",
- "type"
- ]
- },
- "StickerPack": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "banner_asset_id": {
- "type": "string"
- },
- "stickers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Sticker"
- }
- },
- "cover_sticker_id": {
- "type": "string"
- },
- "cover_sticker": {
- "$ref": "#/definitions/Sticker"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name",
- "stickers"
- ]
- },
- "StickerType": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
- },
- "StickerFormatType": {
- "enum": [
- 0,
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "Attachment": {
- "type": "object",
- "properties": {
- "filename": {
- "type": "string"
- },
- "size": {
- "type": "integer"
- },
- "url": {
- "type": "string"
- },
- "proxy_url": {
- "type": "string"
- },
- "height": {
- "type": "integer"
- },
- "width": {
- "type": "integer"
- },
- "content_type": {
- "type": "string"
- },
- "message_id": {
- "type": "string"
- },
- "message": {
- "$ref": "#/definitions/Message"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "filename",
- "id",
- "message",
- "message_id",
- "proxy_url",
- "size",
- "url"
- ]
- },
- "Reaction": {
- "type": "object",
- "properties": {
- "count": {
- "type": "integer"
- },
- "emoji": {
- "$ref": "#/definitions/PartialEmoji"
- },
- "user_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "count",
- "emoji",
- "user_ids"
- ]
- },
- "MessageType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 19,
- 2,
- 20,
- 255,
- 3,
- 4,
- 41,
- 42,
- 43,
- 5,
- 50,
- 6,
- 63,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "InteractionType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "Poll": {
- "type": "object",
- "properties": {
- "question": {
- "$ref": "#/definitions/PollMedia"
- },
- "answers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PollAnswer"
- }
- },
- "expiry": {
- "type": "string",
- "format": "date-time"
- },
- "allow_multiselect": {
- "type": "boolean"
- },
- "results": {
- "$ref": "#/definitions/PollResult"
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_multiselect",
- "answers",
- "expiry",
- "question"
- ]
- },
- "PollResult": {
- "type": "object",
- "properties": {
- "is_finalized": {
- "type": "boolean"
- },
- "answer_counts": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PollAnswerCount"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "answer_counts",
- "is_finalized"
- ]
- },
- "PollAnswerCount": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "count": {
- "type": "integer"
- },
- "me_voted": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "count",
- "id",
- "me_voted"
- ]
- },
- "VoiceState": {
- "type": "object",
- "properties": {
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "member": {
- "$ref": "#/definitions/Member"
- },
- "session_id": {
- "type": "string"
- },
- "token": {
- "type": "string"
- },
- "deaf": {
- "type": "boolean"
- },
- "mute": {
- "type": "boolean"
- },
- "self_deaf": {
- "type": "boolean"
- },
- "self_mute": {
- "type": "boolean"
- },
- "self_stream": {
- "type": "boolean"
- },
- "self_video": {
- "type": "boolean"
- },
- "suppress": {
- "type": "boolean"
- },
- "request_to_speak_timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel",
- "channel_id",
- "deaf",
- "guild_id",
- "id",
- "member",
- "mute",
- "self_deaf",
- "self_mute",
- "self_video",
- "session_id",
- "suppress",
- "token",
- "user",
- "user_id"
- ]
- },
- "ReadState": {
- "type": "object",
- "properties": {
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "last_message_id": {
- "type": "string"
- },
- "public_ack": {
- "type": "string"
- },
- "notifications_cursor": {
- "type": "string"
- },
- "last_pin_timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "mention_count": {
- "type": "integer"
- },
- "manual": {
- "type": "boolean"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel",
- "channel_id",
- "id",
- "last_message_id",
- "manual",
- "mention_count",
- "notifications_cursor",
- "public_ack",
- "user",
- "user_id"
- ]
- },
- "Ban": {
- "type": "object",
- "properties": {
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "executor_id": {
- "type": "string"
- },
- "executor": {
- "$ref": "#/definitions/User"
- },
- "ip": {
- "type": "string"
- },
- "reason": {
- "type": "string"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "executor",
- "executor_id",
- "guild",
- "guild_id",
- "id",
- "ip",
- "user",
- "user_id"
- ]
- },
- "Template": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "usage_count": {
- "type": "integer"
- },
- "creator_id": {
- "type": "string"
- },
- "creator": {
- "$ref": "#/definitions/User"
- },
- "created_at": {
- "type": "string",
- "format": "date-time"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time"
- },
- "source_guild_id": {
- "type": "string"
- },
- "source_guild": {
- "$ref": "#/definitions/Guild"
- },
- "serialized_source_guild": {
- "$ref": "#/definitions/Guild"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "created_at",
- "creator",
- "creator_id",
- "id",
- "name",
- "serialized_source_guild",
- "source_guild",
- "source_guild_id",
- "updated_at"
- ]
- },
- "Emoji": {
- "type": "object",
- "properties": {
- "animated": {
- "type": "boolean"
- },
- "available": {
- "type": "boolean"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "managed": {
- "type": "boolean"
- },
- "name": {
- "type": "string"
- },
- "require_colons": {
- "type": "boolean"
- },
- "roles": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "groups": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "animated",
- "available",
- "groups",
- "guild",
- "guild_id",
- "id",
- "managed",
- "name",
- "require_colons",
- "roles",
- "user",
- "user_id"
- ]
- },
- "GuildWelcomeScreen": {
- "type": "object",
- "properties": {
- "enabled": {
- "type": "boolean"
- },
- "description": {
- "type": "string"
- },
- "welcome_channels": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "description": {
- "type": "string"
- },
- "emoji_id": {
- "type": "string"
- },
- "emoji_name": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel_id",
- "description"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "description",
- "enabled",
- "welcome_channels"
- ]
- },
- "GuildMessagesSearchMessage": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/MessageType"
- },
- "content": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- },
- "author": {
- "$ref": "#/definitions/PublicUser"
- },
- "attachments": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Attachment"
- }
- },
- "embeds": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Embed"
- }
- },
- "mentions": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PublicUser"
- }
- },
- "mention_roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
- },
- "pinned": {
- "type": "boolean"
- },
- "mention_everyone": {
- "type": "boolean"
- },
- "tts": {
- "type": "boolean"
- },
- "timestamp": {
- "type": "string"
- },
- "edited_timestamp": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "components": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ActionRowComponent"
- }
- },
- "poll": {
- "$ref": "#/definitions/Poll"
- },
- "hit": {
- "type": "boolean",
- "enum": [
- true
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "attachments",
- "author",
- "channel_id",
- "components",
- "edited_timestamp",
- "embeds",
- "flags",
- "hit",
- "id",
- "mention_roles",
- "mentions",
- "pinned",
- "poll",
- "timestamp",
- "tts",
- "type"
- ]
- },
- "PublicUser": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "premium_since": {
- "type": "string",
- "format": "date-time"
- },
- "avatar": {
- "type": "string"
- },
- "username": {
- "type": "string"
- },
- "discriminator": {
- "type": "string"
- },
- "public_flags": {
- "type": "integer"
- },
- "accent_color": {
- "type": "integer"
- },
- "banner": {
- "type": "string"
- },
- "bio": {
- "type": "string"
- },
- "bot": {
- "type": "boolean"
- },
- "premium_type": {
- "type": "integer"
- },
- "theme_colors": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "pronouns": {
- "type": "string"
- },
- "badge_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "bio",
- "bot",
- "discriminator",
- "id",
- "premium_since",
- "premium_type",
- "public_flags",
- "username"
- ]
- },
- "GuildVanityUrl": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "uses": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "uses"
- ]
- },
- "GuildVanityUrlNoInvite": {
- "type": "object",
- "properties": {
- "code": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "code"
- ]
- },
- "Snowflake": {
- "description": "A container for useful snowflake-related methods.",
- "type": "object",
- "additionalProperties": false
- },
- "TenorGifResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "src": {
- "type": "string"
- },
- "gif_src": {
- "type": "string"
- },
- "width": {
- "type": "integer"
- },
- "height": {
- "type": "integer"
- },
- "preview": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "gif_src",
- "height",
- "id",
- "preview",
- "src",
- "title",
- "url",
- "width"
- ]
- },
- "BackupCode": {
- "type": "object",
- "properties": {
- "user": {
- "$ref": "#/definitions/User"
- },
- "code": {
- "type": "string"
- },
- "consumed": {
- "type": "boolean"
- },
- "expired": {
- "type": "boolean"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "consumed",
- "expired",
- "id",
- "user"
- ]
- },
- "APIGuild": {
- "type": "object",
- "properties": {
- "reload": {
- "description": "Reloads entity data from the database.",
- "type": "object",
- "additionalProperties": false
- },
- "name": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "parent": {
- "type": "string"
- },
- "owner_id": {
- "type": "string"
- },
- "nsfw": {
- "type": "boolean"
- },
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
- "toJSON": {
- "type": "object",
- "additionalProperties": false
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
- },
- "assign": {
- "type": "object",
- "additionalProperties": false
- },
- "hasId": {
- "description": "Checks if entity has an id.\nIf entity composite compose ids, it will check them all.",
- "type": "object",
- "additionalProperties": false
- },
- "save": {
- "description": "Saves current entity in the database.\nIf entity does not exist in the database then inserts, otherwise updates.",
- "type": "object",
- "additionalProperties": false
- },
- "remove": {
- "description": "Removes current entity from the database.",
- "type": "object",
- "additionalProperties": false
- },
- "softRemove": {
- "description": "Records the delete date of current entity.",
- "type": "object",
- "additionalProperties": false
- },
- "recover": {
- "description": "Recovers a given entity in the database.",
- "type": "object",
- "additionalProperties": false
- },
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
- },
- "banner": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "unavailable": {
- "type": "boolean"
- },
- "channels": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Channel"
- }
- },
- "region": {
- "type": "string"
- },
- "system_channel_id": {
- "type": "string"
- },
- "rules_channel_id": {
- "type": "string"
- },
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
- },
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
- "type": "string"
- },
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "primary_category_id": {
- "type": "string"
- },
- "large": {
- "type": "boolean"
- },
- "max_members": {
- "type": "integer"
- },
- "max_presences": {
- "type": "integer"
- },
- "max_video_channel_users": {
- "type": "integer"
- },
- "member_count": {
- "type": "integer"
- },
- "presence_count": {
- "type": "integer"
- },
- "members": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Member"
- }
- },
- "template_id": {
- "type": "string"
- },
- "emojis": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Emoji"
- }
- },
- "stickers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Sticker"
- }
- },
- "mfa_level": {
- "type": "integer"
- },
- "preferred_locale": {
- "type": "string"
- },
- "premium_subscription_count": {
- "type": "integer"
- },
- "premium_tier": {
- "type": "integer"
- },
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
- "welcome_screen": {
- "$ref": "#/definitions/GuildWelcomeScreen"
- },
- "widget_channel_id": {
- "type": "string"
- },
- "widget_enabled": {
- "type": "boolean"
- },
- "nsfw_level": {
- "type": "integer"
- },
- "permissions": {
- "type": "integer"
- },
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
- "channel_ordering": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "_do_validate",
- "assign",
- "bans",
- "channel_ordering",
- "channels",
- "emojis",
- "features",
- "hasId",
- "id",
- "invites",
- "members",
- "name",
- "nsfw",
- "premium_progress_bar_enabled",
- "public_updates_channel_id",
- "recover",
- "reload",
- "remove",
- "roles",
- "save",
- "softRemove",
- "stickers",
- "toJSON",
- "unavailable",
- "voice_states",
- "webhooks",
- "welcome_screen",
- "widget_enabled"
- ]
- },
- "DmChannelDTO": {
- "type": "object",
- "properties": {
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "id": {
- "type": "string"
- },
- "last_message_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "name": {
- "type": [
- "null",
- "string"
- ]
- },
- "origin_channel_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "owner_id": {
- "type": "string"
- },
- "recipients": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/MinimalPublicUserDTO"
- }
- },
- "type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "icon",
- "id",
- "last_message_id",
- "name",
- "origin_channel_id",
- "recipients",
- "type"
- ]
- },
- "MinimalPublicUserDTO": {
- "type": "object",
- "properties": {
- "avatar": {
- "type": [
- "null",
- "string"
- ]
- },
- "discriminator": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "public_flags": {
- "type": "integer"
- },
- "username": {
- "type": "string"
- },
- "badge_ids": {
- "anyOf": [
- {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "discriminator",
- "id",
- "public_flags",
- "username"
- ]
- },
- "Categories": {
- "type": "object",
- "properties": {
- "id": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- },
- "localizations": {
- "type": "string"
- },
- "is_primary": {
- "type": "boolean"
- },
- "icon": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "is_primary",
- "localizations",
- "name"
- ]
- },
- "GuildVoiceRegion": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "custom": {
- "type": "boolean"
- },
- "deprecated": {
- "type": "boolean"
- },
- "optimal": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom",
- "deprecated",
- "id",
- "name",
- "optimal"
- ]
- },
- "UserLimits": {
- "type": "object",
- "properties": {
- "maxGuilds": {
- "type": "integer",
- "default": 1048576
- },
- "maxUsername": {
- "type": "integer",
- "default": 32
- },
- "maxFriends": {
- "type": "integer",
- "default": 5000
- },
- "maxBio": {
- "type": "integer",
- "default": 190
- }
- },
- "additionalProperties": false,
- "required": [
- "maxBio",
- "maxFriends",
- "maxGuilds",
- "maxUsername"
- ]
- },
- "GuildLimits": {
- "type": "object",
- "properties": {
- "maxRoles": {
- "type": "integer",
- "default": 1000
- },
- "maxEmojis": {
- "type": "integer",
- "default": 2000
- },
- "maxMembers": {
- "type": "integer",
- "default": 25000000
- },
- "maxChannels": {
- "type": "integer",
- "default": 65535
- },
- "maxBulkBanUsers": {
- "type": "integer",
- "default": 200
- },
- "maxChannelsInCategory": {
- "type": "integer",
- "default": 65535
- }
- },
- "additionalProperties": false,
- "required": [
- "maxBulkBanUsers",
- "maxChannels",
- "maxChannelsInCategory",
- "maxEmojis",
- "maxMembers",
- "maxRoles"
- ]
- },
- "MessageLimits": {
- "type": "object",
- "properties": {
- "maxCharacters": {
- "type": "integer",
- "default": 1048576
- },
- "maxTTSCharacters": {
- "type": "integer",
- "default": 160
- },
- "maxReactions": {
- "type": "integer",
- "default": 2048
- },
- "maxAttachmentSize": {
- "type": "integer",
- "default": 1073741824
- },
- "maxBulkDelete": {
- "type": "integer",
- "default": 1000
- },
- "maxEmbedDownloadSize": {
- "type": "integer",
- "default": 5242880
- }
- },
- "additionalProperties": false,
- "required": [
- "maxAttachmentSize",
- "maxBulkDelete",
- "maxCharacters",
- "maxEmbedDownloadSize",
- "maxReactions",
- "maxTTSCharacters"
- ]
- },
- "ChannelLimits": {
- "type": "object",
- "properties": {
- "maxPins": {
- "type": "integer",
- "default": 500
- },
- "maxTopic": {
- "type": "integer",
- "default": 1024
- },
- "maxWebhooks": {
- "type": "integer",
- "default": 100
- }
- },
- "additionalProperties": false,
- "required": [
- "maxPins",
- "maxTopic",
- "maxWebhooks"
- ]
- },
- "RateLimits": {
- "type": "object",
- "properties": {
- "enabled": {
- "type": "boolean",
- "default": false
- },
- "ip": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "global": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "error": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "routes": {
- "$ref": "#/definitions/RouteRateLimit"
- }
- },
- "additionalProperties": false,
- "required": [
- "enabled",
- "error",
- "global",
- "ip",
- "routes"
- ]
- },
- "RateLimitOptions": {
- "type": "object",
- "properties": {
- "bot": {
- "type": "integer"
- },
- "count": {
- "type": "integer"
- },
- "window": {
- "type": "integer"
- },
- "onyIp": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "count",
- "window"
- ]
- },
- "RouteRateLimit": {
- "type": "object",
- "properties": {
- "guild": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "webhook": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "channel": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "auth": {}
- },
- "additionalProperties": false,
- "required": [
- "auth",
- "channel",
- "guild",
- "webhook"
- ]
- },
- "GlobalRateLimits": {
- "type": "object",
- "properties": {
- "register": {
- "$ref": "#/definitions/GlobalRateLimit"
- },
- "sendMessage": {
- "$ref": "#/definitions/GlobalRateLimit"
- }
- },
- "additionalProperties": false,
- "required": [
- "register",
- "sendMessage"
- ]
- },
- "GlobalRateLimit": {
- "type": "object",
- "properties": {
- "limit": {
- "type": "integer",
- "default": 100
- },
- "window": {
- "type": "integer",
- "default": 3600000
- },
- "enabled": {
- "type": "boolean",
- "default": true
- }
- },
- "additionalProperties": false,
- "required": [
- "enabled",
- "limit",
- "window"
- ]
- },
- "PublicConnectedAccount": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "type": {
- "type": "string"
- },
- "verified": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "name",
- "type"
- ]
- },
- "UserProfile": {
- "type": "object",
- "properties": {
- "accent_color": {
- "type": "integer"
- },
- "banner": {
- "type": "string"
- },
- "bio": {
- "type": "string"
- },
- "theme_colors": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "pronouns": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "bio"
- ]
- },
- "Badge": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "link": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "description",
- "icon",
- "id"
- ]
- },
- "TokenResponse": {
- "type": "object",
- "properties": {
- "token": {
- "type": "string"
- },
- "settings": {
- "$ref": "#/definitions/UserSettings"
- }
- },
- "additionalProperties": false,
- "required": [
- "settings",
- "token"
- ]
- },
- "MFAResponse": {
- "type": "object",
- "properties": {
- "ticket": {
- "type": "string"
- },
- "mfa": {
- "type": "boolean",
- "enum": [
- true
- ]
- },
- "sms": {
- "type": "boolean",
- "enum": [
- false
- ]
- },
- "token": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "mfa",
- "sms",
- "ticket",
- "token"
- ]
- },
- "WebAuthnResponse": {
- "type": "object",
- "properties": {
- "webauthn": {
- "type": "string"
- },
- "ticket": {
- "type": "string"
- },
- "mfa": {
- "type": "boolean",
- "enum": [
- true
- ]
- },
- "sms": {
- "type": "boolean",
- "enum": [
- false
- ]
- },
- "token": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "mfa",
- "sms",
- "ticket",
- "token",
- "webauthn"
- ]
- }
- },
"$schema": "http://json-schema.org/draft-07/schema#"
},
"BanCreateSchema": {
@@ -38508,4772 +181,6 @@
}
},
"additionalProperties": false,
- "definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
- "ChannelPermissionOverwriteType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "ConnectedAccountTokenData": {
- "type": "object",
- "properties": {
- "access_token": {
- "type": "string"
- },
- "token_type": {
- "type": "string"
- },
- "scope": {
- "type": "string"
- },
- "refresh_token": {
- "type": "string"
- },
- "expires_in": {
- "type": "integer"
- },
- "expires_at": {
- "type": "integer"
- },
- "fetched_at": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "access_token",
- "fetched_at"
- ]
- },
- "ChannelModifySchema": {
- "type": "object",
- "properties": {
- "name": {
- "maxLength": 100,
- "type": "string"
- },
- "type": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 2,
- 255,
- 3,
- 33,
- 34,
- 35,
- 4,
- 5,
- 6,
- 64,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "topic": {
- "type": "string"
- },
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "bitrate": {
- "type": "integer"
- },
- "user_limit": {
- "type": "integer"
- },
- "rate_limit_per_user": {
- "type": "integer"
- },
- "position": {
- "type": "integer"
- },
- "permission_overwrites": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/ChannelPermissionOverwriteType"
- },
- "allow": {
- "type": "string"
- },
- "deny": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "allow",
- "deny",
- "id",
- "type"
- ]
- }
- },
- "parent_id": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "nsfw": {
- "type": "boolean"
- },
- "rtc_region": {
- "type": "string"
- },
- "default_auto_archive_duration": {
- "type": "integer"
- },
- "default_reaction_emoji": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "default_thread_rate_limit_per_user": {
- "type": "integer"
- },
- "video_quality_mode": {
- "type": "integer"
- }
- },
- "additionalProperties": false
- },
- "ActivitySchema": {
- "type": "object",
- "properties": {
- "afk": {
- "type": "boolean"
- },
- "status": {
- "$ref": "#/definitions/Status"
- },
- "activities": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Activity"
- }
- },
- "since": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "status"
- ]
- },
- "Status": {
- "enum": [
- "dnd",
- "idle",
- "invisible",
- "offline",
- "online"
- ],
- "type": "string"
- },
- "Activity": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/ActivityType"
- },
- "url": {
- "type": "string"
- },
- "created_at": {
- "type": "integer"
- },
- "timestamps": {
- "type": "object",
- "properties": {
- "start": {
- "type": "integer"
- },
- "end": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "end",
- "start"
- ]
- },
- "application_id": {
- "type": "string"
- },
- "details": {
- "type": "string"
- },
- "state": {
- "type": "string"
- },
- "emoji": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "animated": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "animated",
- "name"
- ]
- },
- "party": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "size": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- }
- },
- "additionalProperties": false
- },
- "assets": {
- "type": "object",
- "properties": {
- "large_image": {
- "type": "string"
- },
- "large_text": {
- "type": "string"
- },
- "small_image": {
- "type": "string"
- },
- "small_text": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "secrets": {
- "type": "object",
- "properties": {
- "join": {
- "type": "string"
- },
- "spectate": {
- "type": "string"
- },
- "match": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "instance": {
- "type": "boolean"
- },
- "flags": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "sync_id": {
- "type": "string"
- },
- "metadata": {
- "type": "object",
- "properties": {
- "context_uri": {
- "type": "string"
- },
- "album_id": {
- "type": "string"
- },
- "artist_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "album_id",
- "artist_ids"
- ]
- },
- "session_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "flags",
- "name",
- "session_id",
- "type"
- ]
- },
- "ActivityType": {
- "enum": [
- 0,
- 1,
- 2,
- 4,
- 5
- ],
- "type": "number"
- },
- "Embed": {
- "type": "object",
- "properties": {
- "title": {
- "type": "string"
- },
- "type": {
- "enum": [
- "article",
- "gifv",
- "image",
- "link",
- "rich",
- "video"
- ],
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "color": {
- "type": "integer"
- },
- "footer": {
- "type": "object",
- "properties": {
- "text": {
- "type": "string"
- },
- "icon_url": {
- "type": "string"
- },
- "proxy_icon_url": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "text"
- ]
- },
- "image": {
- "$ref": "#/definitions/EmbedImage"
- },
- "thumbnail": {
- "$ref": "#/definitions/EmbedImage"
- },
- "video": {
- "$ref": "#/definitions/EmbedImage"
- },
- "provider": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "url": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "author": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "icon_url": {
- "type": "string"
- },
- "proxy_icon_url": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "fields": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "value": {
- "type": "string"
- },
- "inline": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "name",
- "value"
- ]
- }
- }
- },
- "additionalProperties": false
- },
- "EmbedImage": {
- "type": "object",
- "properties": {
- "url": {
- "type": "string"
- },
- "proxy_url": {
- "type": "string"
- },
- "height": {
- "type": "integer"
- },
- "width": {
- "type": "integer"
- }
- },
- "additionalProperties": false
- },
- "ActionRowComponent": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/definitions/MessageComponentType.ActionRow"
- },
- "components": {
- "type": "array",
- "items": {
- "anyOf": [
- {
- "$ref": "#/definitions/ButtonComponent"
- },
- {
- "$ref": "#/definitions/SelectMenuComponent"
- },
- {
- "$ref": "#/definitions/StringSelectMenuComponent"
- },
- {
- "$ref": "#/definitions/TextInputComponent"
- }
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "components",
- "type"
- ]
- },
- "MessageComponentType.ActionRow": {
- "type": "number",
- "enum": [
- 1
- ]
- },
- "ButtonComponent": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/definitions/MessageComponentType.Button"
- },
- "style": {
- "$ref": "#/definitions/ButtonStyle"
- },
- "label": {
- "type": "string"
- },
- "emoji": {
- "$ref": "#/definitions/PartialEmoji"
- },
- "custom_id": {
- "type": "string"
- },
- "sku_id": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "disabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "style",
- "type"
- ]
- },
- "MessageComponentType.Button": {
- "type": "number",
- "enum": [
- 2
- ]
- },
- "ButtonStyle": {
- "enum": [
- 1,
- 2,
- 3,
- 4,
- 5,
- 6
- ],
- "type": "number"
- },
- "PartialEmoji": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "animated": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "name"
- ]
- },
- "SelectMenuComponent": {
- "type": "object",
- "properties": {
- "type": {
- "enum": [
- 3,
- 5,
- 6,
- 7,
- 8
- ],
- "type": "number"
- },
- "custom_id": {
- "type": "string"
- },
- "channel_types": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "placeholder": {
- "type": "string"
- },
- "default_values": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SelectMenuDefaultOption"
- }
- },
- "min_values": {
- "type": "integer"
- },
- "max_values": {
- "type": "integer"
- },
- "disabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom_id",
- "type"
- ]
- },
- "SelectMenuDefaultOption": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {
- "enum": [
- "channel",
- "role",
- "user"
- ],
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "type"
- ]
- },
- "StringSelectMenuComponent": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/definitions/MessageComponentType.StringSelect"
- },
- "options": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SelectMenuOption"
- }
- },
- "custom_id": {
- "type": "string"
- },
- "channel_types": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "placeholder": {
- "type": "string"
- },
- "default_values": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SelectMenuDefaultOption"
- }
- },
- "min_values": {
- "type": "integer"
- },
- "max_values": {
- "type": "integer"
- },
- "disabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom_id",
- "options",
- "type"
- ]
- },
- "MessageComponentType.StringSelect": {
- "type": "number",
- "enum": [
- 3
- ]
- },
- "SelectMenuOption": {
- "type": "object",
- "properties": {
- "label": {
- "type": "string"
- },
- "value": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "emoji": {
- "$ref": "#/definitions/PartialEmoji"
- },
- "default": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "label",
- "value"
- ]
- },
- "TextInputComponent": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/definitions/MessageComponentType.TextInput"
- },
- "custom_id": {
- "type": "string"
- },
- "style": {
- "$ref": "#/definitions/TextInputStyle"
- },
- "label": {
- "type": "string"
- },
- "min_length": {
- "type": "integer"
- },
- "max_length": {
- "type": "integer"
- },
- "required": {
- "type": "boolean"
- },
- "value": {
- "type": "string"
- },
- "placeholder": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom_id",
- "label",
- "style",
- "type"
- ]
- },
- "MessageComponentType.TextInput": {
- "type": "number",
- "enum": [
- 4
- ]
- },
- "TextInputStyle": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
- },
- "PollCreationSchema": {
- "type": "object",
- "properties": {
- "question": {
- "$ref": "#/definitions/PollMedia"
- },
- "answers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PollAnswer"
- }
- },
- "duration": {
- "type": "integer"
- },
- "allow_multiselect": {
- "type": "boolean"
- },
- "layout_type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "answers",
- "question"
- ]
- },
- "PollMedia": {
- "type": "object",
- "properties": {
- "text": {
- "type": "string"
- },
- "emoji": {
- "$ref": "#/definitions/PartialEmoji"
- }
- },
- "additionalProperties": false
- },
- "PollAnswer": {
- "type": "object",
- "properties": {
- "answer_id": {
- "type": "string"
- },
- "poll_media": {
- "$ref": "#/definitions/PollMedia"
- }
- },
- "additionalProperties": false,
- "required": [
- "poll_media"
- ]
- },
- "ChannelOverride": {
- "type": "object",
- "properties": {
- "message_notifications": {
- "type": "integer"
- },
- "mute_config": {
- "$ref": "#/definitions/MuteConfig"
- },
- "muted": {
- "type": "boolean"
- },
- "channel_id": {
- "type": [
- "null",
- "string"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "channel_id",
- "message_notifications",
- "mute_config",
- "muted"
- ]
- },
- "MuteConfig": {
- "type": "object",
- "properties": {
- "end_time": {
- "type": "integer"
- },
- "selected_time_window": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "end_time",
- "selected_time_window"
- ]
- },
- "CustomStatus": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": "string"
- },
- "emoji_name": {
- "type": "string"
- },
- "expires_at": {
- "type": "integer"
- },
- "text": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "FriendSourceFlags": {
- "type": "object",
- "properties": {
- "all": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "all"
- ]
- },
- "GuildFolder": {
- "type": "object",
- "properties": {
- "color": {
- "type": "integer"
- },
- "guild_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "color",
- "guild_ids",
- "id",
- "name"
- ]
- },
- "GenerateWebAuthnCredentialsSchema": {
- "type": "object",
- "properties": {
- "password": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "password"
- ]
- },
- "CreateWebAuthnCredentialSchema": {
- "type": "object",
- "properties": {
- "credential": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "ticket": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "credential",
- "name",
- "ticket"
- ]
- },
- "APIErrorResponse": {
- "type": "object",
- "properties": {
- "code": {
- "type": "integer"
- },
- "message": {
- "type": "string"
- },
- "errors": {
- "type": "object",
- "additionalProperties": {
- "type": "object",
- "properties": {
- "_errors": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "message": {
- "type": "string"
- },
- "code": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "message"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "_errors"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "errors",
- "message"
- ]
- },
- "CaptchaRequiredResponse": {
- "type": "object",
- "properties": {
- "captcha_key": {
- "type": "string"
- },
- "captcha_sitekey": {
- "type": "string"
- },
- "captcha_service": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "captcha_key",
- "captcha_service",
- "captcha_sitekey"
- ]
- },
- "Guild": {
- "type": "object",
- "properties": {
- "afk_channel_id": {
- "type": "string"
- },
- "afk_channel": {
- "$ref": "#/definitions/Channel"
- },
- "afk_timeout": {
- "type": "integer"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "banner": {
- "type": "string"
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "description": {
- "type": "string"
- },
- "discovery_splash": {
- "type": "string"
- },
- "explicit_content_filter": {
- "type": "integer"
- },
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "primary_category_id": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "large": {
- "type": "boolean",
- "default": false
- },
- "max_members": {
- "type": "integer"
- },
- "max_presences": {
- "type": "integer"
- },
- "max_video_channel_users": {
- "type": "integer"
- },
- "member_count": {
- "type": "integer"
- },
- "presence_count": {
- "type": "integer"
- },
- "members": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Member"
- }
- },
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
- },
- "channels": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Channel"
- }
- },
- "template_id": {
- "type": "string"
- },
- "template": {
- "$ref": "#/definitions/Template"
- },
- "emojis": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Emoji"
- }
- },
- "stickers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Sticker"
- }
- },
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
- "mfa_level": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- },
- "owner_id": {
- "type": "string"
- },
- "owner": {
- "$ref": "#/definitions/User"
- },
- "preferred_locale": {
- "type": "string"
- },
- "premium_subscription_count": {
- "type": "integer"
- },
- "premium_tier": {
- "type": "integer"
- },
- "public_updates_channel_id": {
- "type": "string"
- },
- "public_updates_channel": {
- "$ref": "#/definitions/Channel"
- },
- "rules_channel_id": {
- "type": "string"
- },
- "rules_channel": {
- "type": "string"
- },
- "region": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_id": {
- "type": "string"
- },
- "system_channel": {
- "$ref": "#/definitions/Channel"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "unavailable": {
- "type": "boolean",
- "default": false
- },
- "verification_level": {
- "type": "integer"
- },
- "welcome_screen": {
- "$ref": "#/definitions/GuildWelcomeScreen"
- },
- "widget_channel_id": {
- "type": "string"
- },
- "widget_channel": {
- "$ref": "#/definitions/Channel"
- },
- "widget_enabled": {
- "type": "boolean",
- "default": true
- },
- "nsfw_level": {
- "type": "integer"
- },
- "nsfw": {
- "type": "boolean",
- "default": false
- },
- "parent": {
- "type": "string"
- },
- "permissions": {
- "type": "integer"
- },
- "premium_progress_bar_enabled": {
- "type": "boolean",
- "default": false
- },
- "channel_ordering": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "bans",
- "channel_ordering",
- "channels",
- "emojis",
- "features",
- "id",
- "invites",
- "members",
- "name",
- "nsfw",
- "premium_progress_bar_enabled",
- "public_updates_channel_id",
- "roles",
- "stickers",
- "template",
- "unavailable",
- "voice_states",
- "webhooks",
- "welcome_screen",
- "widget_enabled"
- ]
- },
- "Channel": {
- "type": "object",
- "properties": {
- "created_at": {
- "type": "string",
- "format": "date-time"
- },
- "name": {
- "type": "string"
- },
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "type": {
- "$ref": "#/definitions/ChannelType"
- },
- "recipients": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Recipient"
- }
- },
- "last_message_id": {
- "type": "string"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "parent_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "parent": {
- "$ref": "#/definitions/Channel"
- },
- "owner_id": {
- "type": "string"
- },
- "owner": {
- "$ref": "#/definitions/User"
- },
- "last_pin_timestamp": {
- "type": "integer"
- },
- "default_auto_archive_duration": {
- "type": "integer"
- },
- "permission_overwrites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ChannelPermissionOverwrite"
- }
- },
- "video_quality_mode": {
- "type": "integer"
- },
- "bitrate": {
- "type": "integer"
- },
- "user_limit": {
- "type": "integer"
- },
- "nsfw": {
- "type": "boolean",
- "default": false
- },
- "rate_limit_per_user": {
- "type": "integer"
- },
- "topic": {
- "type": "string"
- },
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "retention_policy_id": {
- "type": "string"
- },
- "messages": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Message"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "read_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ReadState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
- "flags": {
- "type": "integer",
- "default": 0
- },
- "default_thread_rate_limit_per_user": {
- "type": "integer",
- "default": 0
- },
- "position": {
- "description": "Must be calculated Channel.calculatePosition",
- "type": "integer"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "created_at",
- "default_thread_rate_limit_per_user",
- "flags",
- "id",
- "nsfw",
- "owner",
- "parent_id",
- "position",
- "type"
- ]
- },
- "ChannelType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 2,
- 255,
- 3,
- 33,
- 34,
- 35,
- 4,
- 5,
- 6,
- 64,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "Recipient": {
- "type": "object",
- "properties": {
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "closed": {
- "type": "boolean"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel",
- "channel_id",
- "closed",
- "id",
- "user",
- "user_id"
- ]
- },
- "User": {
- "type": "object",
- "properties": {
- "username": {
- "type": "string"
- },
- "discriminator": {
- "type": "string"
- },
- "avatar": {
- "type": "string"
- },
- "accent_color": {
- "type": "integer"
- },
- "banner": {
- "type": "string"
- },
- "theme_colors": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "pronouns": {
- "type": "string"
- },
- "phone": {
- "type": "string"
- },
- "desktop": {
- "type": "boolean",
- "default": false
- },
- "mobile": {
- "type": "boolean",
- "default": false
- },
- "premium": {
- "type": "boolean"
- },
- "premium_type": {
- "type": "integer"
- },
- "bot": {
- "type": "boolean",
- "default": false
- },
- "bio": {
- "type": "string",
- "default": ""
- },
- "system": {
- "type": "boolean",
- "default": false
- },
- "nsfw_allowed": {
- "type": "boolean",
- "default": true
- },
- "mfa_enabled": {
- "type": "boolean",
- "default": false
- },
- "webauthn_enabled": {
- "type": "boolean",
- "default": false
- },
- "totp_secret": {
- "type": "string",
- "default": ""
- },
- "totp_last_ticket": {
- "type": "string",
- "default": ""
- },
- "created_at": {
- "type": "string",
- "format": "date-time"
- },
- "premium_since": {
- "type": "string",
- "format": "date-time"
- },
- "verified": {
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean",
- "default": false
- },
- "deleted": {
- "type": "boolean",
- "default": false
- },
- "email": {
- "type": "string"
- },
- "flags": {
- "type": "integer",
- "default": 0
- },
- "public_flags": {
- "type": "integer",
- "default": 0
- },
- "purchased_flags": {
- "type": "integer",
- "default": 0
- },
- "premium_usage_flags": {
- "type": "integer",
- "default": 0
- },
- "rights": {
- "type": "string"
- },
- "sessions": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Session"
- }
- },
- "relationships": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Relationship"
- }
- },
- "connected_accounts": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ConnectedAccount"
- }
- },
- "data": {
- "type": "object",
- "properties": {
- "valid_tokens_since": {
- "type": "string",
- "format": "date-time"
- },
- "hash": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "valid_tokens_since"
- ]
- },
- "fingerprints": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "settings": {
- "$ref": "#/definitions/UserSettings"
- },
- "extended_settings": {
- "type": "string",
- "default": "{}"
- },
- "security_keys": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SecurityKey"
- }
- },
- "badge_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "bio",
- "bot",
- "connected_accounts",
- "created_at",
- "data",
- "deleted",
- "desktop",
- "disabled",
- "discriminator",
- "extended_settings",
- "fingerprints",
- "flags",
- "id",
- "mfa_enabled",
- "mobile",
- "nsfw_allowed",
- "premium",
- "premium_since",
- "premium_type",
- "premium_usage_flags",
- "public_flags",
- "purchased_flags",
- "relationships",
- "rights",
- "security_keys",
- "sessions",
- "settings",
- "system",
- "username",
- "verified",
- "webauthn_enabled"
- ]
- },
- "Session": {
- "type": "object",
- "properties": {
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "session_id": {
- "type": "string"
- },
- "activities": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Activity"
- }
- },
- "client_info": {
- "type": "object",
- "properties": {
- "client": {
- "type": "string"
- },
- "os": {
- "type": "string"
- },
- "version": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "client",
- "os",
- "version"
- ]
- },
- "client_status": {
- "$ref": "#/definitions/ClientStatus"
- },
- "status": {
- "$ref": "#/definitions/Status"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "activities",
- "client_info",
- "client_status",
- "id",
- "session_id",
- "status",
- "user",
- "user_id"
- ]
- },
- "ClientStatus": {
- "type": "object",
- "properties": {
- "desktop": {
- "type": "string"
- },
- "mobile": {
- "type": "string"
- },
- "web": {
- "type": "string"
- },
- "embedded": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "Relationship": {
- "type": "object",
- "properties": {
- "from_id": {
- "type": "string"
- },
- "from": {
- "$ref": "#/definitions/User"
- },
- "to_id": {
- "type": "string"
- },
- "to": {
- "$ref": "#/definitions/User"
- },
- "nickname": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/RelationshipType"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "from",
- "from_id",
- "id",
- "to",
- "to_id",
- "type"
- ]
- },
- "RelationshipType": {
- "enum": [
- 1,
- 2,
- 3,
- 4
- ],
- "type": "number"
- },
- "ConnectedAccount": {
- "type": "object",
- "properties": {
- "external_id": {
- "type": "string"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "friend_sync": {
- "type": "boolean",
- "default": false
- },
- "name": {
- "type": "string"
- },
- "revoked": {
- "type": "boolean",
- "default": false
- },
- "show_activity": {
- "type": "integer",
- "default": 0
- },
- "type": {
- "type": "string"
- },
- "verified": {
- "type": "boolean",
- "default": true
- },
- "visibility": {
- "type": "integer",
- "default": 0
- },
- "integrations": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "metadata_": {},
- "metadata_visibility": {
- "type": "integer",
- "default": 0
- },
- "two_way_link": {
- "type": "boolean",
- "default": false
- },
- "token_data": {
- "anyOf": [
- {
- "$ref": "#/definitions/ConnectedAccountTokenData"
- },
- {
- "type": "null"
- }
- ]
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "external_id",
- "id",
- "name",
- "type",
- "user",
- "user_id"
- ]
- },
- "UserSettings": {
- "type": "object",
- "properties": {
- "index": {
- "type": "string"
- },
- "afk_timeout": {
- "type": "integer",
- "default": 3600
- },
- "allow_accessibility_detection": {
- "type": "boolean",
- "default": true
- },
- "animate_emoji": {
- "type": "boolean",
- "default": true
- },
- "animate_stickers": {
- "type": "integer",
- "default": 0
- },
- "contact_sync_enabled": {
- "type": "boolean",
- "default": false
- },
- "convert_emoticons": {
- "type": "boolean",
- "default": false
- },
- "custom_status": {
- "anyOf": [
- {
- "$ref": "#/definitions/CustomStatus"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "default_guilds_restricted": {
- "type": "boolean",
- "default": false
- },
- "detect_platform_accounts": {
- "type": "boolean",
- "default": false
- },
- "developer_mode": {
- "type": "boolean",
- "default": true
- },
- "disable_games_tab": {
- "type": "boolean",
- "default": true
- },
- "enable_tts_command": {
- "type": "boolean",
- "default": false
- },
- "explicit_content_filter": {
- "type": "integer",
- "default": 0
- },
- "friend_discovery_flags": {
- "type": "integer",
- "default": 0
- },
- "friend_source_flags": {
- "$ref": "#/definitions/FriendSourceFlags"
- },
- "gateway_connected": {
- "type": "boolean",
- "default": false
- },
- "gif_auto_play": {
- "type": "boolean",
- "default": false
- },
- "guild_folders": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/GuildFolder"
- },
- "default": []
- },
- "guild_positions": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "inline_attachment_media": {
- "type": "boolean",
- "default": true
- },
- "inline_embed_media": {
- "type": "boolean",
- "default": true
- },
- "locale": {
- "type": "string",
- "default": "en-US"
- },
- "message_display_compact": {
- "type": "boolean",
- "default": false
- },
- "native_phone_integration_enabled": {
- "type": "boolean",
- "default": true
- },
- "render_embeds": {
- "type": "boolean",
- "default": true
- },
- "render_reactions": {
- "type": "boolean",
- "default": true
- },
- "restricted_guilds": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "show_current_game": {
- "type": "boolean",
- "default": true
- },
- "status": {
- "enum": [
- "dnd",
- "idle",
- "invisible",
- "offline",
- "online"
- ],
- "type": "string",
- "default": "online"
- },
- "stream_notifications_enabled": {
- "type": "boolean",
- "default": false
- },
- "theme": {
- "enum": [
- "dark",
- "light"
- ],
- "type": "string",
- "default": "dark"
- },
- "timezone_offset": {
- "type": "integer",
- "default": 0
- },
- "view_nsfw_guilds": {
- "type": "boolean",
- "default": true
- }
- },
- "additionalProperties": false,
- "required": [
- "afk_timeout",
- "allow_accessibility_detection",
- "animate_emoji",
- "animate_stickers",
- "contact_sync_enabled",
- "convert_emoticons",
- "custom_status",
- "default_guilds_restricted",
- "detect_platform_accounts",
- "developer_mode",
- "disable_games_tab",
- "enable_tts_command",
- "explicit_content_filter",
- "friend_discovery_flags",
- "friend_source_flags",
- "gateway_connected",
- "gif_auto_play",
- "guild_folders",
- "guild_positions",
- "index",
- "inline_attachment_media",
- "inline_embed_media",
- "locale",
- "message_display_compact",
- "native_phone_integration_enabled",
- "render_embeds",
- "render_reactions",
- "restricted_guilds",
- "show_current_game",
- "status",
- "stream_notifications_enabled",
- "theme",
- "timezone_offset",
- "view_nsfw_guilds"
- ]
- },
- "SecurityKey": {
- "type": "object",
- "properties": {
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "key_id": {
- "type": "string"
- },
- "public_key": {
- "type": "string"
- },
- "counter": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "counter",
- "id",
- "key_id",
- "name",
- "public_key",
- "user",
- "user_id"
- ]
- },
- "ChannelPermissionOverwrite": {
- "type": "object",
- "properties": {
- "allow": {
- "type": "string"
- },
- "deny": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/ChannelPermissionOverwriteType"
- }
- },
- "additionalProperties": false,
- "required": [
- "allow",
- "deny",
- "id",
- "type"
- ]
- },
- "Invite": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "temporary": {
- "type": "boolean"
- },
- "uses": {
- "type": "integer"
- },
- "max_uses": {
- "type": "integer"
- },
- "max_age": {
- "type": "integer"
- },
- "created_at": {
- "type": "string",
- "format": "date-time"
- },
- "expires_at": {
- "type": "string",
- "format": "date-time"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "inviter_id": {
- "type": "string"
- },
- "inviter": {
- "$ref": "#/definitions/User"
- },
- "target_user_id": {
- "type": "string"
- },
- "target_user": {
- "type": "string"
- },
- "target_user_type": {
- "type": "integer"
- },
- "vanity_url": {
- "type": "boolean"
- },
- "flags": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel",
- "channel_id",
- "code",
- "created_at",
- "flags",
- "guild",
- "guild_id",
- "inviter",
- "max_age",
- "max_uses",
- "target_user_id",
- "temporary",
- "uses"
- ]
- },
- "Message": {
- "type": "object",
- "properties": {
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "author_id": {
- "type": "string"
- },
- "author": {
- "$ref": "#/definitions/User"
- },
- "member_id": {
- "type": "string"
- },
- "member": {
- "$ref": "#/definitions/Member"
- },
- "webhook_id": {
- "type": "string"
- },
- "webhook": {
- "$ref": "#/definitions/Webhook"
- },
- "application_id": {
- "type": "string"
- },
- "application": {
- "$ref": "#/definitions/Application"
- },
- "content": {
- "type": "string"
- },
- "timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "edited_timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "tts": {
- "type": "boolean"
- },
- "mention_everyone": {
- "type": "boolean"
- },
- "mentions": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/User"
- }
- },
- "mention_roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
- },
- "mention_channels": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Channel"
- }
- },
- "sticker_items": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Sticker"
- }
- },
- "attachments": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Attachment"
- }
- },
- "embeds": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Embed"
- }
- },
- "reactions": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Reaction"
- }
- },
- "nonce": {
- "type": "string"
- },
- "pinned": {
- "type": "boolean"
- },
- "type": {
- "$ref": "#/definitions/MessageType"
- },
- "activity": {
- "type": "object",
- "properties": {
- "type": {
- "type": "integer"
- },
- "party_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "party_id",
- "type"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "message_reference": {
- "type": "object",
- "properties": {
- "message_id": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- },
- "guild_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "message_id"
- ]
- },
- "referenced_message": {
- "$ref": "#/definitions/Message"
- },
- "interaction": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/InteractionType"
- },
- "name": {
- "type": "string"
- },
- "user_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name",
- "type",
- "user_id"
- ]
- },
- "components": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ActionRowComponent"
- }
- },
- "poll": {
- "$ref": "#/definitions/Poll"
- },
- "username": {
- "type": "string"
- },
- "avatar": {
- "type": "string"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel",
- "embeds",
- "flags",
- "id",
- "mention_channels",
- "mention_roles",
- "mentions",
- "reactions",
- "timestamp",
- "type"
- ]
- },
- "Member": {
- "type": "object",
- "properties": {
- "index": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "nick": {
- "type": "string"
- },
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
- },
- "joined_at": {
- "type": "string",
- "format": "date-time"
- },
- "premium_since": {
- "type": "integer"
- },
- "deaf": {
- "type": "boolean"
- },
- "mute": {
- "type": "boolean"
- },
- "pending": {
- "type": "boolean"
- },
- "settings": {
- "$ref": "#/definitions/UserGuildSettings"
- },
- "last_message_id": {
- "type": "string"
- },
- "joined_by": {
- "type": "string"
- },
- "avatar": {
- "type": "string"
- },
- "banner": {
- "type": "string"
- },
- "bio": {
- "type": "string"
- },
- "theme_colors": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "pronouns": {
- "type": "string"
- },
- "communication_disabled_until": {
- "type": "string",
- "format": "date-time"
- }
- },
- "additionalProperties": false,
- "required": [
- "banner",
- "bio",
- "communication_disabled_until",
- "deaf",
- "guild",
- "guild_id",
- "id",
- "index",
- "joined_at",
- "joined_by",
- "mute",
- "pending",
- "roles",
- "settings",
- "user"
- ]
- },
- "Role": {
- "type": "object",
- "properties": {
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "color": {
- "type": "integer"
- },
- "hoist": {
- "type": "boolean"
- },
- "managed": {
- "type": "boolean"
- },
- "mentionable": {
- "type": "boolean"
- },
- "name": {
- "type": "string"
- },
- "permissions": {
- "type": "string"
- },
- "position": {
- "type": "integer"
- },
- "icon": {
- "type": "string"
- },
- "unicode_emoji": {
- "type": "string"
- },
- "tags": {
- "type": "object",
- "properties": {
- "bot_id": {
- "type": "string"
- },
- "integration_id": {
- "type": "string"
- },
- "premium_subscriber": {
- "type": "boolean"
- }
- },
- "additionalProperties": false
- },
- "flags": {
- "type": "integer"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "color",
- "flags",
- "guild",
- "guild_id",
- "hoist",
- "id",
- "managed",
- "mentionable",
- "name",
- "permissions",
- "position"
- ]
- },
- "UserGuildSettings": {
- "type": "object",
- "properties": {
- "channel_overrides": {
- "anyOf": [
- {
- "type": "object",
- "additionalProperties": {
- "$ref": "#/definitions/ChannelOverride"
- }
- },
- {
- "type": "null"
- }
- ]
- },
- "message_notifications": {
- "type": "integer"
- },
- "mobile_push": {
- "type": "boolean"
- },
- "mute_config": {
- "anyOf": [
- {
- "$ref": "#/definitions/MuteConfig"
- },
- {
- "type": "null"
- }
- ]
- },
- "muted": {
- "type": "boolean"
- },
- "suppress_everyone": {
- "type": "boolean"
- },
- "suppress_roles": {
- "type": "boolean"
- },
- "version": {
- "type": "integer"
- },
- "guild_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "mute_scheduled_events": {
- "type": "boolean"
- },
- "hide_muted_channels": {
- "type": "boolean"
- },
- "notify_highlights": {
- "type": "number",
- "enum": [
- 0
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "channel_overrides",
- "flags",
- "guild_id",
- "hide_muted_channels",
- "message_notifications",
- "mobile_push",
- "mute_config",
- "mute_scheduled_events",
- "muted",
- "notify_highlights",
- "suppress_everyone",
- "suppress_roles",
- "version"
- ]
- },
- "Webhook": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/definitions/WebhookType"
- },
- "name": {
- "type": "string"
- },
- "avatar": {
- "type": "string"
- },
- "token": {
- "type": "string"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "application_id": {
- "type": "string"
- },
- "application": {
- "$ref": "#/definitions/Application"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "source_guild_id": {
- "type": "string"
- },
- "source_guild": {
- "$ref": "#/definitions/Guild"
- },
- "source_channel_id": {
- "type": "string"
- },
- "source_channel": {
- "$ref": "#/definitions/Channel"
- },
- "url": {
- "type": "string"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "application",
- "application_id",
- "avatar",
- "channel",
- "channel_id",
- "id",
- "name",
- "source_channel",
- "source_channel_id",
- "type",
- "url",
- "user",
- "user_id"
- ]
- },
- "WebhookType": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "Application": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "summary": {
- "type": "string",
- "default": ""
- },
- "type": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "hook": {
- "type": "boolean",
- "default": true
- },
- "bot_public": {
- "type": "boolean",
- "default": true
- },
- "bot_require_code_grant": {
- "type": "boolean",
- "default": false
- },
- "verify_key": {
- "type": "string"
- },
- "owner": {
- "$ref": "#/definitions/User"
- },
- "flags": {
- "type": "integer",
- "default": 0
- },
- "redirect_uris": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "rpc_application_state": {
- "type": "integer",
- "default": 0
- },
- "store_application_state": {
- "type": "integer",
- "default": 1
- },
- "verification_state": {
- "type": "integer",
- "default": 1
- },
- "interactions_endpoint_url": {
- "type": "string"
- },
- "integration_public": {
- "type": "boolean",
- "default": true
- },
- "integration_require_code_grant": {
- "type": "boolean",
- "default": false
- },
- "discoverability_state": {
- "type": "integer",
- "default": 1
- },
- "discovery_eligibility_flags": {
- "type": "integer",
- "default": 2240
- },
- "bot": {
- "$ref": "#/definitions/User"
- },
- "tags": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "cover_image": {
- "type": "string"
- },
- "install_params": {
- "type": "object",
- "properties": {
- "scopes": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "permissions": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "permissions",
- "scopes"
- ]
- },
- "terms_of_service_url": {
- "type": "string"
- },
- "privacy_policy_url": {
- "type": "string"
- },
- "team": {
- "$ref": "#/definitions/Team"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "description",
- "discoverability_state",
- "discovery_eligibility_flags",
- "flags",
- "hook",
- "id",
- "integration_public",
- "integration_require_code_grant",
- "name",
- "owner",
- "redirect_uris",
- "rpc_application_state",
- "store_application_state",
- "summary",
- "verification_state",
- "verify_key"
- ]
- },
- "Team": {
- "type": "object",
- "properties": {
- "icon": {
- "type": "string"
- },
- "members": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/TeamMember"
- }
- },
- "name": {
- "type": "string"
- },
- "owner_user_id": {
- "type": "string"
- },
- "owner_user": {
- "$ref": "#/definitions/User"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "members",
- "name",
- "owner_user",
- "owner_user_id"
- ]
- },
- "TeamMember": {
- "type": "object",
- "properties": {
- "membership_state": {
- "$ref": "#/definitions/TeamMemberState"
- },
- "permissions": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "team_id": {
- "type": "string"
- },
- "team": {
- "$ref": "#/definitions/Team"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "membership_state",
- "permissions",
- "team",
- "team_id",
- "user",
- "user_id"
- ]
- },
- "TeamMemberState": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
- },
- "Sticker": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "available": {
- "type": "boolean"
- },
- "tags": {
- "type": "string"
- },
- "pack_id": {
- "type": "string"
- },
- "pack": {
- "$ref": "#/definitions/StickerPack"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "type": {
- "$ref": "#/definitions/StickerType"
- },
- "format_type": {
- "$ref": "#/definitions/StickerFormatType"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "format_type",
- "id",
- "name",
- "pack",
- "type"
- ]
- },
- "StickerPack": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "banner_asset_id": {
- "type": "string"
- },
- "stickers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Sticker"
- }
- },
- "cover_sticker_id": {
- "type": "string"
- },
- "cover_sticker": {
- "$ref": "#/definitions/Sticker"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name",
- "stickers"
- ]
- },
- "StickerType": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
- },
- "StickerFormatType": {
- "enum": [
- 0,
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "Attachment": {
- "type": "object",
- "properties": {
- "filename": {
- "type": "string"
- },
- "size": {
- "type": "integer"
- },
- "url": {
- "type": "string"
- },
- "proxy_url": {
- "type": "string"
- },
- "height": {
- "type": "integer"
- },
- "width": {
- "type": "integer"
- },
- "content_type": {
- "type": "string"
- },
- "message_id": {
- "type": "string"
- },
- "message": {
- "$ref": "#/definitions/Message"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "filename",
- "id",
- "message",
- "message_id",
- "proxy_url",
- "size",
- "url"
- ]
- },
- "Reaction": {
- "type": "object",
- "properties": {
- "count": {
- "type": "integer"
- },
- "emoji": {
- "$ref": "#/definitions/PartialEmoji"
- },
- "user_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "count",
- "emoji",
- "user_ids"
- ]
- },
- "MessageType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 19,
- 2,
- 20,
- 255,
- 3,
- 4,
- 41,
- 42,
- 43,
- 5,
- 50,
- 6,
- 63,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "InteractionType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "Poll": {
- "type": "object",
- "properties": {
- "question": {
- "$ref": "#/definitions/PollMedia"
- },
- "answers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PollAnswer"
- }
- },
- "expiry": {
- "type": "string",
- "format": "date-time"
- },
- "allow_multiselect": {
- "type": "boolean"
- },
- "results": {
- "$ref": "#/definitions/PollResult"
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_multiselect",
- "answers",
- "expiry",
- "question"
- ]
- },
- "PollResult": {
- "type": "object",
- "properties": {
- "is_finalized": {
- "type": "boolean"
- },
- "answer_counts": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PollAnswerCount"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "answer_counts",
- "is_finalized"
- ]
- },
- "PollAnswerCount": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "count": {
- "type": "integer"
- },
- "me_voted": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "count",
- "id",
- "me_voted"
- ]
- },
- "VoiceState": {
- "type": "object",
- "properties": {
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "member": {
- "$ref": "#/definitions/Member"
- },
- "session_id": {
- "type": "string"
- },
- "token": {
- "type": "string"
- },
- "deaf": {
- "type": "boolean"
- },
- "mute": {
- "type": "boolean"
- },
- "self_deaf": {
- "type": "boolean"
- },
- "self_mute": {
- "type": "boolean"
- },
- "self_stream": {
- "type": "boolean"
- },
- "self_video": {
- "type": "boolean"
- },
- "suppress": {
- "type": "boolean"
- },
- "request_to_speak_timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel",
- "channel_id",
- "deaf",
- "guild_id",
- "id",
- "member",
- "mute",
- "self_deaf",
- "self_mute",
- "self_video",
- "session_id",
- "suppress",
- "token",
- "user",
- "user_id"
- ]
- },
- "ReadState": {
- "type": "object",
- "properties": {
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "last_message_id": {
- "type": "string"
- },
- "public_ack": {
- "type": "string"
- },
- "notifications_cursor": {
- "type": "string"
- },
- "last_pin_timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "mention_count": {
- "type": "integer"
- },
- "manual": {
- "type": "boolean"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel",
- "channel_id",
- "id",
- "last_message_id",
- "manual",
- "mention_count",
- "notifications_cursor",
- "public_ack",
- "user",
- "user_id"
- ]
- },
- "Ban": {
- "type": "object",
- "properties": {
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "executor_id": {
- "type": "string"
- },
- "executor": {
- "$ref": "#/definitions/User"
- },
- "ip": {
- "type": "string"
- },
- "reason": {
- "type": "string"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "executor",
- "executor_id",
- "guild",
- "guild_id",
- "id",
- "ip",
- "user",
- "user_id"
- ]
- },
- "Template": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "usage_count": {
- "type": "integer"
- },
- "creator_id": {
- "type": "string"
- },
- "creator": {
- "$ref": "#/definitions/User"
- },
- "created_at": {
- "type": "string",
- "format": "date-time"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time"
- },
- "source_guild_id": {
- "type": "string"
- },
- "source_guild": {
- "$ref": "#/definitions/Guild"
- },
- "serialized_source_guild": {
- "$ref": "#/definitions/Guild"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "created_at",
- "creator",
- "creator_id",
- "id",
- "name",
- "serialized_source_guild",
- "source_guild",
- "source_guild_id",
- "updated_at"
- ]
- },
- "Emoji": {
- "type": "object",
- "properties": {
- "animated": {
- "type": "boolean"
- },
- "available": {
- "type": "boolean"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "managed": {
- "type": "boolean"
- },
- "name": {
- "type": "string"
- },
- "require_colons": {
- "type": "boolean"
- },
- "roles": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "groups": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "animated",
- "available",
- "groups",
- "guild",
- "guild_id",
- "id",
- "managed",
- "name",
- "require_colons",
- "roles",
- "user",
- "user_id"
- ]
- },
- "GuildWelcomeScreen": {
- "type": "object",
- "properties": {
- "enabled": {
- "type": "boolean"
- },
- "description": {
- "type": "string"
- },
- "welcome_channels": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "description": {
- "type": "string"
- },
- "emoji_id": {
- "type": "string"
- },
- "emoji_name": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel_id",
- "description"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "description",
- "enabled",
- "welcome_channels"
- ]
- },
- "GuildMessagesSearchMessage": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/MessageType"
- },
- "content": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- },
- "author": {
- "$ref": "#/definitions/PublicUser"
- },
- "attachments": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Attachment"
- }
- },
- "embeds": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Embed"
- }
- },
- "mentions": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PublicUser"
- }
- },
- "mention_roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
- },
- "pinned": {
- "type": "boolean"
- },
- "mention_everyone": {
- "type": "boolean"
- },
- "tts": {
- "type": "boolean"
- },
- "timestamp": {
- "type": "string"
- },
- "edited_timestamp": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "components": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ActionRowComponent"
- }
- },
- "poll": {
- "$ref": "#/definitions/Poll"
- },
- "hit": {
- "type": "boolean",
- "enum": [
- true
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "attachments",
- "author",
- "channel_id",
- "components",
- "edited_timestamp",
- "embeds",
- "flags",
- "hit",
- "id",
- "mention_roles",
- "mentions",
- "pinned",
- "poll",
- "timestamp",
- "tts",
- "type"
- ]
- },
- "PublicUser": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "premium_since": {
- "type": "string",
- "format": "date-time"
- },
- "avatar": {
- "type": "string"
- },
- "username": {
- "type": "string"
- },
- "discriminator": {
- "type": "string"
- },
- "public_flags": {
- "type": "integer"
- },
- "accent_color": {
- "type": "integer"
- },
- "banner": {
- "type": "string"
- },
- "bio": {
- "type": "string"
- },
- "bot": {
- "type": "boolean"
- },
- "premium_type": {
- "type": "integer"
- },
- "theme_colors": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "pronouns": {
- "type": "string"
- },
- "badge_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "bio",
- "bot",
- "discriminator",
- "id",
- "premium_since",
- "premium_type",
- "public_flags",
- "username"
- ]
- },
- "GuildVanityUrl": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "uses": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "uses"
- ]
- },
- "GuildVanityUrlNoInvite": {
- "type": "object",
- "properties": {
- "code": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "code"
- ]
- },
- "Snowflake": {
- "description": "A container for useful snowflake-related methods.",
- "type": "object",
- "additionalProperties": false
- },
- "TenorGifResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "src": {
- "type": "string"
- },
- "gif_src": {
- "type": "string"
- },
- "width": {
- "type": "integer"
- },
- "height": {
- "type": "integer"
- },
- "preview": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "gif_src",
- "height",
- "id",
- "preview",
- "src",
- "title",
- "url",
- "width"
- ]
- },
- "BackupCode": {
- "type": "object",
- "properties": {
- "user": {
- "$ref": "#/definitions/User"
- },
- "code": {
- "type": "string"
- },
- "consumed": {
- "type": "boolean"
- },
- "expired": {
- "type": "boolean"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "consumed",
- "expired",
- "id",
- "user"
- ]
- },
- "APIGuild": {
- "type": "object",
- "properties": {
- "reload": {
- "description": "Reloads entity data from the database.",
- "type": "object",
- "additionalProperties": false
- },
- "name": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "parent": {
- "type": "string"
- },
- "owner_id": {
- "type": "string"
- },
- "nsfw": {
- "type": "boolean"
- },
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
- "toJSON": {
- "type": "object",
- "additionalProperties": false
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
- },
- "assign": {
- "type": "object",
- "additionalProperties": false
- },
- "hasId": {
- "description": "Checks if entity has an id.\nIf entity composite compose ids, it will check them all.",
- "type": "object",
- "additionalProperties": false
- },
- "save": {
- "description": "Saves current entity in the database.\nIf entity does not exist in the database then inserts, otherwise updates.",
- "type": "object",
- "additionalProperties": false
- },
- "remove": {
- "description": "Removes current entity from the database.",
- "type": "object",
- "additionalProperties": false
- },
- "softRemove": {
- "description": "Records the delete date of current entity.",
- "type": "object",
- "additionalProperties": false
- },
- "recover": {
- "description": "Recovers a given entity in the database.",
- "type": "object",
- "additionalProperties": false
- },
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
- },
- "banner": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "unavailable": {
- "type": "boolean"
- },
- "channels": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Channel"
- }
- },
- "region": {
- "type": "string"
- },
- "system_channel_id": {
- "type": "string"
- },
- "rules_channel_id": {
- "type": "string"
- },
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
- },
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
- "type": "string"
- },
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "primary_category_id": {
- "type": "string"
- },
- "large": {
- "type": "boolean"
- },
- "max_members": {
- "type": "integer"
- },
- "max_presences": {
- "type": "integer"
- },
- "max_video_channel_users": {
- "type": "integer"
- },
- "member_count": {
- "type": "integer"
- },
- "presence_count": {
- "type": "integer"
- },
- "members": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Member"
- }
- },
- "template_id": {
- "type": "string"
- },
- "emojis": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Emoji"
- }
- },
- "stickers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Sticker"
- }
- },
- "mfa_level": {
- "type": "integer"
- },
- "preferred_locale": {
- "type": "string"
- },
- "premium_subscription_count": {
- "type": "integer"
- },
- "premium_tier": {
- "type": "integer"
- },
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
- "welcome_screen": {
- "$ref": "#/definitions/GuildWelcomeScreen"
- },
- "widget_channel_id": {
- "type": "string"
- },
- "widget_enabled": {
- "type": "boolean"
- },
- "nsfw_level": {
- "type": "integer"
- },
- "permissions": {
- "type": "integer"
- },
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
- "channel_ordering": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "_do_validate",
- "assign",
- "bans",
- "channel_ordering",
- "channels",
- "emojis",
- "features",
- "hasId",
- "id",
- "invites",
- "members",
- "name",
- "nsfw",
- "premium_progress_bar_enabled",
- "public_updates_channel_id",
- "recover",
- "reload",
- "remove",
- "roles",
- "save",
- "softRemove",
- "stickers",
- "toJSON",
- "unavailable",
- "voice_states",
- "webhooks",
- "welcome_screen",
- "widget_enabled"
- ]
- },
- "DmChannelDTO": {
- "type": "object",
- "properties": {
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "id": {
- "type": "string"
- },
- "last_message_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "name": {
- "type": [
- "null",
- "string"
- ]
- },
- "origin_channel_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "owner_id": {
- "type": "string"
- },
- "recipients": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/MinimalPublicUserDTO"
- }
- },
- "type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "icon",
- "id",
- "last_message_id",
- "name",
- "origin_channel_id",
- "recipients",
- "type"
- ]
- },
- "MinimalPublicUserDTO": {
- "type": "object",
- "properties": {
- "avatar": {
- "type": [
- "null",
- "string"
- ]
- },
- "discriminator": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "public_flags": {
- "type": "integer"
- },
- "username": {
- "type": "string"
- },
- "badge_ids": {
- "anyOf": [
- {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "discriminator",
- "id",
- "public_flags",
- "username"
- ]
- },
- "Categories": {
- "type": "object",
- "properties": {
- "id": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- },
- "localizations": {
- "type": "string"
- },
- "is_primary": {
- "type": "boolean"
- },
- "icon": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "is_primary",
- "localizations",
- "name"
- ]
- },
- "GuildVoiceRegion": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "custom": {
- "type": "boolean"
- },
- "deprecated": {
- "type": "boolean"
- },
- "optimal": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom",
- "deprecated",
- "id",
- "name",
- "optimal"
- ]
- },
- "UserLimits": {
- "type": "object",
- "properties": {
- "maxGuilds": {
- "type": "integer",
- "default": 1048576
- },
- "maxUsername": {
- "type": "integer",
- "default": 32
- },
- "maxFriends": {
- "type": "integer",
- "default": 5000
- },
- "maxBio": {
- "type": "integer",
- "default": 190
- }
- },
- "additionalProperties": false,
- "required": [
- "maxBio",
- "maxFriends",
- "maxGuilds",
- "maxUsername"
- ]
- },
- "GuildLimits": {
- "type": "object",
- "properties": {
- "maxRoles": {
- "type": "integer",
- "default": 1000
- },
- "maxEmojis": {
- "type": "integer",
- "default": 2000
- },
- "maxMembers": {
- "type": "integer",
- "default": 25000000
- },
- "maxChannels": {
- "type": "integer",
- "default": 65535
- },
- "maxBulkBanUsers": {
- "type": "integer",
- "default": 200
- },
- "maxChannelsInCategory": {
- "type": "integer",
- "default": 65535
- }
- },
- "additionalProperties": false,
- "required": [
- "maxBulkBanUsers",
- "maxChannels",
- "maxChannelsInCategory",
- "maxEmojis",
- "maxMembers",
- "maxRoles"
- ]
- },
- "MessageLimits": {
- "type": "object",
- "properties": {
- "maxCharacters": {
- "type": "integer",
- "default": 1048576
- },
- "maxTTSCharacters": {
- "type": "integer",
- "default": 160
- },
- "maxReactions": {
- "type": "integer",
- "default": 2048
- },
- "maxAttachmentSize": {
- "type": "integer",
- "default": 1073741824
- },
- "maxBulkDelete": {
- "type": "integer",
- "default": 1000
- },
- "maxEmbedDownloadSize": {
- "type": "integer",
- "default": 5242880
- }
- },
- "additionalProperties": false,
- "required": [
- "maxAttachmentSize",
- "maxBulkDelete",
- "maxCharacters",
- "maxEmbedDownloadSize",
- "maxReactions",
- "maxTTSCharacters"
- ]
- },
- "ChannelLimits": {
- "type": "object",
- "properties": {
- "maxPins": {
- "type": "integer",
- "default": 500
- },
- "maxTopic": {
- "type": "integer",
- "default": 1024
- },
- "maxWebhooks": {
- "type": "integer",
- "default": 100
- }
- },
- "additionalProperties": false,
- "required": [
- "maxPins",
- "maxTopic",
- "maxWebhooks"
- ]
- },
- "RateLimits": {
- "type": "object",
- "properties": {
- "enabled": {
- "type": "boolean",
- "default": false
- },
- "ip": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "global": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "error": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "routes": {
- "$ref": "#/definitions/RouteRateLimit"
- }
- },
- "additionalProperties": false,
- "required": [
- "enabled",
- "error",
- "global",
- "ip",
- "routes"
- ]
- },
- "RateLimitOptions": {
- "type": "object",
- "properties": {
- "bot": {
- "type": "integer"
- },
- "count": {
- "type": "integer"
- },
- "window": {
- "type": "integer"
- },
- "onyIp": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "count",
- "window"
- ]
- },
- "RouteRateLimit": {
- "type": "object",
- "properties": {
- "guild": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "webhook": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "channel": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "auth": {}
- },
- "additionalProperties": false,
- "required": [
- "auth",
- "channel",
- "guild",
- "webhook"
- ]
- },
- "GlobalRateLimits": {
- "type": "object",
- "properties": {
- "register": {
- "$ref": "#/definitions/GlobalRateLimit"
- },
- "sendMessage": {
- "$ref": "#/definitions/GlobalRateLimit"
- }
- },
- "additionalProperties": false,
- "required": [
- "register",
- "sendMessage"
- ]
- },
- "GlobalRateLimit": {
- "type": "object",
- "properties": {
- "limit": {
- "type": "integer",
- "default": 100
- },
- "window": {
- "type": "integer",
- "default": 3600000
- },
- "enabled": {
- "type": "boolean",
- "default": true
- }
- },
- "additionalProperties": false,
- "required": [
- "enabled",
- "limit",
- "window"
- ]
- },
- "PublicConnectedAccount": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "type": {
- "type": "string"
- },
- "verified": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "name",
- "type"
- ]
- },
- "UserProfile": {
- "type": "object",
- "properties": {
- "accent_color": {
- "type": "integer"
- },
- "banner": {
- "type": "string"
- },
- "bio": {
- "type": "string"
- },
- "theme_colors": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "pronouns": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "bio"
- ]
- },
- "Badge": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "link": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "description",
- "icon",
- "id"
- ]
- },
- "TokenResponse": {
- "type": "object",
- "properties": {
- "token": {
- "type": "string"
- },
- "settings": {
- "$ref": "#/definitions/UserSettings"
- }
- },
- "additionalProperties": false,
- "required": [
- "settings",
- "token"
- ]
- },
- "MFAResponse": {
- "type": "object",
- "properties": {
- "ticket": {
- "type": "string"
- },
- "mfa": {
- "type": "boolean",
- "enum": [
- true
- ]
- },
- "sms": {
- "type": "boolean",
- "enum": [
- false
- ]
- },
- "token": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "mfa",
- "sms",
- "ticket",
- "token"
- ]
- },
- "WebAuthnResponse": {
- "type": "object",
- "properties": {
- "webauthn": {
- "type": "string"
- },
- "ticket": {
- "type": "string"
- },
- "mfa": {
- "type": "boolean",
- "enum": [
- true
- ]
- },
- "sms": {
- "type": "boolean",
- "enum": [
- false
- ]
- },
- "token": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "mfa",
- "sms",
- "ticket",
- "token",
- "webauthn"
- ]
- }
- },
"$schema": "http://json-schema.org/draft-07/schema#"
},
"BanModeratorSchema": {
@@ -43302,4772 +209,6 @@
"id",
"user_id"
],
- "definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
- "ChannelPermissionOverwriteType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "ConnectedAccountTokenData": {
- "type": "object",
- "properties": {
- "access_token": {
- "type": "string"
- },
- "token_type": {
- "type": "string"
- },
- "scope": {
- "type": "string"
- },
- "refresh_token": {
- "type": "string"
- },
- "expires_in": {
- "type": "integer"
- },
- "expires_at": {
- "type": "integer"
- },
- "fetched_at": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "access_token",
- "fetched_at"
- ]
- },
- "ChannelModifySchema": {
- "type": "object",
- "properties": {
- "name": {
- "maxLength": 100,
- "type": "string"
- },
- "type": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 2,
- 255,
- 3,
- 33,
- 34,
- 35,
- 4,
- 5,
- 6,
- 64,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "topic": {
- "type": "string"
- },
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "bitrate": {
- "type": "integer"
- },
- "user_limit": {
- "type": "integer"
- },
- "rate_limit_per_user": {
- "type": "integer"
- },
- "position": {
- "type": "integer"
- },
- "permission_overwrites": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/ChannelPermissionOverwriteType"
- },
- "allow": {
- "type": "string"
- },
- "deny": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "allow",
- "deny",
- "id",
- "type"
- ]
- }
- },
- "parent_id": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "nsfw": {
- "type": "boolean"
- },
- "rtc_region": {
- "type": "string"
- },
- "default_auto_archive_duration": {
- "type": "integer"
- },
- "default_reaction_emoji": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "default_thread_rate_limit_per_user": {
- "type": "integer"
- },
- "video_quality_mode": {
- "type": "integer"
- }
- },
- "additionalProperties": false
- },
- "ActivitySchema": {
- "type": "object",
- "properties": {
- "afk": {
- "type": "boolean"
- },
- "status": {
- "$ref": "#/definitions/Status"
- },
- "activities": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Activity"
- }
- },
- "since": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "status"
- ]
- },
- "Status": {
- "enum": [
- "dnd",
- "idle",
- "invisible",
- "offline",
- "online"
- ],
- "type": "string"
- },
- "Activity": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/ActivityType"
- },
- "url": {
- "type": "string"
- },
- "created_at": {
- "type": "integer"
- },
- "timestamps": {
- "type": "object",
- "properties": {
- "start": {
- "type": "integer"
- },
- "end": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "end",
- "start"
- ]
- },
- "application_id": {
- "type": "string"
- },
- "details": {
- "type": "string"
- },
- "state": {
- "type": "string"
- },
- "emoji": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "animated": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "animated",
- "name"
- ]
- },
- "party": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "size": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- }
- },
- "additionalProperties": false
- },
- "assets": {
- "type": "object",
- "properties": {
- "large_image": {
- "type": "string"
- },
- "large_text": {
- "type": "string"
- },
- "small_image": {
- "type": "string"
- },
- "small_text": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "secrets": {
- "type": "object",
- "properties": {
- "join": {
- "type": "string"
- },
- "spectate": {
- "type": "string"
- },
- "match": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "instance": {
- "type": "boolean"
- },
- "flags": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "sync_id": {
- "type": "string"
- },
- "metadata": {
- "type": "object",
- "properties": {
- "context_uri": {
- "type": "string"
- },
- "album_id": {
- "type": "string"
- },
- "artist_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "album_id",
- "artist_ids"
- ]
- },
- "session_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "flags",
- "name",
- "session_id",
- "type"
- ]
- },
- "ActivityType": {
- "enum": [
- 0,
- 1,
- 2,
- 4,
- 5
- ],
- "type": "number"
- },
- "Embed": {
- "type": "object",
- "properties": {
- "title": {
- "type": "string"
- },
- "type": {
- "enum": [
- "article",
- "gifv",
- "image",
- "link",
- "rich",
- "video"
- ],
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "color": {
- "type": "integer"
- },
- "footer": {
- "type": "object",
- "properties": {
- "text": {
- "type": "string"
- },
- "icon_url": {
- "type": "string"
- },
- "proxy_icon_url": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "text"
- ]
- },
- "image": {
- "$ref": "#/definitions/EmbedImage"
- },
- "thumbnail": {
- "$ref": "#/definitions/EmbedImage"
- },
- "video": {
- "$ref": "#/definitions/EmbedImage"
- },
- "provider": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "url": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "author": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "icon_url": {
- "type": "string"
- },
- "proxy_icon_url": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "fields": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "value": {
- "type": "string"
- },
- "inline": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "name",
- "value"
- ]
- }
- }
- },
- "additionalProperties": false
- },
- "EmbedImage": {
- "type": "object",
- "properties": {
- "url": {
- "type": "string"
- },
- "proxy_url": {
- "type": "string"
- },
- "height": {
- "type": "integer"
- },
- "width": {
- "type": "integer"
- }
- },
- "additionalProperties": false
- },
- "ActionRowComponent": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/definitions/MessageComponentType.ActionRow"
- },
- "components": {
- "type": "array",
- "items": {
- "anyOf": [
- {
- "$ref": "#/definitions/ButtonComponent"
- },
- {
- "$ref": "#/definitions/SelectMenuComponent"
- },
- {
- "$ref": "#/definitions/StringSelectMenuComponent"
- },
- {
- "$ref": "#/definitions/TextInputComponent"
- }
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "components",
- "type"
- ]
- },
- "MessageComponentType.ActionRow": {
- "type": "number",
- "enum": [
- 1
- ]
- },
- "ButtonComponent": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/definitions/MessageComponentType.Button"
- },
- "style": {
- "$ref": "#/definitions/ButtonStyle"
- },
- "label": {
- "type": "string"
- },
- "emoji": {
- "$ref": "#/definitions/PartialEmoji"
- },
- "custom_id": {
- "type": "string"
- },
- "sku_id": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "disabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "style",
- "type"
- ]
- },
- "MessageComponentType.Button": {
- "type": "number",
- "enum": [
- 2
- ]
- },
- "ButtonStyle": {
- "enum": [
- 1,
- 2,
- 3,
- 4,
- 5,
- 6
- ],
- "type": "number"
- },
- "PartialEmoji": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "animated": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "name"
- ]
- },
- "SelectMenuComponent": {
- "type": "object",
- "properties": {
- "type": {
- "enum": [
- 3,
- 5,
- 6,
- 7,
- 8
- ],
- "type": "number"
- },
- "custom_id": {
- "type": "string"
- },
- "channel_types": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "placeholder": {
- "type": "string"
- },
- "default_values": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SelectMenuDefaultOption"
- }
- },
- "min_values": {
- "type": "integer"
- },
- "max_values": {
- "type": "integer"
- },
- "disabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom_id",
- "type"
- ]
- },
- "SelectMenuDefaultOption": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {
- "enum": [
- "channel",
- "role",
- "user"
- ],
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "type"
- ]
- },
- "StringSelectMenuComponent": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/definitions/MessageComponentType.StringSelect"
- },
- "options": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SelectMenuOption"
- }
- },
- "custom_id": {
- "type": "string"
- },
- "channel_types": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "placeholder": {
- "type": "string"
- },
- "default_values": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SelectMenuDefaultOption"
- }
- },
- "min_values": {
- "type": "integer"
- },
- "max_values": {
- "type": "integer"
- },
- "disabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom_id",
- "options",
- "type"
- ]
- },
- "MessageComponentType.StringSelect": {
- "type": "number",
- "enum": [
- 3
- ]
- },
- "SelectMenuOption": {
- "type": "object",
- "properties": {
- "label": {
- "type": "string"
- },
- "value": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "emoji": {
- "$ref": "#/definitions/PartialEmoji"
- },
- "default": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "label",
- "value"
- ]
- },
- "TextInputComponent": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/definitions/MessageComponentType.TextInput"
- },
- "custom_id": {
- "type": "string"
- },
- "style": {
- "$ref": "#/definitions/TextInputStyle"
- },
- "label": {
- "type": "string"
- },
- "min_length": {
- "type": "integer"
- },
- "max_length": {
- "type": "integer"
- },
- "required": {
- "type": "boolean"
- },
- "value": {
- "type": "string"
- },
- "placeholder": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom_id",
- "label",
- "style",
- "type"
- ]
- },
- "MessageComponentType.TextInput": {
- "type": "number",
- "enum": [
- 4
- ]
- },
- "TextInputStyle": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
- },
- "PollCreationSchema": {
- "type": "object",
- "properties": {
- "question": {
- "$ref": "#/definitions/PollMedia"
- },
- "answers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PollAnswer"
- }
- },
- "duration": {
- "type": "integer"
- },
- "allow_multiselect": {
- "type": "boolean"
- },
- "layout_type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "answers",
- "question"
- ]
- },
- "PollMedia": {
- "type": "object",
- "properties": {
- "text": {
- "type": "string"
- },
- "emoji": {
- "$ref": "#/definitions/PartialEmoji"
- }
- },
- "additionalProperties": false
- },
- "PollAnswer": {
- "type": "object",
- "properties": {
- "answer_id": {
- "type": "string"
- },
- "poll_media": {
- "$ref": "#/definitions/PollMedia"
- }
- },
- "additionalProperties": false,
- "required": [
- "poll_media"
- ]
- },
- "ChannelOverride": {
- "type": "object",
- "properties": {
- "message_notifications": {
- "type": "integer"
- },
- "mute_config": {
- "$ref": "#/definitions/MuteConfig"
- },
- "muted": {
- "type": "boolean"
- },
- "channel_id": {
- "type": [
- "null",
- "string"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "channel_id",
- "message_notifications",
- "mute_config",
- "muted"
- ]
- },
- "MuteConfig": {
- "type": "object",
- "properties": {
- "end_time": {
- "type": "integer"
- },
- "selected_time_window": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "end_time",
- "selected_time_window"
- ]
- },
- "CustomStatus": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": "string"
- },
- "emoji_name": {
- "type": "string"
- },
- "expires_at": {
- "type": "integer"
- },
- "text": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "FriendSourceFlags": {
- "type": "object",
- "properties": {
- "all": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "all"
- ]
- },
- "GuildFolder": {
- "type": "object",
- "properties": {
- "color": {
- "type": "integer"
- },
- "guild_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "color",
- "guild_ids",
- "id",
- "name"
- ]
- },
- "GenerateWebAuthnCredentialsSchema": {
- "type": "object",
- "properties": {
- "password": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "password"
- ]
- },
- "CreateWebAuthnCredentialSchema": {
- "type": "object",
- "properties": {
- "credential": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "ticket": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "credential",
- "name",
- "ticket"
- ]
- },
- "APIErrorResponse": {
- "type": "object",
- "properties": {
- "code": {
- "type": "integer"
- },
- "message": {
- "type": "string"
- },
- "errors": {
- "type": "object",
- "additionalProperties": {
- "type": "object",
- "properties": {
- "_errors": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "message": {
- "type": "string"
- },
- "code": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "message"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "_errors"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "errors",
- "message"
- ]
- },
- "CaptchaRequiredResponse": {
- "type": "object",
- "properties": {
- "captcha_key": {
- "type": "string"
- },
- "captcha_sitekey": {
- "type": "string"
- },
- "captcha_service": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "captcha_key",
- "captcha_service",
- "captcha_sitekey"
- ]
- },
- "Guild": {
- "type": "object",
- "properties": {
- "afk_channel_id": {
- "type": "string"
- },
- "afk_channel": {
- "$ref": "#/definitions/Channel"
- },
- "afk_timeout": {
- "type": "integer"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "banner": {
- "type": "string"
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "description": {
- "type": "string"
- },
- "discovery_splash": {
- "type": "string"
- },
- "explicit_content_filter": {
- "type": "integer"
- },
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "primary_category_id": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "large": {
- "type": "boolean",
- "default": false
- },
- "max_members": {
- "type": "integer"
- },
- "max_presences": {
- "type": "integer"
- },
- "max_video_channel_users": {
- "type": "integer"
- },
- "member_count": {
- "type": "integer"
- },
- "presence_count": {
- "type": "integer"
- },
- "members": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Member"
- }
- },
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
- },
- "channels": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Channel"
- }
- },
- "template_id": {
- "type": "string"
- },
- "template": {
- "$ref": "#/definitions/Template"
- },
- "emojis": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Emoji"
- }
- },
- "stickers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Sticker"
- }
- },
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
- "mfa_level": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- },
- "owner_id": {
- "type": "string"
- },
- "owner": {
- "$ref": "#/definitions/User"
- },
- "preferred_locale": {
- "type": "string"
- },
- "premium_subscription_count": {
- "type": "integer"
- },
- "premium_tier": {
- "type": "integer"
- },
- "public_updates_channel_id": {
- "type": "string"
- },
- "public_updates_channel": {
- "$ref": "#/definitions/Channel"
- },
- "rules_channel_id": {
- "type": "string"
- },
- "rules_channel": {
- "type": "string"
- },
- "region": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_id": {
- "type": "string"
- },
- "system_channel": {
- "$ref": "#/definitions/Channel"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "unavailable": {
- "type": "boolean",
- "default": false
- },
- "verification_level": {
- "type": "integer"
- },
- "welcome_screen": {
- "$ref": "#/definitions/GuildWelcomeScreen"
- },
- "widget_channel_id": {
- "type": "string"
- },
- "widget_channel": {
- "$ref": "#/definitions/Channel"
- },
- "widget_enabled": {
- "type": "boolean",
- "default": true
- },
- "nsfw_level": {
- "type": "integer"
- },
- "nsfw": {
- "type": "boolean",
- "default": false
- },
- "parent": {
- "type": "string"
- },
- "permissions": {
- "type": "integer"
- },
- "premium_progress_bar_enabled": {
- "type": "boolean",
- "default": false
- },
- "channel_ordering": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "bans",
- "channel_ordering",
- "channels",
- "emojis",
- "features",
- "id",
- "invites",
- "members",
- "name",
- "nsfw",
- "premium_progress_bar_enabled",
- "public_updates_channel_id",
- "roles",
- "stickers",
- "template",
- "unavailable",
- "voice_states",
- "webhooks",
- "welcome_screen",
- "widget_enabled"
- ]
- },
- "Channel": {
- "type": "object",
- "properties": {
- "created_at": {
- "type": "string",
- "format": "date-time"
- },
- "name": {
- "type": "string"
- },
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "type": {
- "$ref": "#/definitions/ChannelType"
- },
- "recipients": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Recipient"
- }
- },
- "last_message_id": {
- "type": "string"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "parent_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "parent": {
- "$ref": "#/definitions/Channel"
- },
- "owner_id": {
- "type": "string"
- },
- "owner": {
- "$ref": "#/definitions/User"
- },
- "last_pin_timestamp": {
- "type": "integer"
- },
- "default_auto_archive_duration": {
- "type": "integer"
- },
- "permission_overwrites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ChannelPermissionOverwrite"
- }
- },
- "video_quality_mode": {
- "type": "integer"
- },
- "bitrate": {
- "type": "integer"
- },
- "user_limit": {
- "type": "integer"
- },
- "nsfw": {
- "type": "boolean",
- "default": false
- },
- "rate_limit_per_user": {
- "type": "integer"
- },
- "topic": {
- "type": "string"
- },
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "retention_policy_id": {
- "type": "string"
- },
- "messages": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Message"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "read_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ReadState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
- "flags": {
- "type": "integer",
- "default": 0
- },
- "default_thread_rate_limit_per_user": {
- "type": "integer",
- "default": 0
- },
- "position": {
- "description": "Must be calculated Channel.calculatePosition",
- "type": "integer"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "created_at",
- "default_thread_rate_limit_per_user",
- "flags",
- "id",
- "nsfw",
- "owner",
- "parent_id",
- "position",
- "type"
- ]
- },
- "ChannelType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 2,
- 255,
- 3,
- 33,
- 34,
- 35,
- 4,
- 5,
- 6,
- 64,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "Recipient": {
- "type": "object",
- "properties": {
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "closed": {
- "type": "boolean"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel",
- "channel_id",
- "closed",
- "id",
- "user",
- "user_id"
- ]
- },
- "User": {
- "type": "object",
- "properties": {
- "username": {
- "type": "string"
- },
- "discriminator": {
- "type": "string"
- },
- "avatar": {
- "type": "string"
- },
- "accent_color": {
- "type": "integer"
- },
- "banner": {
- "type": "string"
- },
- "theme_colors": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "pronouns": {
- "type": "string"
- },
- "phone": {
- "type": "string"
- },
- "desktop": {
- "type": "boolean",
- "default": false
- },
- "mobile": {
- "type": "boolean",
- "default": false
- },
- "premium": {
- "type": "boolean"
- },
- "premium_type": {
- "type": "integer"
- },
- "bot": {
- "type": "boolean",
- "default": false
- },
- "bio": {
- "type": "string",
- "default": ""
- },
- "system": {
- "type": "boolean",
- "default": false
- },
- "nsfw_allowed": {
- "type": "boolean",
- "default": true
- },
- "mfa_enabled": {
- "type": "boolean",
- "default": false
- },
- "webauthn_enabled": {
- "type": "boolean",
- "default": false
- },
- "totp_secret": {
- "type": "string",
- "default": ""
- },
- "totp_last_ticket": {
- "type": "string",
- "default": ""
- },
- "created_at": {
- "type": "string",
- "format": "date-time"
- },
- "premium_since": {
- "type": "string",
- "format": "date-time"
- },
- "verified": {
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean",
- "default": false
- },
- "deleted": {
- "type": "boolean",
- "default": false
- },
- "email": {
- "type": "string"
- },
- "flags": {
- "type": "integer",
- "default": 0
- },
- "public_flags": {
- "type": "integer",
- "default": 0
- },
- "purchased_flags": {
- "type": "integer",
- "default": 0
- },
- "premium_usage_flags": {
- "type": "integer",
- "default": 0
- },
- "rights": {
- "type": "string"
- },
- "sessions": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Session"
- }
- },
- "relationships": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Relationship"
- }
- },
- "connected_accounts": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ConnectedAccount"
- }
- },
- "data": {
- "type": "object",
- "properties": {
- "valid_tokens_since": {
- "type": "string",
- "format": "date-time"
- },
- "hash": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "valid_tokens_since"
- ]
- },
- "fingerprints": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "settings": {
- "$ref": "#/definitions/UserSettings"
- },
- "extended_settings": {
- "type": "string",
- "default": "{}"
- },
- "security_keys": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SecurityKey"
- }
- },
- "badge_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "bio",
- "bot",
- "connected_accounts",
- "created_at",
- "data",
- "deleted",
- "desktop",
- "disabled",
- "discriminator",
- "extended_settings",
- "fingerprints",
- "flags",
- "id",
- "mfa_enabled",
- "mobile",
- "nsfw_allowed",
- "premium",
- "premium_since",
- "premium_type",
- "premium_usage_flags",
- "public_flags",
- "purchased_flags",
- "relationships",
- "rights",
- "security_keys",
- "sessions",
- "settings",
- "system",
- "username",
- "verified",
- "webauthn_enabled"
- ]
- },
- "Session": {
- "type": "object",
- "properties": {
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "session_id": {
- "type": "string"
- },
- "activities": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Activity"
- }
- },
- "client_info": {
- "type": "object",
- "properties": {
- "client": {
- "type": "string"
- },
- "os": {
- "type": "string"
- },
- "version": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "client",
- "os",
- "version"
- ]
- },
- "client_status": {
- "$ref": "#/definitions/ClientStatus"
- },
- "status": {
- "$ref": "#/definitions/Status"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "activities",
- "client_info",
- "client_status",
- "id",
- "session_id",
- "status",
- "user",
- "user_id"
- ]
- },
- "ClientStatus": {
- "type": "object",
- "properties": {
- "desktop": {
- "type": "string"
- },
- "mobile": {
- "type": "string"
- },
- "web": {
- "type": "string"
- },
- "embedded": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "Relationship": {
- "type": "object",
- "properties": {
- "from_id": {
- "type": "string"
- },
- "from": {
- "$ref": "#/definitions/User"
- },
- "to_id": {
- "type": "string"
- },
- "to": {
- "$ref": "#/definitions/User"
- },
- "nickname": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/RelationshipType"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "from",
- "from_id",
- "id",
- "to",
- "to_id",
- "type"
- ]
- },
- "RelationshipType": {
- "enum": [
- 1,
- 2,
- 3,
- 4
- ],
- "type": "number"
- },
- "ConnectedAccount": {
- "type": "object",
- "properties": {
- "external_id": {
- "type": "string"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "friend_sync": {
- "type": "boolean",
- "default": false
- },
- "name": {
- "type": "string"
- },
- "revoked": {
- "type": "boolean",
- "default": false
- },
- "show_activity": {
- "type": "integer",
- "default": 0
- },
- "type": {
- "type": "string"
- },
- "verified": {
- "type": "boolean",
- "default": true
- },
- "visibility": {
- "type": "integer",
- "default": 0
- },
- "integrations": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "metadata_": {},
- "metadata_visibility": {
- "type": "integer",
- "default": 0
- },
- "two_way_link": {
- "type": "boolean",
- "default": false
- },
- "token_data": {
- "anyOf": [
- {
- "$ref": "#/definitions/ConnectedAccountTokenData"
- },
- {
- "type": "null"
- }
- ]
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "external_id",
- "id",
- "name",
- "type",
- "user",
- "user_id"
- ]
- },
- "UserSettings": {
- "type": "object",
- "properties": {
- "index": {
- "type": "string"
- },
- "afk_timeout": {
- "type": "integer",
- "default": 3600
- },
- "allow_accessibility_detection": {
- "type": "boolean",
- "default": true
- },
- "animate_emoji": {
- "type": "boolean",
- "default": true
- },
- "animate_stickers": {
- "type": "integer",
- "default": 0
- },
- "contact_sync_enabled": {
- "type": "boolean",
- "default": false
- },
- "convert_emoticons": {
- "type": "boolean",
- "default": false
- },
- "custom_status": {
- "anyOf": [
- {
- "$ref": "#/definitions/CustomStatus"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "default_guilds_restricted": {
- "type": "boolean",
- "default": false
- },
- "detect_platform_accounts": {
- "type": "boolean",
- "default": false
- },
- "developer_mode": {
- "type": "boolean",
- "default": true
- },
- "disable_games_tab": {
- "type": "boolean",
- "default": true
- },
- "enable_tts_command": {
- "type": "boolean",
- "default": false
- },
- "explicit_content_filter": {
- "type": "integer",
- "default": 0
- },
- "friend_discovery_flags": {
- "type": "integer",
- "default": 0
- },
- "friend_source_flags": {
- "$ref": "#/definitions/FriendSourceFlags"
- },
- "gateway_connected": {
- "type": "boolean",
- "default": false
- },
- "gif_auto_play": {
- "type": "boolean",
- "default": false
- },
- "guild_folders": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/GuildFolder"
- },
- "default": []
- },
- "guild_positions": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "inline_attachment_media": {
- "type": "boolean",
- "default": true
- },
- "inline_embed_media": {
- "type": "boolean",
- "default": true
- },
- "locale": {
- "type": "string",
- "default": "en-US"
- },
- "message_display_compact": {
- "type": "boolean",
- "default": false
- },
- "native_phone_integration_enabled": {
- "type": "boolean",
- "default": true
- },
- "render_embeds": {
- "type": "boolean",
- "default": true
- },
- "render_reactions": {
- "type": "boolean",
- "default": true
- },
- "restricted_guilds": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "show_current_game": {
- "type": "boolean",
- "default": true
- },
- "status": {
- "enum": [
- "dnd",
- "idle",
- "invisible",
- "offline",
- "online"
- ],
- "type": "string",
- "default": "online"
- },
- "stream_notifications_enabled": {
- "type": "boolean",
- "default": false
- },
- "theme": {
- "enum": [
- "dark",
- "light"
- ],
- "type": "string",
- "default": "dark"
- },
- "timezone_offset": {
- "type": "integer",
- "default": 0
- },
- "view_nsfw_guilds": {
- "type": "boolean",
- "default": true
- }
- },
- "additionalProperties": false,
- "required": [
- "afk_timeout",
- "allow_accessibility_detection",
- "animate_emoji",
- "animate_stickers",
- "contact_sync_enabled",
- "convert_emoticons",
- "custom_status",
- "default_guilds_restricted",
- "detect_platform_accounts",
- "developer_mode",
- "disable_games_tab",
- "enable_tts_command",
- "explicit_content_filter",
- "friend_discovery_flags",
- "friend_source_flags",
- "gateway_connected",
- "gif_auto_play",
- "guild_folders",
- "guild_positions",
- "index",
- "inline_attachment_media",
- "inline_embed_media",
- "locale",
- "message_display_compact",
- "native_phone_integration_enabled",
- "render_embeds",
- "render_reactions",
- "restricted_guilds",
- "show_current_game",
- "status",
- "stream_notifications_enabled",
- "theme",
- "timezone_offset",
- "view_nsfw_guilds"
- ]
- },
- "SecurityKey": {
- "type": "object",
- "properties": {
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "key_id": {
- "type": "string"
- },
- "public_key": {
- "type": "string"
- },
- "counter": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "counter",
- "id",
- "key_id",
- "name",
- "public_key",
- "user",
- "user_id"
- ]
- },
- "ChannelPermissionOverwrite": {
- "type": "object",
- "properties": {
- "allow": {
- "type": "string"
- },
- "deny": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/ChannelPermissionOverwriteType"
- }
- },
- "additionalProperties": false,
- "required": [
- "allow",
- "deny",
- "id",
- "type"
- ]
- },
- "Invite": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "temporary": {
- "type": "boolean"
- },
- "uses": {
- "type": "integer"
- },
- "max_uses": {
- "type": "integer"
- },
- "max_age": {
- "type": "integer"
- },
- "created_at": {
- "type": "string",
- "format": "date-time"
- },
- "expires_at": {
- "type": "string",
- "format": "date-time"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "inviter_id": {
- "type": "string"
- },
- "inviter": {
- "$ref": "#/definitions/User"
- },
- "target_user_id": {
- "type": "string"
- },
- "target_user": {
- "type": "string"
- },
- "target_user_type": {
- "type": "integer"
- },
- "vanity_url": {
- "type": "boolean"
- },
- "flags": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel",
- "channel_id",
- "code",
- "created_at",
- "flags",
- "guild",
- "guild_id",
- "inviter",
- "max_age",
- "max_uses",
- "target_user_id",
- "temporary",
- "uses"
- ]
- },
- "Message": {
- "type": "object",
- "properties": {
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "author_id": {
- "type": "string"
- },
- "author": {
- "$ref": "#/definitions/User"
- },
- "member_id": {
- "type": "string"
- },
- "member": {
- "$ref": "#/definitions/Member"
- },
- "webhook_id": {
- "type": "string"
- },
- "webhook": {
- "$ref": "#/definitions/Webhook"
- },
- "application_id": {
- "type": "string"
- },
- "application": {
- "$ref": "#/definitions/Application"
- },
- "content": {
- "type": "string"
- },
- "timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "edited_timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "tts": {
- "type": "boolean"
- },
- "mention_everyone": {
- "type": "boolean"
- },
- "mentions": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/User"
- }
- },
- "mention_roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
- },
- "mention_channels": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Channel"
- }
- },
- "sticker_items": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Sticker"
- }
- },
- "attachments": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Attachment"
- }
- },
- "embeds": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Embed"
- }
- },
- "reactions": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Reaction"
- }
- },
- "nonce": {
- "type": "string"
- },
- "pinned": {
- "type": "boolean"
- },
- "type": {
- "$ref": "#/definitions/MessageType"
- },
- "activity": {
- "type": "object",
- "properties": {
- "type": {
- "type": "integer"
- },
- "party_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "party_id",
- "type"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "message_reference": {
- "type": "object",
- "properties": {
- "message_id": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- },
- "guild_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "message_id"
- ]
- },
- "referenced_message": {
- "$ref": "#/definitions/Message"
- },
- "interaction": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/InteractionType"
- },
- "name": {
- "type": "string"
- },
- "user_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name",
- "type",
- "user_id"
- ]
- },
- "components": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ActionRowComponent"
- }
- },
- "poll": {
- "$ref": "#/definitions/Poll"
- },
- "username": {
- "type": "string"
- },
- "avatar": {
- "type": "string"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel",
- "embeds",
- "flags",
- "id",
- "mention_channels",
- "mention_roles",
- "mentions",
- "reactions",
- "timestamp",
- "type"
- ]
- },
- "Member": {
- "type": "object",
- "properties": {
- "index": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "nick": {
- "type": "string"
- },
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
- },
- "joined_at": {
- "type": "string",
- "format": "date-time"
- },
- "premium_since": {
- "type": "integer"
- },
- "deaf": {
- "type": "boolean"
- },
- "mute": {
- "type": "boolean"
- },
- "pending": {
- "type": "boolean"
- },
- "settings": {
- "$ref": "#/definitions/UserGuildSettings"
- },
- "last_message_id": {
- "type": "string"
- },
- "joined_by": {
- "type": "string"
- },
- "avatar": {
- "type": "string"
- },
- "banner": {
- "type": "string"
- },
- "bio": {
- "type": "string"
- },
- "theme_colors": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "pronouns": {
- "type": "string"
- },
- "communication_disabled_until": {
- "type": "string",
- "format": "date-time"
- }
- },
- "additionalProperties": false,
- "required": [
- "banner",
- "bio",
- "communication_disabled_until",
- "deaf",
- "guild",
- "guild_id",
- "id",
- "index",
- "joined_at",
- "joined_by",
- "mute",
- "pending",
- "roles",
- "settings",
- "user"
- ]
- },
- "Role": {
- "type": "object",
- "properties": {
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "color": {
- "type": "integer"
- },
- "hoist": {
- "type": "boolean"
- },
- "managed": {
- "type": "boolean"
- },
- "mentionable": {
- "type": "boolean"
- },
- "name": {
- "type": "string"
- },
- "permissions": {
- "type": "string"
- },
- "position": {
- "type": "integer"
- },
- "icon": {
- "type": "string"
- },
- "unicode_emoji": {
- "type": "string"
- },
- "tags": {
- "type": "object",
- "properties": {
- "bot_id": {
- "type": "string"
- },
- "integration_id": {
- "type": "string"
- },
- "premium_subscriber": {
- "type": "boolean"
- }
- },
- "additionalProperties": false
- },
- "flags": {
- "type": "integer"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "color",
- "flags",
- "guild",
- "guild_id",
- "hoist",
- "id",
- "managed",
- "mentionable",
- "name",
- "permissions",
- "position"
- ]
- },
- "UserGuildSettings": {
- "type": "object",
- "properties": {
- "channel_overrides": {
- "anyOf": [
- {
- "type": "object",
- "additionalProperties": {
- "$ref": "#/definitions/ChannelOverride"
- }
- },
- {
- "type": "null"
- }
- ]
- },
- "message_notifications": {
- "type": "integer"
- },
- "mobile_push": {
- "type": "boolean"
- },
- "mute_config": {
- "anyOf": [
- {
- "$ref": "#/definitions/MuteConfig"
- },
- {
- "type": "null"
- }
- ]
- },
- "muted": {
- "type": "boolean"
- },
- "suppress_everyone": {
- "type": "boolean"
- },
- "suppress_roles": {
- "type": "boolean"
- },
- "version": {
- "type": "integer"
- },
- "guild_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "mute_scheduled_events": {
- "type": "boolean"
- },
- "hide_muted_channels": {
- "type": "boolean"
- },
- "notify_highlights": {
- "type": "number",
- "enum": [
- 0
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "channel_overrides",
- "flags",
- "guild_id",
- "hide_muted_channels",
- "message_notifications",
- "mobile_push",
- "mute_config",
- "mute_scheduled_events",
- "muted",
- "notify_highlights",
- "suppress_everyone",
- "suppress_roles",
- "version"
- ]
- },
- "Webhook": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/definitions/WebhookType"
- },
- "name": {
- "type": "string"
- },
- "avatar": {
- "type": "string"
- },
- "token": {
- "type": "string"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "application_id": {
- "type": "string"
- },
- "application": {
- "$ref": "#/definitions/Application"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "source_guild_id": {
- "type": "string"
- },
- "source_guild": {
- "$ref": "#/definitions/Guild"
- },
- "source_channel_id": {
- "type": "string"
- },
- "source_channel": {
- "$ref": "#/definitions/Channel"
- },
- "url": {
- "type": "string"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "application",
- "application_id",
- "avatar",
- "channel",
- "channel_id",
- "id",
- "name",
- "source_channel",
- "source_channel_id",
- "type",
- "url",
- "user",
- "user_id"
- ]
- },
- "WebhookType": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "Application": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "summary": {
- "type": "string",
- "default": ""
- },
- "type": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "hook": {
- "type": "boolean",
- "default": true
- },
- "bot_public": {
- "type": "boolean",
- "default": true
- },
- "bot_require_code_grant": {
- "type": "boolean",
- "default": false
- },
- "verify_key": {
- "type": "string"
- },
- "owner": {
- "$ref": "#/definitions/User"
- },
- "flags": {
- "type": "integer",
- "default": 0
- },
- "redirect_uris": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "rpc_application_state": {
- "type": "integer",
- "default": 0
- },
- "store_application_state": {
- "type": "integer",
- "default": 1
- },
- "verification_state": {
- "type": "integer",
- "default": 1
- },
- "interactions_endpoint_url": {
- "type": "string"
- },
- "integration_public": {
- "type": "boolean",
- "default": true
- },
- "integration_require_code_grant": {
- "type": "boolean",
- "default": false
- },
- "discoverability_state": {
- "type": "integer",
- "default": 1
- },
- "discovery_eligibility_flags": {
- "type": "integer",
- "default": 2240
- },
- "bot": {
- "$ref": "#/definitions/User"
- },
- "tags": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "cover_image": {
- "type": "string"
- },
- "install_params": {
- "type": "object",
- "properties": {
- "scopes": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "permissions": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "permissions",
- "scopes"
- ]
- },
- "terms_of_service_url": {
- "type": "string"
- },
- "privacy_policy_url": {
- "type": "string"
- },
- "team": {
- "$ref": "#/definitions/Team"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "description",
- "discoverability_state",
- "discovery_eligibility_flags",
- "flags",
- "hook",
- "id",
- "integration_public",
- "integration_require_code_grant",
- "name",
- "owner",
- "redirect_uris",
- "rpc_application_state",
- "store_application_state",
- "summary",
- "verification_state",
- "verify_key"
- ]
- },
- "Team": {
- "type": "object",
- "properties": {
- "icon": {
- "type": "string"
- },
- "members": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/TeamMember"
- }
- },
- "name": {
- "type": "string"
- },
- "owner_user_id": {
- "type": "string"
- },
- "owner_user": {
- "$ref": "#/definitions/User"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "members",
- "name",
- "owner_user",
- "owner_user_id"
- ]
- },
- "TeamMember": {
- "type": "object",
- "properties": {
- "membership_state": {
- "$ref": "#/definitions/TeamMemberState"
- },
- "permissions": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "team_id": {
- "type": "string"
- },
- "team": {
- "$ref": "#/definitions/Team"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "membership_state",
- "permissions",
- "team",
- "team_id",
- "user",
- "user_id"
- ]
- },
- "TeamMemberState": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
- },
- "Sticker": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "available": {
- "type": "boolean"
- },
- "tags": {
- "type": "string"
- },
- "pack_id": {
- "type": "string"
- },
- "pack": {
- "$ref": "#/definitions/StickerPack"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "type": {
- "$ref": "#/definitions/StickerType"
- },
- "format_type": {
- "$ref": "#/definitions/StickerFormatType"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "format_type",
- "id",
- "name",
- "pack",
- "type"
- ]
- },
- "StickerPack": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "banner_asset_id": {
- "type": "string"
- },
- "stickers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Sticker"
- }
- },
- "cover_sticker_id": {
- "type": "string"
- },
- "cover_sticker": {
- "$ref": "#/definitions/Sticker"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name",
- "stickers"
- ]
- },
- "StickerType": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
- },
- "StickerFormatType": {
- "enum": [
- 0,
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "Attachment": {
- "type": "object",
- "properties": {
- "filename": {
- "type": "string"
- },
- "size": {
- "type": "integer"
- },
- "url": {
- "type": "string"
- },
- "proxy_url": {
- "type": "string"
- },
- "height": {
- "type": "integer"
- },
- "width": {
- "type": "integer"
- },
- "content_type": {
- "type": "string"
- },
- "message_id": {
- "type": "string"
- },
- "message": {
- "$ref": "#/definitions/Message"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "filename",
- "id",
- "message",
- "message_id",
- "proxy_url",
- "size",
- "url"
- ]
- },
- "Reaction": {
- "type": "object",
- "properties": {
- "count": {
- "type": "integer"
- },
- "emoji": {
- "$ref": "#/definitions/PartialEmoji"
- },
- "user_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "count",
- "emoji",
- "user_ids"
- ]
- },
- "MessageType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 19,
- 2,
- 20,
- 255,
- 3,
- 4,
- 41,
- 42,
- 43,
- 5,
- 50,
- 6,
- 63,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "InteractionType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "Poll": {
- "type": "object",
- "properties": {
- "question": {
- "$ref": "#/definitions/PollMedia"
- },
- "answers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PollAnswer"
- }
- },
- "expiry": {
- "type": "string",
- "format": "date-time"
- },
- "allow_multiselect": {
- "type": "boolean"
- },
- "results": {
- "$ref": "#/definitions/PollResult"
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_multiselect",
- "answers",
- "expiry",
- "question"
- ]
- },
- "PollResult": {
- "type": "object",
- "properties": {
- "is_finalized": {
- "type": "boolean"
- },
- "answer_counts": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PollAnswerCount"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "answer_counts",
- "is_finalized"
- ]
- },
- "PollAnswerCount": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "count": {
- "type": "integer"
- },
- "me_voted": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "count",
- "id",
- "me_voted"
- ]
- },
- "VoiceState": {
- "type": "object",
- "properties": {
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "member": {
- "$ref": "#/definitions/Member"
- },
- "session_id": {
- "type": "string"
- },
- "token": {
- "type": "string"
- },
- "deaf": {
- "type": "boolean"
- },
- "mute": {
- "type": "boolean"
- },
- "self_deaf": {
- "type": "boolean"
- },
- "self_mute": {
- "type": "boolean"
- },
- "self_stream": {
- "type": "boolean"
- },
- "self_video": {
- "type": "boolean"
- },
- "suppress": {
- "type": "boolean"
- },
- "request_to_speak_timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel",
- "channel_id",
- "deaf",
- "guild_id",
- "id",
- "member",
- "mute",
- "self_deaf",
- "self_mute",
- "self_video",
- "session_id",
- "suppress",
- "token",
- "user",
- "user_id"
- ]
- },
- "ReadState": {
- "type": "object",
- "properties": {
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "last_message_id": {
- "type": "string"
- },
- "public_ack": {
- "type": "string"
- },
- "notifications_cursor": {
- "type": "string"
- },
- "last_pin_timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "mention_count": {
- "type": "integer"
- },
- "manual": {
- "type": "boolean"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel",
- "channel_id",
- "id",
- "last_message_id",
- "manual",
- "mention_count",
- "notifications_cursor",
- "public_ack",
- "user",
- "user_id"
- ]
- },
- "Ban": {
- "type": "object",
- "properties": {
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "executor_id": {
- "type": "string"
- },
- "executor": {
- "$ref": "#/definitions/User"
- },
- "ip": {
- "type": "string"
- },
- "reason": {
- "type": "string"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "executor",
- "executor_id",
- "guild",
- "guild_id",
- "id",
- "ip",
- "user",
- "user_id"
- ]
- },
- "Template": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "usage_count": {
- "type": "integer"
- },
- "creator_id": {
- "type": "string"
- },
- "creator": {
- "$ref": "#/definitions/User"
- },
- "created_at": {
- "type": "string",
- "format": "date-time"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time"
- },
- "source_guild_id": {
- "type": "string"
- },
- "source_guild": {
- "$ref": "#/definitions/Guild"
- },
- "serialized_source_guild": {
- "$ref": "#/definitions/Guild"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "created_at",
- "creator",
- "creator_id",
- "id",
- "name",
- "serialized_source_guild",
- "source_guild",
- "source_guild_id",
- "updated_at"
- ]
- },
- "Emoji": {
- "type": "object",
- "properties": {
- "animated": {
- "type": "boolean"
- },
- "available": {
- "type": "boolean"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "managed": {
- "type": "boolean"
- },
- "name": {
- "type": "string"
- },
- "require_colons": {
- "type": "boolean"
- },
- "roles": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "groups": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "animated",
- "available",
- "groups",
- "guild",
- "guild_id",
- "id",
- "managed",
- "name",
- "require_colons",
- "roles",
- "user",
- "user_id"
- ]
- },
- "GuildWelcomeScreen": {
- "type": "object",
- "properties": {
- "enabled": {
- "type": "boolean"
- },
- "description": {
- "type": "string"
- },
- "welcome_channels": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "description": {
- "type": "string"
- },
- "emoji_id": {
- "type": "string"
- },
- "emoji_name": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel_id",
- "description"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "description",
- "enabled",
- "welcome_channels"
- ]
- },
- "GuildMessagesSearchMessage": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/MessageType"
- },
- "content": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- },
- "author": {
- "$ref": "#/definitions/PublicUser"
- },
- "attachments": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Attachment"
- }
- },
- "embeds": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Embed"
- }
- },
- "mentions": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PublicUser"
- }
- },
- "mention_roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
- },
- "pinned": {
- "type": "boolean"
- },
- "mention_everyone": {
- "type": "boolean"
- },
- "tts": {
- "type": "boolean"
- },
- "timestamp": {
- "type": "string"
- },
- "edited_timestamp": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "components": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ActionRowComponent"
- }
- },
- "poll": {
- "$ref": "#/definitions/Poll"
- },
- "hit": {
- "type": "boolean",
- "enum": [
- true
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "attachments",
- "author",
- "channel_id",
- "components",
- "edited_timestamp",
- "embeds",
- "flags",
- "hit",
- "id",
- "mention_roles",
- "mentions",
- "pinned",
- "poll",
- "timestamp",
- "tts",
- "type"
- ]
- },
- "PublicUser": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "premium_since": {
- "type": "string",
- "format": "date-time"
- },
- "avatar": {
- "type": "string"
- },
- "username": {
- "type": "string"
- },
- "discriminator": {
- "type": "string"
- },
- "public_flags": {
- "type": "integer"
- },
- "accent_color": {
- "type": "integer"
- },
- "banner": {
- "type": "string"
- },
- "bio": {
- "type": "string"
- },
- "bot": {
- "type": "boolean"
- },
- "premium_type": {
- "type": "integer"
- },
- "theme_colors": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "pronouns": {
- "type": "string"
- },
- "badge_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "bio",
- "bot",
- "discriminator",
- "id",
- "premium_since",
- "premium_type",
- "public_flags",
- "username"
- ]
- },
- "GuildVanityUrl": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "uses": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "uses"
- ]
- },
- "GuildVanityUrlNoInvite": {
- "type": "object",
- "properties": {
- "code": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "code"
- ]
- },
- "Snowflake": {
- "description": "A container for useful snowflake-related methods.",
- "type": "object",
- "additionalProperties": false
- },
- "TenorGifResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "src": {
- "type": "string"
- },
- "gif_src": {
- "type": "string"
- },
- "width": {
- "type": "integer"
- },
- "height": {
- "type": "integer"
- },
- "preview": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "gif_src",
- "height",
- "id",
- "preview",
- "src",
- "title",
- "url",
- "width"
- ]
- },
- "BackupCode": {
- "type": "object",
- "properties": {
- "user": {
- "$ref": "#/definitions/User"
- },
- "code": {
- "type": "string"
- },
- "consumed": {
- "type": "boolean"
- },
- "expired": {
- "type": "boolean"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "consumed",
- "expired",
- "id",
- "user"
- ]
- },
- "APIGuild": {
- "type": "object",
- "properties": {
- "reload": {
- "description": "Reloads entity data from the database.",
- "type": "object",
- "additionalProperties": false
- },
- "name": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "parent": {
- "type": "string"
- },
- "owner_id": {
- "type": "string"
- },
- "nsfw": {
- "type": "boolean"
- },
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
- "toJSON": {
- "type": "object",
- "additionalProperties": false
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
- },
- "assign": {
- "type": "object",
- "additionalProperties": false
- },
- "hasId": {
- "description": "Checks if entity has an id.\nIf entity composite compose ids, it will check them all.",
- "type": "object",
- "additionalProperties": false
- },
- "save": {
- "description": "Saves current entity in the database.\nIf entity does not exist in the database then inserts, otherwise updates.",
- "type": "object",
- "additionalProperties": false
- },
- "remove": {
- "description": "Removes current entity from the database.",
- "type": "object",
- "additionalProperties": false
- },
- "softRemove": {
- "description": "Records the delete date of current entity.",
- "type": "object",
- "additionalProperties": false
- },
- "recover": {
- "description": "Recovers a given entity in the database.",
- "type": "object",
- "additionalProperties": false
- },
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
- },
- "banner": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "unavailable": {
- "type": "boolean"
- },
- "channels": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Channel"
- }
- },
- "region": {
- "type": "string"
- },
- "system_channel_id": {
- "type": "string"
- },
- "rules_channel_id": {
- "type": "string"
- },
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
- },
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
- "type": "string"
- },
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "primary_category_id": {
- "type": "string"
- },
- "large": {
- "type": "boolean"
- },
- "max_members": {
- "type": "integer"
- },
- "max_presences": {
- "type": "integer"
- },
- "max_video_channel_users": {
- "type": "integer"
- },
- "member_count": {
- "type": "integer"
- },
- "presence_count": {
- "type": "integer"
- },
- "members": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Member"
- }
- },
- "template_id": {
- "type": "string"
- },
- "emojis": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Emoji"
- }
- },
- "stickers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Sticker"
- }
- },
- "mfa_level": {
- "type": "integer"
- },
- "preferred_locale": {
- "type": "string"
- },
- "premium_subscription_count": {
- "type": "integer"
- },
- "premium_tier": {
- "type": "integer"
- },
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
- "welcome_screen": {
- "$ref": "#/definitions/GuildWelcomeScreen"
- },
- "widget_channel_id": {
- "type": "string"
- },
- "widget_enabled": {
- "type": "boolean"
- },
- "nsfw_level": {
- "type": "integer"
- },
- "permissions": {
- "type": "integer"
- },
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
- "channel_ordering": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "_do_validate",
- "assign",
- "bans",
- "channel_ordering",
- "channels",
- "emojis",
- "features",
- "hasId",
- "id",
- "invites",
- "members",
- "name",
- "nsfw",
- "premium_progress_bar_enabled",
- "public_updates_channel_id",
- "recover",
- "reload",
- "remove",
- "roles",
- "save",
- "softRemove",
- "stickers",
- "toJSON",
- "unavailable",
- "voice_states",
- "webhooks",
- "welcome_screen",
- "widget_enabled"
- ]
- },
- "DmChannelDTO": {
- "type": "object",
- "properties": {
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "id": {
- "type": "string"
- },
- "last_message_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "name": {
- "type": [
- "null",
- "string"
- ]
- },
- "origin_channel_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "owner_id": {
- "type": "string"
- },
- "recipients": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/MinimalPublicUserDTO"
- }
- },
- "type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "icon",
- "id",
- "last_message_id",
- "name",
- "origin_channel_id",
- "recipients",
- "type"
- ]
- },
- "MinimalPublicUserDTO": {
- "type": "object",
- "properties": {
- "avatar": {
- "type": [
- "null",
- "string"
- ]
- },
- "discriminator": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "public_flags": {
- "type": "integer"
- },
- "username": {
- "type": "string"
- },
- "badge_ids": {
- "anyOf": [
- {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "discriminator",
- "id",
- "public_flags",
- "username"
- ]
- },
- "Categories": {
- "type": "object",
- "properties": {
- "id": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- },
- "localizations": {
- "type": "string"
- },
- "is_primary": {
- "type": "boolean"
- },
- "icon": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "is_primary",
- "localizations",
- "name"
- ]
- },
- "GuildVoiceRegion": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "custom": {
- "type": "boolean"
- },
- "deprecated": {
- "type": "boolean"
- },
- "optimal": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom",
- "deprecated",
- "id",
- "name",
- "optimal"
- ]
- },
- "UserLimits": {
- "type": "object",
- "properties": {
- "maxGuilds": {
- "type": "integer",
- "default": 1048576
- },
- "maxUsername": {
- "type": "integer",
- "default": 32
- },
- "maxFriends": {
- "type": "integer",
- "default": 5000
- },
- "maxBio": {
- "type": "integer",
- "default": 190
- }
- },
- "additionalProperties": false,
- "required": [
- "maxBio",
- "maxFriends",
- "maxGuilds",
- "maxUsername"
- ]
- },
- "GuildLimits": {
- "type": "object",
- "properties": {
- "maxRoles": {
- "type": "integer",
- "default": 1000
- },
- "maxEmojis": {
- "type": "integer",
- "default": 2000
- },
- "maxMembers": {
- "type": "integer",
- "default": 25000000
- },
- "maxChannels": {
- "type": "integer",
- "default": 65535
- },
- "maxBulkBanUsers": {
- "type": "integer",
- "default": 200
- },
- "maxChannelsInCategory": {
- "type": "integer",
- "default": 65535
- }
- },
- "additionalProperties": false,
- "required": [
- "maxBulkBanUsers",
- "maxChannels",
- "maxChannelsInCategory",
- "maxEmojis",
- "maxMembers",
- "maxRoles"
- ]
- },
- "MessageLimits": {
- "type": "object",
- "properties": {
- "maxCharacters": {
- "type": "integer",
- "default": 1048576
- },
- "maxTTSCharacters": {
- "type": "integer",
- "default": 160
- },
- "maxReactions": {
- "type": "integer",
- "default": 2048
- },
- "maxAttachmentSize": {
- "type": "integer",
- "default": 1073741824
- },
- "maxBulkDelete": {
- "type": "integer",
- "default": 1000
- },
- "maxEmbedDownloadSize": {
- "type": "integer",
- "default": 5242880
- }
- },
- "additionalProperties": false,
- "required": [
- "maxAttachmentSize",
- "maxBulkDelete",
- "maxCharacters",
- "maxEmbedDownloadSize",
- "maxReactions",
- "maxTTSCharacters"
- ]
- },
- "ChannelLimits": {
- "type": "object",
- "properties": {
- "maxPins": {
- "type": "integer",
- "default": 500
- },
- "maxTopic": {
- "type": "integer",
- "default": 1024
- },
- "maxWebhooks": {
- "type": "integer",
- "default": 100
- }
- },
- "additionalProperties": false,
- "required": [
- "maxPins",
- "maxTopic",
- "maxWebhooks"
- ]
- },
- "RateLimits": {
- "type": "object",
- "properties": {
- "enabled": {
- "type": "boolean",
- "default": false
- },
- "ip": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "global": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "error": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "routes": {
- "$ref": "#/definitions/RouteRateLimit"
- }
- },
- "additionalProperties": false,
- "required": [
- "enabled",
- "error",
- "global",
- "ip",
- "routes"
- ]
- },
- "RateLimitOptions": {
- "type": "object",
- "properties": {
- "bot": {
- "type": "integer"
- },
- "count": {
- "type": "integer"
- },
- "window": {
- "type": "integer"
- },
- "onyIp": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "count",
- "window"
- ]
- },
- "RouteRateLimit": {
- "type": "object",
- "properties": {
- "guild": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "webhook": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "channel": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "auth": {}
- },
- "additionalProperties": false,
- "required": [
- "auth",
- "channel",
- "guild",
- "webhook"
- ]
- },
- "GlobalRateLimits": {
- "type": "object",
- "properties": {
- "register": {
- "$ref": "#/definitions/GlobalRateLimit"
- },
- "sendMessage": {
- "$ref": "#/definitions/GlobalRateLimit"
- }
- },
- "additionalProperties": false,
- "required": [
- "register",
- "sendMessage"
- ]
- },
- "GlobalRateLimit": {
- "type": "object",
- "properties": {
- "limit": {
- "type": "integer",
- "default": 100
- },
- "window": {
- "type": "integer",
- "default": 3600000
- },
- "enabled": {
- "type": "boolean",
- "default": true
- }
- },
- "additionalProperties": false,
- "required": [
- "enabled",
- "limit",
- "window"
- ]
- },
- "PublicConnectedAccount": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "type": {
- "type": "string"
- },
- "verified": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "name",
- "type"
- ]
- },
- "UserProfile": {
- "type": "object",
- "properties": {
- "accent_color": {
- "type": "integer"
- },
- "banner": {
- "type": "string"
- },
- "bio": {
- "type": "string"
- },
- "theme_colors": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "pronouns": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "bio"
- ]
- },
- "Badge": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "link": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "description",
- "icon",
- "id"
- ]
- },
- "TokenResponse": {
- "type": "object",
- "properties": {
- "token": {
- "type": "string"
- },
- "settings": {
- "$ref": "#/definitions/UserSettings"
- }
- },
- "additionalProperties": false,
- "required": [
- "settings",
- "token"
- ]
- },
- "MFAResponse": {
- "type": "object",
- "properties": {
- "ticket": {
- "type": "string"
- },
- "mfa": {
- "type": "boolean",
- "enum": [
- true
- ]
- },
- "sms": {
- "type": "boolean",
- "enum": [
- false
- ]
- },
- "token": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "mfa",
- "sms",
- "ticket",
- "token"
- ]
- },
- "WebAuthnResponse": {
- "type": "object",
- "properties": {
- "webauthn": {
- "type": "string"
- },
- "ticket": {
- "type": "string"
- },
- "mfa": {
- "type": "boolean",
- "enum": [
- true
- ]
- },
- "sms": {
- "type": "boolean",
- "enum": [
- false
- ]
- },
- "token": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "mfa",
- "sms",
- "ticket",
- "token",
- "webauthn"
- ]
- }
- },
"$schema": "http://json-schema.org/draft-07/schema#"
},
"BanRegistrySchema": {
@@ -48099,4772 +240,6 @@
"id",
"user_id"
],
- "definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
- "ChannelPermissionOverwriteType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "ConnectedAccountTokenData": {
- "type": "object",
- "properties": {
- "access_token": {
- "type": "string"
- },
- "token_type": {
- "type": "string"
- },
- "scope": {
- "type": "string"
- },
- "refresh_token": {
- "type": "string"
- },
- "expires_in": {
- "type": "integer"
- },
- "expires_at": {
- "type": "integer"
- },
- "fetched_at": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "access_token",
- "fetched_at"
- ]
- },
- "ChannelModifySchema": {
- "type": "object",
- "properties": {
- "name": {
- "maxLength": 100,
- "type": "string"
- },
- "type": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 2,
- 255,
- 3,
- 33,
- 34,
- 35,
- 4,
- 5,
- 6,
- 64,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "topic": {
- "type": "string"
- },
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "bitrate": {
- "type": "integer"
- },
- "user_limit": {
- "type": "integer"
- },
- "rate_limit_per_user": {
- "type": "integer"
- },
- "position": {
- "type": "integer"
- },
- "permission_overwrites": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/ChannelPermissionOverwriteType"
- },
- "allow": {
- "type": "string"
- },
- "deny": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "allow",
- "deny",
- "id",
- "type"
- ]
- }
- },
- "parent_id": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "nsfw": {
- "type": "boolean"
- },
- "rtc_region": {
- "type": "string"
- },
- "default_auto_archive_duration": {
- "type": "integer"
- },
- "default_reaction_emoji": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "default_thread_rate_limit_per_user": {
- "type": "integer"
- },
- "video_quality_mode": {
- "type": "integer"
- }
- },
- "additionalProperties": false
- },
- "ActivitySchema": {
- "type": "object",
- "properties": {
- "afk": {
- "type": "boolean"
- },
- "status": {
- "$ref": "#/definitions/Status"
- },
- "activities": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Activity"
- }
- },
- "since": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "status"
- ]
- },
- "Status": {
- "enum": [
- "dnd",
- "idle",
- "invisible",
- "offline",
- "online"
- ],
- "type": "string"
- },
- "Activity": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/ActivityType"
- },
- "url": {
- "type": "string"
- },
- "created_at": {
- "type": "integer"
- },
- "timestamps": {
- "type": "object",
- "properties": {
- "start": {
- "type": "integer"
- },
- "end": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "end",
- "start"
- ]
- },
- "application_id": {
- "type": "string"
- },
- "details": {
- "type": "string"
- },
- "state": {
- "type": "string"
- },
- "emoji": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "animated": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "animated",
- "name"
- ]
- },
- "party": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "size": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- }
- },
- "additionalProperties": false
- },
- "assets": {
- "type": "object",
- "properties": {
- "large_image": {
- "type": "string"
- },
- "large_text": {
- "type": "string"
- },
- "small_image": {
- "type": "string"
- },
- "small_text": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "secrets": {
- "type": "object",
- "properties": {
- "join": {
- "type": "string"
- },
- "spectate": {
- "type": "string"
- },
- "match": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "instance": {
- "type": "boolean"
- },
- "flags": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "sync_id": {
- "type": "string"
- },
- "metadata": {
- "type": "object",
- "properties": {
- "context_uri": {
- "type": "string"
- },
- "album_id": {
- "type": "string"
- },
- "artist_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "album_id",
- "artist_ids"
- ]
- },
- "session_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "flags",
- "name",
- "session_id",
- "type"
- ]
- },
- "ActivityType": {
- "enum": [
- 0,
- 1,
- 2,
- 4,
- 5
- ],
- "type": "number"
- },
- "Embed": {
- "type": "object",
- "properties": {
- "title": {
- "type": "string"
- },
- "type": {
- "enum": [
- "article",
- "gifv",
- "image",
- "link",
- "rich",
- "video"
- ],
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "color": {
- "type": "integer"
- },
- "footer": {
- "type": "object",
- "properties": {
- "text": {
- "type": "string"
- },
- "icon_url": {
- "type": "string"
- },
- "proxy_icon_url": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "text"
- ]
- },
- "image": {
- "$ref": "#/definitions/EmbedImage"
- },
- "thumbnail": {
- "$ref": "#/definitions/EmbedImage"
- },
- "video": {
- "$ref": "#/definitions/EmbedImage"
- },
- "provider": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "url": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "author": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "icon_url": {
- "type": "string"
- },
- "proxy_icon_url": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "fields": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "value": {
- "type": "string"
- },
- "inline": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "name",
- "value"
- ]
- }
- }
- },
- "additionalProperties": false
- },
- "EmbedImage": {
- "type": "object",
- "properties": {
- "url": {
- "type": "string"
- },
- "proxy_url": {
- "type": "string"
- },
- "height": {
- "type": "integer"
- },
- "width": {
- "type": "integer"
- }
- },
- "additionalProperties": false
- },
- "ActionRowComponent": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/definitions/MessageComponentType.ActionRow"
- },
- "components": {
- "type": "array",
- "items": {
- "anyOf": [
- {
- "$ref": "#/definitions/ButtonComponent"
- },
- {
- "$ref": "#/definitions/SelectMenuComponent"
- },
- {
- "$ref": "#/definitions/StringSelectMenuComponent"
- },
- {
- "$ref": "#/definitions/TextInputComponent"
- }
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "components",
- "type"
- ]
- },
- "MessageComponentType.ActionRow": {
- "type": "number",
- "enum": [
- 1
- ]
- },
- "ButtonComponent": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/definitions/MessageComponentType.Button"
- },
- "style": {
- "$ref": "#/definitions/ButtonStyle"
- },
- "label": {
- "type": "string"
- },
- "emoji": {
- "$ref": "#/definitions/PartialEmoji"
- },
- "custom_id": {
- "type": "string"
- },
- "sku_id": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "disabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "style",
- "type"
- ]
- },
- "MessageComponentType.Button": {
- "type": "number",
- "enum": [
- 2
- ]
- },
- "ButtonStyle": {
- "enum": [
- 1,
- 2,
- 3,
- 4,
- 5,
- 6
- ],
- "type": "number"
- },
- "PartialEmoji": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "animated": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "name"
- ]
- },
- "SelectMenuComponent": {
- "type": "object",
- "properties": {
- "type": {
- "enum": [
- 3,
- 5,
- 6,
- 7,
- 8
- ],
- "type": "number"
- },
- "custom_id": {
- "type": "string"
- },
- "channel_types": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "placeholder": {
- "type": "string"
- },
- "default_values": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SelectMenuDefaultOption"
- }
- },
- "min_values": {
- "type": "integer"
- },
- "max_values": {
- "type": "integer"
- },
- "disabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom_id",
- "type"
- ]
- },
- "SelectMenuDefaultOption": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {
- "enum": [
- "channel",
- "role",
- "user"
- ],
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "type"
- ]
- },
- "StringSelectMenuComponent": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/definitions/MessageComponentType.StringSelect"
- },
- "options": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SelectMenuOption"
- }
- },
- "custom_id": {
- "type": "string"
- },
- "channel_types": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "placeholder": {
- "type": "string"
- },
- "default_values": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SelectMenuDefaultOption"
- }
- },
- "min_values": {
- "type": "integer"
- },
- "max_values": {
- "type": "integer"
- },
- "disabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom_id",
- "options",
- "type"
- ]
- },
- "MessageComponentType.StringSelect": {
- "type": "number",
- "enum": [
- 3
- ]
- },
- "SelectMenuOption": {
- "type": "object",
- "properties": {
- "label": {
- "type": "string"
- },
- "value": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "emoji": {
- "$ref": "#/definitions/PartialEmoji"
- },
- "default": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "label",
- "value"
- ]
- },
- "TextInputComponent": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/definitions/MessageComponentType.TextInput"
- },
- "custom_id": {
- "type": "string"
- },
- "style": {
- "$ref": "#/definitions/TextInputStyle"
- },
- "label": {
- "type": "string"
- },
- "min_length": {
- "type": "integer"
- },
- "max_length": {
- "type": "integer"
- },
- "required": {
- "type": "boolean"
- },
- "value": {
- "type": "string"
- },
- "placeholder": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom_id",
- "label",
- "style",
- "type"
- ]
- },
- "MessageComponentType.TextInput": {
- "type": "number",
- "enum": [
- 4
- ]
- },
- "TextInputStyle": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
- },
- "PollCreationSchema": {
- "type": "object",
- "properties": {
- "question": {
- "$ref": "#/definitions/PollMedia"
- },
- "answers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PollAnswer"
- }
- },
- "duration": {
- "type": "integer"
- },
- "allow_multiselect": {
- "type": "boolean"
- },
- "layout_type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "answers",
- "question"
- ]
- },
- "PollMedia": {
- "type": "object",
- "properties": {
- "text": {
- "type": "string"
- },
- "emoji": {
- "$ref": "#/definitions/PartialEmoji"
- }
- },
- "additionalProperties": false
- },
- "PollAnswer": {
- "type": "object",
- "properties": {
- "answer_id": {
- "type": "string"
- },
- "poll_media": {
- "$ref": "#/definitions/PollMedia"
- }
- },
- "additionalProperties": false,
- "required": [
- "poll_media"
- ]
- },
- "ChannelOverride": {
- "type": "object",
- "properties": {
- "message_notifications": {
- "type": "integer"
- },
- "mute_config": {
- "$ref": "#/definitions/MuteConfig"
- },
- "muted": {
- "type": "boolean"
- },
- "channel_id": {
- "type": [
- "null",
- "string"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "channel_id",
- "message_notifications",
- "mute_config",
- "muted"
- ]
- },
- "MuteConfig": {
- "type": "object",
- "properties": {
- "end_time": {
- "type": "integer"
- },
- "selected_time_window": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "end_time",
- "selected_time_window"
- ]
- },
- "CustomStatus": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": "string"
- },
- "emoji_name": {
- "type": "string"
- },
- "expires_at": {
- "type": "integer"
- },
- "text": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "FriendSourceFlags": {
- "type": "object",
- "properties": {
- "all": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "all"
- ]
- },
- "GuildFolder": {
- "type": "object",
- "properties": {
- "color": {
- "type": "integer"
- },
- "guild_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "color",
- "guild_ids",
- "id",
- "name"
- ]
- },
- "GenerateWebAuthnCredentialsSchema": {
- "type": "object",
- "properties": {
- "password": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "password"
- ]
- },
- "CreateWebAuthnCredentialSchema": {
- "type": "object",
- "properties": {
- "credential": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "ticket": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "credential",
- "name",
- "ticket"
- ]
- },
- "APIErrorResponse": {
- "type": "object",
- "properties": {
- "code": {
- "type": "integer"
- },
- "message": {
- "type": "string"
- },
- "errors": {
- "type": "object",
- "additionalProperties": {
- "type": "object",
- "properties": {
- "_errors": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "message": {
- "type": "string"
- },
- "code": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "message"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "_errors"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "errors",
- "message"
- ]
- },
- "CaptchaRequiredResponse": {
- "type": "object",
- "properties": {
- "captcha_key": {
- "type": "string"
- },
- "captcha_sitekey": {
- "type": "string"
- },
- "captcha_service": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "captcha_key",
- "captcha_service",
- "captcha_sitekey"
- ]
- },
- "Guild": {
- "type": "object",
- "properties": {
- "afk_channel_id": {
- "type": "string"
- },
- "afk_channel": {
- "$ref": "#/definitions/Channel"
- },
- "afk_timeout": {
- "type": "integer"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "banner": {
- "type": "string"
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "description": {
- "type": "string"
- },
- "discovery_splash": {
- "type": "string"
- },
- "explicit_content_filter": {
- "type": "integer"
- },
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "primary_category_id": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "large": {
- "type": "boolean",
- "default": false
- },
- "max_members": {
- "type": "integer"
- },
- "max_presences": {
- "type": "integer"
- },
- "max_video_channel_users": {
- "type": "integer"
- },
- "member_count": {
- "type": "integer"
- },
- "presence_count": {
- "type": "integer"
- },
- "members": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Member"
- }
- },
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
- },
- "channels": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Channel"
- }
- },
- "template_id": {
- "type": "string"
- },
- "template": {
- "$ref": "#/definitions/Template"
- },
- "emojis": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Emoji"
- }
- },
- "stickers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Sticker"
- }
- },
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
- "mfa_level": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- },
- "owner_id": {
- "type": "string"
- },
- "owner": {
- "$ref": "#/definitions/User"
- },
- "preferred_locale": {
- "type": "string"
- },
- "premium_subscription_count": {
- "type": "integer"
- },
- "premium_tier": {
- "type": "integer"
- },
- "public_updates_channel_id": {
- "type": "string"
- },
- "public_updates_channel": {
- "$ref": "#/definitions/Channel"
- },
- "rules_channel_id": {
- "type": "string"
- },
- "rules_channel": {
- "type": "string"
- },
- "region": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_id": {
- "type": "string"
- },
- "system_channel": {
- "$ref": "#/definitions/Channel"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "unavailable": {
- "type": "boolean",
- "default": false
- },
- "verification_level": {
- "type": "integer"
- },
- "welcome_screen": {
- "$ref": "#/definitions/GuildWelcomeScreen"
- },
- "widget_channel_id": {
- "type": "string"
- },
- "widget_channel": {
- "$ref": "#/definitions/Channel"
- },
- "widget_enabled": {
- "type": "boolean",
- "default": true
- },
- "nsfw_level": {
- "type": "integer"
- },
- "nsfw": {
- "type": "boolean",
- "default": false
- },
- "parent": {
- "type": "string"
- },
- "permissions": {
- "type": "integer"
- },
- "premium_progress_bar_enabled": {
- "type": "boolean",
- "default": false
- },
- "channel_ordering": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "bans",
- "channel_ordering",
- "channels",
- "emojis",
- "features",
- "id",
- "invites",
- "members",
- "name",
- "nsfw",
- "premium_progress_bar_enabled",
- "public_updates_channel_id",
- "roles",
- "stickers",
- "template",
- "unavailable",
- "voice_states",
- "webhooks",
- "welcome_screen",
- "widget_enabled"
- ]
- },
- "Channel": {
- "type": "object",
- "properties": {
- "created_at": {
- "type": "string",
- "format": "date-time"
- },
- "name": {
- "type": "string"
- },
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "type": {
- "$ref": "#/definitions/ChannelType"
- },
- "recipients": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Recipient"
- }
- },
- "last_message_id": {
- "type": "string"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "parent_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "parent": {
- "$ref": "#/definitions/Channel"
- },
- "owner_id": {
- "type": "string"
- },
- "owner": {
- "$ref": "#/definitions/User"
- },
- "last_pin_timestamp": {
- "type": "integer"
- },
- "default_auto_archive_duration": {
- "type": "integer"
- },
- "permission_overwrites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ChannelPermissionOverwrite"
- }
- },
- "video_quality_mode": {
- "type": "integer"
- },
- "bitrate": {
- "type": "integer"
- },
- "user_limit": {
- "type": "integer"
- },
- "nsfw": {
- "type": "boolean",
- "default": false
- },
- "rate_limit_per_user": {
- "type": "integer"
- },
- "topic": {
- "type": "string"
- },
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "retention_policy_id": {
- "type": "string"
- },
- "messages": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Message"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "read_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ReadState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
- "flags": {
- "type": "integer",
- "default": 0
- },
- "default_thread_rate_limit_per_user": {
- "type": "integer",
- "default": 0
- },
- "position": {
- "description": "Must be calculated Channel.calculatePosition",
- "type": "integer"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "created_at",
- "default_thread_rate_limit_per_user",
- "flags",
- "id",
- "nsfw",
- "owner",
- "parent_id",
- "position",
- "type"
- ]
- },
- "ChannelType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 2,
- 255,
- 3,
- 33,
- 34,
- 35,
- 4,
- 5,
- 6,
- 64,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "Recipient": {
- "type": "object",
- "properties": {
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "closed": {
- "type": "boolean"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel",
- "channel_id",
- "closed",
- "id",
- "user",
- "user_id"
- ]
- },
- "User": {
- "type": "object",
- "properties": {
- "username": {
- "type": "string"
- },
- "discriminator": {
- "type": "string"
- },
- "avatar": {
- "type": "string"
- },
- "accent_color": {
- "type": "integer"
- },
- "banner": {
- "type": "string"
- },
- "theme_colors": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "pronouns": {
- "type": "string"
- },
- "phone": {
- "type": "string"
- },
- "desktop": {
- "type": "boolean",
- "default": false
- },
- "mobile": {
- "type": "boolean",
- "default": false
- },
- "premium": {
- "type": "boolean"
- },
- "premium_type": {
- "type": "integer"
- },
- "bot": {
- "type": "boolean",
- "default": false
- },
- "bio": {
- "type": "string",
- "default": ""
- },
- "system": {
- "type": "boolean",
- "default": false
- },
- "nsfw_allowed": {
- "type": "boolean",
- "default": true
- },
- "mfa_enabled": {
- "type": "boolean",
- "default": false
- },
- "webauthn_enabled": {
- "type": "boolean",
- "default": false
- },
- "totp_secret": {
- "type": "string",
- "default": ""
- },
- "totp_last_ticket": {
- "type": "string",
- "default": ""
- },
- "created_at": {
- "type": "string",
- "format": "date-time"
- },
- "premium_since": {
- "type": "string",
- "format": "date-time"
- },
- "verified": {
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean",
- "default": false
- },
- "deleted": {
- "type": "boolean",
- "default": false
- },
- "email": {
- "type": "string"
- },
- "flags": {
- "type": "integer",
- "default": 0
- },
- "public_flags": {
- "type": "integer",
- "default": 0
- },
- "purchased_flags": {
- "type": "integer",
- "default": 0
- },
- "premium_usage_flags": {
- "type": "integer",
- "default": 0
- },
- "rights": {
- "type": "string"
- },
- "sessions": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Session"
- }
- },
- "relationships": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Relationship"
- }
- },
- "connected_accounts": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ConnectedAccount"
- }
- },
- "data": {
- "type": "object",
- "properties": {
- "valid_tokens_since": {
- "type": "string",
- "format": "date-time"
- },
- "hash": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "valid_tokens_since"
- ]
- },
- "fingerprints": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "settings": {
- "$ref": "#/definitions/UserSettings"
- },
- "extended_settings": {
- "type": "string",
- "default": "{}"
- },
- "security_keys": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SecurityKey"
- }
- },
- "badge_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "bio",
- "bot",
- "connected_accounts",
- "created_at",
- "data",
- "deleted",
- "desktop",
- "disabled",
- "discriminator",
- "extended_settings",
- "fingerprints",
- "flags",
- "id",
- "mfa_enabled",
- "mobile",
- "nsfw_allowed",
- "premium",
- "premium_since",
- "premium_type",
- "premium_usage_flags",
- "public_flags",
- "purchased_flags",
- "relationships",
- "rights",
- "security_keys",
- "sessions",
- "settings",
- "system",
- "username",
- "verified",
- "webauthn_enabled"
- ]
- },
- "Session": {
- "type": "object",
- "properties": {
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "session_id": {
- "type": "string"
- },
- "activities": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Activity"
- }
- },
- "client_info": {
- "type": "object",
- "properties": {
- "client": {
- "type": "string"
- },
- "os": {
- "type": "string"
- },
- "version": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "client",
- "os",
- "version"
- ]
- },
- "client_status": {
- "$ref": "#/definitions/ClientStatus"
- },
- "status": {
- "$ref": "#/definitions/Status"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "activities",
- "client_info",
- "client_status",
- "id",
- "session_id",
- "status",
- "user",
- "user_id"
- ]
- },
- "ClientStatus": {
- "type": "object",
- "properties": {
- "desktop": {
- "type": "string"
- },
- "mobile": {
- "type": "string"
- },
- "web": {
- "type": "string"
- },
- "embedded": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "Relationship": {
- "type": "object",
- "properties": {
- "from_id": {
- "type": "string"
- },
- "from": {
- "$ref": "#/definitions/User"
- },
- "to_id": {
- "type": "string"
- },
- "to": {
- "$ref": "#/definitions/User"
- },
- "nickname": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/RelationshipType"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "from",
- "from_id",
- "id",
- "to",
- "to_id",
- "type"
- ]
- },
- "RelationshipType": {
- "enum": [
- 1,
- 2,
- 3,
- 4
- ],
- "type": "number"
- },
- "ConnectedAccount": {
- "type": "object",
- "properties": {
- "external_id": {
- "type": "string"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "friend_sync": {
- "type": "boolean",
- "default": false
- },
- "name": {
- "type": "string"
- },
- "revoked": {
- "type": "boolean",
- "default": false
- },
- "show_activity": {
- "type": "integer",
- "default": 0
- },
- "type": {
- "type": "string"
- },
- "verified": {
- "type": "boolean",
- "default": true
- },
- "visibility": {
- "type": "integer",
- "default": 0
- },
- "integrations": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "metadata_": {},
- "metadata_visibility": {
- "type": "integer",
- "default": 0
- },
- "two_way_link": {
- "type": "boolean",
- "default": false
- },
- "token_data": {
- "anyOf": [
- {
- "$ref": "#/definitions/ConnectedAccountTokenData"
- },
- {
- "type": "null"
- }
- ]
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "external_id",
- "id",
- "name",
- "type",
- "user",
- "user_id"
- ]
- },
- "UserSettings": {
- "type": "object",
- "properties": {
- "index": {
- "type": "string"
- },
- "afk_timeout": {
- "type": "integer",
- "default": 3600
- },
- "allow_accessibility_detection": {
- "type": "boolean",
- "default": true
- },
- "animate_emoji": {
- "type": "boolean",
- "default": true
- },
- "animate_stickers": {
- "type": "integer",
- "default": 0
- },
- "contact_sync_enabled": {
- "type": "boolean",
- "default": false
- },
- "convert_emoticons": {
- "type": "boolean",
- "default": false
- },
- "custom_status": {
- "anyOf": [
- {
- "$ref": "#/definitions/CustomStatus"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "default_guilds_restricted": {
- "type": "boolean",
- "default": false
- },
- "detect_platform_accounts": {
- "type": "boolean",
- "default": false
- },
- "developer_mode": {
- "type": "boolean",
- "default": true
- },
- "disable_games_tab": {
- "type": "boolean",
- "default": true
- },
- "enable_tts_command": {
- "type": "boolean",
- "default": false
- },
- "explicit_content_filter": {
- "type": "integer",
- "default": 0
- },
- "friend_discovery_flags": {
- "type": "integer",
- "default": 0
- },
- "friend_source_flags": {
- "$ref": "#/definitions/FriendSourceFlags"
- },
- "gateway_connected": {
- "type": "boolean",
- "default": false
- },
- "gif_auto_play": {
- "type": "boolean",
- "default": false
- },
- "guild_folders": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/GuildFolder"
- },
- "default": []
- },
- "guild_positions": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "inline_attachment_media": {
- "type": "boolean",
- "default": true
- },
- "inline_embed_media": {
- "type": "boolean",
- "default": true
- },
- "locale": {
- "type": "string",
- "default": "en-US"
- },
- "message_display_compact": {
- "type": "boolean",
- "default": false
- },
- "native_phone_integration_enabled": {
- "type": "boolean",
- "default": true
- },
- "render_embeds": {
- "type": "boolean",
- "default": true
- },
- "render_reactions": {
- "type": "boolean",
- "default": true
- },
- "restricted_guilds": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "show_current_game": {
- "type": "boolean",
- "default": true
- },
- "status": {
- "enum": [
- "dnd",
- "idle",
- "invisible",
- "offline",
- "online"
- ],
- "type": "string",
- "default": "online"
- },
- "stream_notifications_enabled": {
- "type": "boolean",
- "default": false
- },
- "theme": {
- "enum": [
- "dark",
- "light"
- ],
- "type": "string",
- "default": "dark"
- },
- "timezone_offset": {
- "type": "integer",
- "default": 0
- },
- "view_nsfw_guilds": {
- "type": "boolean",
- "default": true
- }
- },
- "additionalProperties": false,
- "required": [
- "afk_timeout",
- "allow_accessibility_detection",
- "animate_emoji",
- "animate_stickers",
- "contact_sync_enabled",
- "convert_emoticons",
- "custom_status",
- "default_guilds_restricted",
- "detect_platform_accounts",
- "developer_mode",
- "disable_games_tab",
- "enable_tts_command",
- "explicit_content_filter",
- "friend_discovery_flags",
- "friend_source_flags",
- "gateway_connected",
- "gif_auto_play",
- "guild_folders",
- "guild_positions",
- "index",
- "inline_attachment_media",
- "inline_embed_media",
- "locale",
- "message_display_compact",
- "native_phone_integration_enabled",
- "render_embeds",
- "render_reactions",
- "restricted_guilds",
- "show_current_game",
- "status",
- "stream_notifications_enabled",
- "theme",
- "timezone_offset",
- "view_nsfw_guilds"
- ]
- },
- "SecurityKey": {
- "type": "object",
- "properties": {
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "key_id": {
- "type": "string"
- },
- "public_key": {
- "type": "string"
- },
- "counter": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "counter",
- "id",
- "key_id",
- "name",
- "public_key",
- "user",
- "user_id"
- ]
- },
- "ChannelPermissionOverwrite": {
- "type": "object",
- "properties": {
- "allow": {
- "type": "string"
- },
- "deny": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/ChannelPermissionOverwriteType"
- }
- },
- "additionalProperties": false,
- "required": [
- "allow",
- "deny",
- "id",
- "type"
- ]
- },
- "Invite": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "temporary": {
- "type": "boolean"
- },
- "uses": {
- "type": "integer"
- },
- "max_uses": {
- "type": "integer"
- },
- "max_age": {
- "type": "integer"
- },
- "created_at": {
- "type": "string",
- "format": "date-time"
- },
- "expires_at": {
- "type": "string",
- "format": "date-time"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "inviter_id": {
- "type": "string"
- },
- "inviter": {
- "$ref": "#/definitions/User"
- },
- "target_user_id": {
- "type": "string"
- },
- "target_user": {
- "type": "string"
- },
- "target_user_type": {
- "type": "integer"
- },
- "vanity_url": {
- "type": "boolean"
- },
- "flags": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel",
- "channel_id",
- "code",
- "created_at",
- "flags",
- "guild",
- "guild_id",
- "inviter",
- "max_age",
- "max_uses",
- "target_user_id",
- "temporary",
- "uses"
- ]
- },
- "Message": {
- "type": "object",
- "properties": {
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "author_id": {
- "type": "string"
- },
- "author": {
- "$ref": "#/definitions/User"
- },
- "member_id": {
- "type": "string"
- },
- "member": {
- "$ref": "#/definitions/Member"
- },
- "webhook_id": {
- "type": "string"
- },
- "webhook": {
- "$ref": "#/definitions/Webhook"
- },
- "application_id": {
- "type": "string"
- },
- "application": {
- "$ref": "#/definitions/Application"
- },
- "content": {
- "type": "string"
- },
- "timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "edited_timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "tts": {
- "type": "boolean"
- },
- "mention_everyone": {
- "type": "boolean"
- },
- "mentions": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/User"
- }
- },
- "mention_roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
- },
- "mention_channels": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Channel"
- }
- },
- "sticker_items": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Sticker"
- }
- },
- "attachments": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Attachment"
- }
- },
- "embeds": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Embed"
- }
- },
- "reactions": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Reaction"
- }
- },
- "nonce": {
- "type": "string"
- },
- "pinned": {
- "type": "boolean"
- },
- "type": {
- "$ref": "#/definitions/MessageType"
- },
- "activity": {
- "type": "object",
- "properties": {
- "type": {
- "type": "integer"
- },
- "party_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "party_id",
- "type"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "message_reference": {
- "type": "object",
- "properties": {
- "message_id": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- },
- "guild_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "message_id"
- ]
- },
- "referenced_message": {
- "$ref": "#/definitions/Message"
- },
- "interaction": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/InteractionType"
- },
- "name": {
- "type": "string"
- },
- "user_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name",
- "type",
- "user_id"
- ]
- },
- "components": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ActionRowComponent"
- }
- },
- "poll": {
- "$ref": "#/definitions/Poll"
- },
- "username": {
- "type": "string"
- },
- "avatar": {
- "type": "string"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel",
- "embeds",
- "flags",
- "id",
- "mention_channels",
- "mention_roles",
- "mentions",
- "reactions",
- "timestamp",
- "type"
- ]
- },
- "Member": {
- "type": "object",
- "properties": {
- "index": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "nick": {
- "type": "string"
- },
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
- },
- "joined_at": {
- "type": "string",
- "format": "date-time"
- },
- "premium_since": {
- "type": "integer"
- },
- "deaf": {
- "type": "boolean"
- },
- "mute": {
- "type": "boolean"
- },
- "pending": {
- "type": "boolean"
- },
- "settings": {
- "$ref": "#/definitions/UserGuildSettings"
- },
- "last_message_id": {
- "type": "string"
- },
- "joined_by": {
- "type": "string"
- },
- "avatar": {
- "type": "string"
- },
- "banner": {
- "type": "string"
- },
- "bio": {
- "type": "string"
- },
- "theme_colors": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "pronouns": {
- "type": "string"
- },
- "communication_disabled_until": {
- "type": "string",
- "format": "date-time"
- }
- },
- "additionalProperties": false,
- "required": [
- "banner",
- "bio",
- "communication_disabled_until",
- "deaf",
- "guild",
- "guild_id",
- "id",
- "index",
- "joined_at",
- "joined_by",
- "mute",
- "pending",
- "roles",
- "settings",
- "user"
- ]
- },
- "Role": {
- "type": "object",
- "properties": {
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "color": {
- "type": "integer"
- },
- "hoist": {
- "type": "boolean"
- },
- "managed": {
- "type": "boolean"
- },
- "mentionable": {
- "type": "boolean"
- },
- "name": {
- "type": "string"
- },
- "permissions": {
- "type": "string"
- },
- "position": {
- "type": "integer"
- },
- "icon": {
- "type": "string"
- },
- "unicode_emoji": {
- "type": "string"
- },
- "tags": {
- "type": "object",
- "properties": {
- "bot_id": {
- "type": "string"
- },
- "integration_id": {
- "type": "string"
- },
- "premium_subscriber": {
- "type": "boolean"
- }
- },
- "additionalProperties": false
- },
- "flags": {
- "type": "integer"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "color",
- "flags",
- "guild",
- "guild_id",
- "hoist",
- "id",
- "managed",
- "mentionable",
- "name",
- "permissions",
- "position"
- ]
- },
- "UserGuildSettings": {
- "type": "object",
- "properties": {
- "channel_overrides": {
- "anyOf": [
- {
- "type": "object",
- "additionalProperties": {
- "$ref": "#/definitions/ChannelOverride"
- }
- },
- {
- "type": "null"
- }
- ]
- },
- "message_notifications": {
- "type": "integer"
- },
- "mobile_push": {
- "type": "boolean"
- },
- "mute_config": {
- "anyOf": [
- {
- "$ref": "#/definitions/MuteConfig"
- },
- {
- "type": "null"
- }
- ]
- },
- "muted": {
- "type": "boolean"
- },
- "suppress_everyone": {
- "type": "boolean"
- },
- "suppress_roles": {
- "type": "boolean"
- },
- "version": {
- "type": "integer"
- },
- "guild_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "mute_scheduled_events": {
- "type": "boolean"
- },
- "hide_muted_channels": {
- "type": "boolean"
- },
- "notify_highlights": {
- "type": "number",
- "enum": [
- 0
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "channel_overrides",
- "flags",
- "guild_id",
- "hide_muted_channels",
- "message_notifications",
- "mobile_push",
- "mute_config",
- "mute_scheduled_events",
- "muted",
- "notify_highlights",
- "suppress_everyone",
- "suppress_roles",
- "version"
- ]
- },
- "Webhook": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/definitions/WebhookType"
- },
- "name": {
- "type": "string"
- },
- "avatar": {
- "type": "string"
- },
- "token": {
- "type": "string"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "application_id": {
- "type": "string"
- },
- "application": {
- "$ref": "#/definitions/Application"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "source_guild_id": {
- "type": "string"
- },
- "source_guild": {
- "$ref": "#/definitions/Guild"
- },
- "source_channel_id": {
- "type": "string"
- },
- "source_channel": {
- "$ref": "#/definitions/Channel"
- },
- "url": {
- "type": "string"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "application",
- "application_id",
- "avatar",
- "channel",
- "channel_id",
- "id",
- "name",
- "source_channel",
- "source_channel_id",
- "type",
- "url",
- "user",
- "user_id"
- ]
- },
- "WebhookType": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "Application": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "summary": {
- "type": "string",
- "default": ""
- },
- "type": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "hook": {
- "type": "boolean",
- "default": true
- },
- "bot_public": {
- "type": "boolean",
- "default": true
- },
- "bot_require_code_grant": {
- "type": "boolean",
- "default": false
- },
- "verify_key": {
- "type": "string"
- },
- "owner": {
- "$ref": "#/definitions/User"
- },
- "flags": {
- "type": "integer",
- "default": 0
- },
- "redirect_uris": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "rpc_application_state": {
- "type": "integer",
- "default": 0
- },
- "store_application_state": {
- "type": "integer",
- "default": 1
- },
- "verification_state": {
- "type": "integer",
- "default": 1
- },
- "interactions_endpoint_url": {
- "type": "string"
- },
- "integration_public": {
- "type": "boolean",
- "default": true
- },
- "integration_require_code_grant": {
- "type": "boolean",
- "default": false
- },
- "discoverability_state": {
- "type": "integer",
- "default": 1
- },
- "discovery_eligibility_flags": {
- "type": "integer",
- "default": 2240
- },
- "bot": {
- "$ref": "#/definitions/User"
- },
- "tags": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "cover_image": {
- "type": "string"
- },
- "install_params": {
- "type": "object",
- "properties": {
- "scopes": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "permissions": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "permissions",
- "scopes"
- ]
- },
- "terms_of_service_url": {
- "type": "string"
- },
- "privacy_policy_url": {
- "type": "string"
- },
- "team": {
- "$ref": "#/definitions/Team"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "description",
- "discoverability_state",
- "discovery_eligibility_flags",
- "flags",
- "hook",
- "id",
- "integration_public",
- "integration_require_code_grant",
- "name",
- "owner",
- "redirect_uris",
- "rpc_application_state",
- "store_application_state",
- "summary",
- "verification_state",
- "verify_key"
- ]
- },
- "Team": {
- "type": "object",
- "properties": {
- "icon": {
- "type": "string"
- },
- "members": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/TeamMember"
- }
- },
- "name": {
- "type": "string"
- },
- "owner_user_id": {
- "type": "string"
- },
- "owner_user": {
- "$ref": "#/definitions/User"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "members",
- "name",
- "owner_user",
- "owner_user_id"
- ]
- },
- "TeamMember": {
- "type": "object",
- "properties": {
- "membership_state": {
- "$ref": "#/definitions/TeamMemberState"
- },
- "permissions": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "team_id": {
- "type": "string"
- },
- "team": {
- "$ref": "#/definitions/Team"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "membership_state",
- "permissions",
- "team",
- "team_id",
- "user",
- "user_id"
- ]
- },
- "TeamMemberState": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
- },
- "Sticker": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "available": {
- "type": "boolean"
- },
- "tags": {
- "type": "string"
- },
- "pack_id": {
- "type": "string"
- },
- "pack": {
- "$ref": "#/definitions/StickerPack"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "type": {
- "$ref": "#/definitions/StickerType"
- },
- "format_type": {
- "$ref": "#/definitions/StickerFormatType"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "format_type",
- "id",
- "name",
- "pack",
- "type"
- ]
- },
- "StickerPack": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "banner_asset_id": {
- "type": "string"
- },
- "stickers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Sticker"
- }
- },
- "cover_sticker_id": {
- "type": "string"
- },
- "cover_sticker": {
- "$ref": "#/definitions/Sticker"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name",
- "stickers"
- ]
- },
- "StickerType": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
- },
- "StickerFormatType": {
- "enum": [
- 0,
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "Attachment": {
- "type": "object",
- "properties": {
- "filename": {
- "type": "string"
- },
- "size": {
- "type": "integer"
- },
- "url": {
- "type": "string"
- },
- "proxy_url": {
- "type": "string"
- },
- "height": {
- "type": "integer"
- },
- "width": {
- "type": "integer"
- },
- "content_type": {
- "type": "string"
- },
- "message_id": {
- "type": "string"
- },
- "message": {
- "$ref": "#/definitions/Message"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "filename",
- "id",
- "message",
- "message_id",
- "proxy_url",
- "size",
- "url"
- ]
- },
- "Reaction": {
- "type": "object",
- "properties": {
- "count": {
- "type": "integer"
- },
- "emoji": {
- "$ref": "#/definitions/PartialEmoji"
- },
- "user_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "count",
- "emoji",
- "user_ids"
- ]
- },
- "MessageType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 19,
- 2,
- 20,
- 255,
- 3,
- 4,
- 41,
- 42,
- 43,
- 5,
- 50,
- 6,
- 63,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "InteractionType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "Poll": {
- "type": "object",
- "properties": {
- "question": {
- "$ref": "#/definitions/PollMedia"
- },
- "answers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PollAnswer"
- }
- },
- "expiry": {
- "type": "string",
- "format": "date-time"
- },
- "allow_multiselect": {
- "type": "boolean"
- },
- "results": {
- "$ref": "#/definitions/PollResult"
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_multiselect",
- "answers",
- "expiry",
- "question"
- ]
- },
- "PollResult": {
- "type": "object",
- "properties": {
- "is_finalized": {
- "type": "boolean"
- },
- "answer_counts": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PollAnswerCount"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "answer_counts",
- "is_finalized"
- ]
- },
- "PollAnswerCount": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "count": {
- "type": "integer"
- },
- "me_voted": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "count",
- "id",
- "me_voted"
- ]
- },
- "VoiceState": {
- "type": "object",
- "properties": {
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "member": {
- "$ref": "#/definitions/Member"
- },
- "session_id": {
- "type": "string"
- },
- "token": {
- "type": "string"
- },
- "deaf": {
- "type": "boolean"
- },
- "mute": {
- "type": "boolean"
- },
- "self_deaf": {
- "type": "boolean"
- },
- "self_mute": {
- "type": "boolean"
- },
- "self_stream": {
- "type": "boolean"
- },
- "self_video": {
- "type": "boolean"
- },
- "suppress": {
- "type": "boolean"
- },
- "request_to_speak_timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel",
- "channel_id",
- "deaf",
- "guild_id",
- "id",
- "member",
- "mute",
- "self_deaf",
- "self_mute",
- "self_video",
- "session_id",
- "suppress",
- "token",
- "user",
- "user_id"
- ]
- },
- "ReadState": {
- "type": "object",
- "properties": {
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "last_message_id": {
- "type": "string"
- },
- "public_ack": {
- "type": "string"
- },
- "notifications_cursor": {
- "type": "string"
- },
- "last_pin_timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "mention_count": {
- "type": "integer"
- },
- "manual": {
- "type": "boolean"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel",
- "channel_id",
- "id",
- "last_message_id",
- "manual",
- "mention_count",
- "notifications_cursor",
- "public_ack",
- "user",
- "user_id"
- ]
- },
- "Ban": {
- "type": "object",
- "properties": {
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "executor_id": {
- "type": "string"
- },
- "executor": {
- "$ref": "#/definitions/User"
- },
- "ip": {
- "type": "string"
- },
- "reason": {
- "type": "string"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "executor",
- "executor_id",
- "guild",
- "guild_id",
- "id",
- "ip",
- "user",
- "user_id"
- ]
- },
- "Template": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "usage_count": {
- "type": "integer"
- },
- "creator_id": {
- "type": "string"
- },
- "creator": {
- "$ref": "#/definitions/User"
- },
- "created_at": {
- "type": "string",
- "format": "date-time"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time"
- },
- "source_guild_id": {
- "type": "string"
- },
- "source_guild": {
- "$ref": "#/definitions/Guild"
- },
- "serialized_source_guild": {
- "$ref": "#/definitions/Guild"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "created_at",
- "creator",
- "creator_id",
- "id",
- "name",
- "serialized_source_guild",
- "source_guild",
- "source_guild_id",
- "updated_at"
- ]
- },
- "Emoji": {
- "type": "object",
- "properties": {
- "animated": {
- "type": "boolean"
- },
- "available": {
- "type": "boolean"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "managed": {
- "type": "boolean"
- },
- "name": {
- "type": "string"
- },
- "require_colons": {
- "type": "boolean"
- },
- "roles": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "groups": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "animated",
- "available",
- "groups",
- "guild",
- "guild_id",
- "id",
- "managed",
- "name",
- "require_colons",
- "roles",
- "user",
- "user_id"
- ]
- },
- "GuildWelcomeScreen": {
- "type": "object",
- "properties": {
- "enabled": {
- "type": "boolean"
- },
- "description": {
- "type": "string"
- },
- "welcome_channels": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "description": {
- "type": "string"
- },
- "emoji_id": {
- "type": "string"
- },
- "emoji_name": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel_id",
- "description"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "description",
- "enabled",
- "welcome_channels"
- ]
- },
- "GuildMessagesSearchMessage": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/MessageType"
- },
- "content": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- },
- "author": {
- "$ref": "#/definitions/PublicUser"
- },
- "attachments": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Attachment"
- }
- },
- "embeds": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Embed"
- }
- },
- "mentions": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PublicUser"
- }
- },
- "mention_roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
- },
- "pinned": {
- "type": "boolean"
- },
- "mention_everyone": {
- "type": "boolean"
- },
- "tts": {
- "type": "boolean"
- },
- "timestamp": {
- "type": "string"
- },
- "edited_timestamp": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "components": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ActionRowComponent"
- }
- },
- "poll": {
- "$ref": "#/definitions/Poll"
- },
- "hit": {
- "type": "boolean",
- "enum": [
- true
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "attachments",
- "author",
- "channel_id",
- "components",
- "edited_timestamp",
- "embeds",
- "flags",
- "hit",
- "id",
- "mention_roles",
- "mentions",
- "pinned",
- "poll",
- "timestamp",
- "tts",
- "type"
- ]
- },
- "PublicUser": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "premium_since": {
- "type": "string",
- "format": "date-time"
- },
- "avatar": {
- "type": "string"
- },
- "username": {
- "type": "string"
- },
- "discriminator": {
- "type": "string"
- },
- "public_flags": {
- "type": "integer"
- },
- "accent_color": {
- "type": "integer"
- },
- "banner": {
- "type": "string"
- },
- "bio": {
- "type": "string"
- },
- "bot": {
- "type": "boolean"
- },
- "premium_type": {
- "type": "integer"
- },
- "theme_colors": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "pronouns": {
- "type": "string"
- },
- "badge_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "bio",
- "bot",
- "discriminator",
- "id",
- "premium_since",
- "premium_type",
- "public_flags",
- "username"
- ]
- },
- "GuildVanityUrl": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "uses": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "uses"
- ]
- },
- "GuildVanityUrlNoInvite": {
- "type": "object",
- "properties": {
- "code": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "code"
- ]
- },
- "Snowflake": {
- "description": "A container for useful snowflake-related methods.",
- "type": "object",
- "additionalProperties": false
- },
- "TenorGifResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "src": {
- "type": "string"
- },
- "gif_src": {
- "type": "string"
- },
- "width": {
- "type": "integer"
- },
- "height": {
- "type": "integer"
- },
- "preview": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "gif_src",
- "height",
- "id",
- "preview",
- "src",
- "title",
- "url",
- "width"
- ]
- },
- "BackupCode": {
- "type": "object",
- "properties": {
- "user": {
- "$ref": "#/definitions/User"
- },
- "code": {
- "type": "string"
- },
- "consumed": {
- "type": "boolean"
- },
- "expired": {
- "type": "boolean"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "consumed",
- "expired",
- "id",
- "user"
- ]
- },
- "APIGuild": {
- "type": "object",
- "properties": {
- "reload": {
- "description": "Reloads entity data from the database.",
- "type": "object",
- "additionalProperties": false
- },
- "name": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "parent": {
- "type": "string"
- },
- "owner_id": {
- "type": "string"
- },
- "nsfw": {
- "type": "boolean"
- },
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
- "toJSON": {
- "type": "object",
- "additionalProperties": false
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
- },
- "assign": {
- "type": "object",
- "additionalProperties": false
- },
- "hasId": {
- "description": "Checks if entity has an id.\nIf entity composite compose ids, it will check them all.",
- "type": "object",
- "additionalProperties": false
- },
- "save": {
- "description": "Saves current entity in the database.\nIf entity does not exist in the database then inserts, otherwise updates.",
- "type": "object",
- "additionalProperties": false
- },
- "remove": {
- "description": "Removes current entity from the database.",
- "type": "object",
- "additionalProperties": false
- },
- "softRemove": {
- "description": "Records the delete date of current entity.",
- "type": "object",
- "additionalProperties": false
- },
- "recover": {
- "description": "Recovers a given entity in the database.",
- "type": "object",
- "additionalProperties": false
- },
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
- },
- "banner": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "unavailable": {
- "type": "boolean"
- },
- "channels": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Channel"
- }
- },
- "region": {
- "type": "string"
- },
- "system_channel_id": {
- "type": "string"
- },
- "rules_channel_id": {
- "type": "string"
- },
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
- },
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
- "type": "string"
- },
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "primary_category_id": {
- "type": "string"
- },
- "large": {
- "type": "boolean"
- },
- "max_members": {
- "type": "integer"
- },
- "max_presences": {
- "type": "integer"
- },
- "max_video_channel_users": {
- "type": "integer"
- },
- "member_count": {
- "type": "integer"
- },
- "presence_count": {
- "type": "integer"
- },
- "members": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Member"
- }
- },
- "template_id": {
- "type": "string"
- },
- "emojis": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Emoji"
- }
- },
- "stickers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Sticker"
- }
- },
- "mfa_level": {
- "type": "integer"
- },
- "preferred_locale": {
- "type": "string"
- },
- "premium_subscription_count": {
- "type": "integer"
- },
- "premium_tier": {
- "type": "integer"
- },
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
- "welcome_screen": {
- "$ref": "#/definitions/GuildWelcomeScreen"
- },
- "widget_channel_id": {
- "type": "string"
- },
- "widget_enabled": {
- "type": "boolean"
- },
- "nsfw_level": {
- "type": "integer"
- },
- "permissions": {
- "type": "integer"
- },
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
- "channel_ordering": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "_do_validate",
- "assign",
- "bans",
- "channel_ordering",
- "channels",
- "emojis",
- "features",
- "hasId",
- "id",
- "invites",
- "members",
- "name",
- "nsfw",
- "premium_progress_bar_enabled",
- "public_updates_channel_id",
- "recover",
- "reload",
- "remove",
- "roles",
- "save",
- "softRemove",
- "stickers",
- "toJSON",
- "unavailable",
- "voice_states",
- "webhooks",
- "welcome_screen",
- "widget_enabled"
- ]
- },
- "DmChannelDTO": {
- "type": "object",
- "properties": {
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "id": {
- "type": "string"
- },
- "last_message_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "name": {
- "type": [
- "null",
- "string"
- ]
- },
- "origin_channel_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "owner_id": {
- "type": "string"
- },
- "recipients": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/MinimalPublicUserDTO"
- }
- },
- "type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "icon",
- "id",
- "last_message_id",
- "name",
- "origin_channel_id",
- "recipients",
- "type"
- ]
- },
- "MinimalPublicUserDTO": {
- "type": "object",
- "properties": {
- "avatar": {
- "type": [
- "null",
- "string"
- ]
- },
- "discriminator": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "public_flags": {
- "type": "integer"
- },
- "username": {
- "type": "string"
- },
- "badge_ids": {
- "anyOf": [
- {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "discriminator",
- "id",
- "public_flags",
- "username"
- ]
- },
- "Categories": {
- "type": "object",
- "properties": {
- "id": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- },
- "localizations": {
- "type": "string"
- },
- "is_primary": {
- "type": "boolean"
- },
- "icon": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "is_primary",
- "localizations",
- "name"
- ]
- },
- "GuildVoiceRegion": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "custom": {
- "type": "boolean"
- },
- "deprecated": {
- "type": "boolean"
- },
- "optimal": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom",
- "deprecated",
- "id",
- "name",
- "optimal"
- ]
- },
- "UserLimits": {
- "type": "object",
- "properties": {
- "maxGuilds": {
- "type": "integer",
- "default": 1048576
- },
- "maxUsername": {
- "type": "integer",
- "default": 32
- },
- "maxFriends": {
- "type": "integer",
- "default": 5000
- },
- "maxBio": {
- "type": "integer",
- "default": 190
- }
- },
- "additionalProperties": false,
- "required": [
- "maxBio",
- "maxFriends",
- "maxGuilds",
- "maxUsername"
- ]
- },
- "GuildLimits": {
- "type": "object",
- "properties": {
- "maxRoles": {
- "type": "integer",
- "default": 1000
- },
- "maxEmojis": {
- "type": "integer",
- "default": 2000
- },
- "maxMembers": {
- "type": "integer",
- "default": 25000000
- },
- "maxChannels": {
- "type": "integer",
- "default": 65535
- },
- "maxBulkBanUsers": {
- "type": "integer",
- "default": 200
- },
- "maxChannelsInCategory": {
- "type": "integer",
- "default": 65535
- }
- },
- "additionalProperties": false,
- "required": [
- "maxBulkBanUsers",
- "maxChannels",
- "maxChannelsInCategory",
- "maxEmojis",
- "maxMembers",
- "maxRoles"
- ]
- },
- "MessageLimits": {
- "type": "object",
- "properties": {
- "maxCharacters": {
- "type": "integer",
- "default": 1048576
- },
- "maxTTSCharacters": {
- "type": "integer",
- "default": 160
- },
- "maxReactions": {
- "type": "integer",
- "default": 2048
- },
- "maxAttachmentSize": {
- "type": "integer",
- "default": 1073741824
- },
- "maxBulkDelete": {
- "type": "integer",
- "default": 1000
- },
- "maxEmbedDownloadSize": {
- "type": "integer",
- "default": 5242880
- }
- },
- "additionalProperties": false,
- "required": [
- "maxAttachmentSize",
- "maxBulkDelete",
- "maxCharacters",
- "maxEmbedDownloadSize",
- "maxReactions",
- "maxTTSCharacters"
- ]
- },
- "ChannelLimits": {
- "type": "object",
- "properties": {
- "maxPins": {
- "type": "integer",
- "default": 500
- },
- "maxTopic": {
- "type": "integer",
- "default": 1024
- },
- "maxWebhooks": {
- "type": "integer",
- "default": 100
- }
- },
- "additionalProperties": false,
- "required": [
- "maxPins",
- "maxTopic",
- "maxWebhooks"
- ]
- },
- "RateLimits": {
- "type": "object",
- "properties": {
- "enabled": {
- "type": "boolean",
- "default": false
- },
- "ip": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "global": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "error": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "routes": {
- "$ref": "#/definitions/RouteRateLimit"
- }
- },
- "additionalProperties": false,
- "required": [
- "enabled",
- "error",
- "global",
- "ip",
- "routes"
- ]
- },
- "RateLimitOptions": {
- "type": "object",
- "properties": {
- "bot": {
- "type": "integer"
- },
- "count": {
- "type": "integer"
- },
- "window": {
- "type": "integer"
- },
- "onyIp": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "count",
- "window"
- ]
- },
- "RouteRateLimit": {
- "type": "object",
- "properties": {
- "guild": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "webhook": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "channel": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "auth": {}
- },
- "additionalProperties": false,
- "required": [
- "auth",
- "channel",
- "guild",
- "webhook"
- ]
- },
- "GlobalRateLimits": {
- "type": "object",
- "properties": {
- "register": {
- "$ref": "#/definitions/GlobalRateLimit"
- },
- "sendMessage": {
- "$ref": "#/definitions/GlobalRateLimit"
- }
- },
- "additionalProperties": false,
- "required": [
- "register",
- "sendMessage"
- ]
- },
- "GlobalRateLimit": {
- "type": "object",
- "properties": {
- "limit": {
- "type": "integer",
- "default": 100
- },
- "window": {
- "type": "integer",
- "default": 3600000
- },
- "enabled": {
- "type": "boolean",
- "default": true
- }
- },
- "additionalProperties": false,
- "required": [
- "enabled",
- "limit",
- "window"
- ]
- },
- "PublicConnectedAccount": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "type": {
- "type": "string"
- },
- "verified": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "name",
- "type"
- ]
- },
- "UserProfile": {
- "type": "object",
- "properties": {
- "accent_color": {
- "type": "integer"
- },
- "banner": {
- "type": "string"
- },
- "bio": {
- "type": "string"
- },
- "theme_colors": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "pronouns": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "bio"
- ]
- },
- "Badge": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "link": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "description",
- "icon",
- "id"
- ]
- },
- "TokenResponse": {
- "type": "object",
- "properties": {
- "token": {
- "type": "string"
- },
- "settings": {
- "$ref": "#/definitions/UserSettings"
- }
- },
- "additionalProperties": false,
- "required": [
- "settings",
- "token"
- ]
- },
- "MFAResponse": {
- "type": "object",
- "properties": {
- "ticket": {
- "type": "string"
- },
- "mfa": {
- "type": "boolean",
- "enum": [
- true
- ]
- },
- "sms": {
- "type": "boolean",
- "enum": [
- false
- ]
- },
- "token": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "mfa",
- "sms",
- "ticket",
- "token"
- ]
- },
- "WebAuthnResponse": {
- "type": "object",
- "properties": {
- "webauthn": {
- "type": "string"
- },
- "ticket": {
- "type": "string"
- },
- "mfa": {
- "type": "boolean",
- "enum": [
- true
- ]
- },
- "sms": {
- "type": "boolean",
- "enum": [
- false
- ]
- },
- "token": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "mfa",
- "sms",
- "ticket",
- "token",
- "webauthn"
- ]
- }
- },
"$schema": "http://json-schema.org/draft-07/schema#"
},
"BotModifySchema": {
@@ -52878,4772 +253,6 @@
}
},
"additionalProperties": false,
- "definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
- "ChannelPermissionOverwriteType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "ConnectedAccountTokenData": {
- "type": "object",
- "properties": {
- "access_token": {
- "type": "string"
- },
- "token_type": {
- "type": "string"
- },
- "scope": {
- "type": "string"
- },
- "refresh_token": {
- "type": "string"
- },
- "expires_in": {
- "type": "integer"
- },
- "expires_at": {
- "type": "integer"
- },
- "fetched_at": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "access_token",
- "fetched_at"
- ]
- },
- "ChannelModifySchema": {
- "type": "object",
- "properties": {
- "name": {
- "maxLength": 100,
- "type": "string"
- },
- "type": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 2,
- 255,
- 3,
- 33,
- 34,
- 35,
- 4,
- 5,
- 6,
- 64,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "topic": {
- "type": "string"
- },
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "bitrate": {
- "type": "integer"
- },
- "user_limit": {
- "type": "integer"
- },
- "rate_limit_per_user": {
- "type": "integer"
- },
- "position": {
- "type": "integer"
- },
- "permission_overwrites": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/ChannelPermissionOverwriteType"
- },
- "allow": {
- "type": "string"
- },
- "deny": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "allow",
- "deny",
- "id",
- "type"
- ]
- }
- },
- "parent_id": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "nsfw": {
- "type": "boolean"
- },
- "rtc_region": {
- "type": "string"
- },
- "default_auto_archive_duration": {
- "type": "integer"
- },
- "default_reaction_emoji": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "default_thread_rate_limit_per_user": {
- "type": "integer"
- },
- "video_quality_mode": {
- "type": "integer"
- }
- },
- "additionalProperties": false
- },
- "ActivitySchema": {
- "type": "object",
- "properties": {
- "afk": {
- "type": "boolean"
- },
- "status": {
- "$ref": "#/definitions/Status"
- },
- "activities": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Activity"
- }
- },
- "since": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "status"
- ]
- },
- "Status": {
- "enum": [
- "dnd",
- "idle",
- "invisible",
- "offline",
- "online"
- ],
- "type": "string"
- },
- "Activity": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/ActivityType"
- },
- "url": {
- "type": "string"
- },
- "created_at": {
- "type": "integer"
- },
- "timestamps": {
- "type": "object",
- "properties": {
- "start": {
- "type": "integer"
- },
- "end": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "end",
- "start"
- ]
- },
- "application_id": {
- "type": "string"
- },
- "details": {
- "type": "string"
- },
- "state": {
- "type": "string"
- },
- "emoji": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "animated": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "animated",
- "name"
- ]
- },
- "party": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "size": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- }
- },
- "additionalProperties": false
- },
- "assets": {
- "type": "object",
- "properties": {
- "large_image": {
- "type": "string"
- },
- "large_text": {
- "type": "string"
- },
- "small_image": {
- "type": "string"
- },
- "small_text": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "secrets": {
- "type": "object",
- "properties": {
- "join": {
- "type": "string"
- },
- "spectate": {
- "type": "string"
- },
- "match": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "instance": {
- "type": "boolean"
- },
- "flags": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "sync_id": {
- "type": "string"
- },
- "metadata": {
- "type": "object",
- "properties": {
- "context_uri": {
- "type": "string"
- },
- "album_id": {
- "type": "string"
- },
- "artist_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "album_id",
- "artist_ids"
- ]
- },
- "session_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "flags",
- "name",
- "session_id",
- "type"
- ]
- },
- "ActivityType": {
- "enum": [
- 0,
- 1,
- 2,
- 4,
- 5
- ],
- "type": "number"
- },
- "Embed": {
- "type": "object",
- "properties": {
- "title": {
- "type": "string"
- },
- "type": {
- "enum": [
- "article",
- "gifv",
- "image",
- "link",
- "rich",
- "video"
- ],
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "color": {
- "type": "integer"
- },
- "footer": {
- "type": "object",
- "properties": {
- "text": {
- "type": "string"
- },
- "icon_url": {
- "type": "string"
- },
- "proxy_icon_url": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "text"
- ]
- },
- "image": {
- "$ref": "#/definitions/EmbedImage"
- },
- "thumbnail": {
- "$ref": "#/definitions/EmbedImage"
- },
- "video": {
- "$ref": "#/definitions/EmbedImage"
- },
- "provider": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "url": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "author": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "icon_url": {
- "type": "string"
- },
- "proxy_icon_url": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "fields": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "value": {
- "type": "string"
- },
- "inline": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "name",
- "value"
- ]
- }
- }
- },
- "additionalProperties": false
- },
- "EmbedImage": {
- "type": "object",
- "properties": {
- "url": {
- "type": "string"
- },
- "proxy_url": {
- "type": "string"
- },
- "height": {
- "type": "integer"
- },
- "width": {
- "type": "integer"
- }
- },
- "additionalProperties": false
- },
- "ActionRowComponent": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/definitions/MessageComponentType.ActionRow"
- },
- "components": {
- "type": "array",
- "items": {
- "anyOf": [
- {
- "$ref": "#/definitions/ButtonComponent"
- },
- {
- "$ref": "#/definitions/SelectMenuComponent"
- },
- {
- "$ref": "#/definitions/StringSelectMenuComponent"
- },
- {
- "$ref": "#/definitions/TextInputComponent"
- }
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "components",
- "type"
- ]
- },
- "MessageComponentType.ActionRow": {
- "type": "number",
- "enum": [
- 1
- ]
- },
- "ButtonComponent": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/definitions/MessageComponentType.Button"
- },
- "style": {
- "$ref": "#/definitions/ButtonStyle"
- },
- "label": {
- "type": "string"
- },
- "emoji": {
- "$ref": "#/definitions/PartialEmoji"
- },
- "custom_id": {
- "type": "string"
- },
- "sku_id": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "disabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "style",
- "type"
- ]
- },
- "MessageComponentType.Button": {
- "type": "number",
- "enum": [
- 2
- ]
- },
- "ButtonStyle": {
- "enum": [
- 1,
- 2,
- 3,
- 4,
- 5,
- 6
- ],
- "type": "number"
- },
- "PartialEmoji": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "animated": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "name"
- ]
- },
- "SelectMenuComponent": {
- "type": "object",
- "properties": {
- "type": {
- "enum": [
- 3,
- 5,
- 6,
- 7,
- 8
- ],
- "type": "number"
- },
- "custom_id": {
- "type": "string"
- },
- "channel_types": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "placeholder": {
- "type": "string"
- },
- "default_values": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SelectMenuDefaultOption"
- }
- },
- "min_values": {
- "type": "integer"
- },
- "max_values": {
- "type": "integer"
- },
- "disabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom_id",
- "type"
- ]
- },
- "SelectMenuDefaultOption": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {
- "enum": [
- "channel",
- "role",
- "user"
- ],
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "type"
- ]
- },
- "StringSelectMenuComponent": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/definitions/MessageComponentType.StringSelect"
- },
- "options": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SelectMenuOption"
- }
- },
- "custom_id": {
- "type": "string"
- },
- "channel_types": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "placeholder": {
- "type": "string"
- },
- "default_values": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SelectMenuDefaultOption"
- }
- },
- "min_values": {
- "type": "integer"
- },
- "max_values": {
- "type": "integer"
- },
- "disabled": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom_id",
- "options",
- "type"
- ]
- },
- "MessageComponentType.StringSelect": {
- "type": "number",
- "enum": [
- 3
- ]
- },
- "SelectMenuOption": {
- "type": "object",
- "properties": {
- "label": {
- "type": "string"
- },
- "value": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "emoji": {
- "$ref": "#/definitions/PartialEmoji"
- },
- "default": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "label",
- "value"
- ]
- },
- "TextInputComponent": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/definitions/MessageComponentType.TextInput"
- },
- "custom_id": {
- "type": "string"
- },
- "style": {
- "$ref": "#/definitions/TextInputStyle"
- },
- "label": {
- "type": "string"
- },
- "min_length": {
- "type": "integer"
- },
- "max_length": {
- "type": "integer"
- },
- "required": {
- "type": "boolean"
- },
- "value": {
- "type": "string"
- },
- "placeholder": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom_id",
- "label",
- "style",
- "type"
- ]
- },
- "MessageComponentType.TextInput": {
- "type": "number",
- "enum": [
- 4
- ]
- },
- "TextInputStyle": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
- },
- "PollCreationSchema": {
- "type": "object",
- "properties": {
- "question": {
- "$ref": "#/definitions/PollMedia"
- },
- "answers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PollAnswer"
- }
- },
- "duration": {
- "type": "integer"
- },
- "allow_multiselect": {
- "type": "boolean"
- },
- "layout_type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "answers",
- "question"
- ]
- },
- "PollMedia": {
- "type": "object",
- "properties": {
- "text": {
- "type": "string"
- },
- "emoji": {
- "$ref": "#/definitions/PartialEmoji"
- }
- },
- "additionalProperties": false
- },
- "PollAnswer": {
- "type": "object",
- "properties": {
- "answer_id": {
- "type": "string"
- },
- "poll_media": {
- "$ref": "#/definitions/PollMedia"
- }
- },
- "additionalProperties": false,
- "required": [
- "poll_media"
- ]
- },
- "ChannelOverride": {
- "type": "object",
- "properties": {
- "message_notifications": {
- "type": "integer"
- },
- "mute_config": {
- "$ref": "#/definitions/MuteConfig"
- },
- "muted": {
- "type": "boolean"
- },
- "channel_id": {
- "type": [
- "null",
- "string"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "channel_id",
- "message_notifications",
- "mute_config",
- "muted"
- ]
- },
- "MuteConfig": {
- "type": "object",
- "properties": {
- "end_time": {
- "type": "integer"
- },
- "selected_time_window": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "end_time",
- "selected_time_window"
- ]
- },
- "CustomStatus": {
- "type": "object",
- "properties": {
- "emoji_id": {
- "type": "string"
- },
- "emoji_name": {
- "type": "string"
- },
- "expires_at": {
- "type": "integer"
- },
- "text": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "FriendSourceFlags": {
- "type": "object",
- "properties": {
- "all": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "all"
- ]
- },
- "GuildFolder": {
- "type": "object",
- "properties": {
- "color": {
- "type": "integer"
- },
- "guild_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "color",
- "guild_ids",
- "id",
- "name"
- ]
- },
- "GenerateWebAuthnCredentialsSchema": {
- "type": "object",
- "properties": {
- "password": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "password"
- ]
- },
- "CreateWebAuthnCredentialSchema": {
- "type": "object",
- "properties": {
- "credential": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "ticket": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "credential",
- "name",
- "ticket"
- ]
- },
- "APIErrorResponse": {
- "type": "object",
- "properties": {
- "code": {
- "type": "integer"
- },
- "message": {
- "type": "string"
- },
- "errors": {
- "type": "object",
- "additionalProperties": {
- "type": "object",
- "properties": {
- "_errors": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "message": {
- "type": "string"
- },
- "code": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "message"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "_errors"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "errors",
- "message"
- ]
- },
- "CaptchaRequiredResponse": {
- "type": "object",
- "properties": {
- "captcha_key": {
- "type": "string"
- },
- "captcha_sitekey": {
- "type": "string"
- },
- "captcha_service": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "captcha_key",
- "captcha_service",
- "captcha_sitekey"
- ]
- },
- "Guild": {
- "type": "object",
- "properties": {
- "afk_channel_id": {
- "type": "string"
- },
- "afk_channel": {
- "$ref": "#/definitions/Channel"
- },
- "afk_timeout": {
- "type": "integer"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "banner": {
- "type": "string"
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "description": {
- "type": "string"
- },
- "discovery_splash": {
- "type": "string"
- },
- "explicit_content_filter": {
- "type": "integer"
- },
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "primary_category_id": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "large": {
- "type": "boolean",
- "default": false
- },
- "max_members": {
- "type": "integer"
- },
- "max_presences": {
- "type": "integer"
- },
- "max_video_channel_users": {
- "type": "integer"
- },
- "member_count": {
- "type": "integer"
- },
- "presence_count": {
- "type": "integer"
- },
- "members": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Member"
- }
- },
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
- },
- "channels": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Channel"
- }
- },
- "template_id": {
- "type": "string"
- },
- "template": {
- "$ref": "#/definitions/Template"
- },
- "emojis": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Emoji"
- }
- },
- "stickers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Sticker"
- }
- },
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
- "mfa_level": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- },
- "owner_id": {
- "type": "string"
- },
- "owner": {
- "$ref": "#/definitions/User"
- },
- "preferred_locale": {
- "type": "string"
- },
- "premium_subscription_count": {
- "type": "integer"
- },
- "premium_tier": {
- "type": "integer"
- },
- "public_updates_channel_id": {
- "type": "string"
- },
- "public_updates_channel": {
- "$ref": "#/definitions/Channel"
- },
- "rules_channel_id": {
- "type": "string"
- },
- "rules_channel": {
- "type": "string"
- },
- "region": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_id": {
- "type": "string"
- },
- "system_channel": {
- "$ref": "#/definitions/Channel"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "unavailable": {
- "type": "boolean",
- "default": false
- },
- "verification_level": {
- "type": "integer"
- },
- "welcome_screen": {
- "$ref": "#/definitions/GuildWelcomeScreen"
- },
- "widget_channel_id": {
- "type": "string"
- },
- "widget_channel": {
- "$ref": "#/definitions/Channel"
- },
- "widget_enabled": {
- "type": "boolean",
- "default": true
- },
- "nsfw_level": {
- "type": "integer"
- },
- "nsfw": {
- "type": "boolean",
- "default": false
- },
- "parent": {
- "type": "string"
- },
- "permissions": {
- "type": "integer"
- },
- "premium_progress_bar_enabled": {
- "type": "boolean",
- "default": false
- },
- "channel_ordering": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "bans",
- "channel_ordering",
- "channels",
- "emojis",
- "features",
- "id",
- "invites",
- "members",
- "name",
- "nsfw",
- "premium_progress_bar_enabled",
- "public_updates_channel_id",
- "roles",
- "stickers",
- "template",
- "unavailable",
- "voice_states",
- "webhooks",
- "welcome_screen",
- "widget_enabled"
- ]
- },
- "Channel": {
- "type": "object",
- "properties": {
- "created_at": {
- "type": "string",
- "format": "date-time"
- },
- "name": {
- "type": "string"
- },
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "type": {
- "$ref": "#/definitions/ChannelType"
- },
- "recipients": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Recipient"
- }
- },
- "last_message_id": {
- "type": "string"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "parent_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "parent": {
- "$ref": "#/definitions/Channel"
- },
- "owner_id": {
- "type": "string"
- },
- "owner": {
- "$ref": "#/definitions/User"
- },
- "last_pin_timestamp": {
- "type": "integer"
- },
- "default_auto_archive_duration": {
- "type": "integer"
- },
- "permission_overwrites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ChannelPermissionOverwrite"
- }
- },
- "video_quality_mode": {
- "type": "integer"
- },
- "bitrate": {
- "type": "integer"
- },
- "user_limit": {
- "type": "integer"
- },
- "nsfw": {
- "type": "boolean",
- "default": false
- },
- "rate_limit_per_user": {
- "type": "integer"
- },
- "topic": {
- "type": "string"
- },
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "retention_policy_id": {
- "type": "string"
- },
- "messages": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Message"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "read_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ReadState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
- "flags": {
- "type": "integer",
- "default": 0
- },
- "default_thread_rate_limit_per_user": {
- "type": "integer",
- "default": 0
- },
- "position": {
- "description": "Must be calculated Channel.calculatePosition",
- "type": "integer"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "created_at",
- "default_thread_rate_limit_per_user",
- "flags",
- "id",
- "nsfw",
- "owner",
- "parent_id",
- "position",
- "type"
- ]
- },
- "ChannelType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 2,
- 255,
- 3,
- 33,
- 34,
- 35,
- 4,
- 5,
- 6,
- 64,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "Recipient": {
- "type": "object",
- "properties": {
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "closed": {
- "type": "boolean"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel",
- "channel_id",
- "closed",
- "id",
- "user",
- "user_id"
- ]
- },
- "User": {
- "type": "object",
- "properties": {
- "username": {
- "type": "string"
- },
- "discriminator": {
- "type": "string"
- },
- "avatar": {
- "type": "string"
- },
- "accent_color": {
- "type": "integer"
- },
- "banner": {
- "type": "string"
- },
- "theme_colors": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "pronouns": {
- "type": "string"
- },
- "phone": {
- "type": "string"
- },
- "desktop": {
- "type": "boolean",
- "default": false
- },
- "mobile": {
- "type": "boolean",
- "default": false
- },
- "premium": {
- "type": "boolean"
- },
- "premium_type": {
- "type": "integer"
- },
- "bot": {
- "type": "boolean",
- "default": false
- },
- "bio": {
- "type": "string",
- "default": ""
- },
- "system": {
- "type": "boolean",
- "default": false
- },
- "nsfw_allowed": {
- "type": "boolean",
- "default": true
- },
- "mfa_enabled": {
- "type": "boolean",
- "default": false
- },
- "webauthn_enabled": {
- "type": "boolean",
- "default": false
- },
- "totp_secret": {
- "type": "string",
- "default": ""
- },
- "totp_last_ticket": {
- "type": "string",
- "default": ""
- },
- "created_at": {
- "type": "string",
- "format": "date-time"
- },
- "premium_since": {
- "type": "string",
- "format": "date-time"
- },
- "verified": {
- "type": "boolean"
- },
- "disabled": {
- "type": "boolean",
- "default": false
- },
- "deleted": {
- "type": "boolean",
- "default": false
- },
- "email": {
- "type": "string"
- },
- "flags": {
- "type": "integer",
- "default": 0
- },
- "public_flags": {
- "type": "integer",
- "default": 0
- },
- "purchased_flags": {
- "type": "integer",
- "default": 0
- },
- "premium_usage_flags": {
- "type": "integer",
- "default": 0
- },
- "rights": {
- "type": "string"
- },
- "sessions": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Session"
- }
- },
- "relationships": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Relationship"
- }
- },
- "connected_accounts": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ConnectedAccount"
- }
- },
- "data": {
- "type": "object",
- "properties": {
- "valid_tokens_since": {
- "type": "string",
- "format": "date-time"
- },
- "hash": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "valid_tokens_since"
- ]
- },
- "fingerprints": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "settings": {
- "$ref": "#/definitions/UserSettings"
- },
- "extended_settings": {
- "type": "string",
- "default": "{}"
- },
- "security_keys": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/SecurityKey"
- }
- },
- "badge_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "bio",
- "bot",
- "connected_accounts",
- "created_at",
- "data",
- "deleted",
- "desktop",
- "disabled",
- "discriminator",
- "extended_settings",
- "fingerprints",
- "flags",
- "id",
- "mfa_enabled",
- "mobile",
- "nsfw_allowed",
- "premium",
- "premium_since",
- "premium_type",
- "premium_usage_flags",
- "public_flags",
- "purchased_flags",
- "relationships",
- "rights",
- "security_keys",
- "sessions",
- "settings",
- "system",
- "username",
- "verified",
- "webauthn_enabled"
- ]
- },
- "Session": {
- "type": "object",
- "properties": {
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "session_id": {
- "type": "string"
- },
- "activities": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Activity"
- }
- },
- "client_info": {
- "type": "object",
- "properties": {
- "client": {
- "type": "string"
- },
- "os": {
- "type": "string"
- },
- "version": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "client",
- "os",
- "version"
- ]
- },
- "client_status": {
- "$ref": "#/definitions/ClientStatus"
- },
- "status": {
- "$ref": "#/definitions/Status"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "activities",
- "client_info",
- "client_status",
- "id",
- "session_id",
- "status",
- "user",
- "user_id"
- ]
- },
- "ClientStatus": {
- "type": "object",
- "properties": {
- "desktop": {
- "type": "string"
- },
- "mobile": {
- "type": "string"
- },
- "web": {
- "type": "string"
- },
- "embedded": {
- "type": "string"
- }
- },
- "additionalProperties": false
- },
- "Relationship": {
- "type": "object",
- "properties": {
- "from_id": {
- "type": "string"
- },
- "from": {
- "$ref": "#/definitions/User"
- },
- "to_id": {
- "type": "string"
- },
- "to": {
- "$ref": "#/definitions/User"
- },
- "nickname": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/RelationshipType"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "from",
- "from_id",
- "id",
- "to",
- "to_id",
- "type"
- ]
- },
- "RelationshipType": {
- "enum": [
- 1,
- 2,
- 3,
- 4
- ],
- "type": "number"
- },
- "ConnectedAccount": {
- "type": "object",
- "properties": {
- "external_id": {
- "type": "string"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "friend_sync": {
- "type": "boolean",
- "default": false
- },
- "name": {
- "type": "string"
- },
- "revoked": {
- "type": "boolean",
- "default": false
- },
- "show_activity": {
- "type": "integer",
- "default": 0
- },
- "type": {
- "type": "string"
- },
- "verified": {
- "type": "boolean",
- "default": true
- },
- "visibility": {
- "type": "integer",
- "default": 0
- },
- "integrations": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "metadata_": {},
- "metadata_visibility": {
- "type": "integer",
- "default": 0
- },
- "two_way_link": {
- "type": "boolean",
- "default": false
- },
- "token_data": {
- "anyOf": [
- {
- "$ref": "#/definitions/ConnectedAccountTokenData"
- },
- {
- "type": "null"
- }
- ]
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "external_id",
- "id",
- "name",
- "type",
- "user",
- "user_id"
- ]
- },
- "UserSettings": {
- "type": "object",
- "properties": {
- "index": {
- "type": "string"
- },
- "afk_timeout": {
- "type": "integer",
- "default": 3600
- },
- "allow_accessibility_detection": {
- "type": "boolean",
- "default": true
- },
- "animate_emoji": {
- "type": "boolean",
- "default": true
- },
- "animate_stickers": {
- "type": "integer",
- "default": 0
- },
- "contact_sync_enabled": {
- "type": "boolean",
- "default": false
- },
- "convert_emoticons": {
- "type": "boolean",
- "default": false
- },
- "custom_status": {
- "anyOf": [
- {
- "$ref": "#/definitions/CustomStatus"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "default_guilds_restricted": {
- "type": "boolean",
- "default": false
- },
- "detect_platform_accounts": {
- "type": "boolean",
- "default": false
- },
- "developer_mode": {
- "type": "boolean",
- "default": true
- },
- "disable_games_tab": {
- "type": "boolean",
- "default": true
- },
- "enable_tts_command": {
- "type": "boolean",
- "default": false
- },
- "explicit_content_filter": {
- "type": "integer",
- "default": 0
- },
- "friend_discovery_flags": {
- "type": "integer",
- "default": 0
- },
- "friend_source_flags": {
- "$ref": "#/definitions/FriendSourceFlags"
- },
- "gateway_connected": {
- "type": "boolean",
- "default": false
- },
- "gif_auto_play": {
- "type": "boolean",
- "default": false
- },
- "guild_folders": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/GuildFolder"
- },
- "default": []
- },
- "guild_positions": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "inline_attachment_media": {
- "type": "boolean",
- "default": true
- },
- "inline_embed_media": {
- "type": "boolean",
- "default": true
- },
- "locale": {
- "type": "string",
- "default": "en-US"
- },
- "message_display_compact": {
- "type": "boolean",
- "default": false
- },
- "native_phone_integration_enabled": {
- "type": "boolean",
- "default": true
- },
- "render_embeds": {
- "type": "boolean",
- "default": true
- },
- "render_reactions": {
- "type": "boolean",
- "default": true
- },
- "restricted_guilds": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "show_current_game": {
- "type": "boolean",
- "default": true
- },
- "status": {
- "enum": [
- "dnd",
- "idle",
- "invisible",
- "offline",
- "online"
- ],
- "type": "string",
- "default": "online"
- },
- "stream_notifications_enabled": {
- "type": "boolean",
- "default": false
- },
- "theme": {
- "enum": [
- "dark",
- "light"
- ],
- "type": "string",
- "default": "dark"
- },
- "timezone_offset": {
- "type": "integer",
- "default": 0
- },
- "view_nsfw_guilds": {
- "type": "boolean",
- "default": true
- }
- },
- "additionalProperties": false,
- "required": [
- "afk_timeout",
- "allow_accessibility_detection",
- "animate_emoji",
- "animate_stickers",
- "contact_sync_enabled",
- "convert_emoticons",
- "custom_status",
- "default_guilds_restricted",
- "detect_platform_accounts",
- "developer_mode",
- "disable_games_tab",
- "enable_tts_command",
- "explicit_content_filter",
- "friend_discovery_flags",
- "friend_source_flags",
- "gateway_connected",
- "gif_auto_play",
- "guild_folders",
- "guild_positions",
- "index",
- "inline_attachment_media",
- "inline_embed_media",
- "locale",
- "message_display_compact",
- "native_phone_integration_enabled",
- "render_embeds",
- "render_reactions",
- "restricted_guilds",
- "show_current_game",
- "status",
- "stream_notifications_enabled",
- "theme",
- "timezone_offset",
- "view_nsfw_guilds"
- ]
- },
- "SecurityKey": {
- "type": "object",
- "properties": {
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "key_id": {
- "type": "string"
- },
- "public_key": {
- "type": "string"
- },
- "counter": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "counter",
- "id",
- "key_id",
- "name",
- "public_key",
- "user",
- "user_id"
- ]
- },
- "ChannelPermissionOverwrite": {
- "type": "object",
- "properties": {
- "allow": {
- "type": "string"
- },
- "deny": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/ChannelPermissionOverwriteType"
- }
- },
- "additionalProperties": false,
- "required": [
- "allow",
- "deny",
- "id",
- "type"
- ]
- },
- "Invite": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "temporary": {
- "type": "boolean"
- },
- "uses": {
- "type": "integer"
- },
- "max_uses": {
- "type": "integer"
- },
- "max_age": {
- "type": "integer"
- },
- "created_at": {
- "type": "string",
- "format": "date-time"
- },
- "expires_at": {
- "type": "string",
- "format": "date-time"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "inviter_id": {
- "type": "string"
- },
- "inviter": {
- "$ref": "#/definitions/User"
- },
- "target_user_id": {
- "type": "string"
- },
- "target_user": {
- "type": "string"
- },
- "target_user_type": {
- "type": "integer"
- },
- "vanity_url": {
- "type": "boolean"
- },
- "flags": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel",
- "channel_id",
- "code",
- "created_at",
- "flags",
- "guild",
- "guild_id",
- "inviter",
- "max_age",
- "max_uses",
- "target_user_id",
- "temporary",
- "uses"
- ]
- },
- "Message": {
- "type": "object",
- "properties": {
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "author_id": {
- "type": "string"
- },
- "author": {
- "$ref": "#/definitions/User"
- },
- "member_id": {
- "type": "string"
- },
- "member": {
- "$ref": "#/definitions/Member"
- },
- "webhook_id": {
- "type": "string"
- },
- "webhook": {
- "$ref": "#/definitions/Webhook"
- },
- "application_id": {
- "type": "string"
- },
- "application": {
- "$ref": "#/definitions/Application"
- },
- "content": {
- "type": "string"
- },
- "timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "edited_timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "tts": {
- "type": "boolean"
- },
- "mention_everyone": {
- "type": "boolean"
- },
- "mentions": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/User"
- }
- },
- "mention_roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
- },
- "mention_channels": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Channel"
- }
- },
- "sticker_items": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Sticker"
- }
- },
- "attachments": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Attachment"
- }
- },
- "embeds": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Embed"
- }
- },
- "reactions": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Reaction"
- }
- },
- "nonce": {
- "type": "string"
- },
- "pinned": {
- "type": "boolean"
- },
- "type": {
- "$ref": "#/definitions/MessageType"
- },
- "activity": {
- "type": "object",
- "properties": {
- "type": {
- "type": "integer"
- },
- "party_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "party_id",
- "type"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "message_reference": {
- "type": "object",
- "properties": {
- "message_id": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- },
- "guild_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "message_id"
- ]
- },
- "referenced_message": {
- "$ref": "#/definitions/Message"
- },
- "interaction": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/InteractionType"
- },
- "name": {
- "type": "string"
- },
- "user_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name",
- "type",
- "user_id"
- ]
- },
- "components": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ActionRowComponent"
- }
- },
- "poll": {
- "$ref": "#/definitions/Poll"
- },
- "username": {
- "type": "string"
- },
- "avatar": {
- "type": "string"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel",
- "embeds",
- "flags",
- "id",
- "mention_channels",
- "mention_roles",
- "mentions",
- "reactions",
- "timestamp",
- "type"
- ]
- },
- "Member": {
- "type": "object",
- "properties": {
- "index": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "nick": {
- "type": "string"
- },
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
- },
- "joined_at": {
- "type": "string",
- "format": "date-time"
- },
- "premium_since": {
- "type": "integer"
- },
- "deaf": {
- "type": "boolean"
- },
- "mute": {
- "type": "boolean"
- },
- "pending": {
- "type": "boolean"
- },
- "settings": {
- "$ref": "#/definitions/UserGuildSettings"
- },
- "last_message_id": {
- "type": "string"
- },
- "joined_by": {
- "type": "string"
- },
- "avatar": {
- "type": "string"
- },
- "banner": {
- "type": "string"
- },
- "bio": {
- "type": "string"
- },
- "theme_colors": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "pronouns": {
- "type": "string"
- },
- "communication_disabled_until": {
- "type": "string",
- "format": "date-time"
- }
- },
- "additionalProperties": false,
- "required": [
- "banner",
- "bio",
- "communication_disabled_until",
- "deaf",
- "guild",
- "guild_id",
- "id",
- "index",
- "joined_at",
- "joined_by",
- "mute",
- "pending",
- "roles",
- "settings",
- "user"
- ]
- },
- "Role": {
- "type": "object",
- "properties": {
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "color": {
- "type": "integer"
- },
- "hoist": {
- "type": "boolean"
- },
- "managed": {
- "type": "boolean"
- },
- "mentionable": {
- "type": "boolean"
- },
- "name": {
- "type": "string"
- },
- "permissions": {
- "type": "string"
- },
- "position": {
- "type": "integer"
- },
- "icon": {
- "type": "string"
- },
- "unicode_emoji": {
- "type": "string"
- },
- "tags": {
- "type": "object",
- "properties": {
- "bot_id": {
- "type": "string"
- },
- "integration_id": {
- "type": "string"
- },
- "premium_subscriber": {
- "type": "boolean"
- }
- },
- "additionalProperties": false
- },
- "flags": {
- "type": "integer"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "color",
- "flags",
- "guild",
- "guild_id",
- "hoist",
- "id",
- "managed",
- "mentionable",
- "name",
- "permissions",
- "position"
- ]
- },
- "UserGuildSettings": {
- "type": "object",
- "properties": {
- "channel_overrides": {
- "anyOf": [
- {
- "type": "object",
- "additionalProperties": {
- "$ref": "#/definitions/ChannelOverride"
- }
- },
- {
- "type": "null"
- }
- ]
- },
- "message_notifications": {
- "type": "integer"
- },
- "mobile_push": {
- "type": "boolean"
- },
- "mute_config": {
- "anyOf": [
- {
- "$ref": "#/definitions/MuteConfig"
- },
- {
- "type": "null"
- }
- ]
- },
- "muted": {
- "type": "boolean"
- },
- "suppress_everyone": {
- "type": "boolean"
- },
- "suppress_roles": {
- "type": "boolean"
- },
- "version": {
- "type": "integer"
- },
- "guild_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "mute_scheduled_events": {
- "type": "boolean"
- },
- "hide_muted_channels": {
- "type": "boolean"
- },
- "notify_highlights": {
- "type": "number",
- "enum": [
- 0
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "channel_overrides",
- "flags",
- "guild_id",
- "hide_muted_channels",
- "message_notifications",
- "mobile_push",
- "mute_config",
- "mute_scheduled_events",
- "muted",
- "notify_highlights",
- "suppress_everyone",
- "suppress_roles",
- "version"
- ]
- },
- "Webhook": {
- "type": "object",
- "properties": {
- "type": {
- "$ref": "#/definitions/WebhookType"
- },
- "name": {
- "type": "string"
- },
- "avatar": {
- "type": "string"
- },
- "token": {
- "type": "string"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "application_id": {
- "type": "string"
- },
- "application": {
- "$ref": "#/definitions/Application"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "source_guild_id": {
- "type": "string"
- },
- "source_guild": {
- "$ref": "#/definitions/Guild"
- },
- "source_channel_id": {
- "type": "string"
- },
- "source_channel": {
- "$ref": "#/definitions/Channel"
- },
- "url": {
- "type": "string"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "application",
- "application_id",
- "avatar",
- "channel",
- "channel_id",
- "id",
- "name",
- "source_channel",
- "source_channel_id",
- "type",
- "url",
- "user",
- "user_id"
- ]
- },
- "WebhookType": {
- "enum": [
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "Application": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "summary": {
- "type": "string",
- "default": ""
- },
- "type": {
- "type": "object",
- "properties": {},
- "additionalProperties": true
- },
- "hook": {
- "type": "boolean",
- "default": true
- },
- "bot_public": {
- "type": "boolean",
- "default": true
- },
- "bot_require_code_grant": {
- "type": "boolean",
- "default": false
- },
- "verify_key": {
- "type": "string"
- },
- "owner": {
- "$ref": "#/definitions/User"
- },
- "flags": {
- "type": "integer",
- "default": 0
- },
- "redirect_uris": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
- "rpc_application_state": {
- "type": "integer",
- "default": 0
- },
- "store_application_state": {
- "type": "integer",
- "default": 1
- },
- "verification_state": {
- "type": "integer",
- "default": 1
- },
- "interactions_endpoint_url": {
- "type": "string"
- },
- "integration_public": {
- "type": "boolean",
- "default": true
- },
- "integration_require_code_grant": {
- "type": "boolean",
- "default": false
- },
- "discoverability_state": {
- "type": "integer",
- "default": 1
- },
- "discovery_eligibility_flags": {
- "type": "integer",
- "default": 2240
- },
- "bot": {
- "$ref": "#/definitions/User"
- },
- "tags": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "cover_image": {
- "type": "string"
- },
- "install_params": {
- "type": "object",
- "properties": {
- "scopes": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "permissions": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "permissions",
- "scopes"
- ]
- },
- "terms_of_service_url": {
- "type": "string"
- },
- "privacy_policy_url": {
- "type": "string"
- },
- "team": {
- "$ref": "#/definitions/Team"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "description",
- "discoverability_state",
- "discovery_eligibility_flags",
- "flags",
- "hook",
- "id",
- "integration_public",
- "integration_require_code_grant",
- "name",
- "owner",
- "redirect_uris",
- "rpc_application_state",
- "store_application_state",
- "summary",
- "verification_state",
- "verify_key"
- ]
- },
- "Team": {
- "type": "object",
- "properties": {
- "icon": {
- "type": "string"
- },
- "members": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/TeamMember"
- }
- },
- "name": {
- "type": "string"
- },
- "owner_user_id": {
- "type": "string"
- },
- "owner_user": {
- "$ref": "#/definitions/User"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "members",
- "name",
- "owner_user",
- "owner_user_id"
- ]
- },
- "TeamMember": {
- "type": "object",
- "properties": {
- "membership_state": {
- "$ref": "#/definitions/TeamMemberState"
- },
- "permissions": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "team_id": {
- "type": "string"
- },
- "team": {
- "$ref": "#/definitions/Team"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "membership_state",
- "permissions",
- "team",
- "team_id",
- "user",
- "user_id"
- ]
- },
- "TeamMemberState": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
- },
- "Sticker": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "available": {
- "type": "boolean"
- },
- "tags": {
- "type": "string"
- },
- "pack_id": {
- "type": "string"
- },
- "pack": {
- "$ref": "#/definitions/StickerPack"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "type": {
- "$ref": "#/definitions/StickerType"
- },
- "format_type": {
- "$ref": "#/definitions/StickerFormatType"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "format_type",
- "id",
- "name",
- "pack",
- "type"
- ]
- },
- "StickerPack": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "banner_asset_id": {
- "type": "string"
- },
- "stickers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Sticker"
- }
- },
- "cover_sticker_id": {
- "type": "string"
- },
- "cover_sticker": {
- "$ref": "#/definitions/Sticker"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "name",
- "stickers"
- ]
- },
- "StickerType": {
- "enum": [
- 1,
- 2
- ],
- "type": "number"
- },
- "StickerFormatType": {
- "enum": [
- 0,
- 1,
- 2,
- 3
- ],
- "type": "number"
- },
- "Attachment": {
- "type": "object",
- "properties": {
- "filename": {
- "type": "string"
- },
- "size": {
- "type": "integer"
- },
- "url": {
- "type": "string"
- },
- "proxy_url": {
- "type": "string"
- },
- "height": {
- "type": "integer"
- },
- "width": {
- "type": "integer"
- },
- "content_type": {
- "type": "string"
- },
- "message_id": {
- "type": "string"
- },
- "message": {
- "$ref": "#/definitions/Message"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "filename",
- "id",
- "message",
- "message_id",
- "proxy_url",
- "size",
- "url"
- ]
- },
- "Reaction": {
- "type": "object",
- "properties": {
- "count": {
- "type": "integer"
- },
- "emoji": {
- "$ref": "#/definitions/PartialEmoji"
- },
- "user_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "count",
- "emoji",
- "user_ids"
- ]
- },
- "MessageType": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 16,
- 19,
- 2,
- 20,
- 255,
- 3,
- 4,
- 41,
- 42,
- 43,
- 5,
- 50,
- 6,
- 63,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "InteractionType": {
- "enum": [
- 0,
- 1,
- 2
- ],
- "type": "number"
- },
- "Poll": {
- "type": "object",
- "properties": {
- "question": {
- "$ref": "#/definitions/PollMedia"
- },
- "answers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PollAnswer"
- }
- },
- "expiry": {
- "type": "string",
- "format": "date-time"
- },
- "allow_multiselect": {
- "type": "boolean"
- },
- "results": {
- "$ref": "#/definitions/PollResult"
- }
- },
- "additionalProperties": false,
- "required": [
- "allow_multiselect",
- "answers",
- "expiry",
- "question"
- ]
- },
- "PollResult": {
- "type": "object",
- "properties": {
- "is_finalized": {
- "type": "boolean"
- },
- "answer_counts": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PollAnswerCount"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "answer_counts",
- "is_finalized"
- ]
- },
- "PollAnswerCount": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "count": {
- "type": "integer"
- },
- "me_voted": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "count",
- "id",
- "me_voted"
- ]
- },
- "VoiceState": {
- "type": "object",
- "properties": {
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "member": {
- "$ref": "#/definitions/Member"
- },
- "session_id": {
- "type": "string"
- },
- "token": {
- "type": "string"
- },
- "deaf": {
- "type": "boolean"
- },
- "mute": {
- "type": "boolean"
- },
- "self_deaf": {
- "type": "boolean"
- },
- "self_mute": {
- "type": "boolean"
- },
- "self_stream": {
- "type": "boolean"
- },
- "self_video": {
- "type": "boolean"
- },
- "suppress": {
- "type": "boolean"
- },
- "request_to_speak_timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel",
- "channel_id",
- "deaf",
- "guild_id",
- "id",
- "member",
- "mute",
- "self_deaf",
- "self_mute",
- "self_video",
- "session_id",
- "suppress",
- "token",
- "user",
- "user_id"
- ]
- },
- "ReadState": {
- "type": "object",
- "properties": {
- "channel_id": {
- "type": "string"
- },
- "channel": {
- "$ref": "#/definitions/Channel"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "last_message_id": {
- "type": "string"
- },
- "public_ack": {
- "type": "string"
- },
- "notifications_cursor": {
- "type": "string"
- },
- "last_pin_timestamp": {
- "type": "string",
- "format": "date-time"
- },
- "mention_count": {
- "type": "integer"
- },
- "manual": {
- "type": "boolean"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel",
- "channel_id",
- "id",
- "last_message_id",
- "manual",
- "mention_count",
- "notifications_cursor",
- "public_ack",
- "user",
- "user_id"
- ]
- },
- "Ban": {
- "type": "object",
- "properties": {
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "executor_id": {
- "type": "string"
- },
- "executor": {
- "$ref": "#/definitions/User"
- },
- "ip": {
- "type": "string"
- },
- "reason": {
- "type": "string"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "executor",
- "executor_id",
- "guild",
- "guild_id",
- "id",
- "ip",
- "user",
- "user_id"
- ]
- },
- "Template": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "usage_count": {
- "type": "integer"
- },
- "creator_id": {
- "type": "string"
- },
- "creator": {
- "$ref": "#/definitions/User"
- },
- "created_at": {
- "type": "string",
- "format": "date-time"
- },
- "updated_at": {
- "type": "string",
- "format": "date-time"
- },
- "source_guild_id": {
- "type": "string"
- },
- "source_guild": {
- "$ref": "#/definitions/Guild"
- },
- "serialized_source_guild": {
- "$ref": "#/definitions/Guild"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "created_at",
- "creator",
- "creator_id",
- "id",
- "name",
- "serialized_source_guild",
- "source_guild",
- "source_guild_id",
- "updated_at"
- ]
- },
- "Emoji": {
- "type": "object",
- "properties": {
- "animated": {
- "type": "boolean"
- },
- "available": {
- "type": "boolean"
- },
- "guild_id": {
- "type": "string"
- },
- "guild": {
- "$ref": "#/definitions/Guild"
- },
- "user_id": {
- "type": "string"
- },
- "user": {
- "$ref": "#/definitions/User"
- },
- "managed": {
- "type": "boolean"
- },
- "name": {
- "type": "string"
- },
- "require_colons": {
- "type": "boolean"
- },
- "roles": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "groups": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "animated",
- "available",
- "groups",
- "guild",
- "guild_id",
- "id",
- "managed",
- "name",
- "require_colons",
- "roles",
- "user",
- "user_id"
- ]
- },
- "GuildWelcomeScreen": {
- "type": "object",
- "properties": {
- "enabled": {
- "type": "boolean"
- },
- "description": {
- "type": "string"
- },
- "welcome_channels": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "description": {
- "type": "string"
- },
- "emoji_id": {
- "type": "string"
- },
- "emoji_name": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "channel_id",
- "description"
- ]
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "description",
- "enabled",
- "welcome_channels"
- ]
- },
- "GuildMessagesSearchMessage": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/MessageType"
- },
- "content": {
- "type": "string"
- },
- "channel_id": {
- "type": "string"
- },
- "author": {
- "$ref": "#/definitions/PublicUser"
- },
- "attachments": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Attachment"
- }
- },
- "embeds": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Embed"
- }
- },
- "mentions": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/PublicUser"
- }
- },
- "mention_roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
- },
- "pinned": {
- "type": "boolean"
- },
- "mention_everyone": {
- "type": "boolean"
- },
- "tts": {
- "type": "boolean"
- },
- "timestamp": {
- "type": "string"
- },
- "edited_timestamp": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "components": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/ActionRowComponent"
- }
- },
- "poll": {
- "$ref": "#/definitions/Poll"
- },
- "hit": {
- "type": "boolean",
- "enum": [
- true
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "attachments",
- "author",
- "channel_id",
- "components",
- "edited_timestamp",
- "embeds",
- "flags",
- "hit",
- "id",
- "mention_roles",
- "mentions",
- "pinned",
- "poll",
- "timestamp",
- "tts",
- "type"
- ]
- },
- "PublicUser": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "premium_since": {
- "type": "string",
- "format": "date-time"
- },
- "avatar": {
- "type": "string"
- },
- "username": {
- "type": "string"
- },
- "discriminator": {
- "type": "string"
- },
- "public_flags": {
- "type": "integer"
- },
- "accent_color": {
- "type": "integer"
- },
- "banner": {
- "type": "string"
- },
- "bio": {
- "type": "string"
- },
- "bot": {
- "type": "boolean"
- },
- "premium_type": {
- "type": "integer"
- },
- "theme_colors": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "pronouns": {
- "type": "string"
- },
- "badge_ids": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "bio",
- "bot",
- "discriminator",
- "id",
- "premium_since",
- "premium_type",
- "public_flags",
- "username"
- ]
- },
- "GuildVanityUrl": {
- "type": "object",
- "properties": {
- "code": {
- "type": "string"
- },
- "uses": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "uses"
- ]
- },
- "GuildVanityUrlNoInvite": {
- "type": "object",
- "properties": {
- "code": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "code"
- ]
- },
- "Snowflake": {
- "description": "A container for useful snowflake-related methods.",
- "type": "object",
- "additionalProperties": false
- },
- "TenorGifResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "title": {
- "type": "string"
- },
- "url": {
- "type": "string"
- },
- "src": {
- "type": "string"
- },
- "gif_src": {
- "type": "string"
- },
- "width": {
- "type": "integer"
- },
- "height": {
- "type": "integer"
- },
- "preview": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "gif_src",
- "height",
- "id",
- "preview",
- "src",
- "title",
- "url",
- "width"
- ]
- },
- "BackupCode": {
- "type": "object",
- "properties": {
- "user": {
- "$ref": "#/definitions/User"
- },
- "code": {
- "type": "string"
- },
- "consumed": {
- "type": "boolean"
- },
- "expired": {
- "type": "boolean"
- },
- "id": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "code",
- "consumed",
- "expired",
- "id",
- "user"
- ]
- },
- "APIGuild": {
- "type": "object",
- "properties": {
- "reload": {
- "description": "Reloads entity data from the database.",
- "type": "object",
- "additionalProperties": false
- },
- "name": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "parent": {
- "type": "string"
- },
- "owner_id": {
- "type": "string"
- },
- "nsfw": {
- "type": "boolean"
- },
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Webhook"
- }
- },
- "toJSON": {
- "type": "object",
- "additionalProperties": false
- },
- "_do_validate": {
- "type": "object",
- "additionalProperties": false
- },
- "assign": {
- "type": "object",
- "additionalProperties": false
- },
- "hasId": {
- "description": "Checks if entity has an id.\nIf entity composite compose ids, it will check them all.",
- "type": "object",
- "additionalProperties": false
- },
- "save": {
- "description": "Saves current entity in the database.\nIf entity does not exist in the database then inserts, otherwise updates.",
- "type": "object",
- "additionalProperties": false
- },
- "remove": {
- "description": "Removes current entity from the database.",
- "type": "object",
- "additionalProperties": false
- },
- "softRemove": {
- "description": "Records the delete date of current entity.",
- "type": "object",
- "additionalProperties": false
- },
- "recover": {
- "description": "Recovers a given entity in the database.",
- "type": "object",
- "additionalProperties": false
- },
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Role"
- }
- },
- "banner": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "unavailable": {
- "type": "boolean"
- },
- "channels": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Channel"
- }
- },
- "region": {
- "type": "string"
- },
- "system_channel_id": {
- "type": "string"
- },
- "rules_channel_id": {
- "type": "string"
- },
- "afk_timeout": {
- "type": "integer"
- },
- "explicit_content_filter": {
- "type": "integer"
- },
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
- "type": "string"
- },
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "primary_category_id": {
- "type": "string"
- },
- "large": {
- "type": "boolean"
- },
- "max_members": {
- "type": "integer"
- },
- "max_presences": {
- "type": "integer"
- },
- "max_video_channel_users": {
- "type": "integer"
- },
- "member_count": {
- "type": "integer"
- },
- "presence_count": {
- "type": "integer"
- },
- "members": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Member"
- }
- },
- "template_id": {
- "type": "string"
- },
- "emojis": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Emoji"
- }
- },
- "stickers": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Sticker"
- }
- },
- "mfa_level": {
- "type": "integer"
- },
- "preferred_locale": {
- "type": "string"
- },
- "premium_subscription_count": {
- "type": "integer"
- },
- "premium_tier": {
- "type": "integer"
- },
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
- "welcome_screen": {
- "$ref": "#/definitions/GuildWelcomeScreen"
- },
- "widget_channel_id": {
- "type": "string"
- },
- "widget_enabled": {
- "type": "boolean"
- },
- "nsfw_level": {
- "type": "integer"
- },
- "permissions": {
- "type": "integer"
- },
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
- "channel_ordering": {
- "type": "array",
- "items": {
- "type": "string"
- }
- }
- },
- "additionalProperties": false,
- "required": [
- "_do_validate",
- "assign",
- "bans",
- "channel_ordering",
- "channels",
- "emojis",
- "features",
- "hasId",
- "id",
- "invites",
- "members",
- "name",
- "nsfw",
- "premium_progress_bar_enabled",
- "public_updates_channel_id",
- "recover",
- "reload",
- "remove",
- "roles",
- "save",
- "softRemove",
- "stickers",
- "toJSON",
- "unavailable",
- "voice_states",
- "webhooks",
- "welcome_screen",
- "widget_enabled"
- ]
- },
- "DmChannelDTO": {
- "type": "object",
- "properties": {
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "id": {
- "type": "string"
- },
- "last_message_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "name": {
- "type": [
- "null",
- "string"
- ]
- },
- "origin_channel_id": {
- "type": [
- "null",
- "string"
- ]
- },
- "owner_id": {
- "type": "string"
- },
- "recipients": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/MinimalPublicUserDTO"
- }
- },
- "type": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "icon",
- "id",
- "last_message_id",
- "name",
- "origin_channel_id",
- "recipients",
- "type"
- ]
- },
- "MinimalPublicUserDTO": {
- "type": "object",
- "properties": {
- "avatar": {
- "type": [
- "null",
- "string"
- ]
- },
- "discriminator": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "public_flags": {
- "type": "integer"
- },
- "username": {
- "type": "string"
- },
- "badge_ids": {
- "anyOf": [
- {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "discriminator",
- "id",
- "public_flags",
- "username"
- ]
- },
- "Categories": {
- "type": "object",
- "properties": {
- "id": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- },
- "localizations": {
- "type": "string"
- },
- "is_primary": {
- "type": "boolean"
- },
- "icon": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "id",
- "is_primary",
- "localizations",
- "name"
- ]
- },
- "GuildVoiceRegion": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "custom": {
- "type": "boolean"
- },
- "deprecated": {
- "type": "boolean"
- },
- "optimal": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "custom",
- "deprecated",
- "id",
- "name",
- "optimal"
- ]
- },
- "UserLimits": {
- "type": "object",
- "properties": {
- "maxGuilds": {
- "type": "integer",
- "default": 1048576
- },
- "maxUsername": {
- "type": "integer",
- "default": 32
- },
- "maxFriends": {
- "type": "integer",
- "default": 5000
- },
- "maxBio": {
- "type": "integer",
- "default": 190
- }
- },
- "additionalProperties": false,
- "required": [
- "maxBio",
- "maxFriends",
- "maxGuilds",
- "maxUsername"
- ]
- },
- "GuildLimits": {
- "type": "object",
- "properties": {
- "maxRoles": {
- "type": "integer",
- "default": 1000
- },
- "maxEmojis": {
- "type": "integer",
- "default": 2000
- },
- "maxMembers": {
- "type": "integer",
- "default": 25000000
- },
- "maxChannels": {
- "type": "integer",
- "default": 65535
- },
- "maxBulkBanUsers": {
- "type": "integer",
- "default": 200
- },
- "maxChannelsInCategory": {
- "type": "integer",
- "default": 65535
- }
- },
- "additionalProperties": false,
- "required": [
- "maxBulkBanUsers",
- "maxChannels",
- "maxChannelsInCategory",
- "maxEmojis",
- "maxMembers",
- "maxRoles"
- ]
- },
- "MessageLimits": {
- "type": "object",
- "properties": {
- "maxCharacters": {
- "type": "integer",
- "default": 1048576
- },
- "maxTTSCharacters": {
- "type": "integer",
- "default": 160
- },
- "maxReactions": {
- "type": "integer",
- "default": 2048
- },
- "maxAttachmentSize": {
- "type": "integer",
- "default": 1073741824
- },
- "maxBulkDelete": {
- "type": "integer",
- "default": 1000
- },
- "maxEmbedDownloadSize": {
- "type": "integer",
- "default": 5242880
- }
- },
- "additionalProperties": false,
- "required": [
- "maxAttachmentSize",
- "maxBulkDelete",
- "maxCharacters",
- "maxEmbedDownloadSize",
- "maxReactions",
- "maxTTSCharacters"
- ]
- },
- "ChannelLimits": {
- "type": "object",
- "properties": {
- "maxPins": {
- "type": "integer",
- "default": 500
- },
- "maxTopic": {
- "type": "integer",
- "default": 1024
- },
- "maxWebhooks": {
- "type": "integer",
- "default": 100
- }
- },
- "additionalProperties": false,
- "required": [
- "maxPins",
- "maxTopic",
- "maxWebhooks"
- ]
- },
- "RateLimits": {
- "type": "object",
- "properties": {
- "enabled": {
- "type": "boolean",
- "default": false
- },
- "ip": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "global": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "error": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "routes": {
- "$ref": "#/definitions/RouteRateLimit"
- }
- },
- "additionalProperties": false,
- "required": [
- "enabled",
- "error",
- "global",
- "ip",
- "routes"
- ]
- },
- "RateLimitOptions": {
- "type": "object",
- "properties": {
- "bot": {
- "type": "integer"
- },
- "count": {
- "type": "integer"
- },
- "window": {
- "type": "integer"
- },
- "onyIp": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "count",
- "window"
- ]
- },
- "RouteRateLimit": {
- "type": "object",
- "properties": {
- "guild": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "webhook": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "channel": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "auth": {}
- },
- "additionalProperties": false,
- "required": [
- "auth",
- "channel",
- "guild",
- "webhook"
- ]
- },
- "GlobalRateLimits": {
- "type": "object",
- "properties": {
- "register": {
- "$ref": "#/definitions/GlobalRateLimit"
- },
- "sendMessage": {
- "$ref": "#/definitions/GlobalRateLimit"
- }
- },
- "additionalProperties": false,
- "required": [
- "register",
- "sendMessage"
- ]
- },
- "GlobalRateLimit": {
- "type": "object",
- "properties": {
- "limit": {
- "type": "integer",
- "default": 100
- },
- "window": {
- "type": "integer",
- "default": 3600000
- },
- "enabled": {
- "type": "boolean",
- "default": true
- }
- },
- "additionalProperties": false,
- "required": [
- "enabled",
- "limit",
- "window"
- ]
- },
- "PublicConnectedAccount": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "type": {
- "type": "string"
- },
- "verified": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "name",
- "type"
- ]
- },
- "UserProfile": {
- "type": "object",
- "properties": {
- "accent_color": {
- "type": "integer"
- },
- "banner": {
- "type": "string"
- },
- "bio": {
- "type": "string"
- },
- "theme_colors": {
- "type": "array",
- "items": {
- "type": "integer"
- }
- },
- "pronouns": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "bio"
- ]
- },
- "Badge": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "link": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "description",
- "icon",
- "id"
- ]
- },
- "TokenResponse": {
- "type": "object",
- "properties": {
- "token": {
- "type": "string"
- },
- "settings": {
- "$ref": "#/definitions/UserSettings"
- }
- },
- "additionalProperties": false,
- "required": [
- "settings",
- "token"
- ]
- },
- "MFAResponse": {
- "type": "object",
- "properties": {
- "ticket": {
- "type": "string"
- },
- "mfa": {
- "type": "boolean",
- "enum": [
- true
- ]
- },
- "sms": {
- "type": "boolean",
- "enum": [
- false
- ]
- },
- "token": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "mfa",
- "sms",
- "ticket",
- "token"
- ]
- },
- "WebAuthnResponse": {
- "type": "object",
- "properties": {
- "webauthn": {
- "type": "string"
- },
- "ticket": {
- "type": "string"
- },
- "mfa": {
- "type": "boolean",
- "enum": [
- true
- ]
- },
- "sms": {
- "type": "boolean",
- "enum": [
- false
- ]
- },
- "token": {
- "type": "null"
- }
- },
- "additionalProperties": false,
- "required": [
- "mfa",
- "sms",
- "ticket",
- "token",
- "webauthn"
- ]
- }
- },
"$schema": "http://json-schema.org/draft-07/schema#"
},
"ChannelModifySchema": {
@@ -57760,96 +369,6 @@
},
"additionalProperties": false,
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -61726,14 +4245,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -62326,7 +4845,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -62336,6 +4857,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -62551,96 +5088,6 @@
"type"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -66517,14 +8964,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -67117,7 +9564,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -67127,6 +9576,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -67342,96 +9807,6 @@
]
},
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -71308,14 +13683,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -71908,7 +14283,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -71918,6 +14295,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -72128,96 +14521,6 @@
"nonce"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -76094,14 +18397,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -76694,7 +18997,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -76704,6 +19009,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -76950,96 +19271,6 @@
"user_id"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -80916,14 +23147,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -81516,7 +23747,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -81526,6 +23759,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -81741,96 +23990,6 @@
"state"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -85707,14 +27866,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -86307,7 +28466,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -86317,6 +28478,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -86523,96 +28700,6 @@
},
"additionalProperties": false,
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -90489,14 +32576,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -91089,7 +33176,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -91099,6 +33188,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -91308,96 +33413,6 @@
"recipients"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -95274,14 +37289,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -95874,7 +37889,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -95884,6 +37901,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -96102,96 +38135,6 @@
"image"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -100068,14 +42011,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -100668,7 +42611,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -100678,6 +42623,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -100884,96 +42845,6 @@
},
"additionalProperties": false,
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -104850,14 +46721,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -105450,7 +47321,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -105460,6 +47333,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -105666,96 +47555,6 @@
"login"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -109632,14 +51431,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -110232,7 +52031,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -110242,6 +52043,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -110467,96 +52284,6 @@
},
"additionalProperties": false,
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -114433,14 +56160,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -115033,7 +56760,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -115043,6 +56772,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -115252,96 +56997,6 @@
"name"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -119218,14 +60873,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -119818,7 +61473,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -119828,6 +61485,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -120097,96 +61770,6 @@
},
"additionalProperties": false,
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -124063,14 +65646,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -124663,7 +66246,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -124673,6 +66258,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -124901,96 +66502,6 @@
},
"additionalProperties": false,
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -128867,14 +70378,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -129467,7 +70978,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -129477,6 +70990,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -129846,96 +71375,6 @@
"token"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -133812,14 +75251,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -134412,7 +75851,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -134422,6 +75863,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -134649,96 +76106,6 @@
},
"additionalProperties": false,
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -138615,14 +79982,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -139215,7 +80582,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -139225,6 +80594,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -139462,96 +80847,6 @@
"guild_id"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -143428,14 +84723,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -144028,7 +85323,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -144038,6 +85335,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -144257,96 +85570,6 @@
"password"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -148223,14 +89446,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -148823,7 +90046,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -148833,6 +90058,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -149058,96 +90299,6 @@
},
"additionalProperties": false,
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -153024,14 +94175,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -153624,7 +94775,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -153634,6 +94787,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -153849,96 +95018,6 @@
},
"additionalProperties": false,
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -157815,14 +98894,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -158415,7 +99494,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -158425,6 +99506,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -158628,96 +99725,6 @@
},
"additionalProperties": false,
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -162594,14 +103601,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -163194,7 +104201,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -163204,6 +104213,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -163544,96 +104569,6 @@
},
"additionalProperties": false,
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -167510,14 +108445,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -168110,7 +109045,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -168120,6 +109057,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -168314,96 +109267,6 @@
"PollCreationSchema": {
"$ref": "#/definitions/PollCreationSchema",
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -172280,14 +113143,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -172880,7 +113743,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -172890,6 +113755,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -173084,9 +113965,6 @@
"MessageEditSchema": {
"type": "object",
"properties": {
- "embed": {
- "$ref": "#/definitions/Embed"
- },
"file": {
"type": "object",
"properties": {
@@ -173099,29 +113977,12 @@
"filename"
]
},
+ "embed": {
+ "$ref": "#/definitions/Embed"
+ },
"flags": {
"type": "integer"
},
- "attachments": {
- "description": "TODO: we should create an interface for attachments\nTODO: OpenWAAO<-->attachment-style metadata conversion",
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "filename": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "filename",
- "id"
- ]
- }
- },
"content": {
"type": "string"
},
@@ -173194,6 +114055,26 @@
"payload_json": {
"type": "string"
},
+ "attachments": {
+ "description": "TODO: we should create an interface for attachments\nTODO: OpenWAAO<-->attachment-style metadata conversion",
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "filename": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "filename",
+ "id"
+ ]
+ }
+ },
"sticker_ids": {
"type": "array",
"items": {
@@ -173227,96 +114108,6 @@
},
"additionalProperties": false,
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -177193,14 +117984,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -177793,7 +118584,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -177803,6 +118596,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -178009,96 +118818,6 @@
"password"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -181975,14 +122694,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -182575,7 +123294,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -182585,6 +123306,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -182799,96 +123536,6 @@
"tags"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -186765,14 +127412,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -187365,7 +128012,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -187375,6 +128024,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -187582,96 +128247,6 @@
"token"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -191548,14 +132123,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -192148,7 +132723,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -192158,6 +132735,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -192365,96 +132958,6 @@
"before"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -196331,14 +136834,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -196931,7 +137434,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -196941,6 +137446,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -197183,96 +137704,6 @@
"username"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -201149,14 +141580,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -201749,7 +142180,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -201759,6 +142192,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -201966,96 +142415,6 @@
"username"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -205932,14 +146291,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -206532,7 +146891,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -206542,6 +146903,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -206748,96 +147125,6 @@
},
"additionalProperties": false,
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -210714,14 +151001,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -211314,7 +151601,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -211324,6 +151613,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -211519,7 +151824,21 @@
"type": "object",
"properties": {
"guild_id": {
- "type": "string"
+ "anyOf": [
+ {
+ "type": "array",
+ "items": [
+ {
+ "type": "string"
+ }
+ ],
+ "minItems": 1,
+ "maxItems": 1
+ },
+ {
+ "type": "string"
+ }
+ ]
},
"query": {
"type": "string"
@@ -211552,96 +151871,6 @@
"guild_id"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -215518,14 +155747,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -216118,7 +156347,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -216128,6 +156359,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -216349,96 +156596,6 @@
},
"additionalProperties": false,
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -220315,14 +160472,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -220915,7 +161072,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -220925,6 +161084,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -221135,96 +161310,6 @@
]
},
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -225101,14 +165186,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -225701,7 +165786,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -225711,6 +165798,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -225995,96 +166098,6 @@
"protocol"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -229961,14 +169974,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -230561,7 +170574,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -230571,6 +170586,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -230777,96 +170808,6 @@
"name"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -234743,14 +174684,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -235343,7 +175284,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -235353,6 +175296,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -235559,96 +175518,6 @@
"name"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -239525,14 +179394,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -240125,7 +179994,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -240135,6 +180006,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -240338,96 +180225,6 @@
"code"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -244304,14 +184101,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -244904,7 +184701,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -244914,6 +184713,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -245123,96 +184938,6 @@
"password"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -249089,14 +188814,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -249689,7 +189414,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -249699,6 +189426,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -249918,96 +189661,6 @@
"ticket"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -253884,14 +193537,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -254484,7 +194137,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -254494,6 +194149,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -254697,96 +194368,6 @@
"user_id"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -258663,14 +198244,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -259263,7 +198844,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -259273,6 +198856,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -259525,96 +199124,6 @@
},
"additionalProperties": false,
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -263491,14 +203000,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -264091,7 +203600,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -264101,6 +203612,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -264338,96 +203865,6 @@
},
"additionalProperties": false,
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -268304,14 +207741,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -268904,7 +208341,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -268914,6 +208353,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -269117,96 +208572,6 @@
"note"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -273083,14 +212448,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -273683,7 +213048,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -273693,6 +213060,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -273921,96 +213304,6 @@
},
"additionalProperties": false,
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -277887,14 +217180,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -278487,7 +217780,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -278497,6 +217792,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -278820,96 +218131,6 @@
},
"additionalProperties": false,
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -282786,14 +222007,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -283386,7 +222607,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -283396,6 +222619,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -283598,96 +222837,6 @@
},
"additionalProperties": false,
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -287564,14 +226713,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -288164,7 +227313,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -288174,6 +227325,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -288415,96 +227582,6 @@
"user_id"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -292381,14 +231458,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -292981,7 +232058,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -292991,6 +232070,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -293220,96 +232315,6 @@
"self_mute"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -297186,14 +236191,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -297786,7 +236791,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -297796,6 +236803,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -298077,96 +237100,6 @@
"video_ssrc"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -302043,14 +240976,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -302643,7 +241576,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -302653,6 +241588,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -302856,96 +241807,6 @@
"password"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -306822,14 +245683,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -307422,7 +246283,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -307432,6 +246295,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -307643,96 +246522,6 @@
"ticket"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -311609,14 +250398,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -312209,7 +250998,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -312219,6 +251010,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -312420,96 +251227,6 @@
}
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -316386,14 +255103,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -316986,7 +255703,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -316996,6 +255715,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -317203,96 +255938,6 @@
"ticket"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -321169,14 +259814,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -321769,7 +260414,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -321779,6 +260426,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -321986,96 +260649,6 @@
"name"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -325952,14 +264525,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -326552,7 +265125,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -326562,6 +265137,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -326855,96 +265446,6 @@
},
"additionalProperties": false,
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -330821,14 +269322,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -331421,7 +269922,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -331431,6 +269934,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -331638,96 +270157,6 @@
"enabled"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -335604,14 +274033,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -336204,7 +274633,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -336214,6 +274645,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -336453,96 +274900,6 @@
"message"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -340419,14 +278776,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -341019,7 +279376,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -341029,6 +279388,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -341240,96 +279615,6 @@
"captcha_sitekey"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -345206,14 +283491,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -345806,7 +284091,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -345816,6 +284103,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -346017,96 +284320,6 @@
}
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -349983,14 +288196,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -350583,7 +288796,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -350593,6 +288808,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -350800,96 +289031,6 @@
"regenerate_nonce"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -354766,14 +292907,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -355366,7 +293507,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -355376,6 +293519,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -355594,96 +293753,6 @@
"total"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -359560,14 +297629,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -360160,7 +298229,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -360170,6 +298241,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -360402,96 +298489,6 @@
"url"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -364368,14 +302365,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -364968,7 +302965,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -364978,6 +302977,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -365181,96 +303196,6 @@
"url"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -369147,14 +307072,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -369747,7 +307672,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -369757,6 +307684,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -369963,96 +307906,6 @@
"tokens"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -373929,14 +311782,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -374529,7 +312382,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -374539,6 +312394,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -374774,96 +312645,6 @@
"user"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -378740,14 +316521,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -379340,7 +317121,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -379350,6 +317133,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -379553,96 +317352,6 @@
"id"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -383519,14 +321228,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -384119,7 +321828,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -384129,6 +321840,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -384411,96 +322138,6 @@
"valid_rules_channel"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -388377,14 +326014,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -388977,7 +326614,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -388987,6 +326626,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -389197,96 +326852,6 @@
"total_results"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -393163,14 +330728,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -393763,7 +331328,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -393773,6 +331340,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -393976,96 +331559,6 @@
"pruned"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -397942,14 +335435,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -398542,7 +336035,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -398552,6 +336047,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -398755,96 +336266,6 @@
"purged"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -402721,14 +340142,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -403321,7 +340742,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -403331,6 +340754,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -403541,96 +340980,6 @@
"recommended_guilds"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -407507,14 +344856,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -408107,7 +345456,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -408117,6 +345468,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -408324,96 +345691,6 @@
}
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -412290,14 +349567,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -412890,7 +350167,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -412900,6 +350179,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -413103,96 +350398,6 @@
"code"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -417069,14 +354274,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -417669,7 +354874,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -417679,6 +354886,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -417957,96 +355180,6 @@
"presence_count"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -421923,14 +359056,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -422523,7 +359656,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -422533,6 +359668,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -422747,96 +359898,6 @@
"enabled"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -426713,14 +363774,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -427313,7 +364374,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -427323,6 +364386,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -427538,96 +364617,6 @@
"gateway"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -431504,14 +368493,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -432104,7 +369093,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -432114,6 +369105,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -432379,96 +369386,6 @@
"ping"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -436345,14 +373262,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -436945,7 +373862,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -436955,6 +373874,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -437179,96 +374114,6 @@
"counts"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -441145,14 +377990,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -441745,7 +378590,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -441755,6 +378602,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -441985,96 +378848,6 @@
"promotional_email_opt_in"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -445951,14 +382724,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -446551,7 +383324,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -446561,6 +383336,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -446785,96 +383576,6 @@
"stickers"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -450751,14 +387452,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -451351,7 +388052,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -451361,6 +388064,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -451564,96 +388283,6 @@
"location"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -455530,14 +392159,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -456130,7 +392759,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -456140,6 +392771,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -456371,96 +393018,6 @@
"width"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -460337,14 +396894,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -460937,7 +397494,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -460947,6 +397506,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -461190,96 +397765,6 @@
"gifs"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -465156,14 +401641,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -465756,7 +402241,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -465766,6 +402253,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -465963,96 +402466,6 @@
"$ref": "#/definitions/TenorGifResponse"
},
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -469929,14 +406342,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -470529,7 +406942,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -470539,6 +406954,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -470746,96 +407177,6 @@
"token"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -474712,14 +411053,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -475312,7 +411653,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -475322,6 +411665,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -475525,96 +411884,6 @@
"token"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -479491,14 +415760,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -480091,7 +416360,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -480101,6 +416372,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -480311,96 +416598,6 @@
"token"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -484277,14 +420474,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -484877,7 +421074,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -484887,6 +421086,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -485301,96 +421516,6 @@
"widget_enabled"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -489267,14 +425392,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -489867,7 +425992,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -489877,6 +426004,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -490071,96 +426214,6 @@
"APIPublicUser": {
"$ref": "#/definitions/PublicUser",
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -494037,14 +430090,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -494637,7 +430690,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -494647,6 +430702,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -494941,96 +431012,6 @@
"verified"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -498907,14 +434888,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -499507,7 +435488,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -499517,6 +435500,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -499714,96 +435713,6 @@
"$ref": "#/definitions/APIGuild"
},
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -503680,14 +439589,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -504280,7 +440189,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -504290,6 +440201,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -504487,96 +440414,6 @@
"$ref": "#/definitions/DmChannelDTO"
},
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -508453,14 +444290,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -509053,7 +444890,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -509063,6 +444902,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -509260,96 +445115,6 @@
"$ref": "#/definitions/BackupCode"
},
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -513226,14 +448991,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -513826,7 +449591,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -513836,6 +449603,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -514133,96 +449916,6 @@
"verified"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -518099,14 +453792,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -518699,7 +454392,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -518709,6 +454404,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -518904,96 +454615,6 @@
"type": "array",
"items": {},
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -522870,14 +458491,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -523470,7 +459091,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -523480,6 +459103,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -523675,96 +459314,6 @@
"type": "array",
"items": {},
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -527641,14 +463190,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -528241,7 +463790,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -528251,6 +463802,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -528446,96 +464013,6 @@
"type": "array",
"items": {},
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -532412,14 +467889,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -533012,7 +468489,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -533022,6 +468501,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -533219,96 +468714,6 @@
"$ref": "#/definitions/Application"
},
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -537185,14 +472590,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -537785,7 +473190,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -537795,6 +473202,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -537992,96 +473415,6 @@
"$ref": "#/definitions/Invite"
},
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -541958,14 +477291,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -542558,7 +477891,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -542568,6 +477903,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -542765,96 +478116,6 @@
"$ref": "#/definitions/Message"
},
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -546731,14 +481992,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -547331,7 +482592,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -547341,6 +482604,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -547538,96 +482817,6 @@
"$ref": "#/definitions/Webhook"
},
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -551504,14 +486693,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -552104,7 +487293,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -552114,6 +487305,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -552311,96 +487518,6 @@
"$ref": "#/definitions/Categories"
},
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -556277,14 +491394,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -556877,7 +491994,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -556887,6 +492006,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -557148,96 +492283,6 @@
"tosPage"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -561114,14 +496159,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -561714,7 +496759,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -561724,6 +496771,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -561921,96 +496984,6 @@
"$ref": "#/definitions/Channel"
},
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -565887,14 +500860,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -566487,7 +501460,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -566497,6 +501472,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -566694,96 +501685,6 @@
"$ref": "#/definitions/Emoji"
},
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -570660,14 +505561,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -571260,7 +506161,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -571270,6 +506173,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -571467,96 +506386,6 @@
"$ref": "#/definitions/Member"
},
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -575433,14 +510262,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -576033,7 +510862,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -576043,6 +510874,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -576287,96 +511134,6 @@
"user"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -580253,14 +515010,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -580853,7 +515610,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -580863,6 +515622,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -581296,96 +516071,6 @@
"widget_enabled"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -585262,14 +519947,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -585862,7 +520547,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -585872,6 +520559,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -586069,96 +520772,6 @@
"$ref": "#/definitions/Role"
},
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -590035,14 +524648,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -590635,7 +525248,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -590645,6 +525260,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -590842,96 +525473,6 @@
"$ref": "#/definitions/Sticker"
},
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -594808,14 +529349,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -595408,7 +529949,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -595418,6 +529961,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -595615,96 +530174,6 @@
"$ref": "#/definitions/Template"
},
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -599581,14 +534050,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -600181,7 +534650,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -600191,6 +534662,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -600388,96 +534875,6 @@
"$ref": "#/definitions/GuildVoiceRegion"
},
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -604354,14 +538751,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -604954,7 +539351,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -604964,6 +539363,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -605187,96 +539602,6 @@
"user"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -609153,14 +543478,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -609753,7 +544078,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -609763,6 +544090,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -609960,96 +544303,6 @@
"$ref": "#/definitions/StickerPack"
},
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -613926,14 +548179,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -614526,7 +548779,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -614536,6 +548791,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -614731,96 +549002,6 @@
"type": "object",
"additionalProperties": false,
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -618697,14 +552878,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -619297,7 +553478,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -619307,6 +553490,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -619525,96 +553724,6 @@
"url"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -623491,14 +557600,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -624091,7 +558200,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -624101,6 +558212,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -624312,96 +558439,6 @@
"user_id"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -628278,14 +562315,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -628878,7 +562915,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -628888,6 +562927,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -629218,96 +563273,6 @@
"user_profile"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -633184,14 +567149,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -633784,7 +567749,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -633794,6 +567761,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -634015,96 +567998,6 @@
]
},
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -637981,14 +571874,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -638581,7 +572474,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -638591,6 +572486,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -638806,96 +572717,6 @@
"user"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -642772,14 +576593,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -643372,7 +577193,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -643382,6 +577205,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -643589,96 +577428,6 @@
"name"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -647555,14 +581304,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -648155,7 +581904,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -648165,6 +581916,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -648372,96 +582139,6 @@
"user"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -652338,14 +586015,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -652938,7 +586615,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -652948,6 +586627,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -653142,96 +586837,6 @@
"ActivitySchema": {
"$ref": "#/definitions/ActivitySchema",
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -657108,14 +590713,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -657708,7 +591313,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -657718,6 +591325,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -657927,96 +591550,6 @@
"user_ids"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -661893,14 +595426,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -662493,7 +596026,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -662503,6 +596038,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -662709,96 +596260,6 @@
"messages"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -666675,14 +600136,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -667275,7 +600736,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -667285,6 +600748,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -667506,96 +600985,6 @@
"token"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -671472,14 +604861,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -672072,7 +605461,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -672082,6 +605473,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -672307,96 +605714,6 @@
"webauthn"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -676273,14 +609590,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -676873,7 +610190,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -676883,6 +610202,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -677087,96 +610422,6 @@
}
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -681053,14 +614298,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -681653,7 +614898,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -681663,6 +614910,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -681866,96 +615129,6 @@
"nick"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -685832,14 +619005,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -686432,7 +619605,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -686442,6 +619617,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -686645,96 +619836,6 @@
"days"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -690611,14 +623712,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -691211,7 +624312,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -691221,6 +624324,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -691430,96 +624549,6 @@
"token"
],
"definitions": {
- "Headers": {
- "type": "object",
- "properties": {
- "append": {
- "type": "object",
- "additionalProperties": false
- },
- "delete": {
- "type": "object",
- "additionalProperties": false
- },
- "get": {
- "type": "object",
- "additionalProperties": false
- },
- "has": {
- "type": "object",
- "additionalProperties": false
- },
- "set": {
- "type": "object",
- "additionalProperties": false
- },
- "getSetCookie": {
- "type": "object",
- "additionalProperties": false
- },
- "forEach": {
- "description": "Performs the specified action for each element in an array.",
- "type": "object",
- "additionalProperties": false
- },
- "keys": {
- "description": "Returns an array consisting of the keys of the object",
- "type": "object",
- "additionalProperties": false
- },
- "values": {
- "type": "object",
- "additionalProperties": false
- },
- "entries": {
- "description": "Returns an array consisting of the key value pairs of the object",
- "type": "object",
- "additionalProperties": false
- },
- "__@iterator": {
- "type": "object",
- "additionalProperties": false
- }
- },
- "additionalProperties": false,
- "required": [
- "__@iterator",
- "append",
- "delete",
- "entries",
- "forEach",
- "get",
- "getSetCookie",
- "has",
- "keys",
- "set",
- "values"
- ]
- },
- "ResponseType": {
- "enum": [
- "basic",
- "cors",
- "default",
- "error",
- "opaque",
- "opaqueredirect"
- ],
- "type": "string"
- },
- "ReadableStream": {
- "description": "This Streams API interface represents a readable stream of byte data.",
- "type": "object",
- "properties": {
- "locked": {
- "type": "boolean"
- }
- },
- "additionalProperties": false,
- "required": [
- "locked"
- ]
- },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -695396,14 +628425,14 @@
"APIGuild": {
"type": "object",
"properties": {
+ "name": {
+ "type": "string"
+ },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
- "name": {
- "type": "string"
- },
"id": {
"type": "string"
},
@@ -695996,7 +629025,9 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {}
+ "auth": {
+ "$ref": "#/definitions/AuthRateLimit"
+ }
},
"additionalProperties": false,
"required": [
@@ -696006,6 +629037,22 @@
"webhook"
]
},
+ "AuthRateLimit": {
+ "type": "object",
+ "properties": {
+ "login": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "register": {
+ "$ref": "#/definitions/RateLimitOptions"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "login",
+ "register"
+ ]
+ },
"GlobalRateLimits": {
"type": "object",
"properties": {
From ed28de95a5742ae590f31121fffa78b4f7db4d66 Mon Sep 17 00:00:00 2001
From: TomatoCake <60300461+DEVTomatoCake@users.noreply.github.com>
Date: Sat, 17 Aug 2024 12:33:32 +0200
Subject: [PATCH 16/49] Add utf8mb4 "engine" property to all entitys
---
src/util/entities/Application.ts | 8 ++++----
src/util/entities/Attachment.ts | 8 ++++----
src/util/entities/AuditLog.ts | 8 ++++----
src/util/entities/BackupCodes.ts | 8 ++++----
src/util/entities/Badge.ts | 8 ++++----
src/util/entities/Ban.ts | 8 ++++----
src/util/entities/Categories.ts | 2 +-
src/util/entities/Channel.ts | 2 +-
src/util/entities/ClientRelease.ts | 8 ++++----
src/util/entities/Config.ts | 8 ++++----
src/util/entities/ConnectedAccount.ts | 8 ++++----
src/util/entities/ConnectionConfigEntity.ts | 8 ++++----
src/util/entities/EmbedCache.ts | 8 ++++----
src/util/entities/Emoji.ts | 8 ++++----
src/util/entities/Encryption.ts | 8 ++++----
src/util/entities/Guild.ts | 8 ++++----
src/util/entities/Invite.ts | 8 ++++----
src/util/entities/Member.ts | 2 +-
src/util/entities/Message.ts | 2 +-
src/util/entities/Migration.ts | 8 ++++----
src/util/entities/Note.ts | 8 ++++----
src/util/entities/RateLimit.ts | 8 ++++----
src/util/entities/ReadState.ts | 8 ++++----
src/util/entities/Recipient.ts | 8 ++++----
src/util/entities/Relationship.ts | 8 ++++----
src/util/entities/Role.ts | 8 ++++----
src/util/entities/SecurityKey.ts | 8 ++++----
src/util/entities/Session.ts | 2 +-
src/util/entities/Sticker.ts | 8 ++++----
src/util/entities/StickerPack.ts | 8 ++++----
src/util/entities/Team.ts | 8 ++++----
src/util/entities/TeamMember.ts | 8 ++++----
src/util/entities/Template.ts | 8 ++++----
src/util/entities/User.ts | 2 +-
src/util/entities/UserSettings.ts | 8 ++++----
src/util/entities/ValidRegistrationTokens.ts | 8 ++++----
src/util/entities/VoiceState.ts | 8 ++++----
src/util/entities/Webhook.ts | 2 +-
38 files changed, 131 insertions(+), 131 deletions(-)
diff --git a/src/util/entities/Application.ts b/src/util/entities/Application.ts
index 962b2a8e..1ecd4475 100644
--- a/src/util/entities/Application.ts
+++ b/src/util/entities/Application.ts
@@ -1,17 +1,17 @@
/*
Spacebar: A FOSS re-implementation and extension of the Discord.com backend.
Copyright (C) 2023 Spacebar and Spacebar Contributors
-
+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
-
+
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see .
*/
@@ -21,7 +21,7 @@ import { BaseClass } from "./BaseClass";
import { Team } from "./Team";
import { User } from "./User";
-@Entity("applications")
+@Entity({name: "applications", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
export class Application extends BaseClass {
@Column()
name: string;
diff --git a/src/util/entities/Attachment.ts b/src/util/entities/Attachment.ts
index d60ac41c..68d8aa54 100644
--- a/src/util/entities/Attachment.ts
+++ b/src/util/entities/Attachment.ts
@@ -1,17 +1,17 @@
/*
Spacebar: A FOSS re-implementation and extension of the Discord.com backend.
Copyright (C) 2023 Spacebar and Spacebar Contributors
-
+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
-
+
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see .
*/
@@ -28,7 +28,7 @@ import { URL } from "url";
import { deleteFile } from "../util/cdn";
import { BaseClass } from "./BaseClass";
-@Entity("attachments")
+@Entity({name: "attachments", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
export class Attachment extends BaseClass {
@Column()
filename: string; // name of file attached
diff --git a/src/util/entities/AuditLog.ts b/src/util/entities/AuditLog.ts
index b375f771..6ac2802b 100644
--- a/src/util/entities/AuditLog.ts
+++ b/src/util/entities/AuditLog.ts
@@ -1,17 +1,17 @@
/*
Spacebar: A FOSS re-implementation and extension of the Discord.com backend.
Copyright (C) 2023 Spacebar and Spacebar Contributors
-
+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
-
+
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see .
*/
@@ -111,7 +111,7 @@ export enum AuditLogEvents {
ROUTE_UPDATE = 226,
}
-@Entity("audit_logs")
+@Entity({name: "audit_logs", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
export class AuditLog extends BaseClass {
@JoinColumn({ name: "target_id" })
@ManyToOne(() => User)
diff --git a/src/util/entities/BackupCodes.ts b/src/util/entities/BackupCodes.ts
index 61e8f12a..638bcd04 100644
--- a/src/util/entities/BackupCodes.ts
+++ b/src/util/entities/BackupCodes.ts
@@ -1,17 +1,17 @@
/*
Spacebar: A FOSS re-implementation and extension of the Discord.com backend.
Copyright (C) 2023 Spacebar and Spacebar Contributors
-
+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
-
+
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see .
*/
@@ -21,7 +21,7 @@ import { BaseClass } from "./BaseClass";
import { User } from "./User";
import crypto from "crypto";
-@Entity("backup_codes")
+@Entity({name: "backup_codes", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
export class BackupCode extends BaseClass {
@JoinColumn({ name: "user_id" })
@ManyToOne(() => User, { onDelete: "CASCADE" })
diff --git a/src/util/entities/Badge.ts b/src/util/entities/Badge.ts
index 9535e207..d403c655 100644
--- a/src/util/entities/Badge.ts
+++ b/src/util/entities/Badge.ts
@@ -1,17 +1,17 @@
/*
Spacebar: A FOSS re-implementation and extension of the Discord.com backend.
Copyright (C) 2023 Spacebar and Spacebar Contributors
-
+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
-
+
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see .
*/
@@ -19,7 +19,7 @@
import { Column, Entity } from "typeorm";
import { BaseClassWithoutId } from "./BaseClass";
-@Entity("badges")
+@Entity({name: "badges", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
export class Badge extends BaseClassWithoutId {
@Column({ primary: true })
id: string;
diff --git a/src/util/entities/Ban.ts b/src/util/entities/Ban.ts
index 1693cd40..2535f3e3 100644
--- a/src/util/entities/Ban.ts
+++ b/src/util/entities/Ban.ts
@@ -1,17 +1,17 @@
/*
Spacebar: A FOSS re-implementation and extension of the Discord.com backend.
Copyright (C) 2023 Spacebar and Spacebar Contributors
-
+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
-
+
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see .
*/
@@ -21,7 +21,7 @@ import { BaseClass } from "./BaseClass";
import { Guild } from "./Guild";
import { User } from "./User";
-@Entity("bans")
+@Entity({name: "bans", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
export class Ban extends BaseClass {
@Column({ nullable: true })
@RelationId((ban: Ban) => ban.user)
diff --git a/src/util/entities/Categories.ts b/src/util/entities/Categories.ts
index 13d969de..d3eada5a 100644
--- a/src/util/entities/Categories.ts
+++ b/src/util/entities/Categories.ts
@@ -33,7 +33,7 @@ import { BaseClassWithoutId, PrimaryIdColumn } from "./BaseClass";
// }]
// Also populate discord default categories
-@Entity("categories")
+@Entity({name: "categories", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
export class Categories extends BaseClassWithoutId {
// Not using snowflake
diff --git a/src/util/entities/Channel.ts b/src/util/entities/Channel.ts
index 71ccf49e..e3856e8d 100644
--- a/src/util/entities/Channel.ts
+++ b/src/util/entities/Channel.ts
@@ -69,7 +69,7 @@ export enum ChannelType {
UNHANDLED = 255, // unhandled unowned pass-through channel type
}
-@Entity("channels")
+@Entity({name: "channels", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
export class Channel extends BaseClass {
@Column()
created_at: Date;
diff --git a/src/util/entities/ClientRelease.ts b/src/util/entities/ClientRelease.ts
index cfbc3a9b..2282b1ff 100644
--- a/src/util/entities/ClientRelease.ts
+++ b/src/util/entities/ClientRelease.ts
@@ -1,17 +1,17 @@
/*
Spacebar: A FOSS re-implementation and extension of the Discord.com backend.
Copyright (C) 2023 Spacebar and Spacebar Contributors
-
+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
-
+
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see .
*/
@@ -19,7 +19,7 @@
import { Column, Entity } from "typeorm";
import { BaseClass } from "./BaseClass";
-@Entity("client_release")
+@Entity({name: "client_release", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
export class Release extends BaseClass {
@Column()
name: string;
diff --git a/src/util/entities/Config.ts b/src/util/entities/Config.ts
index 3c436ff0..efe8c563 100644
--- a/src/util/entities/Config.ts
+++ b/src/util/entities/Config.ts
@@ -1,17 +1,17 @@
/*
Spacebar: A FOSS re-implementation and extension of the Discord.com backend.
Copyright (C) 2023 Spacebar and Spacebar Contributors
-
+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
-
+
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see .
*/
@@ -19,7 +19,7 @@
import { Column, Entity } from "typeorm";
import { BaseClassWithoutId, PrimaryIdColumn } from "./BaseClass";
-@Entity("config")
+@Entity({name: "config", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
export class ConfigEntity extends BaseClassWithoutId {
@PrimaryIdColumn()
key: string;
diff --git a/src/util/entities/ConnectedAccount.ts b/src/util/entities/ConnectedAccount.ts
index 6e089de1..78dec432 100644
--- a/src/util/entities/ConnectedAccount.ts
+++ b/src/util/entities/ConnectedAccount.ts
@@ -1,17 +1,17 @@
/*
Spacebar: A FOSS re-implementation and extension of the Discord.com backend.
Copyright (C) 2023 Spacebar and Spacebar Contributors
-
+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
-
+
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see .
*/
@@ -26,7 +26,7 @@ export type PublicConnectedAccount = Pick<
"name" | "type" | "verified"
>;
-@Entity("connected_accounts")
+@Entity({name: "connected_accounts", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
export class ConnectedAccount extends BaseClass {
@Column()
external_id: string;
diff --git a/src/util/entities/ConnectionConfigEntity.ts b/src/util/entities/ConnectionConfigEntity.ts
index e4b7cea8..0c367c1c 100644
--- a/src/util/entities/ConnectionConfigEntity.ts
+++ b/src/util/entities/ConnectionConfigEntity.ts
@@ -1,17 +1,17 @@
/*
Spacebar: A FOSS re-implementation and extension of the Discord.com backend.
Copyright (C) 2023 Spacebar and Spacebar Contributors
-
+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
-
+
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see .
*/
@@ -19,7 +19,7 @@
import { Column, Entity } from "typeorm";
import { BaseClassWithoutId, PrimaryIdColumn } from "./BaseClass";
-@Entity("connection_config")
+@Entity({name: "connection_config", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
export class ConnectionConfigEntity extends BaseClassWithoutId {
@PrimaryIdColumn()
key: string;
diff --git a/src/util/entities/EmbedCache.ts b/src/util/entities/EmbedCache.ts
index 8ff2a457..f2dcd893 100644
--- a/src/util/entities/EmbedCache.ts
+++ b/src/util/entities/EmbedCache.ts
@@ -1,17 +1,17 @@
/*
Spacebar: A FOSS re-implementation and extension of the Discord.com backend.
Copyright (C) 2023 Spacebar and Spacebar Contributors
-
+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
-
+
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see .
*/
@@ -20,7 +20,7 @@ import { BaseClass } from "./BaseClass";
import { Entity, Column } from "typeorm";
import { Embed } from "./Message";
-@Entity("embed_cache")
+@Entity({name: "embed_cache", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
export class EmbedCache extends BaseClass {
@Column()
url: string;
diff --git a/src/util/entities/Emoji.ts b/src/util/entities/Emoji.ts
index 4d851698..65d54d5e 100644
--- a/src/util/entities/Emoji.ts
+++ b/src/util/entities/Emoji.ts
@@ -1,17 +1,17 @@
/*
Spacebar: A FOSS re-implementation and extension of the Discord.com backend.
Copyright (C) 2023 Spacebar and Spacebar Contributors
-
+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
-
+
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see .
*/
@@ -21,7 +21,7 @@ import { User } from ".";
import { BaseClass } from "./BaseClass";
import { Guild } from "./Guild";
-@Entity("emojis")
+@Entity({name: "emojis", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
export class Emoji extends BaseClass {
@Column()
animated: boolean;
diff --git a/src/util/entities/Encryption.ts b/src/util/entities/Encryption.ts
index 8325bdee..97f9052c 100644
--- a/src/util/entities/Encryption.ts
+++ b/src/util/entities/Encryption.ts
@@ -1,17 +1,17 @@
/*
Spacebar: A FOSS re-implementation and extension of the Discord.com backend.
Copyright (C) 2023 Spacebar and Spacebar Contributors
-
+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
-
+
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see .
*/
@@ -19,7 +19,7 @@
import { Column, Entity } from "typeorm";
import { BaseClass } from "./BaseClass";
-@Entity("security_settings")
+@Entity({name: "security_settings", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
export class SecuritySettings extends BaseClass {
@Column({ nullable: true })
guild_id: string;
diff --git a/src/util/entities/Guild.ts b/src/util/entities/Guild.ts
index fcd6b729..7a918220 100644
--- a/src/util/entities/Guild.ts
+++ b/src/util/entities/Guild.ts
@@ -1,17 +1,17 @@
/*
Spacebar: A FOSS re-implementation and extension of the Discord.com backend.
Copyright (C) 2023 Spacebar and Spacebar Contributors
-
+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
-
+
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see .
*/
@@ -66,7 +66,7 @@ export const PublicGuildRelations = [
// "members.user",
];
-@Entity("guilds")
+@Entity({name: "guilds", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
export class Guild extends BaseClass {
@Column({ nullable: true })
@RelationId((guild: Guild) => guild.afk_channel)
diff --git a/src/util/entities/Invite.ts b/src/util/entities/Invite.ts
index f7e54fbe..a7b17a8a 100644
--- a/src/util/entities/Invite.ts
+++ b/src/util/entities/Invite.ts
@@ -1,17 +1,17 @@
/*
Spacebar: A FOSS re-implementation and extension of the Discord.com backend.
Copyright (C) 2023 Spacebar and Spacebar Contributors
-
+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
-
+
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see .
*/
@@ -25,7 +25,7 @@ import { User } from "./User";
export const PublicInviteRelation = ["inviter", "guild", "channel"];
-@Entity("invites")
+@Entity({name: "invites", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
export class Invite extends BaseClassWithoutId {
@PrimaryIdColumn()
code: string;
diff --git a/src/util/entities/Member.ts b/src/util/entities/Member.ts
index 3ef778ac..f43d5a92 100644
--- a/src/util/entities/Member.ts
+++ b/src/util/entities/Member.ts
@@ -65,7 +65,7 @@ export const MemberPrivateProjection: (keyof Member)[] = [
"user",
];
-@Entity("members")
+@Entity({name: "members", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
@Index(["id", "guild_id"], { unique: true })
export class Member extends BaseClassWithoutId {
@PrimaryGeneratedColumn()
diff --git a/src/util/entities/Message.ts b/src/util/entities/Message.ts
index 1dd89dc1..f340bbc0 100644
--- a/src/util/entities/Message.ts
+++ b/src/util/entities/Message.ts
@@ -68,7 +68,7 @@ export enum MessageType {
UNHANDLED = 255,
}
-@Entity("messages")
+@Entity({name: "messages", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
@Index(["channel_id", "id"], { unique: true })
export class Message extends BaseClass {
@Column({ nullable: true })
diff --git a/src/util/entities/Migration.ts b/src/util/entities/Migration.ts
index 5c4e951d..742e3621 100644
--- a/src/util/entities/Migration.ts
+++ b/src/util/entities/Migration.ts
@@ -1,17 +1,17 @@
/*
Spacebar: A FOSS re-implementation and extension of the Discord.com backend.
Copyright (C) 2023 Spacebar and Spacebar Contributors
-
+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
-
+
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see .
*/
@@ -30,7 +30,7 @@ export const PrimaryIdAutoGenerated = process.env.DATABASE?.startsWith(
? ObjectIdColumn
: PrimaryGeneratedColumn;
-@Entity("migrations")
+@Entity({name: "migrations", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
export class Migration extends BaseEntity {
@PrimaryIdAutoGenerated()
id: number;
diff --git a/src/util/entities/Note.ts b/src/util/entities/Note.ts
index 196f6861..d220367f 100644
--- a/src/util/entities/Note.ts
+++ b/src/util/entities/Note.ts
@@ -1,17 +1,17 @@
/*
Spacebar: A FOSS re-implementation and extension of the Discord.com backend.
Copyright (C) 2023 Spacebar and Spacebar Contributors
-
+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
-
+
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see .
*/
@@ -20,7 +20,7 @@ import { Column, Entity, JoinColumn, ManyToOne, Unique } from "typeorm";
import { BaseClass } from "./BaseClass";
import { User } from "./User";
-@Entity("notes")
+@Entity({name: "notes", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
@Unique(["owner", "target"])
export class Note extends BaseClass {
@JoinColumn({ name: "owner_id" })
diff --git a/src/util/entities/RateLimit.ts b/src/util/entities/RateLimit.ts
index 8d00f59a..836a8af5 100644
--- a/src/util/entities/RateLimit.ts
+++ b/src/util/entities/RateLimit.ts
@@ -1,17 +1,17 @@
/*
Spacebar: A FOSS re-implementation and extension of the Discord.com backend.
Copyright (C) 2023 Spacebar and Spacebar Contributors
-
+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
-
+
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see .
*/
@@ -19,7 +19,7 @@
import { Column, Entity } from "typeorm";
import { BaseClass } from "./BaseClass";
-@Entity("rate_limits")
+@Entity({name: "rate_limits", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
export class RateLimit extends BaseClass {
@Column() // no relation as it also
executor_id: string;
diff --git a/src/util/entities/ReadState.ts b/src/util/entities/ReadState.ts
index 1b280d12..7d367ecc 100644
--- a/src/util/entities/ReadState.ts
+++ b/src/util/entities/ReadState.ts
@@ -1,17 +1,17 @@
/*
Spacebar: A FOSS re-implementation and extension of the Discord.com backend.
Copyright (C) 2023 Spacebar and Spacebar Contributors
-
+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
-
+
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see .
*/
@@ -32,7 +32,7 @@ import { User } from "./User";
// notification cursor and public read receipt need to be forwards-only (the former to prevent re-pinging when marked as unread, and the latter to be acceptable as a legal acknowledgement in criminal proceedings), and private read marker needs to be advance-rewind capable
// public read receipt ≥ notification cursor ≥ private fully read marker
-@Entity("read_states")
+@Entity({name: "read_states", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
@Index(["channel_id", "user_id"], { unique: true })
export class ReadState extends BaseClass {
@Column()
diff --git a/src/util/entities/Recipient.ts b/src/util/entities/Recipient.ts
index 797349e5..5e2cd800 100644
--- a/src/util/entities/Recipient.ts
+++ b/src/util/entities/Recipient.ts
@@ -1,17 +1,17 @@
/*
Spacebar: A FOSS re-implementation and extension of the Discord.com backend.
Copyright (C) 2023 Spacebar and Spacebar Contributors
-
+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
-
+
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see .
*/
@@ -19,7 +19,7 @@
import { Column, Entity, JoinColumn, ManyToOne, RelationId } from "typeorm";
import { BaseClass } from "./BaseClass";
-@Entity("recipients")
+@Entity({name: "recipients", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
export class Recipient extends BaseClass {
@Column()
@RelationId((recipient: Recipient) => recipient.channel)
diff --git a/src/util/entities/Relationship.ts b/src/util/entities/Relationship.ts
index 740095c2..6472aaa1 100644
--- a/src/util/entities/Relationship.ts
+++ b/src/util/entities/Relationship.ts
@@ -1,17 +1,17 @@
/*
Spacebar: A FOSS re-implementation and extension of the Discord.com backend.
Copyright (C) 2023 Spacebar and Spacebar Contributors
-
+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
-
+
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see .
*/
@@ -34,7 +34,7 @@ export enum RelationshipType {
friends = 1,
}
-@Entity("relationships")
+@Entity({name: "relationships", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
@Index(["from_id", "to_id"], { unique: true })
export class Relationship extends BaseClass {
@Column({})
diff --git a/src/util/entities/Role.ts b/src/util/entities/Role.ts
index 2783a279..8a752047 100644
--- a/src/util/entities/Role.ts
+++ b/src/util/entities/Role.ts
@@ -1,17 +1,17 @@
/*
Spacebar: A FOSS re-implementation and extension of the Discord.com backend.
Copyright (C) 2023 Spacebar and Spacebar Contributors
-
+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
-
+
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see .
*/
@@ -21,7 +21,7 @@ import { Column, Entity, JoinColumn, ManyToOne, RelationId } from "typeorm";
import { BaseClass } from "./BaseClass";
import { Guild } from "./Guild";
-@Entity("roles")
+@Entity({name: "roles", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
export class Role extends BaseClass {
@Column()
@RelationId((role: Role) => role.guild)
diff --git a/src/util/entities/SecurityKey.ts b/src/util/entities/SecurityKey.ts
index fd7a4c5e..652bbb39 100644
--- a/src/util/entities/SecurityKey.ts
+++ b/src/util/entities/SecurityKey.ts
@@ -1,17 +1,17 @@
/*
Spacebar: A FOSS re-implementation and extension of the Discord.com backend.
Copyright (C) 2023 Spacebar and Spacebar Contributors
-
+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
-
+
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see .
*/
@@ -20,7 +20,7 @@ import { Column, Entity, JoinColumn, ManyToOne, RelationId } from "typeorm";
import { BaseClass } from "./BaseClass";
import { User } from "./User";
-@Entity("security_keys")
+@Entity({name: "security_keys", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
export class SecurityKey extends BaseClass {
@Column({ nullable: true })
@RelationId((key: SecurityKey) => key.user)
diff --git a/src/util/entities/Session.ts b/src/util/entities/Session.ts
index 15f8faa2..1fbdd2bb 100644
--- a/src/util/entities/Session.ts
+++ b/src/util/entities/Session.ts
@@ -24,7 +24,7 @@ import { Activity } from "../interfaces/Activity";
//TODO we need to remove all sessions on server start because if the server crashes without closing websockets it won't delete them
-@Entity("sessions")
+@Entity({name: "sessions", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
export class Session extends BaseClass {
@Column({ nullable: true })
@RelationId((session: Session) => session.user)
diff --git a/src/util/entities/Sticker.ts b/src/util/entities/Sticker.ts
index e9294f92..95eeb32a 100644
--- a/src/util/entities/Sticker.ts
+++ b/src/util/entities/Sticker.ts
@@ -1,17 +1,17 @@
/*
Spacebar: A FOSS re-implementation and extension of the Discord.com backend.
Copyright (C) 2023 Spacebar and Spacebar Contributors
-
+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
-
+
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see .
*/
@@ -33,7 +33,7 @@ export enum StickerFormatType {
LOTTIE = 3,
}
-@Entity("stickers")
+@Entity({name: "stickers", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
export class Sticker extends BaseClass {
@Column()
name: string;
diff --git a/src/util/entities/StickerPack.ts b/src/util/entities/StickerPack.ts
index 61ab1287..257fb6e4 100644
--- a/src/util/entities/StickerPack.ts
+++ b/src/util/entities/StickerPack.ts
@@ -1,17 +1,17 @@
/*
Spacebar: A FOSS re-implementation and extension of the Discord.com backend.
Copyright (C) 2023 Spacebar and Spacebar Contributors
-
+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
-
+
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see .
*/
@@ -27,7 +27,7 @@ import {
import { Sticker } from ".";
import { BaseClass } from "./BaseClass";
-@Entity("sticker_packs")
+@Entity({name: "sticker_packs", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
export class StickerPack extends BaseClass {
@Column()
name: string;
diff --git a/src/util/entities/Team.ts b/src/util/entities/Team.ts
index 7bedc4af..e98344c8 100644
--- a/src/util/entities/Team.ts
+++ b/src/util/entities/Team.ts
@@ -1,17 +1,17 @@
/*
Spacebar: A FOSS re-implementation and extension of the Discord.com backend.
Copyright (C) 2023 Spacebar and Spacebar Contributors
-
+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
-
+
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see .
*/
@@ -28,7 +28,7 @@ import { BaseClass } from "./BaseClass";
import { TeamMember } from "./TeamMember";
import { User } from "./User";
-@Entity("teams")
+@Entity({name: "teams", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
export class Team extends BaseClass {
@Column({ nullable: true })
icon?: string;
diff --git a/src/util/entities/TeamMember.ts b/src/util/entities/TeamMember.ts
index 539da957..54c90a5a 100644
--- a/src/util/entities/TeamMember.ts
+++ b/src/util/entities/TeamMember.ts
@@ -1,17 +1,17 @@
/*
Spacebar: A FOSS re-implementation and extension of the Discord.com backend.
Copyright (C) 2023 Spacebar and Spacebar Contributors
-
+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
-
+
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see .
*/
@@ -25,7 +25,7 @@ export enum TeamMemberState {
ACCEPTED = 2,
}
-@Entity("team_members")
+@Entity({name: "team_members", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
export class TeamMember extends BaseClass {
@Column({ type: "int" })
membership_state: TeamMemberState;
diff --git a/src/util/entities/Template.ts b/src/util/entities/Template.ts
index c417f1f0..4cf98651 100644
--- a/src/util/entities/Template.ts
+++ b/src/util/entities/Template.ts
@@ -1,17 +1,17 @@
/*
Spacebar: A FOSS re-implementation and extension of the Discord.com backend.
Copyright (C) 2023 Spacebar and Spacebar Contributors
-
+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
-
+
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see .
*/
@@ -21,7 +21,7 @@ import { BaseClass } from "./BaseClass";
import { Guild } from "./Guild";
import { User } from "./User";
-@Entity("templates")
+@Entity({name: "templates", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
export class Template extends BaseClass {
@Column({ unique: true })
code: string;
diff --git a/src/util/entities/User.ts b/src/util/entities/User.ts
index b299bcfc..e2290d0b 100644
--- a/src/util/entities/User.ts
+++ b/src/util/entities/User.ts
@@ -86,7 +86,7 @@ export interface UserPrivate extends Pick {
locale: string;
}
-@Entity("users")
+@Entity({name: "users", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
export class User extends BaseClass {
@Column()
username: string; // username max length 32, min 2 (should be configurable)
diff --git a/src/util/entities/UserSettings.ts b/src/util/entities/UserSettings.ts
index d3efe79b..0df2ff86 100644
--- a/src/util/entities/UserSettings.ts
+++ b/src/util/entities/UserSettings.ts
@@ -1,17 +1,17 @@
/*
Spacebar: A FOSS re-implementation and extension of the Discord.com backend.
Copyright (C) 2023 Spacebar and Spacebar Contributors
-
+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
-
+
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see .
*/
@@ -19,7 +19,7 @@
import { Column, Entity, PrimaryGeneratedColumn } from "typeorm";
import { BaseClassWithoutId } from "./BaseClass";
-@Entity("user_settings")
+@Entity({name: "user_settings", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
export class UserSettings extends BaseClassWithoutId {
@PrimaryGeneratedColumn()
index: string;
diff --git a/src/util/entities/ValidRegistrationTokens.ts b/src/util/entities/ValidRegistrationTokens.ts
index 94fd1542..77da100a 100644
--- a/src/util/entities/ValidRegistrationTokens.ts
+++ b/src/util/entities/ValidRegistrationTokens.ts
@@ -1,24 +1,24 @@
/*
Spacebar: A FOSS re-implementation and extension of the Discord.com backend.
Copyright (C) 2023 Spacebar and Spacebar Contributors
-
+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
-
+
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see .
*/
import { BaseEntity, Column, Entity, PrimaryColumn } from "typeorm";
-@Entity("valid_registration_tokens")
+@Entity({name: "valid_registration_tokens", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
export class ValidRegistrationToken extends BaseEntity {
@PrimaryColumn()
token: string;
diff --git a/src/util/entities/VoiceState.ts b/src/util/entities/VoiceState.ts
index 84b0ca71..3678fa1a 100644
--- a/src/util/entities/VoiceState.ts
+++ b/src/util/entities/VoiceState.ts
@@ -1,17 +1,17 @@
/*
Spacebar: A FOSS re-implementation and extension of the Discord.com backend.
Copyright (C) 2023 Spacebar and Spacebar Contributors
-
+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
-
+
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see .
*/
@@ -24,7 +24,7 @@ import { Member } from "./Member";
import { User } from "./User";
//https://gist.github.com/vassjozsef/e482c65df6ee1facaace8b3c9ff66145#file-voice_state-ex
-@Entity("voice_states")
+@Entity({name: "voice_states", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
export class VoiceState extends BaseClass {
@Column({ nullable: true })
@RelationId((voice_state: VoiceState) => voice_state.guild)
diff --git a/src/util/entities/Webhook.ts b/src/util/entities/Webhook.ts
index 9539d6e8..5d50333e 100644
--- a/src/util/entities/Webhook.ts
+++ b/src/util/entities/Webhook.ts
@@ -29,7 +29,7 @@ export enum WebhookType {
Application = 3,
}
-@Entity("webhooks")
+@Entity({name: "webhooks", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
export class Webhook extends BaseClass {
@Column({ type: "int" })
type: WebhookType;
From 99c75d3ae42180d96552ed1be363f65412ebb21b Mon Sep 17 00:00:00 2001
From: TomatoCake <60300461+DEVTomatoCake@users.noreply.github.com>
Date: Sat, 17 Aug 2024 14:54:17 +0200
Subject: [PATCH 17/49] Run prettier for @Entity()
---
src/util/entities/Application.ts | 5 ++++-
src/util/entities/Attachment.ts | 5 ++++-
src/util/entities/AuditLog.ts | 5 ++++-
src/util/entities/BackupCodes.ts | 5 ++++-
src/util/entities/Badge.ts | 5 ++++-
src/util/entities/Ban.ts | 5 ++++-
src/util/entities/Categories.ts | 5 ++++-
src/util/entities/Channel.ts | 5 ++++-
src/util/entities/ClientRelease.ts | 5 ++++-
src/util/entities/Config.ts | 5 ++++-
src/util/entities/ConnectedAccount.ts | 5 ++++-
src/util/entities/ConnectionConfigEntity.ts | 5 ++++-
src/util/entities/EmbedCache.ts | 5 ++++-
src/util/entities/Emoji.ts | 5 ++++-
src/util/entities/Encryption.ts | 5 ++++-
src/util/entities/Guild.ts | 5 ++++-
src/util/entities/Invite.ts | 5 ++++-
src/util/entities/Member.ts | 5 ++++-
src/util/entities/Message.ts | 5 ++++-
src/util/entities/Migration.ts | 5 ++++-
src/util/entities/Note.ts | 5 ++++-
src/util/entities/RateLimit.ts | 5 ++++-
src/util/entities/ReadState.ts | 5 ++++-
src/util/entities/Recipient.ts | 5 ++++-
src/util/entities/Relationship.ts | 5 ++++-
src/util/entities/Role.ts | 5 ++++-
src/util/entities/SecurityKey.ts | 5 ++++-
src/util/entities/Session.ts | 5 ++++-
src/util/entities/Sticker.ts | 5 ++++-
src/util/entities/StickerPack.ts | 5 ++++-
src/util/entities/Team.ts | 5 ++++-
src/util/entities/TeamMember.ts | 5 ++++-
src/util/entities/Template.ts | 5 ++++-
src/util/entities/User.ts | 5 ++++-
src/util/entities/UserSettings.ts | 5 ++++-
src/util/entities/ValidRegistrationTokens.ts | 5 ++++-
src/util/entities/VoiceState.ts | 5 ++++-
src/util/entities/Webhook.ts | 5 ++++-
38 files changed, 152 insertions(+), 38 deletions(-)
diff --git a/src/util/entities/Application.ts b/src/util/entities/Application.ts
index 1ecd4475..c60a6547 100644
--- a/src/util/entities/Application.ts
+++ b/src/util/entities/Application.ts
@@ -21,7 +21,10 @@ import { BaseClass } from "./BaseClass";
import { Team } from "./Team";
import { User } from "./User";
-@Entity({name: "applications", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
+@Entity({
+ name: "applications",
+ engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
+})
export class Application extends BaseClass {
@Column()
name: string;
diff --git a/src/util/entities/Attachment.ts b/src/util/entities/Attachment.ts
index 68d8aa54..f5124154 100644
--- a/src/util/entities/Attachment.ts
+++ b/src/util/entities/Attachment.ts
@@ -28,7 +28,10 @@ import { URL } from "url";
import { deleteFile } from "../util/cdn";
import { BaseClass } from "./BaseClass";
-@Entity({name: "attachments", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
+@Entity({
+ name: "attachments",
+ engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
+})
export class Attachment extends BaseClass {
@Column()
filename: string; // name of file attached
diff --git a/src/util/entities/AuditLog.ts b/src/util/entities/AuditLog.ts
index 6ac2802b..b8a02d75 100644
--- a/src/util/entities/AuditLog.ts
+++ b/src/util/entities/AuditLog.ts
@@ -111,7 +111,10 @@ export enum AuditLogEvents {
ROUTE_UPDATE = 226,
}
-@Entity({name: "audit_logs", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
+@Entity({
+ name: "audit_logs",
+ engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
+})
export class AuditLog extends BaseClass {
@JoinColumn({ name: "target_id" })
@ManyToOne(() => User)
diff --git a/src/util/entities/BackupCodes.ts b/src/util/entities/BackupCodes.ts
index 638bcd04..b4c6f395 100644
--- a/src/util/entities/BackupCodes.ts
+++ b/src/util/entities/BackupCodes.ts
@@ -21,7 +21,10 @@ import { BaseClass } from "./BaseClass";
import { User } from "./User";
import crypto from "crypto";
-@Entity({name: "backup_codes", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
+@Entity({
+ name: "backup_codes",
+ engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
+})
export class BackupCode extends BaseClass {
@JoinColumn({ name: "user_id" })
@ManyToOne(() => User, { onDelete: "CASCADE" })
diff --git a/src/util/entities/Badge.ts b/src/util/entities/Badge.ts
index d403c655..e716525a 100644
--- a/src/util/entities/Badge.ts
+++ b/src/util/entities/Badge.ts
@@ -19,7 +19,10 @@
import { Column, Entity } from "typeorm";
import { BaseClassWithoutId } from "./BaseClass";
-@Entity({name: "badges", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
+@Entity({
+ name: "badges",
+ engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
+})
export class Badge extends BaseClassWithoutId {
@Column({ primary: true })
id: string;
diff --git a/src/util/entities/Ban.ts b/src/util/entities/Ban.ts
index 2535f3e3..407569fc 100644
--- a/src/util/entities/Ban.ts
+++ b/src/util/entities/Ban.ts
@@ -21,7 +21,10 @@ import { BaseClass } from "./BaseClass";
import { Guild } from "./Guild";
import { User } from "./User";
-@Entity({name: "bans", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
+@Entity({
+ name: "bans",
+ engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
+})
export class Ban extends BaseClass {
@Column({ nullable: true })
@RelationId((ban: Ban) => ban.user)
diff --git a/src/util/entities/Categories.ts b/src/util/entities/Categories.ts
index d3eada5a..9fa64335 100644
--- a/src/util/entities/Categories.ts
+++ b/src/util/entities/Categories.ts
@@ -33,7 +33,10 @@ import { BaseClassWithoutId, PrimaryIdColumn } from "./BaseClass";
// }]
// Also populate discord default categories
-@Entity({name: "categories", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
+@Entity({
+ name: "categories",
+ engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
+})
export class Categories extends BaseClassWithoutId {
// Not using snowflake
diff --git a/src/util/entities/Channel.ts b/src/util/entities/Channel.ts
index e3856e8d..66eaa0eb 100644
--- a/src/util/entities/Channel.ts
+++ b/src/util/entities/Channel.ts
@@ -69,7 +69,10 @@ export enum ChannelType {
UNHANDLED = 255, // unhandled unowned pass-through channel type
}
-@Entity({name: "channels", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
+@Entity({
+ name: "channels",
+ engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
+})
export class Channel extends BaseClass {
@Column()
created_at: Date;
diff --git a/src/util/entities/ClientRelease.ts b/src/util/entities/ClientRelease.ts
index 2282b1ff..f6577b2c 100644
--- a/src/util/entities/ClientRelease.ts
+++ b/src/util/entities/ClientRelease.ts
@@ -19,7 +19,10 @@
import { Column, Entity } from "typeorm";
import { BaseClass } from "./BaseClass";
-@Entity({name: "client_release", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
+@Entity({
+ name: "client_release",
+ engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
+})
export class Release extends BaseClass {
@Column()
name: string;
diff --git a/src/util/entities/Config.ts b/src/util/entities/Config.ts
index efe8c563..9a3fd55e 100644
--- a/src/util/entities/Config.ts
+++ b/src/util/entities/Config.ts
@@ -19,7 +19,10 @@
import { Column, Entity } from "typeorm";
import { BaseClassWithoutId, PrimaryIdColumn } from "./BaseClass";
-@Entity({name: "config", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
+@Entity({
+ name: "config",
+ engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
+})
export class ConfigEntity extends BaseClassWithoutId {
@PrimaryIdColumn()
key: string;
diff --git a/src/util/entities/ConnectedAccount.ts b/src/util/entities/ConnectedAccount.ts
index 78dec432..f0ee62fe 100644
--- a/src/util/entities/ConnectedAccount.ts
+++ b/src/util/entities/ConnectedAccount.ts
@@ -26,7 +26,10 @@ export type PublicConnectedAccount = Pick<
"name" | "type" | "verified"
>;
-@Entity({name: "connected_accounts", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
+@Entity({
+ name: "connected_accounts",
+ engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
+})
export class ConnectedAccount extends BaseClass {
@Column()
external_id: string;
diff --git a/src/util/entities/ConnectionConfigEntity.ts b/src/util/entities/ConnectionConfigEntity.ts
index 0c367c1c..19d11627 100644
--- a/src/util/entities/ConnectionConfigEntity.ts
+++ b/src/util/entities/ConnectionConfigEntity.ts
@@ -19,7 +19,10 @@
import { Column, Entity } from "typeorm";
import { BaseClassWithoutId, PrimaryIdColumn } from "./BaseClass";
-@Entity({name: "connection_config", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
+@Entity({
+ name: "connection_config",
+ engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
+})
export class ConnectionConfigEntity extends BaseClassWithoutId {
@PrimaryIdColumn()
key: string;
diff --git a/src/util/entities/EmbedCache.ts b/src/util/entities/EmbedCache.ts
index f2dcd893..853fa73d 100644
--- a/src/util/entities/EmbedCache.ts
+++ b/src/util/entities/EmbedCache.ts
@@ -20,7 +20,10 @@ import { BaseClass } from "./BaseClass";
import { Entity, Column } from "typeorm";
import { Embed } from "./Message";
-@Entity({name: "embed_cache", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
+@Entity({
+ name: "embed_cache",
+ engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
+})
export class EmbedCache extends BaseClass {
@Column()
url: string;
diff --git a/src/util/entities/Emoji.ts b/src/util/entities/Emoji.ts
index 65d54d5e..ac44b8f7 100644
--- a/src/util/entities/Emoji.ts
+++ b/src/util/entities/Emoji.ts
@@ -21,7 +21,10 @@ import { User } from ".";
import { BaseClass } from "./BaseClass";
import { Guild } from "./Guild";
-@Entity({name: "emojis", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
+@Entity({
+ name: "emojis",
+ engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
+})
export class Emoji extends BaseClass {
@Column()
animated: boolean;
diff --git a/src/util/entities/Encryption.ts b/src/util/entities/Encryption.ts
index 97f9052c..3ef933fb 100644
--- a/src/util/entities/Encryption.ts
+++ b/src/util/entities/Encryption.ts
@@ -19,7 +19,10 @@
import { Column, Entity } from "typeorm";
import { BaseClass } from "./BaseClass";
-@Entity({name: "security_settings", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
+@Entity({
+ name: "security_settings",
+ engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
+})
export class SecuritySettings extends BaseClass {
@Column({ nullable: true })
guild_id: string;
diff --git a/src/util/entities/Guild.ts b/src/util/entities/Guild.ts
index 7a918220..8517ca36 100644
--- a/src/util/entities/Guild.ts
+++ b/src/util/entities/Guild.ts
@@ -66,7 +66,10 @@ export const PublicGuildRelations = [
// "members.user",
];
-@Entity({name: "guilds", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
+@Entity({
+ name: "guilds",
+ engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
+})
export class Guild extends BaseClass {
@Column({ nullable: true })
@RelationId((guild: Guild) => guild.afk_channel)
diff --git a/src/util/entities/Invite.ts b/src/util/entities/Invite.ts
index a7b17a8a..6ab75302 100644
--- a/src/util/entities/Invite.ts
+++ b/src/util/entities/Invite.ts
@@ -25,7 +25,10 @@ import { User } from "./User";
export const PublicInviteRelation = ["inviter", "guild", "channel"];
-@Entity({name: "invites", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
+@Entity({
+ name: "invites",
+ engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
+})
export class Invite extends BaseClassWithoutId {
@PrimaryIdColumn()
code: string;
diff --git a/src/util/entities/Member.ts b/src/util/entities/Member.ts
index f43d5a92..0ca1a15b 100644
--- a/src/util/entities/Member.ts
+++ b/src/util/entities/Member.ts
@@ -65,7 +65,10 @@ export const MemberPrivateProjection: (keyof Member)[] = [
"user",
];
-@Entity({name: "members", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
+@Entity({
+ name: "members",
+ engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
+})
@Index(["id", "guild_id"], { unique: true })
export class Member extends BaseClassWithoutId {
@PrimaryGeneratedColumn()
diff --git a/src/util/entities/Message.ts b/src/util/entities/Message.ts
index f340bbc0..ba6b1ac7 100644
--- a/src/util/entities/Message.ts
+++ b/src/util/entities/Message.ts
@@ -68,7 +68,10 @@ export enum MessageType {
UNHANDLED = 255,
}
-@Entity({name: "messages", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
+@Entity({
+ name: "messages",
+ engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
+})
@Index(["channel_id", "id"], { unique: true })
export class Message extends BaseClass {
@Column({ nullable: true })
diff --git a/src/util/entities/Migration.ts b/src/util/entities/Migration.ts
index 742e3621..cd572c03 100644
--- a/src/util/entities/Migration.ts
+++ b/src/util/entities/Migration.ts
@@ -30,7 +30,10 @@ export const PrimaryIdAutoGenerated = process.env.DATABASE?.startsWith(
? ObjectIdColumn
: PrimaryGeneratedColumn;
-@Entity({name: "migrations", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
+@Entity({
+ name: "migrations",
+ engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
+})
export class Migration extends BaseEntity {
@PrimaryIdAutoGenerated()
id: number;
diff --git a/src/util/entities/Note.ts b/src/util/entities/Note.ts
index d220367f..4821d2d9 100644
--- a/src/util/entities/Note.ts
+++ b/src/util/entities/Note.ts
@@ -20,7 +20,10 @@ import { Column, Entity, JoinColumn, ManyToOne, Unique } from "typeorm";
import { BaseClass } from "./BaseClass";
import { User } from "./User";
-@Entity({name: "notes", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
+@Entity({
+ name: "notes",
+ engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
+})
@Unique(["owner", "target"])
export class Note extends BaseClass {
@JoinColumn({ name: "owner_id" })
diff --git a/src/util/entities/RateLimit.ts b/src/util/entities/RateLimit.ts
index 836a8af5..f0f597e0 100644
--- a/src/util/entities/RateLimit.ts
+++ b/src/util/entities/RateLimit.ts
@@ -19,7 +19,10 @@
import { Column, Entity } from "typeorm";
import { BaseClass } from "./BaseClass";
-@Entity({name: "rate_limits", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
+@Entity({
+ name: "rate_limits",
+ engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
+})
export class RateLimit extends BaseClass {
@Column() // no relation as it also
executor_id: string;
diff --git a/src/util/entities/ReadState.ts b/src/util/entities/ReadState.ts
index 7d367ecc..8e555de6 100644
--- a/src/util/entities/ReadState.ts
+++ b/src/util/entities/ReadState.ts
@@ -32,7 +32,10 @@ import { User } from "./User";
// notification cursor and public read receipt need to be forwards-only (the former to prevent re-pinging when marked as unread, and the latter to be acceptable as a legal acknowledgement in criminal proceedings), and private read marker needs to be advance-rewind capable
// public read receipt ≥ notification cursor ≥ private fully read marker
-@Entity({name: "read_states", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
+@Entity({
+ name: "read_states",
+ engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
+})
@Index(["channel_id", "user_id"], { unique: true })
export class ReadState extends BaseClass {
@Column()
diff --git a/src/util/entities/Recipient.ts b/src/util/entities/Recipient.ts
index 5e2cd800..fecb051f 100644
--- a/src/util/entities/Recipient.ts
+++ b/src/util/entities/Recipient.ts
@@ -19,7 +19,10 @@
import { Column, Entity, JoinColumn, ManyToOne, RelationId } from "typeorm";
import { BaseClass } from "./BaseClass";
-@Entity({name: "recipients", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
+@Entity({
+ name: "recipients",
+ engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
+})
export class Recipient extends BaseClass {
@Column()
@RelationId((recipient: Recipient) => recipient.channel)
diff --git a/src/util/entities/Relationship.ts b/src/util/entities/Relationship.ts
index 6472aaa1..3aa057e7 100644
--- a/src/util/entities/Relationship.ts
+++ b/src/util/entities/Relationship.ts
@@ -34,7 +34,10 @@ export enum RelationshipType {
friends = 1,
}
-@Entity({name: "relationships", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
+@Entity({
+ name: "relationships",
+ engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
+})
@Index(["from_id", "to_id"], { unique: true })
export class Relationship extends BaseClass {
@Column({})
diff --git a/src/util/entities/Role.ts b/src/util/entities/Role.ts
index 8a752047..f4509827 100644
--- a/src/util/entities/Role.ts
+++ b/src/util/entities/Role.ts
@@ -21,7 +21,10 @@ import { Column, Entity, JoinColumn, ManyToOne, RelationId } from "typeorm";
import { BaseClass } from "./BaseClass";
import { Guild } from "./Guild";
-@Entity({name: "roles", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
+@Entity({
+ name: "roles",
+ engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
+})
export class Role extends BaseClass {
@Column()
@RelationId((role: Role) => role.guild)
diff --git a/src/util/entities/SecurityKey.ts b/src/util/entities/SecurityKey.ts
index 652bbb39..f0b156c9 100644
--- a/src/util/entities/SecurityKey.ts
+++ b/src/util/entities/SecurityKey.ts
@@ -20,7 +20,10 @@ import { Column, Entity, JoinColumn, ManyToOne, RelationId } from "typeorm";
import { BaseClass } from "./BaseClass";
import { User } from "./User";
-@Entity({name: "security_keys", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
+@Entity({
+ name: "security_keys",
+ engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
+})
export class SecurityKey extends BaseClass {
@Column({ nullable: true })
@RelationId((key: SecurityKey) => key.user)
diff --git a/src/util/entities/Session.ts b/src/util/entities/Session.ts
index 1fbdd2bb..b7657d97 100644
--- a/src/util/entities/Session.ts
+++ b/src/util/entities/Session.ts
@@ -24,7 +24,10 @@ import { Activity } from "../interfaces/Activity";
//TODO we need to remove all sessions on server start because if the server crashes without closing websockets it won't delete them
-@Entity({name: "sessions", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
+@Entity({
+ name: "sessions",
+ engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
+})
export class Session extends BaseClass {
@Column({ nullable: true })
@RelationId((session: Session) => session.user)
diff --git a/src/util/entities/Sticker.ts b/src/util/entities/Sticker.ts
index 95eeb32a..5b17c9b8 100644
--- a/src/util/entities/Sticker.ts
+++ b/src/util/entities/Sticker.ts
@@ -33,7 +33,10 @@ export enum StickerFormatType {
LOTTIE = 3,
}
-@Entity({name: "stickers", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
+@Entity({
+ name: "stickers",
+ engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
+})
export class Sticker extends BaseClass {
@Column()
name: string;
diff --git a/src/util/entities/StickerPack.ts b/src/util/entities/StickerPack.ts
index 257fb6e4..5f7bf671 100644
--- a/src/util/entities/StickerPack.ts
+++ b/src/util/entities/StickerPack.ts
@@ -27,7 +27,10 @@ import {
import { Sticker } from ".";
import { BaseClass } from "./BaseClass";
-@Entity({name: "sticker_packs", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
+@Entity({
+ name: "sticker_packs",
+ engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
+})
export class StickerPack extends BaseClass {
@Column()
name: string;
diff --git a/src/util/entities/Team.ts b/src/util/entities/Team.ts
index e98344c8..7c804260 100644
--- a/src/util/entities/Team.ts
+++ b/src/util/entities/Team.ts
@@ -28,7 +28,10 @@ import { BaseClass } from "./BaseClass";
import { TeamMember } from "./TeamMember";
import { User } from "./User";
-@Entity({name: "teams", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
+@Entity({
+ name: "teams",
+ engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
+})
export class Team extends BaseClass {
@Column({ nullable: true })
icon?: string;
diff --git a/src/util/entities/TeamMember.ts b/src/util/entities/TeamMember.ts
index 54c90a5a..5b82d30e 100644
--- a/src/util/entities/TeamMember.ts
+++ b/src/util/entities/TeamMember.ts
@@ -25,7 +25,10 @@ export enum TeamMemberState {
ACCEPTED = 2,
}
-@Entity({name: "team_members", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
+@Entity({
+ name: "team_members",
+ engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
+})
export class TeamMember extends BaseClass {
@Column({ type: "int" })
membership_state: TeamMemberState;
diff --git a/src/util/entities/Template.ts b/src/util/entities/Template.ts
index 4cf98651..3d5c1764 100644
--- a/src/util/entities/Template.ts
+++ b/src/util/entities/Template.ts
@@ -21,7 +21,10 @@ import { BaseClass } from "./BaseClass";
import { Guild } from "./Guild";
import { User } from "./User";
-@Entity({name: "templates", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
+@Entity({
+ name: "templates",
+ engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
+})
export class Template extends BaseClass {
@Column({ unique: true })
code: string;
diff --git a/src/util/entities/User.ts b/src/util/entities/User.ts
index e2290d0b..43c4aea6 100644
--- a/src/util/entities/User.ts
+++ b/src/util/entities/User.ts
@@ -86,7 +86,10 @@ export interface UserPrivate extends Pick {
locale: string;
}
-@Entity({name: "users", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
+@Entity({
+ name: "users",
+ engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
+})
export class User extends BaseClass {
@Column()
username: string; // username max length 32, min 2 (should be configurable)
diff --git a/src/util/entities/UserSettings.ts b/src/util/entities/UserSettings.ts
index 0df2ff86..1f27630d 100644
--- a/src/util/entities/UserSettings.ts
+++ b/src/util/entities/UserSettings.ts
@@ -19,7 +19,10 @@
import { Column, Entity, PrimaryGeneratedColumn } from "typeorm";
import { BaseClassWithoutId } from "./BaseClass";
-@Entity({name: "user_settings", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
+@Entity({
+ name: "user_settings",
+ engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
+})
export class UserSettings extends BaseClassWithoutId {
@PrimaryGeneratedColumn()
index: string;
diff --git a/src/util/entities/ValidRegistrationTokens.ts b/src/util/entities/ValidRegistrationTokens.ts
index 77da100a..737adfc1 100644
--- a/src/util/entities/ValidRegistrationTokens.ts
+++ b/src/util/entities/ValidRegistrationTokens.ts
@@ -18,7 +18,10 @@
import { BaseEntity, Column, Entity, PrimaryColumn } from "typeorm";
-@Entity({name: "valid_registration_tokens", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
+@Entity({
+ name: "valid_registration_tokens",
+ engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
+})
export class ValidRegistrationToken extends BaseEntity {
@PrimaryColumn()
token: string;
diff --git a/src/util/entities/VoiceState.ts b/src/util/entities/VoiceState.ts
index 3678fa1a..de0a52d3 100644
--- a/src/util/entities/VoiceState.ts
+++ b/src/util/entities/VoiceState.ts
@@ -24,7 +24,10 @@ import { Member } from "./Member";
import { User } from "./User";
//https://gist.github.com/vassjozsef/e482c65df6ee1facaace8b3c9ff66145#file-voice_state-ex
-@Entity({name: "voice_states", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
+@Entity({
+ name: "voice_states",
+ engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
+})
export class VoiceState extends BaseClass {
@Column({ nullable: true })
@RelationId((voice_state: VoiceState) => voice_state.guild)
diff --git a/src/util/entities/Webhook.ts b/src/util/entities/Webhook.ts
index 5d50333e..7005bf64 100644
--- a/src/util/entities/Webhook.ts
+++ b/src/util/entities/Webhook.ts
@@ -29,7 +29,10 @@ export enum WebhookType {
Application = 3,
}
-@Entity({name: "webhooks", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"})
+@Entity({
+ name: "webhooks",
+ engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci",
+})
export class Webhook extends BaseClass {
@Column({ type: "int" })
type: WebhookType;
From 8e28f2539c493aab902a9eff190806caca5a9f34 Mon Sep 17 00:00:00 2001
From: TomatoCake <60300461+DEVTomatoCake@users.noreply.github.com>
Date: Sat, 17 Aug 2024 15:39:55 +0200
Subject: [PATCH 18/49] Consistent username length requirement
---
src/api/routes/auth/register.ts | 16 +++++++++++++---
src/util/schemas/RegisterSchema.ts | 7 +++----
src/util/schemas/UserModifySchema.ts | 3 +--
3 files changed, 17 insertions(+), 9 deletions(-)
diff --git a/src/api/routes/auth/register.ts b/src/api/routes/auth/register.ts
index de1cbd3d..ea5de53b 100644
--- a/src/api/routes/auth/register.ts
+++ b/src/api/routes/auth/register.ts
@@ -1,17 +1,17 @@
/*
Spacebar: A FOSS re-implementation and extension of the Discord.com backend.
Copyright (C) 2023 Spacebar and Spacebar Contributors
-
+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
-
+
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see .
*/
@@ -287,6 +287,16 @@ router.post(
});
}
+ const { maxUsername } = Config.get().limits.user;
+ if (body.username.length > maxUsername) {
+ throw FieldErrors({
+ username: {
+ code: "USERNAME_INVALID",
+ message: `Username must be less than ${maxUsername} in length`,
+ },
+ });
+ }
+
const user = await User.register({ ...body, req });
if (body.invite) {
diff --git a/src/util/schemas/RegisterSchema.ts b/src/util/schemas/RegisterSchema.ts
index 7b7de9c7..cfee0f02 100644
--- a/src/util/schemas/RegisterSchema.ts
+++ b/src/util/schemas/RegisterSchema.ts
@@ -1,17 +1,17 @@
/*
Spacebar: A FOSS re-implementation and extension of the Discord.com backend.
Copyright (C) 2023 Spacebar and Spacebar Contributors
-
+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
-
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
-
+
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see .
*/
@@ -19,7 +19,6 @@
export interface RegisterSchema {
/**
* @minLength 2
- * @maxLength 32
*/
username: string;
/**
diff --git a/src/util/schemas/UserModifySchema.ts b/src/util/schemas/UserModifySchema.ts
index 4be6ad43..e4ed1071 100644
--- a/src/util/schemas/UserModifySchema.ts
+++ b/src/util/schemas/UserModifySchema.ts
@@ -18,8 +18,7 @@
export interface UserModifySchema {
/**
- * @minLength 1
- * @maxLength 100
+ * @minLength 2
*/
username?: string;
avatar?: string | null;
From 95bbccb6f723264e514618b18d1af9e3679e0e6d Mon Sep 17 00:00:00 2001
From: TomatoCake <60300461+DEVTomatoCake@users.noreply.github.com>
Date: Sat, 17 Aug 2024 18:24:38 +0200
Subject: [PATCH 19/49] Same error message if username too long
---
src/api/routes/auth/register.ts | 4 ++--
src/api/routes/users/@me/index.ts | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/api/routes/auth/register.ts b/src/api/routes/auth/register.ts
index ea5de53b..62152440 100644
--- a/src/api/routes/auth/register.ts
+++ b/src/api/routes/auth/register.ts
@@ -291,8 +291,8 @@ router.post(
if (body.username.length > maxUsername) {
throw FieldErrors({
username: {
- code: "USERNAME_INVALID",
- message: `Username must be less than ${maxUsername} in length`,
+ code: "BASE_TYPE_BAD_LENGTH",
+ message: `Must be between 2 and ${maxUsername} in length.`,
},
});
}
diff --git a/src/api/routes/users/@me/index.ts b/src/api/routes/users/@me/index.ts
index 5caf0d11..9cd8bfda 100644
--- a/src/api/routes/users/@me/index.ts
+++ b/src/api/routes/users/@me/index.ts
@@ -155,8 +155,8 @@ router.patch(
if (check_username.length > maxUsername) {
throw FieldErrors({
username: {
- code: "USERNAME_INVALID",
- message: `Username must be less than ${maxUsername} in length`,
+ code: "BASE_TYPE_BAD_LENGTH",
+ message: `Must be between 2 and ${maxUsername} in length.`,
},
});
}
From ff48d078e4fe163ca0553501f979e3f5c7d251ab Mon Sep 17 00:00:00 2001
From: TomatoCake <60300461+DEVTomatoCake@users.noreply.github.com>
Date: Sat, 17 Aug 2024 19:15:32 +0200
Subject: [PATCH 20/49] Trying to fix guild response schemas
---
assets/openapi.json | 453 +-
assets/schemas.json | 102321 +++++++++++++--
src/api/routes/guilds/#guild_id/index.ts | 10 +-
src/util/interfaces/Event.ts | 4 +-
src/util/schemas/GuildCreateSchema.ts | 7 +-
src/util/schemas/GuildUpdateSchema.ts | 10 +-
.../schemas/responses/GuildCreateResponse.ts | 29 +-
.../responses/MemberJoinGuildResponse.ts | 11 +-
src/util/schemas/responses/TypedResponses.ts | 3 +-
9 files changed, 95019 insertions(+), 7829 deletions(-)
diff --git a/assets/openapi.json b/assets/openapi.json
index 2af0a2c7..2adbc67e 100644
--- a/assets/openapi.json
+++ b/assets/openapi.json
@@ -3892,6 +3892,138 @@
"description": "A container for useful snowflake-related methods.",
"type": "object"
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/components/schemas/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": "string",
+ "nullable": true
+ },
+ "banner": {
+ "type": "string",
+ "nullable": true
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": "string",
+ "nullable": true
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -4075,19 +4207,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -4096,6 +4216,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -4141,27 +4291,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/components/schemas/GuildWelcomeScreen"
},
@@ -4177,9 +4312,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -5340,9 +5472,6 @@
"$ref": "#/components/schemas/ChannelModifySchema"
}
},
- "guild_template_code": {
- "type": "string"
- },
"system_channel_id": {
"type": "string"
},
@@ -5369,9 +5498,6 @@
"GuildUpdateSchema": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"banner": {
"type": "string",
"nullable": true
@@ -5419,6 +5545,10 @@
"discovery_splash": {
"type": "string"
},
+ "name": {
+ "maxLength": 100,
+ "type": "string"
+ },
"icon": {
"type": "string",
"nullable": true
@@ -5426,9 +5556,6 @@
"region": {
"type": "string"
},
- "guild_template_code": {
- "type": "string"
- },
"system_channel_id": {
"type": "string"
},
@@ -6262,7 +6389,21 @@
"type": "object",
"properties": {
"guild_id": {
- "type": "string"
+ "anyOf": [
+ {
+ "type": "array",
+ "items": [
+ {
+ "type": "string"
+ }
+ ],
+ "minItems": 1,
+ "maxItems": 1
+ },
+ {
+ "type": "string"
+ }
+ ]
},
"query": {
"type": "string"
@@ -7297,17 +7438,6 @@
"user"
]
},
- "GuildCreateResponse": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- }
- },
- "required": [
- "id"
- ]
- },
"GuildDiscoveryRequirementsResponse": {
"type": "object",
"properties": {
@@ -7761,7 +7891,7 @@
"type": "object",
"properties": {
"guild": {
- "$ref": "#/components/schemas/Guild"
+ "$ref": "#/components/schemas/GuildCreateResponse"
},
"emojis": {
"type": "array",
@@ -8289,52 +8419,17 @@
"joined_at": {
"type": "string"
},
- "afk_channel_id": {
+ "id": {
"type": "string"
},
- "afk_channel": {
- "$ref": "#/components/schemas/Channel"
- },
- "afk_timeout": {
- "type": "integer"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Ban"
- }
- },
- "banner": {
+ "name": {
"type": "string"
},
- "default_message_notifications": {
- "type": "integer"
- },
- "description": {
- "type": "string"
- },
- "discovery_splash": {
- "type": "string"
- },
- "explicit_content_filter": {
- "type": "integer"
- },
- "features": {
- "type": "array",
- "items": {
- "type": "string"
- },
- "default": []
- },
"primary_category_id": {
"type": "string"
},
- "icon": {
- "type": "string"
- },
"large": {
- "type": "boolean",
- "default": false
+ "type": "boolean"
},
"max_members": {
"type": "integer"
@@ -8351,175 +8446,105 @@
"presence_count": {
"type": "integer"
},
- "members": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Member"
- }
- },
- "roles": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Role"
- }
- },
- "channels": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Channel"
- }
- },
"template_id": {
"type": "string"
},
- "template": {
- "$ref": "#/components/schemas/Template"
- },
- "emojis": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Emoji"
- }
- },
- "stickers": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Sticker"
- }
- },
- "invites": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Invite"
- }
- },
- "voice_states": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/VoiceState"
- }
- },
- "webhooks": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Webhook"
- }
- },
"mfa_level": {
"type": "integer"
},
- "name": {
- "type": "string"
- },
"owner_id": {
"type": "string"
},
- "owner": {
- "$ref": "#/components/schemas/User"
- },
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "public_updates_channel": {
- "$ref": "#/components/schemas/Channel"
- },
- "rules_channel_id": {
- "type": "string"
- },
- "rules_channel": {
- "type": "string"
- },
- "region": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_id": {
- "type": "string"
- },
- "system_channel": {
- "$ref": "#/components/schemas/Channel"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "unavailable": {
- "type": "boolean",
- "default": false
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/components/schemas/GuildWelcomeScreen"
},
"widget_channel_id": {
"type": "string"
},
- "widget_channel": {
- "$ref": "#/components/schemas/Channel"
- },
"widget_enabled": {
- "type": "boolean",
- "default": true
+ "type": "boolean"
},
"nsfw_level": {
"type": "integer"
},
"nsfw": {
- "type": "boolean",
- "default": false
+ "type": "boolean"
},
"parent": {
"type": "string"
},
- "permissions": {
+ "icon": {
+ "type": "string",
+ "nullable": true
+ },
+ "banner": {
+ "type": "string",
+ "nullable": true
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean",
- "default": false
+ "explicit_content_filter": {
+ "type": "integer"
},
- "channel_ordering": {
+ "splash": {
+ "type": "string",
+ "nullable": true
+ },
+ "features": {
"type": "array",
"items": {
"type": "string"
}
},
- "id": {
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
"type": "string"
}
},
"required": [
- "bans",
- "channel_ordering",
- "channels",
- "emojis",
- "features",
"id",
- "invites",
"joined_at",
- "members",
"name",
"nsfw",
- "premium_progress_bar_enabled",
- "public_updates_channel_id",
- "roles",
- "stickers",
- "template",
- "unavailable",
- "voice_states",
- "webhooks",
"welcome_screen",
"widget_enabled"
]
@@ -14281,7 +14306,7 @@
"content": {
"application/json": {
"schema": {
- "$ref": "#/components/schemas/GuildUpdateSchema"
+ "$ref": "#/components/schemas/GuildCreateResponse"
}
}
}
diff --git a/assets/schemas.json b/assets/schemas.json
index 05a63902..e71365ee 100644
--- a/assets/schemas.json
+++ b/assets/schemas.json
@@ -32,343 +32,207 @@
],
"$schema": "http://json-schema.org/draft-07/schema#"
},
- "ConnectedAccountCommonOAuthTokenResponse": {
+ "DiagnosticsChannel.Response": {
"type": "object",
"properties": {
- "access_token": {
- "type": "string"
- },
- "token_type": {
- "type": "string"
- },
- "scope": {
- "type": "string"
- },
- "refresh_token": {
- "type": "string"
- },
- "expires_in": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "required": [
- "access_token",
- "scope",
- "token_type"
- ],
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "ApplicationAuthorizeSchema": {
- "type": "object",
- "properties": {
- "authorize": {
- "type": "boolean"
- },
- "guild_id": {
- "type": "string"
- },
- "permissions": {
- "type": "string"
- },
- "captcha_key": {
- "type": "string"
- },
- "code": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "authorize",
- "guild_id",
- "permissions"
- ],
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "ApplicationCreateSchema": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "team_id": {
- "type": [
- "string",
- "integer"
- ]
- }
- },
- "additionalProperties": false,
- "required": [
- "name"
- ],
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "ApplicationModifySchema": {
- "type": "object",
- "properties": {
- "description": {
- "type": "string"
- },
- "icon": {
- "type": "string"
- },
- "interactions_endpoint_url": {
- "type": "string"
- },
- "max_participants": {
- "type": [
- "null",
- "integer"
- ]
- },
- "name": {
- "type": "string"
- },
- "privacy_policy_url": {
- "type": "string"
- },
- "role_connections_verification_url": {
- "type": "string"
- },
- "tags": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "terms_of_service_url": {
- "type": "string"
- },
- "bot_public": {
- "type": "boolean"
- },
- "bot_require_code_grant": {
- "type": "boolean"
- },
- "flags": {
- "type": "integer"
- }
- },
- "additionalProperties": false,
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "BackupCodesChallengeSchema": {
- "type": "object",
- "properties": {
- "password": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "password"
- ],
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "BanCreateSchema": {
- "type": "object",
- "properties": {
- "delete_message_seconds": {
- "type": "string"
- },
- "delete_message_days": {
- "type": "string"
- },
- "reason": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "BanModeratorSchema": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "user_id": {
- "type": "string"
- },
- "guild_id": {
- "type": "string"
- },
- "executor_id": {
- "type": "string"
- },
- "reason": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "executor_id",
- "guild_id",
- "id",
- "user_id"
- ],
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "BanRegistrySchema": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "user_id": {
- "type": "string"
- },
- "guild_id": {
- "type": "string"
- },
- "executor_id": {
- "type": "string"
- },
- "ip": {
- "type": "string"
- },
- "reason": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "executor_id",
- "guild_id",
- "id",
- "user_id"
- ],
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "BotModifySchema": {
- "type": "object",
- "properties": {
- "avatar": {
- "type": "string"
- },
- "username": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "$schema": "http://json-schema.org/draft-07/schema#"
- },
- "ChannelModifySchema": {
- "type": "object",
- "properties": {
- "name": {
- "maxLength": 100,
- "type": "string"
- },
- "type": {
- "enum": [
- 0,
- 1,
- 10,
- 11,
- 12,
- 13,
- 14,
- 15,
- 2,
- 255,
- 3,
- 33,
- 34,
- 35,
- 4,
- 5,
- 6,
- 64,
- 7,
- 8,
- 9
- ],
- "type": "number"
- },
- "topic": {
- "type": "string"
- },
- "icon": {
- "type": [
- "null",
- "string"
- ]
- },
- "bitrate": {
+ "statusCode": {
"type": "integer"
},
- "user_limit": {
- "type": "integer"
+ "statusText": {
+ "type": "string"
},
- "rate_limit_per_user": {
- "type": "integer"
- },
- "position": {
- "type": "integer"
- },
- "permission_overwrites": {
+ "headers": {
"type": "array",
"items": {
"type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "type": {
- "$ref": "#/definitions/ChannelPermissionOverwriteType"
- },
- "allow": {
- "type": "string"
- },
- "deny": {
- "type": "string"
- }
- },
"additionalProperties": false,
- "required": [
- "allow",
- "deny",
- "id",
- "type"
- ]
+ "patternProperties": {
+ "^[0-9]+$": {
+ "type": "integer"
+ }
+ }
}
- },
- "parent_id": {
- "type": "string"
- },
- "id": {
- "type": "string"
- },
- "nsfw": {
- "type": "boolean"
- },
- "rtc_region": {
- "type": "string"
- },
- "default_auto_archive_duration": {
- "type": "integer"
- },
- "default_reaction_emoji": {
- "type": [
- "null",
- "string"
- ]
- },
- "flags": {
- "type": "integer"
- },
- "default_thread_rate_limit_per_user": {
- "type": "integer"
- },
- "video_quality_mode": {
- "type": "integer"
}
},
"additionalProperties": false,
+ "required": [
+ "headers",
+ "statusCode",
+ "statusText"
+ ],
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "_Response": {
+ "type": "object",
+ "properties": {
+ "headers": {
+ "$ref": "#/definitions/Headers"
+ },
+ "ok": {
+ "type": "boolean"
+ },
+ "status": {
+ "type": "integer"
+ },
+ "statusText": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/ResponseType"
+ },
+ "url": {
+ "type": "string"
+ },
+ "redirected": {
+ "type": "boolean"
+ },
+ "body": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/ReadableStream"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "bodyUsed": {
+ "type": "boolean"
+ },
+ "arrayBuffer": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "blob": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "formData": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "json": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "text": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "clone": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "arrayBuffer",
+ "blob",
+ "body",
+ "bodyUsed",
+ "clone",
+ "formData",
+ "headers",
+ "json",
+ "ok",
+ "redirected",
+ "status",
+ "statusText",
+ "text",
+ "type",
+ "url"
+ ],
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -4174,6 +4038,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -4245,14 +4248,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -4359,19 +4362,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -4380,6 +4371,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -4425,27 +4446,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -4461,9 +4467,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -4845,9 +4848,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -4857,20 +4858,59289 @@
"webhook"
]
},
- "AuthRateLimit": {
+ "GlobalRateLimits": {
"type": "object",
"properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
"register": {
- "$ref": "#/definitions/RateLimitOptions"
+ "$ref": "#/definitions/GlobalRateLimit"
+ },
+ "sendMessage": {
+ "$ref": "#/definitions/GlobalRateLimit"
}
},
"additionalProperties": false,
"required": [
- "login",
- "register"
+ "register",
+ "sendMessage"
+ ]
+ },
+ "GlobalRateLimit": {
+ "type": "object",
+ "properties": {
+ "limit": {
+ "type": "integer",
+ "default": 100
+ },
+ "window": {
+ "type": "integer",
+ "default": 3600000
+ },
+ "enabled": {
+ "type": "boolean",
+ "default": true
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "enabled",
+ "limit",
+ "window"
+ ]
+ },
+ "PublicConnectedAccount": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "verified": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "name",
+ "type"
+ ]
+ },
+ "UserProfile": {
+ "type": "object",
+ "properties": {
+ "accent_color": {
+ "type": "integer"
+ },
+ "banner": {
+ "type": "string"
+ },
+ "bio": {
+ "type": "string"
+ },
+ "theme_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "pronouns": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "bio"
+ ]
+ },
+ "Badge": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "link": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "description",
+ "icon",
+ "id"
+ ]
+ },
+ "TokenResponse": {
+ "type": "object",
+ "properties": {
+ "token": {
+ "type": "string"
+ },
+ "settings": {
+ "$ref": "#/definitions/UserSettings"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "settings",
+ "token"
+ ]
+ },
+ "MFAResponse": {
+ "type": "object",
+ "properties": {
+ "ticket": {
+ "type": "string"
+ },
+ "mfa": {
+ "type": "boolean",
+ "enum": [
+ true
+ ]
+ },
+ "sms": {
+ "type": "boolean",
+ "enum": [
+ false
+ ]
+ },
+ "token": {
+ "type": "null"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "mfa",
+ "sms",
+ "ticket",
+ "token"
+ ]
+ },
+ "WebAuthnResponse": {
+ "type": "object",
+ "properties": {
+ "webauthn": {
+ "type": "string"
+ },
+ "ticket": {
+ "type": "string"
+ },
+ "mfa": {
+ "type": "boolean",
+ "enum": [
+ true
+ ]
+ },
+ "sms": {
+ "type": "boolean",
+ "enum": [
+ false
+ ]
+ },
+ "token": {
+ "type": "null"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "mfa",
+ "sms",
+ "ticket",
+ "token",
+ "webauthn"
+ ]
+ }
+ },
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "global.Response": {
+ "type": "object",
+ "properties": {
+ "headers": {
+ "$ref": "#/definitions/Headers"
+ },
+ "ok": {
+ "type": "boolean"
+ },
+ "status": {
+ "type": "integer"
+ },
+ "statusText": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/ResponseType"
+ },
+ "url": {
+ "type": "string"
+ },
+ "redirected": {
+ "type": "boolean"
+ },
+ "body": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/ReadableStream"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "bodyUsed": {
+ "type": "boolean"
+ },
+ "arrayBuffer": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "blob": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "formData": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "json": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "text": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "clone": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "arrayBuffer",
+ "blob",
+ "body",
+ "bodyUsed",
+ "clone",
+ "formData",
+ "headers",
+ "json",
+ "ok",
+ "redirected",
+ "status",
+ "statusText",
+ "text",
+ "type",
+ "url"
+ ],
+ "definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
+ "ChannelPermissionOverwriteType": {
+ "enum": [
+ 0,
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "ConnectedAccountTokenData": {
+ "type": "object",
+ "properties": {
+ "access_token": {
+ "type": "string"
+ },
+ "token_type": {
+ "type": "string"
+ },
+ "scope": {
+ "type": "string"
+ },
+ "refresh_token": {
+ "type": "string"
+ },
+ "expires_in": {
+ "type": "integer"
+ },
+ "expires_at": {
+ "type": "integer"
+ },
+ "fetched_at": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "access_token",
+ "fetched_at"
+ ]
+ },
+ "ChannelModifySchema": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "maxLength": 100,
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ 0,
+ 1,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 2,
+ 255,
+ 3,
+ 33,
+ 34,
+ 35,
+ 4,
+ 5,
+ 6,
+ 64,
+ 7,
+ 8,
+ 9
+ ],
+ "type": "number"
+ },
+ "topic": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "bitrate": {
+ "type": "integer"
+ },
+ "user_limit": {
+ "type": "integer"
+ },
+ "rate_limit_per_user": {
+ "type": "integer"
+ },
+ "position": {
+ "type": "integer"
+ },
+ "permission_overwrites": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/ChannelPermissionOverwriteType"
+ },
+ "allow": {
+ "type": "string"
+ },
+ "deny": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "allow",
+ "deny",
+ "id",
+ "type"
+ ]
+ }
+ },
+ "parent_id": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "rtc_region": {
+ "type": "string"
+ },
+ "default_auto_archive_duration": {
+ "type": "integer"
+ },
+ "default_reaction_emoji": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "default_thread_rate_limit_per_user": {
+ "type": "integer"
+ },
+ "video_quality_mode": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false
+ },
+ "ActivitySchema": {
+ "type": "object",
+ "properties": {
+ "afk": {
+ "type": "boolean"
+ },
+ "status": {
+ "$ref": "#/definitions/Status"
+ },
+ "activities": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Activity"
+ }
+ },
+ "since": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "status"
+ ]
+ },
+ "Status": {
+ "enum": [
+ "dnd",
+ "idle",
+ "invisible",
+ "offline",
+ "online"
+ ],
+ "type": "string"
+ },
+ "Activity": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/ActivityType"
+ },
+ "url": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "integer"
+ },
+ "timestamps": {
+ "type": "object",
+ "properties": {
+ "start": {
+ "type": "integer"
+ },
+ "end": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "end",
+ "start"
+ ]
+ },
+ "application_id": {
+ "type": "string"
+ },
+ "details": {
+ "type": "string"
+ },
+ "state": {
+ "type": "string"
+ },
+ "emoji": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "animated": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "animated",
+ "name"
+ ]
+ },
+ "party": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "size": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ }
+ },
+ "additionalProperties": false
+ },
+ "assets": {
+ "type": "object",
+ "properties": {
+ "large_image": {
+ "type": "string"
+ },
+ "large_text": {
+ "type": "string"
+ },
+ "small_image": {
+ "type": "string"
+ },
+ "small_text": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "secrets": {
+ "type": "object",
+ "properties": {
+ "join": {
+ "type": "string"
+ },
+ "spectate": {
+ "type": "string"
+ },
+ "match": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "instance": {
+ "type": "boolean"
+ },
+ "flags": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "sync_id": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "object",
+ "properties": {
+ "context_uri": {
+ "type": "string"
+ },
+ "album_id": {
+ "type": "string"
+ },
+ "artist_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "album_id",
+ "artist_ids"
+ ]
+ },
+ "session_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "flags",
+ "name",
+ "session_id",
+ "type"
+ ]
+ },
+ "ActivityType": {
+ "enum": [
+ 0,
+ 1,
+ 2,
+ 4,
+ 5
+ ],
+ "type": "number"
+ },
+ "Embed": {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "article",
+ "gifv",
+ "image",
+ "link",
+ "rich",
+ "video"
+ ],
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "color": {
+ "type": "integer"
+ },
+ "footer": {
+ "type": "object",
+ "properties": {
+ "text": {
+ "type": "string"
+ },
+ "icon_url": {
+ "type": "string"
+ },
+ "proxy_icon_url": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "text"
+ ]
+ },
+ "image": {
+ "$ref": "#/definitions/EmbedImage"
+ },
+ "thumbnail": {
+ "$ref": "#/definitions/EmbedImage"
+ },
+ "video": {
+ "$ref": "#/definitions/EmbedImage"
+ },
+ "provider": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "author": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "icon_url": {
+ "type": "string"
+ },
+ "proxy_icon_url": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "fields": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
+ },
+ "inline": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "name",
+ "value"
+ ]
+ }
+ }
+ },
+ "additionalProperties": false
+ },
+ "EmbedImage": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string"
+ },
+ "proxy_url": {
+ "type": "string"
+ },
+ "height": {
+ "type": "integer"
+ },
+ "width": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false
+ },
+ "ActionRowComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/MessageComponentType.ActionRow"
+ },
+ "components": {
+ "type": "array",
+ "items": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/ButtonComponent"
+ },
+ {
+ "$ref": "#/definitions/SelectMenuComponent"
+ },
+ {
+ "$ref": "#/definitions/StringSelectMenuComponent"
+ },
+ {
+ "$ref": "#/definitions/TextInputComponent"
+ }
+ ]
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "components",
+ "type"
+ ]
+ },
+ "MessageComponentType.ActionRow": {
+ "type": "number",
+ "enum": [
+ 1
+ ]
+ },
+ "ButtonComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/MessageComponentType.Button"
+ },
+ "style": {
+ "$ref": "#/definitions/ButtonStyle"
+ },
+ "label": {
+ "type": "string"
+ },
+ "emoji": {
+ "$ref": "#/definitions/PartialEmoji"
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "sku_id": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "disabled": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "style",
+ "type"
+ ]
+ },
+ "MessageComponentType.Button": {
+ "type": "number",
+ "enum": [
+ 2
+ ]
+ },
+ "ButtonStyle": {
+ "enum": [
+ 1,
+ 2,
+ 3,
+ 4,
+ 5,
+ 6
+ ],
+ "type": "number"
+ },
+ "PartialEmoji": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "animated": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "name"
+ ]
+ },
+ "SelectMenuComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "enum": [
+ 3,
+ 5,
+ 6,
+ 7,
+ 8
+ ],
+ "type": "number"
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "channel_types": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "placeholder": {
+ "type": "string"
+ },
+ "default_values": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SelectMenuDefaultOption"
+ }
+ },
+ "min_values": {
+ "type": "integer"
+ },
+ "max_values": {
+ "type": "integer"
+ },
+ "disabled": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "custom_id",
+ "type"
+ ]
+ },
+ "SelectMenuDefaultOption": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "channel",
+ "role",
+ "user"
+ ],
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "type"
+ ]
+ },
+ "StringSelectMenuComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/MessageComponentType.StringSelect"
+ },
+ "options": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SelectMenuOption"
+ }
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "channel_types": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "placeholder": {
+ "type": "string"
+ },
+ "default_values": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SelectMenuDefaultOption"
+ }
+ },
+ "min_values": {
+ "type": "integer"
+ },
+ "max_values": {
+ "type": "integer"
+ },
+ "disabled": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "custom_id",
+ "options",
+ "type"
+ ]
+ },
+ "MessageComponentType.StringSelect": {
+ "type": "number",
+ "enum": [
+ 3
+ ]
+ },
+ "SelectMenuOption": {
+ "type": "object",
+ "properties": {
+ "label": {
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "emoji": {
+ "$ref": "#/definitions/PartialEmoji"
+ },
+ "default": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "label",
+ "value"
+ ]
+ },
+ "TextInputComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/MessageComponentType.TextInput"
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "style": {
+ "$ref": "#/definitions/TextInputStyle"
+ },
+ "label": {
+ "type": "string"
+ },
+ "min_length": {
+ "type": "integer"
+ },
+ "max_length": {
+ "type": "integer"
+ },
+ "required": {
+ "type": "boolean"
+ },
+ "value": {
+ "type": "string"
+ },
+ "placeholder": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "custom_id",
+ "label",
+ "style",
+ "type"
+ ]
+ },
+ "MessageComponentType.TextInput": {
+ "type": "number",
+ "enum": [
+ 4
+ ]
+ },
+ "TextInputStyle": {
+ "enum": [
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "PollCreationSchema": {
+ "type": "object",
+ "properties": {
+ "question": {
+ "$ref": "#/definitions/PollMedia"
+ },
+ "answers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PollAnswer"
+ }
+ },
+ "duration": {
+ "type": "integer"
+ },
+ "allow_multiselect": {
+ "type": "boolean"
+ },
+ "layout_type": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "answers",
+ "question"
+ ]
+ },
+ "PollMedia": {
+ "type": "object",
+ "properties": {
+ "text": {
+ "type": "string"
+ },
+ "emoji": {
+ "$ref": "#/definitions/PartialEmoji"
+ }
+ },
+ "additionalProperties": false
+ },
+ "PollAnswer": {
+ "type": "object",
+ "properties": {
+ "answer_id": {
+ "type": "string"
+ },
+ "poll_media": {
+ "$ref": "#/definitions/PollMedia"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "poll_media"
+ ]
+ },
+ "ChannelOverride": {
+ "type": "object",
+ "properties": {
+ "message_notifications": {
+ "type": "integer"
+ },
+ "mute_config": {
+ "$ref": "#/definitions/MuteConfig"
+ },
+ "muted": {
+ "type": "boolean"
+ },
+ "channel_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel_id",
+ "message_notifications",
+ "mute_config",
+ "muted"
+ ]
+ },
+ "MuteConfig": {
+ "type": "object",
+ "properties": {
+ "end_time": {
+ "type": "integer"
+ },
+ "selected_time_window": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "end_time",
+ "selected_time_window"
+ ]
+ },
+ "CustomStatus": {
+ "type": "object",
+ "properties": {
+ "emoji_id": {
+ "type": "string"
+ },
+ "emoji_name": {
+ "type": "string"
+ },
+ "expires_at": {
+ "type": "integer"
+ },
+ "text": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "FriendSourceFlags": {
+ "type": "object",
+ "properties": {
+ "all": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "all"
+ ]
+ },
+ "GuildFolder": {
+ "type": "object",
+ "properties": {
+ "color": {
+ "type": "integer"
+ },
+ "guild_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "id": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "color",
+ "guild_ids",
+ "id",
+ "name"
+ ]
+ },
+ "GenerateWebAuthnCredentialsSchema": {
+ "type": "object",
+ "properties": {
+ "password": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "password"
+ ]
+ },
+ "CreateWebAuthnCredentialSchema": {
+ "type": "object",
+ "properties": {
+ "credential": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "ticket": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "credential",
+ "name",
+ "ticket"
+ ]
+ },
+ "APIErrorResponse": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "integer"
+ },
+ "message": {
+ "type": "string"
+ },
+ "errors": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "object",
+ "properties": {
+ "_errors": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "message": {
+ "type": "string"
+ },
+ "code": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "message"
+ ]
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "_errors"
+ ]
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "errors",
+ "message"
+ ]
+ },
+ "CaptchaRequiredResponse": {
+ "type": "object",
+ "properties": {
+ "captcha_key": {
+ "type": "string"
+ },
+ "captcha_sitekey": {
+ "type": "string"
+ },
+ "captcha_service": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "captcha_key",
+ "captcha_service",
+ "captcha_sitekey"
+ ]
+ },
+ "Guild": {
+ "type": "object",
+ "properties": {
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "afk_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "description": {
+ "type": "string"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean",
+ "default": false
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "members": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Member"
+ }
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "template": {
+ "$ref": "#/definitions/Template"
+ },
+ "emojis": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Emoji"
+ }
+ },
+ "stickers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Sticker"
+ }
+ },
+ "invites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Invite"
+ }
+ },
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
+ },
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "owner": {
+ "$ref": "#/definitions/User"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "public_updates_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "rules_channel": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "splash": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "system_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "unavailable": {
+ "type": "boolean",
+ "default": false
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "widget_enabled": {
+ "type": "boolean",
+ "default": true
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean",
+ "default": false
+ },
+ "parent": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "integer"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "channel_ordering": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "bans",
+ "channel_ordering",
+ "channels",
+ "emojis",
+ "features",
+ "id",
+ "invites",
+ "members",
+ "name",
+ "nsfw",
+ "premium_progress_bar_enabled",
+ "public_updates_channel_id",
+ "roles",
+ "stickers",
+ "template",
+ "unavailable",
+ "voice_states",
+ "webhooks",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
+ "Channel": {
+ "type": "object",
+ "properties": {
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "name": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "type": {
+ "$ref": "#/definitions/ChannelType"
+ },
+ "recipients": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Recipient"
+ }
+ },
+ "last_message_id": {
+ "type": "string"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "parent_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "parent": {
+ "$ref": "#/definitions/Channel"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "owner": {
+ "$ref": "#/definitions/User"
+ },
+ "last_pin_timestamp": {
+ "type": "integer"
+ },
+ "default_auto_archive_duration": {
+ "type": "integer"
+ },
+ "permission_overwrites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ChannelPermissionOverwrite"
+ }
+ },
+ "video_quality_mode": {
+ "type": "integer"
+ },
+ "bitrate": {
+ "type": "integer"
+ },
+ "user_limit": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean",
+ "default": false
+ },
+ "rate_limit_per_user": {
+ "type": "integer"
+ },
+ "topic": {
+ "type": "string"
+ },
+ "invites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Invite"
+ }
+ },
+ "retention_policy_id": {
+ "type": "string"
+ },
+ "messages": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Message"
+ }
+ },
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
+ },
+ "read_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ReadState"
+ }
+ },
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
+ },
+ "flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "default_thread_rate_limit_per_user": {
+ "type": "integer",
+ "default": 0
+ },
+ "position": {
+ "description": "Must be calculated Channel.calculatePosition",
+ "type": "integer"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "created_at",
+ "default_thread_rate_limit_per_user",
+ "flags",
+ "id",
+ "nsfw",
+ "owner",
+ "parent_id",
+ "position",
+ "type"
+ ]
+ },
+ "ChannelType": {
+ "enum": [
+ 0,
+ 1,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 2,
+ 255,
+ 3,
+ 33,
+ 34,
+ 35,
+ 4,
+ 5,
+ 6,
+ 64,
+ 7,
+ 8,
+ 9
+ ],
+ "type": "number"
+ },
+ "Recipient": {
+ "type": "object",
+ "properties": {
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "closed": {
+ "type": "boolean"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "channel_id",
+ "closed",
+ "id",
+ "user",
+ "user_id"
+ ]
+ },
+ "User": {
+ "type": "object",
+ "properties": {
+ "username": {
+ "type": "string"
+ },
+ "discriminator": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "accent_color": {
+ "type": "integer"
+ },
+ "banner": {
+ "type": "string"
+ },
+ "theme_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "pronouns": {
+ "type": "string"
+ },
+ "phone": {
+ "type": "string"
+ },
+ "desktop": {
+ "type": "boolean",
+ "default": false
+ },
+ "mobile": {
+ "type": "boolean",
+ "default": false
+ },
+ "premium": {
+ "type": "boolean"
+ },
+ "premium_type": {
+ "type": "integer"
+ },
+ "bot": {
+ "type": "boolean",
+ "default": false
+ },
+ "bio": {
+ "type": "string",
+ "default": ""
+ },
+ "system": {
+ "type": "boolean",
+ "default": false
+ },
+ "nsfw_allowed": {
+ "type": "boolean",
+ "default": true
+ },
+ "mfa_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "webauthn_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "totp_secret": {
+ "type": "string",
+ "default": ""
+ },
+ "totp_last_ticket": {
+ "type": "string",
+ "default": ""
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "premium_since": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "verified": {
+ "type": "boolean"
+ },
+ "disabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "deleted": {
+ "type": "boolean",
+ "default": false
+ },
+ "email": {
+ "type": "string"
+ },
+ "flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "public_flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "purchased_flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "premium_usage_flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "rights": {
+ "type": "string"
+ },
+ "sessions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Session"
+ }
+ },
+ "relationships": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Relationship"
+ }
+ },
+ "connected_accounts": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ConnectedAccount"
+ }
+ },
+ "data": {
+ "type": "object",
+ "properties": {
+ "valid_tokens_since": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "hash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "valid_tokens_since"
+ ]
+ },
+ "fingerprints": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "settings": {
+ "$ref": "#/definitions/UserSettings"
+ },
+ "extended_settings": {
+ "type": "string",
+ "default": "{}"
+ },
+ "security_keys": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SecurityKey"
+ }
+ },
+ "badge_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "bio",
+ "bot",
+ "connected_accounts",
+ "created_at",
+ "data",
+ "deleted",
+ "desktop",
+ "disabled",
+ "discriminator",
+ "extended_settings",
+ "fingerprints",
+ "flags",
+ "id",
+ "mfa_enabled",
+ "mobile",
+ "nsfw_allowed",
+ "premium",
+ "premium_since",
+ "premium_type",
+ "premium_usage_flags",
+ "public_flags",
+ "purchased_flags",
+ "relationships",
+ "rights",
+ "security_keys",
+ "sessions",
+ "settings",
+ "system",
+ "username",
+ "verified",
+ "webauthn_enabled"
+ ]
+ },
+ "Session": {
+ "type": "object",
+ "properties": {
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "session_id": {
+ "type": "string"
+ },
+ "activities": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Activity"
+ }
+ },
+ "client_info": {
+ "type": "object",
+ "properties": {
+ "client": {
+ "type": "string"
+ },
+ "os": {
+ "type": "string"
+ },
+ "version": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "client",
+ "os",
+ "version"
+ ]
+ },
+ "client_status": {
+ "$ref": "#/definitions/ClientStatus"
+ },
+ "status": {
+ "$ref": "#/definitions/Status"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "activities",
+ "client_info",
+ "client_status",
+ "id",
+ "session_id",
+ "status",
+ "user",
+ "user_id"
+ ]
+ },
+ "ClientStatus": {
+ "type": "object",
+ "properties": {
+ "desktop": {
+ "type": "string"
+ },
+ "mobile": {
+ "type": "string"
+ },
+ "web": {
+ "type": "string"
+ },
+ "embedded": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "Relationship": {
+ "type": "object",
+ "properties": {
+ "from_id": {
+ "type": "string"
+ },
+ "from": {
+ "$ref": "#/definitions/User"
+ },
+ "to_id": {
+ "type": "string"
+ },
+ "to": {
+ "$ref": "#/definitions/User"
+ },
+ "nickname": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/RelationshipType"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "from",
+ "from_id",
+ "id",
+ "to",
+ "to_id",
+ "type"
+ ]
+ },
+ "RelationshipType": {
+ "enum": [
+ 1,
+ 2,
+ 3,
+ 4
+ ],
+ "type": "number"
+ },
+ "ConnectedAccount": {
+ "type": "object",
+ "properties": {
+ "external_id": {
+ "type": "string"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "friend_sync": {
+ "type": "boolean",
+ "default": false
+ },
+ "name": {
+ "type": "string"
+ },
+ "revoked": {
+ "type": "boolean",
+ "default": false
+ },
+ "show_activity": {
+ "type": "integer",
+ "default": 0
+ },
+ "type": {
+ "type": "string"
+ },
+ "verified": {
+ "type": "boolean",
+ "default": true
+ },
+ "visibility": {
+ "type": "integer",
+ "default": 0
+ },
+ "integrations": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "metadata_": {},
+ "metadata_visibility": {
+ "type": "integer",
+ "default": 0
+ },
+ "two_way_link": {
+ "type": "boolean",
+ "default": false
+ },
+ "token_data": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/ConnectedAccountTokenData"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "external_id",
+ "id",
+ "name",
+ "type",
+ "user",
+ "user_id"
+ ]
+ },
+ "UserSettings": {
+ "type": "object",
+ "properties": {
+ "index": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer",
+ "default": 3600
+ },
+ "allow_accessibility_detection": {
+ "type": "boolean",
+ "default": true
+ },
+ "animate_emoji": {
+ "type": "boolean",
+ "default": true
+ },
+ "animate_stickers": {
+ "type": "integer",
+ "default": 0
+ },
+ "contact_sync_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "convert_emoticons": {
+ "type": "boolean",
+ "default": false
+ },
+ "custom_status": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/CustomStatus"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "default_guilds_restricted": {
+ "type": "boolean",
+ "default": false
+ },
+ "detect_platform_accounts": {
+ "type": "boolean",
+ "default": false
+ },
+ "developer_mode": {
+ "type": "boolean",
+ "default": true
+ },
+ "disable_games_tab": {
+ "type": "boolean",
+ "default": true
+ },
+ "enable_tts_command": {
+ "type": "boolean",
+ "default": false
+ },
+ "explicit_content_filter": {
+ "type": "integer",
+ "default": 0
+ },
+ "friend_discovery_flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "friend_source_flags": {
+ "$ref": "#/definitions/FriendSourceFlags"
+ },
+ "gateway_connected": {
+ "type": "boolean",
+ "default": false
+ },
+ "gif_auto_play": {
+ "type": "boolean",
+ "default": false
+ },
+ "guild_folders": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/GuildFolder"
+ },
+ "default": []
+ },
+ "guild_positions": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "inline_attachment_media": {
+ "type": "boolean",
+ "default": true
+ },
+ "inline_embed_media": {
+ "type": "boolean",
+ "default": true
+ },
+ "locale": {
+ "type": "string",
+ "default": "en-US"
+ },
+ "message_display_compact": {
+ "type": "boolean",
+ "default": false
+ },
+ "native_phone_integration_enabled": {
+ "type": "boolean",
+ "default": true
+ },
+ "render_embeds": {
+ "type": "boolean",
+ "default": true
+ },
+ "render_reactions": {
+ "type": "boolean",
+ "default": true
+ },
+ "restricted_guilds": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "show_current_game": {
+ "type": "boolean",
+ "default": true
+ },
+ "status": {
+ "enum": [
+ "dnd",
+ "idle",
+ "invisible",
+ "offline",
+ "online"
+ ],
+ "type": "string",
+ "default": "online"
+ },
+ "stream_notifications_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "theme": {
+ "enum": [
+ "dark",
+ "light"
+ ],
+ "type": "string",
+ "default": "dark"
+ },
+ "timezone_offset": {
+ "type": "integer",
+ "default": 0
+ },
+ "view_nsfw_guilds": {
+ "type": "boolean",
+ "default": true
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "afk_timeout",
+ "allow_accessibility_detection",
+ "animate_emoji",
+ "animate_stickers",
+ "contact_sync_enabled",
+ "convert_emoticons",
+ "custom_status",
+ "default_guilds_restricted",
+ "detect_platform_accounts",
+ "developer_mode",
+ "disable_games_tab",
+ "enable_tts_command",
+ "explicit_content_filter",
+ "friend_discovery_flags",
+ "friend_source_flags",
+ "gateway_connected",
+ "gif_auto_play",
+ "guild_folders",
+ "guild_positions",
+ "index",
+ "inline_attachment_media",
+ "inline_embed_media",
+ "locale",
+ "message_display_compact",
+ "native_phone_integration_enabled",
+ "render_embeds",
+ "render_reactions",
+ "restricted_guilds",
+ "show_current_game",
+ "status",
+ "stream_notifications_enabled",
+ "theme",
+ "timezone_offset",
+ "view_nsfw_guilds"
+ ]
+ },
+ "SecurityKey": {
+ "type": "object",
+ "properties": {
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "key_id": {
+ "type": "string"
+ },
+ "public_key": {
+ "type": "string"
+ },
+ "counter": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "counter",
+ "id",
+ "key_id",
+ "name",
+ "public_key",
+ "user",
+ "user_id"
+ ]
+ },
+ "ChannelPermissionOverwrite": {
+ "type": "object",
+ "properties": {
+ "allow": {
+ "type": "string"
+ },
+ "deny": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/ChannelPermissionOverwriteType"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "allow",
+ "deny",
+ "id",
+ "type"
+ ]
+ },
+ "Invite": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "temporary": {
+ "type": "boolean"
+ },
+ "uses": {
+ "type": "integer"
+ },
+ "max_uses": {
+ "type": "integer"
+ },
+ "max_age": {
+ "type": "integer"
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "expires_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "inviter_id": {
+ "type": "string"
+ },
+ "inviter": {
+ "$ref": "#/definitions/User"
+ },
+ "target_user_id": {
+ "type": "string"
+ },
+ "target_user": {
+ "type": "string"
+ },
+ "target_user_type": {
+ "type": "integer"
+ },
+ "vanity_url": {
+ "type": "boolean"
+ },
+ "flags": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "channel_id",
+ "code",
+ "created_at",
+ "flags",
+ "guild",
+ "guild_id",
+ "inviter",
+ "max_age",
+ "max_uses",
+ "target_user_id",
+ "temporary",
+ "uses"
+ ]
+ },
+ "Message": {
+ "type": "object",
+ "properties": {
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "author_id": {
+ "type": "string"
+ },
+ "author": {
+ "$ref": "#/definitions/User"
+ },
+ "member_id": {
+ "type": "string"
+ },
+ "member": {
+ "$ref": "#/definitions/Member"
+ },
+ "webhook_id": {
+ "type": "string"
+ },
+ "webhook": {
+ "$ref": "#/definitions/Webhook"
+ },
+ "application_id": {
+ "type": "string"
+ },
+ "application": {
+ "$ref": "#/definitions/Application"
+ },
+ "content": {
+ "type": "string"
+ },
+ "timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "edited_timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "tts": {
+ "type": "boolean"
+ },
+ "mention_everyone": {
+ "type": "boolean"
+ },
+ "mentions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/User"
+ }
+ },
+ "mention_roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "mention_channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "sticker_items": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Sticker"
+ }
+ },
+ "attachments": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Attachment"
+ }
+ },
+ "embeds": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Embed"
+ }
+ },
+ "reactions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Reaction"
+ }
+ },
+ "nonce": {
+ "type": "string"
+ },
+ "pinned": {
+ "type": "boolean"
+ },
+ "type": {
+ "$ref": "#/definitions/MessageType"
+ },
+ "activity": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "integer"
+ },
+ "party_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "party_id",
+ "type"
+ ]
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "message_reference": {
+ "type": "object",
+ "properties": {
+ "message_id": {
+ "type": "string"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "guild_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "message_id"
+ ]
+ },
+ "referenced_message": {
+ "$ref": "#/definitions/Message"
+ },
+ "interaction": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/InteractionType"
+ },
+ "name": {
+ "type": "string"
+ },
+ "user_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "type",
+ "user_id"
+ ]
+ },
+ "components": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ActionRowComponent"
+ }
+ },
+ "poll": {
+ "$ref": "#/definitions/Poll"
+ },
+ "username": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "embeds",
+ "flags",
+ "id",
+ "mention_channels",
+ "mention_roles",
+ "mentions",
+ "reactions",
+ "timestamp",
+ "type"
+ ]
+ },
+ "Member": {
+ "type": "object",
+ "properties": {
+ "index": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "nick": {
+ "type": "string"
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "joined_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "premium_since": {
+ "type": "integer"
+ },
+ "deaf": {
+ "type": "boolean"
+ },
+ "mute": {
+ "type": "boolean"
+ },
+ "pending": {
+ "type": "boolean"
+ },
+ "settings": {
+ "$ref": "#/definitions/UserGuildSettings"
+ },
+ "last_message_id": {
+ "type": "string"
+ },
+ "joined_by": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "banner": {
+ "type": "string"
+ },
+ "bio": {
+ "type": "string"
+ },
+ "theme_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "pronouns": {
+ "type": "string"
+ },
+ "communication_disabled_until": {
+ "type": "string",
+ "format": "date-time"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "banner",
+ "bio",
+ "communication_disabled_until",
+ "deaf",
+ "guild",
+ "guild_id",
+ "id",
+ "index",
+ "joined_at",
+ "joined_by",
+ "mute",
+ "pending",
+ "roles",
+ "settings",
+ "user"
+ ]
+ },
+ "Role": {
+ "type": "object",
+ "properties": {
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "color": {
+ "type": "integer"
+ },
+ "hoist": {
+ "type": "boolean"
+ },
+ "managed": {
+ "type": "boolean"
+ },
+ "mentionable": {
+ "type": "boolean"
+ },
+ "name": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "string"
+ },
+ "position": {
+ "type": "integer"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "unicode_emoji": {
+ "type": "string"
+ },
+ "tags": {
+ "type": "object",
+ "properties": {
+ "bot_id": {
+ "type": "string"
+ },
+ "integration_id": {
+ "type": "string"
+ },
+ "premium_subscriber": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "color",
+ "flags",
+ "guild",
+ "guild_id",
+ "hoist",
+ "id",
+ "managed",
+ "mentionable",
+ "name",
+ "permissions",
+ "position"
+ ]
+ },
+ "UserGuildSettings": {
+ "type": "object",
+ "properties": {
+ "channel_overrides": {
+ "anyOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "$ref": "#/definitions/ChannelOverride"
+ }
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "message_notifications": {
+ "type": "integer"
+ },
+ "mobile_push": {
+ "type": "boolean"
+ },
+ "mute_config": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/MuteConfig"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "muted": {
+ "type": "boolean"
+ },
+ "suppress_everyone": {
+ "type": "boolean"
+ },
+ "suppress_roles": {
+ "type": "boolean"
+ },
+ "version": {
+ "type": "integer"
+ },
+ "guild_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "mute_scheduled_events": {
+ "type": "boolean"
+ },
+ "hide_muted_channels": {
+ "type": "boolean"
+ },
+ "notify_highlights": {
+ "type": "number",
+ "enum": [
+ 0
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel_overrides",
+ "flags",
+ "guild_id",
+ "hide_muted_channels",
+ "message_notifications",
+ "mobile_push",
+ "mute_config",
+ "mute_scheduled_events",
+ "muted",
+ "notify_highlights",
+ "suppress_everyone",
+ "suppress_roles",
+ "version"
+ ]
+ },
+ "Webhook": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/WebhookType"
+ },
+ "name": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "token": {
+ "type": "string"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "application_id": {
+ "type": "string"
+ },
+ "application": {
+ "$ref": "#/definitions/Application"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "source_guild_id": {
+ "type": "string"
+ },
+ "source_guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "source_channel_id": {
+ "type": "string"
+ },
+ "source_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "url": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "application",
+ "application_id",
+ "avatar",
+ "channel",
+ "channel_id",
+ "id",
+ "name",
+ "source_channel",
+ "source_channel_id",
+ "type",
+ "url",
+ "user",
+ "user_id"
+ ]
+ },
+ "WebhookType": {
+ "enum": [
+ 1,
+ 2,
+ 3
+ ],
+ "type": "number"
+ },
+ "Application": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "summary": {
+ "type": "string",
+ "default": ""
+ },
+ "type": {
+ "type": "object",
+ "properties": {},
+ "additionalProperties": true
+ },
+ "hook": {
+ "type": "boolean",
+ "default": true
+ },
+ "bot_public": {
+ "type": "boolean",
+ "default": true
+ },
+ "bot_require_code_grant": {
+ "type": "boolean",
+ "default": false
+ },
+ "verify_key": {
+ "type": "string"
+ },
+ "owner": {
+ "$ref": "#/definitions/User"
+ },
+ "flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "redirect_uris": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "rpc_application_state": {
+ "type": "integer",
+ "default": 0
+ },
+ "store_application_state": {
+ "type": "integer",
+ "default": 1
+ },
+ "verification_state": {
+ "type": "integer",
+ "default": 1
+ },
+ "interactions_endpoint_url": {
+ "type": "string"
+ },
+ "integration_public": {
+ "type": "boolean",
+ "default": true
+ },
+ "integration_require_code_grant": {
+ "type": "boolean",
+ "default": false
+ },
+ "discoverability_state": {
+ "type": "integer",
+ "default": 1
+ },
+ "discovery_eligibility_flags": {
+ "type": "integer",
+ "default": 2240
+ },
+ "bot": {
+ "$ref": "#/definitions/User"
+ },
+ "tags": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "cover_image": {
+ "type": "string"
+ },
+ "install_params": {
+ "type": "object",
+ "properties": {
+ "scopes": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "permissions": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "permissions",
+ "scopes"
+ ]
+ },
+ "terms_of_service_url": {
+ "type": "string"
+ },
+ "privacy_policy_url": {
+ "type": "string"
+ },
+ "team": {
+ "$ref": "#/definitions/Team"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "description",
+ "discoverability_state",
+ "discovery_eligibility_flags",
+ "flags",
+ "hook",
+ "id",
+ "integration_public",
+ "integration_require_code_grant",
+ "name",
+ "owner",
+ "redirect_uris",
+ "rpc_application_state",
+ "store_application_state",
+ "summary",
+ "verification_state",
+ "verify_key"
+ ]
+ },
+ "Team": {
+ "type": "object",
+ "properties": {
+ "icon": {
+ "type": "string"
+ },
+ "members": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TeamMember"
+ }
+ },
+ "name": {
+ "type": "string"
+ },
+ "owner_user_id": {
+ "type": "string"
+ },
+ "owner_user": {
+ "$ref": "#/definitions/User"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "members",
+ "name",
+ "owner_user",
+ "owner_user_id"
+ ]
+ },
+ "TeamMember": {
+ "type": "object",
+ "properties": {
+ "membership_state": {
+ "$ref": "#/definitions/TeamMemberState"
+ },
+ "permissions": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "team_id": {
+ "type": "string"
+ },
+ "team": {
+ "$ref": "#/definitions/Team"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "membership_state",
+ "permissions",
+ "team",
+ "team_id",
+ "user",
+ "user_id"
+ ]
+ },
+ "TeamMemberState": {
+ "enum": [
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "Sticker": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "available": {
+ "type": "boolean"
+ },
+ "tags": {
+ "type": "string"
+ },
+ "pack_id": {
+ "type": "string"
+ },
+ "pack": {
+ "$ref": "#/definitions/StickerPack"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "type": {
+ "$ref": "#/definitions/StickerType"
+ },
+ "format_type": {
+ "$ref": "#/definitions/StickerFormatType"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "format_type",
+ "id",
+ "name",
+ "pack",
+ "type"
+ ]
+ },
+ "StickerPack": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "banner_asset_id": {
+ "type": "string"
+ },
+ "stickers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Sticker"
+ }
+ },
+ "cover_sticker_id": {
+ "type": "string"
+ },
+ "cover_sticker": {
+ "$ref": "#/definitions/Sticker"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "stickers"
+ ]
+ },
+ "StickerType": {
+ "enum": [
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "StickerFormatType": {
+ "enum": [
+ 0,
+ 1,
+ 2,
+ 3
+ ],
+ "type": "number"
+ },
+ "Attachment": {
+ "type": "object",
+ "properties": {
+ "filename": {
+ "type": "string"
+ },
+ "size": {
+ "type": "integer"
+ },
+ "url": {
+ "type": "string"
+ },
+ "proxy_url": {
+ "type": "string"
+ },
+ "height": {
+ "type": "integer"
+ },
+ "width": {
+ "type": "integer"
+ },
+ "content_type": {
+ "type": "string"
+ },
+ "message_id": {
+ "type": "string"
+ },
+ "message": {
+ "$ref": "#/definitions/Message"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "filename",
+ "id",
+ "message",
+ "message_id",
+ "proxy_url",
+ "size",
+ "url"
+ ]
+ },
+ "Reaction": {
+ "type": "object",
+ "properties": {
+ "count": {
+ "type": "integer"
+ },
+ "emoji": {
+ "$ref": "#/definitions/PartialEmoji"
+ },
+ "user_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "count",
+ "emoji",
+ "user_ids"
+ ]
+ },
+ "MessageType": {
+ "enum": [
+ 0,
+ 1,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 16,
+ 19,
+ 2,
+ 20,
+ 255,
+ 3,
+ 4,
+ 41,
+ 42,
+ 43,
+ 5,
+ 50,
+ 6,
+ 63,
+ 7,
+ 8,
+ 9
+ ],
+ "type": "number"
+ },
+ "InteractionType": {
+ "enum": [
+ 0,
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "Poll": {
+ "type": "object",
+ "properties": {
+ "question": {
+ "$ref": "#/definitions/PollMedia"
+ },
+ "answers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PollAnswer"
+ }
+ },
+ "expiry": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "allow_multiselect": {
+ "type": "boolean"
+ },
+ "results": {
+ "$ref": "#/definitions/PollResult"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "allow_multiselect",
+ "answers",
+ "expiry",
+ "question"
+ ]
+ },
+ "PollResult": {
+ "type": "object",
+ "properties": {
+ "is_finalized": {
+ "type": "boolean"
+ },
+ "answer_counts": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PollAnswerCount"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "answer_counts",
+ "is_finalized"
+ ]
+ },
+ "PollAnswerCount": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "count": {
+ "type": "integer"
+ },
+ "me_voted": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "count",
+ "id",
+ "me_voted"
+ ]
+ },
+ "VoiceState": {
+ "type": "object",
+ "properties": {
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "member": {
+ "$ref": "#/definitions/Member"
+ },
+ "session_id": {
+ "type": "string"
+ },
+ "token": {
+ "type": "string"
+ },
+ "deaf": {
+ "type": "boolean"
+ },
+ "mute": {
+ "type": "boolean"
+ },
+ "self_deaf": {
+ "type": "boolean"
+ },
+ "self_mute": {
+ "type": "boolean"
+ },
+ "self_stream": {
+ "type": "boolean"
+ },
+ "self_video": {
+ "type": "boolean"
+ },
+ "suppress": {
+ "type": "boolean"
+ },
+ "request_to_speak_timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "channel_id",
+ "deaf",
+ "guild_id",
+ "id",
+ "member",
+ "mute",
+ "self_deaf",
+ "self_mute",
+ "self_video",
+ "session_id",
+ "suppress",
+ "token",
+ "user",
+ "user_id"
+ ]
+ },
+ "ReadState": {
+ "type": "object",
+ "properties": {
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "last_message_id": {
+ "type": "string"
+ },
+ "public_ack": {
+ "type": "string"
+ },
+ "notifications_cursor": {
+ "type": "string"
+ },
+ "last_pin_timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "mention_count": {
+ "type": "integer"
+ },
+ "manual": {
+ "type": "boolean"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "channel_id",
+ "id",
+ "last_message_id",
+ "manual",
+ "mention_count",
+ "notifications_cursor",
+ "public_ack",
+ "user",
+ "user_id"
+ ]
+ },
+ "Ban": {
+ "type": "object",
+ "properties": {
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "executor_id": {
+ "type": "string"
+ },
+ "executor": {
+ "$ref": "#/definitions/User"
+ },
+ "ip": {
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "executor",
+ "executor_id",
+ "guild",
+ "guild_id",
+ "id",
+ "ip",
+ "user",
+ "user_id"
+ ]
+ },
+ "Template": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "usage_count": {
+ "type": "integer"
+ },
+ "creator_id": {
+ "type": "string"
+ },
+ "creator": {
+ "$ref": "#/definitions/User"
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "source_guild_id": {
+ "type": "string"
+ },
+ "source_guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "serialized_source_guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "created_at",
+ "creator",
+ "creator_id",
+ "id",
+ "name",
+ "serialized_source_guild",
+ "source_guild",
+ "source_guild_id",
+ "updated_at"
+ ]
+ },
+ "Emoji": {
+ "type": "object",
+ "properties": {
+ "animated": {
+ "type": "boolean"
+ },
+ "available": {
+ "type": "boolean"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "managed": {
+ "type": "boolean"
+ },
+ "name": {
+ "type": "string"
+ },
+ "require_colons": {
+ "type": "boolean"
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "groups": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "animated",
+ "available",
+ "groups",
+ "guild",
+ "guild_id",
+ "id",
+ "managed",
+ "name",
+ "require_colons",
+ "roles",
+ "user",
+ "user_id"
+ ]
+ },
+ "GuildWelcomeScreen": {
+ "type": "object",
+ "properties": {
+ "enabled": {
+ "type": "boolean"
+ },
+ "description": {
+ "type": "string"
+ },
+ "welcome_channels": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "description": {
+ "type": "string"
+ },
+ "emoji_id": {
+ "type": "string"
+ },
+ "emoji_name": {
+ "type": "string"
+ },
+ "channel_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel_id",
+ "description"
+ ]
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "description",
+ "enabled",
+ "welcome_channels"
+ ]
+ },
+ "GuildMessagesSearchMessage": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/MessageType"
+ },
+ "content": {
+ "type": "string"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "author": {
+ "$ref": "#/definitions/PublicUser"
+ },
+ "attachments": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Attachment"
+ }
+ },
+ "embeds": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Embed"
+ }
+ },
+ "mentions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PublicUser"
+ }
+ },
+ "mention_roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "pinned": {
+ "type": "boolean"
+ },
+ "mention_everyone": {
+ "type": "boolean"
+ },
+ "tts": {
+ "type": "boolean"
+ },
+ "timestamp": {
+ "type": "string"
+ },
+ "edited_timestamp": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "components": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ActionRowComponent"
+ }
+ },
+ "poll": {
+ "$ref": "#/definitions/Poll"
+ },
+ "hit": {
+ "type": "boolean",
+ "enum": [
+ true
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "attachments",
+ "author",
+ "channel_id",
+ "components",
+ "edited_timestamp",
+ "embeds",
+ "flags",
+ "hit",
+ "id",
+ "mention_roles",
+ "mentions",
+ "pinned",
+ "poll",
+ "timestamp",
+ "tts",
+ "type"
+ ]
+ },
+ "PublicUser": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "premium_since": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "username": {
+ "type": "string"
+ },
+ "discriminator": {
+ "type": "string"
+ },
+ "public_flags": {
+ "type": "integer"
+ },
+ "accent_color": {
+ "type": "integer"
+ },
+ "banner": {
+ "type": "string"
+ },
+ "bio": {
+ "type": "string"
+ },
+ "bot": {
+ "type": "boolean"
+ },
+ "premium_type": {
+ "type": "integer"
+ },
+ "theme_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "pronouns": {
+ "type": "string"
+ },
+ "badge_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "bio",
+ "bot",
+ "discriminator",
+ "id",
+ "premium_since",
+ "premium_type",
+ "public_flags",
+ "username"
+ ]
+ },
+ "GuildVanityUrl": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "uses": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "uses"
+ ]
+ },
+ "GuildVanityUrlNoInvite": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "null"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code"
+ ]
+ },
+ "Snowflake": {
+ "description": "A container for useful snowflake-related methods.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
+ "TenorGifResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "src": {
+ "type": "string"
+ },
+ "gif_src": {
+ "type": "string"
+ },
+ "width": {
+ "type": "integer"
+ },
+ "height": {
+ "type": "integer"
+ },
+ "preview": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "gif_src",
+ "height",
+ "id",
+ "preview",
+ "src",
+ "title",
+ "url",
+ "width"
+ ]
+ },
+ "BackupCode": {
+ "type": "object",
+ "properties": {
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "code": {
+ "type": "string"
+ },
+ "consumed": {
+ "type": "boolean"
+ },
+ "expired": {
+ "type": "boolean"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "consumed",
+ "expired",
+ "id",
+ "user"
+ ]
+ },
+ "APIGuild": {
+ "type": "object",
+ "properties": {
+ "reload": {
+ "description": "Reloads entity data from the database.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "name": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "invites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Invite"
+ }
+ },
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
+ },
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
+ },
+ "toJSON": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "assign": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "hasId": {
+ "description": "Checks if entity has an id.\nIf entity composite compose ids, it will check them all.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "save": {
+ "description": "Saves current entity in the database.\nIf entity does not exist in the database then inserts, otherwise updates.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "remove": {
+ "description": "Removes current entity from the database.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "softRemove": {
+ "description": "Records the delete date of current entity.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "recover": {
+ "description": "Recovers a given entity in the database.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": "string"
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "members": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Member"
+ }
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "emojis": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Emoji"
+ }
+ },
+ "stickers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Sticker"
+ }
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "permissions": {
+ "type": "integer"
+ },
+ "channel_ordering": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "_do_validate",
+ "assign",
+ "bans",
+ "channel_ordering",
+ "channels",
+ "emojis",
+ "features",
+ "hasId",
+ "id",
+ "invites",
+ "members",
+ "name",
+ "nsfw",
+ "premium_progress_bar_enabled",
+ "public_updates_channel_id",
+ "recover",
+ "reload",
+ "remove",
+ "roles",
+ "save",
+ "softRemove",
+ "stickers",
+ "toJSON",
+ "unavailable",
+ "voice_states",
+ "webhooks",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
+ "DmChannelDTO": {
+ "type": "object",
+ "properties": {
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "id": {
+ "type": "string"
+ },
+ "last_message_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "name": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "origin_channel_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "recipients": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MinimalPublicUserDTO"
+ }
+ },
+ "type": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "icon",
+ "id",
+ "last_message_id",
+ "name",
+ "origin_channel_id",
+ "recipients",
+ "type"
+ ]
+ },
+ "MinimalPublicUserDTO": {
+ "type": "object",
+ "properties": {
+ "avatar": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "discriminator": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "public_flags": {
+ "type": "integer"
+ },
+ "username": {
+ "type": "string"
+ },
+ "badge_ids": {
+ "anyOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "discriminator",
+ "id",
+ "public_flags",
+ "username"
+ ]
+ },
+ "Categories": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "localizations": {
+ "type": "string"
+ },
+ "is_primary": {
+ "type": "boolean"
+ },
+ "icon": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "is_primary",
+ "localizations",
+ "name"
+ ]
+ },
+ "GuildVoiceRegion": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "custom": {
+ "type": "boolean"
+ },
+ "deprecated": {
+ "type": "boolean"
+ },
+ "optimal": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "custom",
+ "deprecated",
+ "id",
+ "name",
+ "optimal"
+ ]
+ },
+ "UserLimits": {
+ "type": "object",
+ "properties": {
+ "maxGuilds": {
+ "type": "integer",
+ "default": 1048576
+ },
+ "maxUsername": {
+ "type": "integer",
+ "default": 32
+ },
+ "maxFriends": {
+ "type": "integer",
+ "default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "maxBio",
+ "maxFriends",
+ "maxGuilds",
+ "maxUsername"
+ ]
+ },
+ "GuildLimits": {
+ "type": "object",
+ "properties": {
+ "maxRoles": {
+ "type": "integer",
+ "default": 1000
+ },
+ "maxEmojis": {
+ "type": "integer",
+ "default": 2000
+ },
+ "maxMembers": {
+ "type": "integer",
+ "default": 25000000
+ },
+ "maxChannels": {
+ "type": "integer",
+ "default": 65535
+ },
+ "maxBulkBanUsers": {
+ "type": "integer",
+ "default": 200
+ },
+ "maxChannelsInCategory": {
+ "type": "integer",
+ "default": 65535
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "maxBulkBanUsers",
+ "maxChannels",
+ "maxChannelsInCategory",
+ "maxEmojis",
+ "maxMembers",
+ "maxRoles"
+ ]
+ },
+ "MessageLimits": {
+ "type": "object",
+ "properties": {
+ "maxCharacters": {
+ "type": "integer",
+ "default": 1048576
+ },
+ "maxTTSCharacters": {
+ "type": "integer",
+ "default": 160
+ },
+ "maxReactions": {
+ "type": "integer",
+ "default": 2048
+ },
+ "maxAttachmentSize": {
+ "type": "integer",
+ "default": 1073741824
+ },
+ "maxBulkDelete": {
+ "type": "integer",
+ "default": 1000
+ },
+ "maxEmbedDownloadSize": {
+ "type": "integer",
+ "default": 5242880
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "maxAttachmentSize",
+ "maxBulkDelete",
+ "maxCharacters",
+ "maxEmbedDownloadSize",
+ "maxReactions",
+ "maxTTSCharacters"
+ ]
+ },
+ "ChannelLimits": {
+ "type": "object",
+ "properties": {
+ "maxPins": {
+ "type": "integer",
+ "default": 500
+ },
+ "maxTopic": {
+ "type": "integer",
+ "default": 1024
+ },
+ "maxWebhooks": {
+ "type": "integer",
+ "default": 100
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "maxPins",
+ "maxTopic",
+ "maxWebhooks"
+ ]
+ },
+ "RateLimits": {
+ "type": "object",
+ "properties": {
+ "enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "ip": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "global": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "error": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "routes": {
+ "$ref": "#/definitions/RouteRateLimit"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "enabled",
+ "error",
+ "global",
+ "ip",
+ "routes"
+ ]
+ },
+ "RateLimitOptions": {
+ "type": "object",
+ "properties": {
+ "bot": {
+ "type": "integer"
+ },
+ "count": {
+ "type": "integer"
+ },
+ "window": {
+ "type": "integer"
+ },
+ "onyIp": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "count",
+ "window"
+ ]
+ },
+ "RouteRateLimit": {
+ "type": "object",
+ "properties": {
+ "guild": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "webhook": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "channel": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "auth": {}
+ },
+ "additionalProperties": false,
+ "required": [
+ "auth",
+ "channel",
+ "guild",
+ "webhook"
+ ]
+ },
+ "GlobalRateLimits": {
+ "type": "object",
+ "properties": {
+ "register": {
+ "$ref": "#/definitions/GlobalRateLimit"
+ },
+ "sendMessage": {
+ "$ref": "#/definitions/GlobalRateLimit"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "register",
+ "sendMessage"
+ ]
+ },
+ "GlobalRateLimit": {
+ "type": "object",
+ "properties": {
+ "limit": {
+ "type": "integer",
+ "default": 100
+ },
+ "window": {
+ "type": "integer",
+ "default": 3600000
+ },
+ "enabled": {
+ "type": "boolean",
+ "default": true
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "enabled",
+ "limit",
+ "window"
+ ]
+ },
+ "PublicConnectedAccount": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "verified": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "name",
+ "type"
+ ]
+ },
+ "UserProfile": {
+ "type": "object",
+ "properties": {
+ "accent_color": {
+ "type": "integer"
+ },
+ "banner": {
+ "type": "string"
+ },
+ "bio": {
+ "type": "string"
+ },
+ "theme_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "pronouns": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "bio"
+ ]
+ },
+ "Badge": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "link": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "description",
+ "icon",
+ "id"
+ ]
+ },
+ "TokenResponse": {
+ "type": "object",
+ "properties": {
+ "token": {
+ "type": "string"
+ },
+ "settings": {
+ "$ref": "#/definitions/UserSettings"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "settings",
+ "token"
+ ]
+ },
+ "MFAResponse": {
+ "type": "object",
+ "properties": {
+ "ticket": {
+ "type": "string"
+ },
+ "mfa": {
+ "type": "boolean",
+ "enum": [
+ true
+ ]
+ },
+ "sms": {
+ "type": "boolean",
+ "enum": [
+ false
+ ]
+ },
+ "token": {
+ "type": "null"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "mfa",
+ "sms",
+ "ticket",
+ "token"
+ ]
+ },
+ "WebAuthnResponse": {
+ "type": "object",
+ "properties": {
+ "webauthn": {
+ "type": "string"
+ },
+ "ticket": {
+ "type": "string"
+ },
+ "mfa": {
+ "type": "boolean",
+ "enum": [
+ true
+ ]
+ },
+ "sms": {
+ "type": "boolean",
+ "enum": [
+ false
+ ]
+ },
+ "token": {
+ "type": "null"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "mfa",
+ "sms",
+ "ticket",
+ "token",
+ "webauthn"
+ ]
+ }
+ },
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "ConnectedAccountCommonOAuthTokenResponse": {
+ "type": "object",
+ "properties": {
+ "access_token": {
+ "type": "string"
+ },
+ "token_type": {
+ "type": "string"
+ },
+ "scope": {
+ "type": "string"
+ },
+ "refresh_token": {
+ "type": "string"
+ },
+ "expires_in": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "access_token",
+ "scope",
+ "token_type"
+ ],
+ "definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
+ "ChannelPermissionOverwriteType": {
+ "enum": [
+ 0,
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "ConnectedAccountTokenData": {
+ "type": "object",
+ "properties": {
+ "access_token": {
+ "type": "string"
+ },
+ "token_type": {
+ "type": "string"
+ },
+ "scope": {
+ "type": "string"
+ },
+ "refresh_token": {
+ "type": "string"
+ },
+ "expires_in": {
+ "type": "integer"
+ },
+ "expires_at": {
+ "type": "integer"
+ },
+ "fetched_at": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "access_token",
+ "fetched_at"
+ ]
+ },
+ "ChannelModifySchema": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "maxLength": 100,
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ 0,
+ 1,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 2,
+ 255,
+ 3,
+ 33,
+ 34,
+ 35,
+ 4,
+ 5,
+ 6,
+ 64,
+ 7,
+ 8,
+ 9
+ ],
+ "type": "number"
+ },
+ "topic": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "bitrate": {
+ "type": "integer"
+ },
+ "user_limit": {
+ "type": "integer"
+ },
+ "rate_limit_per_user": {
+ "type": "integer"
+ },
+ "position": {
+ "type": "integer"
+ },
+ "permission_overwrites": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/ChannelPermissionOverwriteType"
+ },
+ "allow": {
+ "type": "string"
+ },
+ "deny": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "allow",
+ "deny",
+ "id",
+ "type"
+ ]
+ }
+ },
+ "parent_id": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "rtc_region": {
+ "type": "string"
+ },
+ "default_auto_archive_duration": {
+ "type": "integer"
+ },
+ "default_reaction_emoji": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "default_thread_rate_limit_per_user": {
+ "type": "integer"
+ },
+ "video_quality_mode": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false
+ },
+ "ActivitySchema": {
+ "type": "object",
+ "properties": {
+ "afk": {
+ "type": "boolean"
+ },
+ "status": {
+ "$ref": "#/definitions/Status"
+ },
+ "activities": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Activity"
+ }
+ },
+ "since": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "status"
+ ]
+ },
+ "Status": {
+ "enum": [
+ "dnd",
+ "idle",
+ "invisible",
+ "offline",
+ "online"
+ ],
+ "type": "string"
+ },
+ "Activity": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/ActivityType"
+ },
+ "url": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "integer"
+ },
+ "timestamps": {
+ "type": "object",
+ "properties": {
+ "start": {
+ "type": "integer"
+ },
+ "end": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "end",
+ "start"
+ ]
+ },
+ "application_id": {
+ "type": "string"
+ },
+ "details": {
+ "type": "string"
+ },
+ "state": {
+ "type": "string"
+ },
+ "emoji": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "animated": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "animated",
+ "name"
+ ]
+ },
+ "party": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "size": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ }
+ },
+ "additionalProperties": false
+ },
+ "assets": {
+ "type": "object",
+ "properties": {
+ "large_image": {
+ "type": "string"
+ },
+ "large_text": {
+ "type": "string"
+ },
+ "small_image": {
+ "type": "string"
+ },
+ "small_text": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "secrets": {
+ "type": "object",
+ "properties": {
+ "join": {
+ "type": "string"
+ },
+ "spectate": {
+ "type": "string"
+ },
+ "match": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "instance": {
+ "type": "boolean"
+ },
+ "flags": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "sync_id": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "object",
+ "properties": {
+ "context_uri": {
+ "type": "string"
+ },
+ "album_id": {
+ "type": "string"
+ },
+ "artist_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "album_id",
+ "artist_ids"
+ ]
+ },
+ "session_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "flags",
+ "name",
+ "session_id",
+ "type"
+ ]
+ },
+ "ActivityType": {
+ "enum": [
+ 0,
+ 1,
+ 2,
+ 4,
+ 5
+ ],
+ "type": "number"
+ },
+ "Embed": {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "article",
+ "gifv",
+ "image",
+ "link",
+ "rich",
+ "video"
+ ],
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "color": {
+ "type": "integer"
+ },
+ "footer": {
+ "type": "object",
+ "properties": {
+ "text": {
+ "type": "string"
+ },
+ "icon_url": {
+ "type": "string"
+ },
+ "proxy_icon_url": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "text"
+ ]
+ },
+ "image": {
+ "$ref": "#/definitions/EmbedImage"
+ },
+ "thumbnail": {
+ "$ref": "#/definitions/EmbedImage"
+ },
+ "video": {
+ "$ref": "#/definitions/EmbedImage"
+ },
+ "provider": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "author": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "icon_url": {
+ "type": "string"
+ },
+ "proxy_icon_url": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "fields": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
+ },
+ "inline": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "name",
+ "value"
+ ]
+ }
+ }
+ },
+ "additionalProperties": false
+ },
+ "EmbedImage": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string"
+ },
+ "proxy_url": {
+ "type": "string"
+ },
+ "height": {
+ "type": "integer"
+ },
+ "width": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false
+ },
+ "ActionRowComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/MessageComponentType.ActionRow"
+ },
+ "components": {
+ "type": "array",
+ "items": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/ButtonComponent"
+ },
+ {
+ "$ref": "#/definitions/SelectMenuComponent"
+ },
+ {
+ "$ref": "#/definitions/StringSelectMenuComponent"
+ },
+ {
+ "$ref": "#/definitions/TextInputComponent"
+ }
+ ]
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "components",
+ "type"
+ ]
+ },
+ "MessageComponentType.ActionRow": {
+ "type": "number",
+ "enum": [
+ 1
+ ]
+ },
+ "ButtonComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/MessageComponentType.Button"
+ },
+ "style": {
+ "$ref": "#/definitions/ButtonStyle"
+ },
+ "label": {
+ "type": "string"
+ },
+ "emoji": {
+ "$ref": "#/definitions/PartialEmoji"
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "sku_id": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "disabled": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "style",
+ "type"
+ ]
+ },
+ "MessageComponentType.Button": {
+ "type": "number",
+ "enum": [
+ 2
+ ]
+ },
+ "ButtonStyle": {
+ "enum": [
+ 1,
+ 2,
+ 3,
+ 4,
+ 5,
+ 6
+ ],
+ "type": "number"
+ },
+ "PartialEmoji": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "animated": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "name"
+ ]
+ },
+ "SelectMenuComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "enum": [
+ 3,
+ 5,
+ 6,
+ 7,
+ 8
+ ],
+ "type": "number"
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "channel_types": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "placeholder": {
+ "type": "string"
+ },
+ "default_values": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SelectMenuDefaultOption"
+ }
+ },
+ "min_values": {
+ "type": "integer"
+ },
+ "max_values": {
+ "type": "integer"
+ },
+ "disabled": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "custom_id",
+ "type"
+ ]
+ },
+ "SelectMenuDefaultOption": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "channel",
+ "role",
+ "user"
+ ],
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "type"
+ ]
+ },
+ "StringSelectMenuComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/MessageComponentType.StringSelect"
+ },
+ "options": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SelectMenuOption"
+ }
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "channel_types": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "placeholder": {
+ "type": "string"
+ },
+ "default_values": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SelectMenuDefaultOption"
+ }
+ },
+ "min_values": {
+ "type": "integer"
+ },
+ "max_values": {
+ "type": "integer"
+ },
+ "disabled": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "custom_id",
+ "options",
+ "type"
+ ]
+ },
+ "MessageComponentType.StringSelect": {
+ "type": "number",
+ "enum": [
+ 3
+ ]
+ },
+ "SelectMenuOption": {
+ "type": "object",
+ "properties": {
+ "label": {
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "emoji": {
+ "$ref": "#/definitions/PartialEmoji"
+ },
+ "default": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "label",
+ "value"
+ ]
+ },
+ "TextInputComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/MessageComponentType.TextInput"
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "style": {
+ "$ref": "#/definitions/TextInputStyle"
+ },
+ "label": {
+ "type": "string"
+ },
+ "min_length": {
+ "type": "integer"
+ },
+ "max_length": {
+ "type": "integer"
+ },
+ "required": {
+ "type": "boolean"
+ },
+ "value": {
+ "type": "string"
+ },
+ "placeholder": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "custom_id",
+ "label",
+ "style",
+ "type"
+ ]
+ },
+ "MessageComponentType.TextInput": {
+ "type": "number",
+ "enum": [
+ 4
+ ]
+ },
+ "TextInputStyle": {
+ "enum": [
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "PollCreationSchema": {
+ "type": "object",
+ "properties": {
+ "question": {
+ "$ref": "#/definitions/PollMedia"
+ },
+ "answers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PollAnswer"
+ }
+ },
+ "duration": {
+ "type": "integer"
+ },
+ "allow_multiselect": {
+ "type": "boolean"
+ },
+ "layout_type": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "answers",
+ "question"
+ ]
+ },
+ "PollMedia": {
+ "type": "object",
+ "properties": {
+ "text": {
+ "type": "string"
+ },
+ "emoji": {
+ "$ref": "#/definitions/PartialEmoji"
+ }
+ },
+ "additionalProperties": false
+ },
+ "PollAnswer": {
+ "type": "object",
+ "properties": {
+ "answer_id": {
+ "type": "string"
+ },
+ "poll_media": {
+ "$ref": "#/definitions/PollMedia"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "poll_media"
+ ]
+ },
+ "ChannelOverride": {
+ "type": "object",
+ "properties": {
+ "message_notifications": {
+ "type": "integer"
+ },
+ "mute_config": {
+ "$ref": "#/definitions/MuteConfig"
+ },
+ "muted": {
+ "type": "boolean"
+ },
+ "channel_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel_id",
+ "message_notifications",
+ "mute_config",
+ "muted"
+ ]
+ },
+ "MuteConfig": {
+ "type": "object",
+ "properties": {
+ "end_time": {
+ "type": "integer"
+ },
+ "selected_time_window": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "end_time",
+ "selected_time_window"
+ ]
+ },
+ "CustomStatus": {
+ "type": "object",
+ "properties": {
+ "emoji_id": {
+ "type": "string"
+ },
+ "emoji_name": {
+ "type": "string"
+ },
+ "expires_at": {
+ "type": "integer"
+ },
+ "text": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "FriendSourceFlags": {
+ "type": "object",
+ "properties": {
+ "all": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "all"
+ ]
+ },
+ "GuildFolder": {
+ "type": "object",
+ "properties": {
+ "color": {
+ "type": "integer"
+ },
+ "guild_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "id": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "color",
+ "guild_ids",
+ "id",
+ "name"
+ ]
+ },
+ "GenerateWebAuthnCredentialsSchema": {
+ "type": "object",
+ "properties": {
+ "password": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "password"
+ ]
+ },
+ "CreateWebAuthnCredentialSchema": {
+ "type": "object",
+ "properties": {
+ "credential": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "ticket": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "credential",
+ "name",
+ "ticket"
+ ]
+ },
+ "APIErrorResponse": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "integer"
+ },
+ "message": {
+ "type": "string"
+ },
+ "errors": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "object",
+ "properties": {
+ "_errors": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "message": {
+ "type": "string"
+ },
+ "code": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "message"
+ ]
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "_errors"
+ ]
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "errors",
+ "message"
+ ]
+ },
+ "CaptchaRequiredResponse": {
+ "type": "object",
+ "properties": {
+ "captcha_key": {
+ "type": "string"
+ },
+ "captcha_sitekey": {
+ "type": "string"
+ },
+ "captcha_service": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "captcha_key",
+ "captcha_service",
+ "captcha_sitekey"
+ ]
+ },
+ "Guild": {
+ "type": "object",
+ "properties": {
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "afk_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "description": {
+ "type": "string"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean",
+ "default": false
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "members": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Member"
+ }
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "template": {
+ "$ref": "#/definitions/Template"
+ },
+ "emojis": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Emoji"
+ }
+ },
+ "stickers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Sticker"
+ }
+ },
+ "invites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Invite"
+ }
+ },
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
+ },
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "owner": {
+ "$ref": "#/definitions/User"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "public_updates_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "rules_channel": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "splash": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "system_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "unavailable": {
+ "type": "boolean",
+ "default": false
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "widget_enabled": {
+ "type": "boolean",
+ "default": true
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean",
+ "default": false
+ },
+ "parent": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "integer"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "channel_ordering": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "bans",
+ "channel_ordering",
+ "channels",
+ "emojis",
+ "features",
+ "id",
+ "invites",
+ "members",
+ "name",
+ "nsfw",
+ "premium_progress_bar_enabled",
+ "public_updates_channel_id",
+ "roles",
+ "stickers",
+ "template",
+ "unavailable",
+ "voice_states",
+ "webhooks",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
+ "Channel": {
+ "type": "object",
+ "properties": {
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "name": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "type": {
+ "$ref": "#/definitions/ChannelType"
+ },
+ "recipients": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Recipient"
+ }
+ },
+ "last_message_id": {
+ "type": "string"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "parent_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "parent": {
+ "$ref": "#/definitions/Channel"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "owner": {
+ "$ref": "#/definitions/User"
+ },
+ "last_pin_timestamp": {
+ "type": "integer"
+ },
+ "default_auto_archive_duration": {
+ "type": "integer"
+ },
+ "permission_overwrites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ChannelPermissionOverwrite"
+ }
+ },
+ "video_quality_mode": {
+ "type": "integer"
+ },
+ "bitrate": {
+ "type": "integer"
+ },
+ "user_limit": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean",
+ "default": false
+ },
+ "rate_limit_per_user": {
+ "type": "integer"
+ },
+ "topic": {
+ "type": "string"
+ },
+ "invites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Invite"
+ }
+ },
+ "retention_policy_id": {
+ "type": "string"
+ },
+ "messages": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Message"
+ }
+ },
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
+ },
+ "read_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ReadState"
+ }
+ },
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
+ },
+ "flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "default_thread_rate_limit_per_user": {
+ "type": "integer",
+ "default": 0
+ },
+ "position": {
+ "description": "Must be calculated Channel.calculatePosition",
+ "type": "integer"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "created_at",
+ "default_thread_rate_limit_per_user",
+ "flags",
+ "id",
+ "nsfw",
+ "owner",
+ "parent_id",
+ "position",
+ "type"
+ ]
+ },
+ "ChannelType": {
+ "enum": [
+ 0,
+ 1,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 2,
+ 255,
+ 3,
+ 33,
+ 34,
+ 35,
+ 4,
+ 5,
+ 6,
+ 64,
+ 7,
+ 8,
+ 9
+ ],
+ "type": "number"
+ },
+ "Recipient": {
+ "type": "object",
+ "properties": {
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "closed": {
+ "type": "boolean"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "channel_id",
+ "closed",
+ "id",
+ "user",
+ "user_id"
+ ]
+ },
+ "User": {
+ "type": "object",
+ "properties": {
+ "username": {
+ "type": "string"
+ },
+ "discriminator": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "accent_color": {
+ "type": "integer"
+ },
+ "banner": {
+ "type": "string"
+ },
+ "theme_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "pronouns": {
+ "type": "string"
+ },
+ "phone": {
+ "type": "string"
+ },
+ "desktop": {
+ "type": "boolean",
+ "default": false
+ },
+ "mobile": {
+ "type": "boolean",
+ "default": false
+ },
+ "premium": {
+ "type": "boolean"
+ },
+ "premium_type": {
+ "type": "integer"
+ },
+ "bot": {
+ "type": "boolean",
+ "default": false
+ },
+ "bio": {
+ "type": "string",
+ "default": ""
+ },
+ "system": {
+ "type": "boolean",
+ "default": false
+ },
+ "nsfw_allowed": {
+ "type": "boolean",
+ "default": true
+ },
+ "mfa_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "webauthn_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "totp_secret": {
+ "type": "string",
+ "default": ""
+ },
+ "totp_last_ticket": {
+ "type": "string",
+ "default": ""
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "premium_since": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "verified": {
+ "type": "boolean"
+ },
+ "disabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "deleted": {
+ "type": "boolean",
+ "default": false
+ },
+ "email": {
+ "type": "string"
+ },
+ "flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "public_flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "purchased_flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "premium_usage_flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "rights": {
+ "type": "string"
+ },
+ "sessions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Session"
+ }
+ },
+ "relationships": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Relationship"
+ }
+ },
+ "connected_accounts": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ConnectedAccount"
+ }
+ },
+ "data": {
+ "type": "object",
+ "properties": {
+ "valid_tokens_since": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "hash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "valid_tokens_since"
+ ]
+ },
+ "fingerprints": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "settings": {
+ "$ref": "#/definitions/UserSettings"
+ },
+ "extended_settings": {
+ "type": "string",
+ "default": "{}"
+ },
+ "security_keys": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SecurityKey"
+ }
+ },
+ "badge_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "bio",
+ "bot",
+ "connected_accounts",
+ "created_at",
+ "data",
+ "deleted",
+ "desktop",
+ "disabled",
+ "discriminator",
+ "extended_settings",
+ "fingerprints",
+ "flags",
+ "id",
+ "mfa_enabled",
+ "mobile",
+ "nsfw_allowed",
+ "premium",
+ "premium_since",
+ "premium_type",
+ "premium_usage_flags",
+ "public_flags",
+ "purchased_flags",
+ "relationships",
+ "rights",
+ "security_keys",
+ "sessions",
+ "settings",
+ "system",
+ "username",
+ "verified",
+ "webauthn_enabled"
+ ]
+ },
+ "Session": {
+ "type": "object",
+ "properties": {
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "session_id": {
+ "type": "string"
+ },
+ "activities": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Activity"
+ }
+ },
+ "client_info": {
+ "type": "object",
+ "properties": {
+ "client": {
+ "type": "string"
+ },
+ "os": {
+ "type": "string"
+ },
+ "version": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "client",
+ "os",
+ "version"
+ ]
+ },
+ "client_status": {
+ "$ref": "#/definitions/ClientStatus"
+ },
+ "status": {
+ "$ref": "#/definitions/Status"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "activities",
+ "client_info",
+ "client_status",
+ "id",
+ "session_id",
+ "status",
+ "user",
+ "user_id"
+ ]
+ },
+ "ClientStatus": {
+ "type": "object",
+ "properties": {
+ "desktop": {
+ "type": "string"
+ },
+ "mobile": {
+ "type": "string"
+ },
+ "web": {
+ "type": "string"
+ },
+ "embedded": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "Relationship": {
+ "type": "object",
+ "properties": {
+ "from_id": {
+ "type": "string"
+ },
+ "from": {
+ "$ref": "#/definitions/User"
+ },
+ "to_id": {
+ "type": "string"
+ },
+ "to": {
+ "$ref": "#/definitions/User"
+ },
+ "nickname": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/RelationshipType"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "from",
+ "from_id",
+ "id",
+ "to",
+ "to_id",
+ "type"
+ ]
+ },
+ "RelationshipType": {
+ "enum": [
+ 1,
+ 2,
+ 3,
+ 4
+ ],
+ "type": "number"
+ },
+ "ConnectedAccount": {
+ "type": "object",
+ "properties": {
+ "external_id": {
+ "type": "string"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "friend_sync": {
+ "type": "boolean",
+ "default": false
+ },
+ "name": {
+ "type": "string"
+ },
+ "revoked": {
+ "type": "boolean",
+ "default": false
+ },
+ "show_activity": {
+ "type": "integer",
+ "default": 0
+ },
+ "type": {
+ "type": "string"
+ },
+ "verified": {
+ "type": "boolean",
+ "default": true
+ },
+ "visibility": {
+ "type": "integer",
+ "default": 0
+ },
+ "integrations": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "metadata_": {},
+ "metadata_visibility": {
+ "type": "integer",
+ "default": 0
+ },
+ "two_way_link": {
+ "type": "boolean",
+ "default": false
+ },
+ "token_data": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/ConnectedAccountTokenData"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "external_id",
+ "id",
+ "name",
+ "type",
+ "user",
+ "user_id"
+ ]
+ },
+ "UserSettings": {
+ "type": "object",
+ "properties": {
+ "index": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer",
+ "default": 3600
+ },
+ "allow_accessibility_detection": {
+ "type": "boolean",
+ "default": true
+ },
+ "animate_emoji": {
+ "type": "boolean",
+ "default": true
+ },
+ "animate_stickers": {
+ "type": "integer",
+ "default": 0
+ },
+ "contact_sync_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "convert_emoticons": {
+ "type": "boolean",
+ "default": false
+ },
+ "custom_status": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/CustomStatus"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "default_guilds_restricted": {
+ "type": "boolean",
+ "default": false
+ },
+ "detect_platform_accounts": {
+ "type": "boolean",
+ "default": false
+ },
+ "developer_mode": {
+ "type": "boolean",
+ "default": true
+ },
+ "disable_games_tab": {
+ "type": "boolean",
+ "default": true
+ },
+ "enable_tts_command": {
+ "type": "boolean",
+ "default": false
+ },
+ "explicit_content_filter": {
+ "type": "integer",
+ "default": 0
+ },
+ "friend_discovery_flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "friend_source_flags": {
+ "$ref": "#/definitions/FriendSourceFlags"
+ },
+ "gateway_connected": {
+ "type": "boolean",
+ "default": false
+ },
+ "gif_auto_play": {
+ "type": "boolean",
+ "default": false
+ },
+ "guild_folders": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/GuildFolder"
+ },
+ "default": []
+ },
+ "guild_positions": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "inline_attachment_media": {
+ "type": "boolean",
+ "default": true
+ },
+ "inline_embed_media": {
+ "type": "boolean",
+ "default": true
+ },
+ "locale": {
+ "type": "string",
+ "default": "en-US"
+ },
+ "message_display_compact": {
+ "type": "boolean",
+ "default": false
+ },
+ "native_phone_integration_enabled": {
+ "type": "boolean",
+ "default": true
+ },
+ "render_embeds": {
+ "type": "boolean",
+ "default": true
+ },
+ "render_reactions": {
+ "type": "boolean",
+ "default": true
+ },
+ "restricted_guilds": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "show_current_game": {
+ "type": "boolean",
+ "default": true
+ },
+ "status": {
+ "enum": [
+ "dnd",
+ "idle",
+ "invisible",
+ "offline",
+ "online"
+ ],
+ "type": "string",
+ "default": "online"
+ },
+ "stream_notifications_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "theme": {
+ "enum": [
+ "dark",
+ "light"
+ ],
+ "type": "string",
+ "default": "dark"
+ },
+ "timezone_offset": {
+ "type": "integer",
+ "default": 0
+ },
+ "view_nsfw_guilds": {
+ "type": "boolean",
+ "default": true
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "afk_timeout",
+ "allow_accessibility_detection",
+ "animate_emoji",
+ "animate_stickers",
+ "contact_sync_enabled",
+ "convert_emoticons",
+ "custom_status",
+ "default_guilds_restricted",
+ "detect_platform_accounts",
+ "developer_mode",
+ "disable_games_tab",
+ "enable_tts_command",
+ "explicit_content_filter",
+ "friend_discovery_flags",
+ "friend_source_flags",
+ "gateway_connected",
+ "gif_auto_play",
+ "guild_folders",
+ "guild_positions",
+ "index",
+ "inline_attachment_media",
+ "inline_embed_media",
+ "locale",
+ "message_display_compact",
+ "native_phone_integration_enabled",
+ "render_embeds",
+ "render_reactions",
+ "restricted_guilds",
+ "show_current_game",
+ "status",
+ "stream_notifications_enabled",
+ "theme",
+ "timezone_offset",
+ "view_nsfw_guilds"
+ ]
+ },
+ "SecurityKey": {
+ "type": "object",
+ "properties": {
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "key_id": {
+ "type": "string"
+ },
+ "public_key": {
+ "type": "string"
+ },
+ "counter": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "counter",
+ "id",
+ "key_id",
+ "name",
+ "public_key",
+ "user",
+ "user_id"
+ ]
+ },
+ "ChannelPermissionOverwrite": {
+ "type": "object",
+ "properties": {
+ "allow": {
+ "type": "string"
+ },
+ "deny": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/ChannelPermissionOverwriteType"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "allow",
+ "deny",
+ "id",
+ "type"
+ ]
+ },
+ "Invite": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "temporary": {
+ "type": "boolean"
+ },
+ "uses": {
+ "type": "integer"
+ },
+ "max_uses": {
+ "type": "integer"
+ },
+ "max_age": {
+ "type": "integer"
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "expires_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "inviter_id": {
+ "type": "string"
+ },
+ "inviter": {
+ "$ref": "#/definitions/User"
+ },
+ "target_user_id": {
+ "type": "string"
+ },
+ "target_user": {
+ "type": "string"
+ },
+ "target_user_type": {
+ "type": "integer"
+ },
+ "vanity_url": {
+ "type": "boolean"
+ },
+ "flags": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "channel_id",
+ "code",
+ "created_at",
+ "flags",
+ "guild",
+ "guild_id",
+ "inviter",
+ "max_age",
+ "max_uses",
+ "target_user_id",
+ "temporary",
+ "uses"
+ ]
+ },
+ "Message": {
+ "type": "object",
+ "properties": {
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "author_id": {
+ "type": "string"
+ },
+ "author": {
+ "$ref": "#/definitions/User"
+ },
+ "member_id": {
+ "type": "string"
+ },
+ "member": {
+ "$ref": "#/definitions/Member"
+ },
+ "webhook_id": {
+ "type": "string"
+ },
+ "webhook": {
+ "$ref": "#/definitions/Webhook"
+ },
+ "application_id": {
+ "type": "string"
+ },
+ "application": {
+ "$ref": "#/definitions/Application"
+ },
+ "content": {
+ "type": "string"
+ },
+ "timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "edited_timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "tts": {
+ "type": "boolean"
+ },
+ "mention_everyone": {
+ "type": "boolean"
+ },
+ "mentions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/User"
+ }
+ },
+ "mention_roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "mention_channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "sticker_items": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Sticker"
+ }
+ },
+ "attachments": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Attachment"
+ }
+ },
+ "embeds": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Embed"
+ }
+ },
+ "reactions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Reaction"
+ }
+ },
+ "nonce": {
+ "type": "string"
+ },
+ "pinned": {
+ "type": "boolean"
+ },
+ "type": {
+ "$ref": "#/definitions/MessageType"
+ },
+ "activity": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "integer"
+ },
+ "party_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "party_id",
+ "type"
+ ]
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "message_reference": {
+ "type": "object",
+ "properties": {
+ "message_id": {
+ "type": "string"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "guild_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "message_id"
+ ]
+ },
+ "referenced_message": {
+ "$ref": "#/definitions/Message"
+ },
+ "interaction": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/InteractionType"
+ },
+ "name": {
+ "type": "string"
+ },
+ "user_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "type",
+ "user_id"
+ ]
+ },
+ "components": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ActionRowComponent"
+ }
+ },
+ "poll": {
+ "$ref": "#/definitions/Poll"
+ },
+ "username": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "embeds",
+ "flags",
+ "id",
+ "mention_channels",
+ "mention_roles",
+ "mentions",
+ "reactions",
+ "timestamp",
+ "type"
+ ]
+ },
+ "Member": {
+ "type": "object",
+ "properties": {
+ "index": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "nick": {
+ "type": "string"
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "joined_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "premium_since": {
+ "type": "integer"
+ },
+ "deaf": {
+ "type": "boolean"
+ },
+ "mute": {
+ "type": "boolean"
+ },
+ "pending": {
+ "type": "boolean"
+ },
+ "settings": {
+ "$ref": "#/definitions/UserGuildSettings"
+ },
+ "last_message_id": {
+ "type": "string"
+ },
+ "joined_by": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "banner": {
+ "type": "string"
+ },
+ "bio": {
+ "type": "string"
+ },
+ "theme_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "pronouns": {
+ "type": "string"
+ },
+ "communication_disabled_until": {
+ "type": "string",
+ "format": "date-time"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "banner",
+ "bio",
+ "communication_disabled_until",
+ "deaf",
+ "guild",
+ "guild_id",
+ "id",
+ "index",
+ "joined_at",
+ "joined_by",
+ "mute",
+ "pending",
+ "roles",
+ "settings",
+ "user"
+ ]
+ },
+ "Role": {
+ "type": "object",
+ "properties": {
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "color": {
+ "type": "integer"
+ },
+ "hoist": {
+ "type": "boolean"
+ },
+ "managed": {
+ "type": "boolean"
+ },
+ "mentionable": {
+ "type": "boolean"
+ },
+ "name": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "string"
+ },
+ "position": {
+ "type": "integer"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "unicode_emoji": {
+ "type": "string"
+ },
+ "tags": {
+ "type": "object",
+ "properties": {
+ "bot_id": {
+ "type": "string"
+ },
+ "integration_id": {
+ "type": "string"
+ },
+ "premium_subscriber": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "color",
+ "flags",
+ "guild",
+ "guild_id",
+ "hoist",
+ "id",
+ "managed",
+ "mentionable",
+ "name",
+ "permissions",
+ "position"
+ ]
+ },
+ "UserGuildSettings": {
+ "type": "object",
+ "properties": {
+ "channel_overrides": {
+ "anyOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "$ref": "#/definitions/ChannelOverride"
+ }
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "message_notifications": {
+ "type": "integer"
+ },
+ "mobile_push": {
+ "type": "boolean"
+ },
+ "mute_config": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/MuteConfig"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "muted": {
+ "type": "boolean"
+ },
+ "suppress_everyone": {
+ "type": "boolean"
+ },
+ "suppress_roles": {
+ "type": "boolean"
+ },
+ "version": {
+ "type": "integer"
+ },
+ "guild_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "mute_scheduled_events": {
+ "type": "boolean"
+ },
+ "hide_muted_channels": {
+ "type": "boolean"
+ },
+ "notify_highlights": {
+ "type": "number",
+ "enum": [
+ 0
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel_overrides",
+ "flags",
+ "guild_id",
+ "hide_muted_channels",
+ "message_notifications",
+ "mobile_push",
+ "mute_config",
+ "mute_scheduled_events",
+ "muted",
+ "notify_highlights",
+ "suppress_everyone",
+ "suppress_roles",
+ "version"
+ ]
+ },
+ "Webhook": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/WebhookType"
+ },
+ "name": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "token": {
+ "type": "string"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "application_id": {
+ "type": "string"
+ },
+ "application": {
+ "$ref": "#/definitions/Application"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "source_guild_id": {
+ "type": "string"
+ },
+ "source_guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "source_channel_id": {
+ "type": "string"
+ },
+ "source_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "url": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "application",
+ "application_id",
+ "avatar",
+ "channel",
+ "channel_id",
+ "id",
+ "name",
+ "source_channel",
+ "source_channel_id",
+ "type",
+ "url",
+ "user",
+ "user_id"
+ ]
+ },
+ "WebhookType": {
+ "enum": [
+ 1,
+ 2,
+ 3
+ ],
+ "type": "number"
+ },
+ "Application": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "summary": {
+ "type": "string",
+ "default": ""
+ },
+ "type": {
+ "type": "object",
+ "properties": {},
+ "additionalProperties": true
+ },
+ "hook": {
+ "type": "boolean",
+ "default": true
+ },
+ "bot_public": {
+ "type": "boolean",
+ "default": true
+ },
+ "bot_require_code_grant": {
+ "type": "boolean",
+ "default": false
+ },
+ "verify_key": {
+ "type": "string"
+ },
+ "owner": {
+ "$ref": "#/definitions/User"
+ },
+ "flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "redirect_uris": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "rpc_application_state": {
+ "type": "integer",
+ "default": 0
+ },
+ "store_application_state": {
+ "type": "integer",
+ "default": 1
+ },
+ "verification_state": {
+ "type": "integer",
+ "default": 1
+ },
+ "interactions_endpoint_url": {
+ "type": "string"
+ },
+ "integration_public": {
+ "type": "boolean",
+ "default": true
+ },
+ "integration_require_code_grant": {
+ "type": "boolean",
+ "default": false
+ },
+ "discoverability_state": {
+ "type": "integer",
+ "default": 1
+ },
+ "discovery_eligibility_flags": {
+ "type": "integer",
+ "default": 2240
+ },
+ "bot": {
+ "$ref": "#/definitions/User"
+ },
+ "tags": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "cover_image": {
+ "type": "string"
+ },
+ "install_params": {
+ "type": "object",
+ "properties": {
+ "scopes": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "permissions": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "permissions",
+ "scopes"
+ ]
+ },
+ "terms_of_service_url": {
+ "type": "string"
+ },
+ "privacy_policy_url": {
+ "type": "string"
+ },
+ "team": {
+ "$ref": "#/definitions/Team"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "description",
+ "discoverability_state",
+ "discovery_eligibility_flags",
+ "flags",
+ "hook",
+ "id",
+ "integration_public",
+ "integration_require_code_grant",
+ "name",
+ "owner",
+ "redirect_uris",
+ "rpc_application_state",
+ "store_application_state",
+ "summary",
+ "verification_state",
+ "verify_key"
+ ]
+ },
+ "Team": {
+ "type": "object",
+ "properties": {
+ "icon": {
+ "type": "string"
+ },
+ "members": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TeamMember"
+ }
+ },
+ "name": {
+ "type": "string"
+ },
+ "owner_user_id": {
+ "type": "string"
+ },
+ "owner_user": {
+ "$ref": "#/definitions/User"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "members",
+ "name",
+ "owner_user",
+ "owner_user_id"
+ ]
+ },
+ "TeamMember": {
+ "type": "object",
+ "properties": {
+ "membership_state": {
+ "$ref": "#/definitions/TeamMemberState"
+ },
+ "permissions": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "team_id": {
+ "type": "string"
+ },
+ "team": {
+ "$ref": "#/definitions/Team"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "membership_state",
+ "permissions",
+ "team",
+ "team_id",
+ "user",
+ "user_id"
+ ]
+ },
+ "TeamMemberState": {
+ "enum": [
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "Sticker": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "available": {
+ "type": "boolean"
+ },
+ "tags": {
+ "type": "string"
+ },
+ "pack_id": {
+ "type": "string"
+ },
+ "pack": {
+ "$ref": "#/definitions/StickerPack"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "type": {
+ "$ref": "#/definitions/StickerType"
+ },
+ "format_type": {
+ "$ref": "#/definitions/StickerFormatType"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "format_type",
+ "id",
+ "name",
+ "pack",
+ "type"
+ ]
+ },
+ "StickerPack": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "banner_asset_id": {
+ "type": "string"
+ },
+ "stickers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Sticker"
+ }
+ },
+ "cover_sticker_id": {
+ "type": "string"
+ },
+ "cover_sticker": {
+ "$ref": "#/definitions/Sticker"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "stickers"
+ ]
+ },
+ "StickerType": {
+ "enum": [
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "StickerFormatType": {
+ "enum": [
+ 0,
+ 1,
+ 2,
+ 3
+ ],
+ "type": "number"
+ },
+ "Attachment": {
+ "type": "object",
+ "properties": {
+ "filename": {
+ "type": "string"
+ },
+ "size": {
+ "type": "integer"
+ },
+ "url": {
+ "type": "string"
+ },
+ "proxy_url": {
+ "type": "string"
+ },
+ "height": {
+ "type": "integer"
+ },
+ "width": {
+ "type": "integer"
+ },
+ "content_type": {
+ "type": "string"
+ },
+ "message_id": {
+ "type": "string"
+ },
+ "message": {
+ "$ref": "#/definitions/Message"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "filename",
+ "id",
+ "message",
+ "message_id",
+ "proxy_url",
+ "size",
+ "url"
+ ]
+ },
+ "Reaction": {
+ "type": "object",
+ "properties": {
+ "count": {
+ "type": "integer"
+ },
+ "emoji": {
+ "$ref": "#/definitions/PartialEmoji"
+ },
+ "user_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "count",
+ "emoji",
+ "user_ids"
+ ]
+ },
+ "MessageType": {
+ "enum": [
+ 0,
+ 1,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 16,
+ 19,
+ 2,
+ 20,
+ 255,
+ 3,
+ 4,
+ 41,
+ 42,
+ 43,
+ 5,
+ 50,
+ 6,
+ 63,
+ 7,
+ 8,
+ 9
+ ],
+ "type": "number"
+ },
+ "InteractionType": {
+ "enum": [
+ 0,
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "Poll": {
+ "type": "object",
+ "properties": {
+ "question": {
+ "$ref": "#/definitions/PollMedia"
+ },
+ "answers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PollAnswer"
+ }
+ },
+ "expiry": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "allow_multiselect": {
+ "type": "boolean"
+ },
+ "results": {
+ "$ref": "#/definitions/PollResult"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "allow_multiselect",
+ "answers",
+ "expiry",
+ "question"
+ ]
+ },
+ "PollResult": {
+ "type": "object",
+ "properties": {
+ "is_finalized": {
+ "type": "boolean"
+ },
+ "answer_counts": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PollAnswerCount"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "answer_counts",
+ "is_finalized"
+ ]
+ },
+ "PollAnswerCount": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "count": {
+ "type": "integer"
+ },
+ "me_voted": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "count",
+ "id",
+ "me_voted"
+ ]
+ },
+ "VoiceState": {
+ "type": "object",
+ "properties": {
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "member": {
+ "$ref": "#/definitions/Member"
+ },
+ "session_id": {
+ "type": "string"
+ },
+ "token": {
+ "type": "string"
+ },
+ "deaf": {
+ "type": "boolean"
+ },
+ "mute": {
+ "type": "boolean"
+ },
+ "self_deaf": {
+ "type": "boolean"
+ },
+ "self_mute": {
+ "type": "boolean"
+ },
+ "self_stream": {
+ "type": "boolean"
+ },
+ "self_video": {
+ "type": "boolean"
+ },
+ "suppress": {
+ "type": "boolean"
+ },
+ "request_to_speak_timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "channel_id",
+ "deaf",
+ "guild_id",
+ "id",
+ "member",
+ "mute",
+ "self_deaf",
+ "self_mute",
+ "self_video",
+ "session_id",
+ "suppress",
+ "token",
+ "user",
+ "user_id"
+ ]
+ },
+ "ReadState": {
+ "type": "object",
+ "properties": {
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "last_message_id": {
+ "type": "string"
+ },
+ "public_ack": {
+ "type": "string"
+ },
+ "notifications_cursor": {
+ "type": "string"
+ },
+ "last_pin_timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "mention_count": {
+ "type": "integer"
+ },
+ "manual": {
+ "type": "boolean"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "channel_id",
+ "id",
+ "last_message_id",
+ "manual",
+ "mention_count",
+ "notifications_cursor",
+ "public_ack",
+ "user",
+ "user_id"
+ ]
+ },
+ "Ban": {
+ "type": "object",
+ "properties": {
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "executor_id": {
+ "type": "string"
+ },
+ "executor": {
+ "$ref": "#/definitions/User"
+ },
+ "ip": {
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "executor",
+ "executor_id",
+ "guild",
+ "guild_id",
+ "id",
+ "ip",
+ "user",
+ "user_id"
+ ]
+ },
+ "Template": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "usage_count": {
+ "type": "integer"
+ },
+ "creator_id": {
+ "type": "string"
+ },
+ "creator": {
+ "$ref": "#/definitions/User"
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "source_guild_id": {
+ "type": "string"
+ },
+ "source_guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "serialized_source_guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "created_at",
+ "creator",
+ "creator_id",
+ "id",
+ "name",
+ "serialized_source_guild",
+ "source_guild",
+ "source_guild_id",
+ "updated_at"
+ ]
+ },
+ "Emoji": {
+ "type": "object",
+ "properties": {
+ "animated": {
+ "type": "boolean"
+ },
+ "available": {
+ "type": "boolean"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "managed": {
+ "type": "boolean"
+ },
+ "name": {
+ "type": "string"
+ },
+ "require_colons": {
+ "type": "boolean"
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "groups": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "animated",
+ "available",
+ "groups",
+ "guild",
+ "guild_id",
+ "id",
+ "managed",
+ "name",
+ "require_colons",
+ "roles",
+ "user",
+ "user_id"
+ ]
+ },
+ "GuildWelcomeScreen": {
+ "type": "object",
+ "properties": {
+ "enabled": {
+ "type": "boolean"
+ },
+ "description": {
+ "type": "string"
+ },
+ "welcome_channels": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "description": {
+ "type": "string"
+ },
+ "emoji_id": {
+ "type": "string"
+ },
+ "emoji_name": {
+ "type": "string"
+ },
+ "channel_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel_id",
+ "description"
+ ]
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "description",
+ "enabled",
+ "welcome_channels"
+ ]
+ },
+ "GuildMessagesSearchMessage": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/MessageType"
+ },
+ "content": {
+ "type": "string"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "author": {
+ "$ref": "#/definitions/PublicUser"
+ },
+ "attachments": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Attachment"
+ }
+ },
+ "embeds": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Embed"
+ }
+ },
+ "mentions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PublicUser"
+ }
+ },
+ "mention_roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "pinned": {
+ "type": "boolean"
+ },
+ "mention_everyone": {
+ "type": "boolean"
+ },
+ "tts": {
+ "type": "boolean"
+ },
+ "timestamp": {
+ "type": "string"
+ },
+ "edited_timestamp": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "components": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ActionRowComponent"
+ }
+ },
+ "poll": {
+ "$ref": "#/definitions/Poll"
+ },
+ "hit": {
+ "type": "boolean",
+ "enum": [
+ true
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "attachments",
+ "author",
+ "channel_id",
+ "components",
+ "edited_timestamp",
+ "embeds",
+ "flags",
+ "hit",
+ "id",
+ "mention_roles",
+ "mentions",
+ "pinned",
+ "poll",
+ "timestamp",
+ "tts",
+ "type"
+ ]
+ },
+ "PublicUser": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "premium_since": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "username": {
+ "type": "string"
+ },
+ "discriminator": {
+ "type": "string"
+ },
+ "public_flags": {
+ "type": "integer"
+ },
+ "accent_color": {
+ "type": "integer"
+ },
+ "banner": {
+ "type": "string"
+ },
+ "bio": {
+ "type": "string"
+ },
+ "bot": {
+ "type": "boolean"
+ },
+ "premium_type": {
+ "type": "integer"
+ },
+ "theme_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "pronouns": {
+ "type": "string"
+ },
+ "badge_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "bio",
+ "bot",
+ "discriminator",
+ "id",
+ "premium_since",
+ "premium_type",
+ "public_flags",
+ "username"
+ ]
+ },
+ "GuildVanityUrl": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "uses": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "uses"
+ ]
+ },
+ "GuildVanityUrlNoInvite": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "null"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code"
+ ]
+ },
+ "Snowflake": {
+ "description": "A container for useful snowflake-related methods.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
+ "TenorGifResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "src": {
+ "type": "string"
+ },
+ "gif_src": {
+ "type": "string"
+ },
+ "width": {
+ "type": "integer"
+ },
+ "height": {
+ "type": "integer"
+ },
+ "preview": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "gif_src",
+ "height",
+ "id",
+ "preview",
+ "src",
+ "title",
+ "url",
+ "width"
+ ]
+ },
+ "BackupCode": {
+ "type": "object",
+ "properties": {
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "code": {
+ "type": "string"
+ },
+ "consumed": {
+ "type": "boolean"
+ },
+ "expired": {
+ "type": "boolean"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "consumed",
+ "expired",
+ "id",
+ "user"
+ ]
+ },
+ "APIGuild": {
+ "type": "object",
+ "properties": {
+ "reload": {
+ "description": "Reloads entity data from the database.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "name": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "invites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Invite"
+ }
+ },
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
+ },
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
+ },
+ "toJSON": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "assign": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "hasId": {
+ "description": "Checks if entity has an id.\nIf entity composite compose ids, it will check them all.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "save": {
+ "description": "Saves current entity in the database.\nIf entity does not exist in the database then inserts, otherwise updates.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "remove": {
+ "description": "Removes current entity from the database.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "softRemove": {
+ "description": "Records the delete date of current entity.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "recover": {
+ "description": "Recovers a given entity in the database.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": "string"
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "members": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Member"
+ }
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "emojis": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Emoji"
+ }
+ },
+ "stickers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Sticker"
+ }
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "permissions": {
+ "type": "integer"
+ },
+ "channel_ordering": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "_do_validate",
+ "assign",
+ "bans",
+ "channel_ordering",
+ "channels",
+ "emojis",
+ "features",
+ "hasId",
+ "id",
+ "invites",
+ "members",
+ "name",
+ "nsfw",
+ "premium_progress_bar_enabled",
+ "public_updates_channel_id",
+ "recover",
+ "reload",
+ "remove",
+ "roles",
+ "save",
+ "softRemove",
+ "stickers",
+ "toJSON",
+ "unavailable",
+ "voice_states",
+ "webhooks",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
+ "DmChannelDTO": {
+ "type": "object",
+ "properties": {
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "id": {
+ "type": "string"
+ },
+ "last_message_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "name": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "origin_channel_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "recipients": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MinimalPublicUserDTO"
+ }
+ },
+ "type": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "icon",
+ "id",
+ "last_message_id",
+ "name",
+ "origin_channel_id",
+ "recipients",
+ "type"
+ ]
+ },
+ "MinimalPublicUserDTO": {
+ "type": "object",
+ "properties": {
+ "avatar": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "discriminator": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "public_flags": {
+ "type": "integer"
+ },
+ "username": {
+ "type": "string"
+ },
+ "badge_ids": {
+ "anyOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "discriminator",
+ "id",
+ "public_flags",
+ "username"
+ ]
+ },
+ "Categories": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "localizations": {
+ "type": "string"
+ },
+ "is_primary": {
+ "type": "boolean"
+ },
+ "icon": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "is_primary",
+ "localizations",
+ "name"
+ ]
+ },
+ "GuildVoiceRegion": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "custom": {
+ "type": "boolean"
+ },
+ "deprecated": {
+ "type": "boolean"
+ },
+ "optimal": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "custom",
+ "deprecated",
+ "id",
+ "name",
+ "optimal"
+ ]
+ },
+ "UserLimits": {
+ "type": "object",
+ "properties": {
+ "maxGuilds": {
+ "type": "integer",
+ "default": 1048576
+ },
+ "maxUsername": {
+ "type": "integer",
+ "default": 32
+ },
+ "maxFriends": {
+ "type": "integer",
+ "default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "maxBio",
+ "maxFriends",
+ "maxGuilds",
+ "maxUsername"
+ ]
+ },
+ "GuildLimits": {
+ "type": "object",
+ "properties": {
+ "maxRoles": {
+ "type": "integer",
+ "default": 1000
+ },
+ "maxEmojis": {
+ "type": "integer",
+ "default": 2000
+ },
+ "maxMembers": {
+ "type": "integer",
+ "default": 25000000
+ },
+ "maxChannels": {
+ "type": "integer",
+ "default": 65535
+ },
+ "maxBulkBanUsers": {
+ "type": "integer",
+ "default": 200
+ },
+ "maxChannelsInCategory": {
+ "type": "integer",
+ "default": 65535
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "maxBulkBanUsers",
+ "maxChannels",
+ "maxChannelsInCategory",
+ "maxEmojis",
+ "maxMembers",
+ "maxRoles"
+ ]
+ },
+ "MessageLimits": {
+ "type": "object",
+ "properties": {
+ "maxCharacters": {
+ "type": "integer",
+ "default": 1048576
+ },
+ "maxTTSCharacters": {
+ "type": "integer",
+ "default": 160
+ },
+ "maxReactions": {
+ "type": "integer",
+ "default": 2048
+ },
+ "maxAttachmentSize": {
+ "type": "integer",
+ "default": 1073741824
+ },
+ "maxBulkDelete": {
+ "type": "integer",
+ "default": 1000
+ },
+ "maxEmbedDownloadSize": {
+ "type": "integer",
+ "default": 5242880
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "maxAttachmentSize",
+ "maxBulkDelete",
+ "maxCharacters",
+ "maxEmbedDownloadSize",
+ "maxReactions",
+ "maxTTSCharacters"
+ ]
+ },
+ "ChannelLimits": {
+ "type": "object",
+ "properties": {
+ "maxPins": {
+ "type": "integer",
+ "default": 500
+ },
+ "maxTopic": {
+ "type": "integer",
+ "default": 1024
+ },
+ "maxWebhooks": {
+ "type": "integer",
+ "default": 100
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "maxPins",
+ "maxTopic",
+ "maxWebhooks"
+ ]
+ },
+ "RateLimits": {
+ "type": "object",
+ "properties": {
+ "enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "ip": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "global": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "error": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "routes": {
+ "$ref": "#/definitions/RouteRateLimit"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "enabled",
+ "error",
+ "global",
+ "ip",
+ "routes"
+ ]
+ },
+ "RateLimitOptions": {
+ "type": "object",
+ "properties": {
+ "bot": {
+ "type": "integer"
+ },
+ "count": {
+ "type": "integer"
+ },
+ "window": {
+ "type": "integer"
+ },
+ "onyIp": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "count",
+ "window"
+ ]
+ },
+ "RouteRateLimit": {
+ "type": "object",
+ "properties": {
+ "guild": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "webhook": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "channel": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "auth": {}
+ },
+ "additionalProperties": false,
+ "required": [
+ "auth",
+ "channel",
+ "guild",
+ "webhook"
+ ]
+ },
+ "GlobalRateLimits": {
+ "type": "object",
+ "properties": {
+ "register": {
+ "$ref": "#/definitions/GlobalRateLimit"
+ },
+ "sendMessage": {
+ "$ref": "#/definitions/GlobalRateLimit"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "register",
+ "sendMessage"
+ ]
+ },
+ "GlobalRateLimit": {
+ "type": "object",
+ "properties": {
+ "limit": {
+ "type": "integer",
+ "default": 100
+ },
+ "window": {
+ "type": "integer",
+ "default": 3600000
+ },
+ "enabled": {
+ "type": "boolean",
+ "default": true
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "enabled",
+ "limit",
+ "window"
+ ]
+ },
+ "PublicConnectedAccount": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "verified": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "name",
+ "type"
+ ]
+ },
+ "UserProfile": {
+ "type": "object",
+ "properties": {
+ "accent_color": {
+ "type": "integer"
+ },
+ "banner": {
+ "type": "string"
+ },
+ "bio": {
+ "type": "string"
+ },
+ "theme_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "pronouns": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "bio"
+ ]
+ },
+ "Badge": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "link": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "description",
+ "icon",
+ "id"
+ ]
+ },
+ "TokenResponse": {
+ "type": "object",
+ "properties": {
+ "token": {
+ "type": "string"
+ },
+ "settings": {
+ "$ref": "#/definitions/UserSettings"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "settings",
+ "token"
+ ]
+ },
+ "MFAResponse": {
+ "type": "object",
+ "properties": {
+ "ticket": {
+ "type": "string"
+ },
+ "mfa": {
+ "type": "boolean",
+ "enum": [
+ true
+ ]
+ },
+ "sms": {
+ "type": "boolean",
+ "enum": [
+ false
+ ]
+ },
+ "token": {
+ "type": "null"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "mfa",
+ "sms",
+ "ticket",
+ "token"
+ ]
+ },
+ "WebAuthnResponse": {
+ "type": "object",
+ "properties": {
+ "webauthn": {
+ "type": "string"
+ },
+ "ticket": {
+ "type": "string"
+ },
+ "mfa": {
+ "type": "boolean",
+ "enum": [
+ true
+ ]
+ },
+ "sms": {
+ "type": "boolean",
+ "enum": [
+ false
+ ]
+ },
+ "token": {
+ "type": "null"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "mfa",
+ "sms",
+ "ticket",
+ "token",
+ "webauthn"
+ ]
+ }
+ },
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "ExpressResponse": {
+ "type": "object",
+ "additionalProperties": false,
+ "definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
+ "ChannelPermissionOverwriteType": {
+ "enum": [
+ 0,
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "ConnectedAccountTokenData": {
+ "type": "object",
+ "properties": {
+ "access_token": {
+ "type": "string"
+ },
+ "token_type": {
+ "type": "string"
+ },
+ "scope": {
+ "type": "string"
+ },
+ "refresh_token": {
+ "type": "string"
+ },
+ "expires_in": {
+ "type": "integer"
+ },
+ "expires_at": {
+ "type": "integer"
+ },
+ "fetched_at": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "access_token",
+ "fetched_at"
+ ]
+ },
+ "ChannelModifySchema": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "maxLength": 100,
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ 0,
+ 1,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 2,
+ 255,
+ 3,
+ 33,
+ 34,
+ 35,
+ 4,
+ 5,
+ 6,
+ 64,
+ 7,
+ 8,
+ 9
+ ],
+ "type": "number"
+ },
+ "topic": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "bitrate": {
+ "type": "integer"
+ },
+ "user_limit": {
+ "type": "integer"
+ },
+ "rate_limit_per_user": {
+ "type": "integer"
+ },
+ "position": {
+ "type": "integer"
+ },
+ "permission_overwrites": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/ChannelPermissionOverwriteType"
+ },
+ "allow": {
+ "type": "string"
+ },
+ "deny": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "allow",
+ "deny",
+ "id",
+ "type"
+ ]
+ }
+ },
+ "parent_id": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "rtc_region": {
+ "type": "string"
+ },
+ "default_auto_archive_duration": {
+ "type": "integer"
+ },
+ "default_reaction_emoji": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "default_thread_rate_limit_per_user": {
+ "type": "integer"
+ },
+ "video_quality_mode": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false
+ },
+ "ActivitySchema": {
+ "type": "object",
+ "properties": {
+ "afk": {
+ "type": "boolean"
+ },
+ "status": {
+ "$ref": "#/definitions/Status"
+ },
+ "activities": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Activity"
+ }
+ },
+ "since": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "status"
+ ]
+ },
+ "Status": {
+ "enum": [
+ "dnd",
+ "idle",
+ "invisible",
+ "offline",
+ "online"
+ ],
+ "type": "string"
+ },
+ "Activity": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/ActivityType"
+ },
+ "url": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "integer"
+ },
+ "timestamps": {
+ "type": "object",
+ "properties": {
+ "start": {
+ "type": "integer"
+ },
+ "end": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "end",
+ "start"
+ ]
+ },
+ "application_id": {
+ "type": "string"
+ },
+ "details": {
+ "type": "string"
+ },
+ "state": {
+ "type": "string"
+ },
+ "emoji": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "animated": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "animated",
+ "name"
+ ]
+ },
+ "party": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "size": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ }
+ },
+ "additionalProperties": false
+ },
+ "assets": {
+ "type": "object",
+ "properties": {
+ "large_image": {
+ "type": "string"
+ },
+ "large_text": {
+ "type": "string"
+ },
+ "small_image": {
+ "type": "string"
+ },
+ "small_text": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "secrets": {
+ "type": "object",
+ "properties": {
+ "join": {
+ "type": "string"
+ },
+ "spectate": {
+ "type": "string"
+ },
+ "match": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "instance": {
+ "type": "boolean"
+ },
+ "flags": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "sync_id": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "object",
+ "properties": {
+ "context_uri": {
+ "type": "string"
+ },
+ "album_id": {
+ "type": "string"
+ },
+ "artist_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "album_id",
+ "artist_ids"
+ ]
+ },
+ "session_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "flags",
+ "name",
+ "session_id",
+ "type"
+ ]
+ },
+ "ActivityType": {
+ "enum": [
+ 0,
+ 1,
+ 2,
+ 4,
+ 5
+ ],
+ "type": "number"
+ },
+ "Embed": {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "article",
+ "gifv",
+ "image",
+ "link",
+ "rich",
+ "video"
+ ],
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "color": {
+ "type": "integer"
+ },
+ "footer": {
+ "type": "object",
+ "properties": {
+ "text": {
+ "type": "string"
+ },
+ "icon_url": {
+ "type": "string"
+ },
+ "proxy_icon_url": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "text"
+ ]
+ },
+ "image": {
+ "$ref": "#/definitions/EmbedImage"
+ },
+ "thumbnail": {
+ "$ref": "#/definitions/EmbedImage"
+ },
+ "video": {
+ "$ref": "#/definitions/EmbedImage"
+ },
+ "provider": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "author": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "icon_url": {
+ "type": "string"
+ },
+ "proxy_icon_url": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "fields": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
+ },
+ "inline": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "name",
+ "value"
+ ]
+ }
+ }
+ },
+ "additionalProperties": false
+ },
+ "EmbedImage": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string"
+ },
+ "proxy_url": {
+ "type": "string"
+ },
+ "height": {
+ "type": "integer"
+ },
+ "width": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false
+ },
+ "ActionRowComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/MessageComponentType.ActionRow"
+ },
+ "components": {
+ "type": "array",
+ "items": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/ButtonComponent"
+ },
+ {
+ "$ref": "#/definitions/SelectMenuComponent"
+ },
+ {
+ "$ref": "#/definitions/StringSelectMenuComponent"
+ },
+ {
+ "$ref": "#/definitions/TextInputComponent"
+ }
+ ]
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "components",
+ "type"
+ ]
+ },
+ "MessageComponentType.ActionRow": {
+ "type": "number",
+ "enum": [
+ 1
+ ]
+ },
+ "ButtonComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/MessageComponentType.Button"
+ },
+ "style": {
+ "$ref": "#/definitions/ButtonStyle"
+ },
+ "label": {
+ "type": "string"
+ },
+ "emoji": {
+ "$ref": "#/definitions/PartialEmoji"
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "sku_id": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "disabled": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "style",
+ "type"
+ ]
+ },
+ "MessageComponentType.Button": {
+ "type": "number",
+ "enum": [
+ 2
+ ]
+ },
+ "ButtonStyle": {
+ "enum": [
+ 1,
+ 2,
+ 3,
+ 4,
+ 5,
+ 6
+ ],
+ "type": "number"
+ },
+ "PartialEmoji": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "animated": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "name"
+ ]
+ },
+ "SelectMenuComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "enum": [
+ 3,
+ 5,
+ 6,
+ 7,
+ 8
+ ],
+ "type": "number"
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "channel_types": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "placeholder": {
+ "type": "string"
+ },
+ "default_values": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SelectMenuDefaultOption"
+ }
+ },
+ "min_values": {
+ "type": "integer"
+ },
+ "max_values": {
+ "type": "integer"
+ },
+ "disabled": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "custom_id",
+ "type"
+ ]
+ },
+ "SelectMenuDefaultOption": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "channel",
+ "role",
+ "user"
+ ],
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "type"
+ ]
+ },
+ "StringSelectMenuComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/MessageComponentType.StringSelect"
+ },
+ "options": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SelectMenuOption"
+ }
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "channel_types": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "placeholder": {
+ "type": "string"
+ },
+ "default_values": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SelectMenuDefaultOption"
+ }
+ },
+ "min_values": {
+ "type": "integer"
+ },
+ "max_values": {
+ "type": "integer"
+ },
+ "disabled": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "custom_id",
+ "options",
+ "type"
+ ]
+ },
+ "MessageComponentType.StringSelect": {
+ "type": "number",
+ "enum": [
+ 3
+ ]
+ },
+ "SelectMenuOption": {
+ "type": "object",
+ "properties": {
+ "label": {
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "emoji": {
+ "$ref": "#/definitions/PartialEmoji"
+ },
+ "default": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "label",
+ "value"
+ ]
+ },
+ "TextInputComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/MessageComponentType.TextInput"
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "style": {
+ "$ref": "#/definitions/TextInputStyle"
+ },
+ "label": {
+ "type": "string"
+ },
+ "min_length": {
+ "type": "integer"
+ },
+ "max_length": {
+ "type": "integer"
+ },
+ "required": {
+ "type": "boolean"
+ },
+ "value": {
+ "type": "string"
+ },
+ "placeholder": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "custom_id",
+ "label",
+ "style",
+ "type"
+ ]
+ },
+ "MessageComponentType.TextInput": {
+ "type": "number",
+ "enum": [
+ 4
+ ]
+ },
+ "TextInputStyle": {
+ "enum": [
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "PollCreationSchema": {
+ "type": "object",
+ "properties": {
+ "question": {
+ "$ref": "#/definitions/PollMedia"
+ },
+ "answers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PollAnswer"
+ }
+ },
+ "duration": {
+ "type": "integer"
+ },
+ "allow_multiselect": {
+ "type": "boolean"
+ },
+ "layout_type": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "answers",
+ "question"
+ ]
+ },
+ "PollMedia": {
+ "type": "object",
+ "properties": {
+ "text": {
+ "type": "string"
+ },
+ "emoji": {
+ "$ref": "#/definitions/PartialEmoji"
+ }
+ },
+ "additionalProperties": false
+ },
+ "PollAnswer": {
+ "type": "object",
+ "properties": {
+ "answer_id": {
+ "type": "string"
+ },
+ "poll_media": {
+ "$ref": "#/definitions/PollMedia"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "poll_media"
+ ]
+ },
+ "ChannelOverride": {
+ "type": "object",
+ "properties": {
+ "message_notifications": {
+ "type": "integer"
+ },
+ "mute_config": {
+ "$ref": "#/definitions/MuteConfig"
+ },
+ "muted": {
+ "type": "boolean"
+ },
+ "channel_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel_id",
+ "message_notifications",
+ "mute_config",
+ "muted"
+ ]
+ },
+ "MuteConfig": {
+ "type": "object",
+ "properties": {
+ "end_time": {
+ "type": "integer"
+ },
+ "selected_time_window": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "end_time",
+ "selected_time_window"
+ ]
+ },
+ "CustomStatus": {
+ "type": "object",
+ "properties": {
+ "emoji_id": {
+ "type": "string"
+ },
+ "emoji_name": {
+ "type": "string"
+ },
+ "expires_at": {
+ "type": "integer"
+ },
+ "text": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "FriendSourceFlags": {
+ "type": "object",
+ "properties": {
+ "all": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "all"
+ ]
+ },
+ "GuildFolder": {
+ "type": "object",
+ "properties": {
+ "color": {
+ "type": "integer"
+ },
+ "guild_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "id": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "color",
+ "guild_ids",
+ "id",
+ "name"
+ ]
+ },
+ "GenerateWebAuthnCredentialsSchema": {
+ "type": "object",
+ "properties": {
+ "password": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "password"
+ ]
+ },
+ "CreateWebAuthnCredentialSchema": {
+ "type": "object",
+ "properties": {
+ "credential": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "ticket": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "credential",
+ "name",
+ "ticket"
+ ]
+ },
+ "APIErrorResponse": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "integer"
+ },
+ "message": {
+ "type": "string"
+ },
+ "errors": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "object",
+ "properties": {
+ "_errors": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "message": {
+ "type": "string"
+ },
+ "code": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "message"
+ ]
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "_errors"
+ ]
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "errors",
+ "message"
+ ]
+ },
+ "CaptchaRequiredResponse": {
+ "type": "object",
+ "properties": {
+ "captcha_key": {
+ "type": "string"
+ },
+ "captcha_sitekey": {
+ "type": "string"
+ },
+ "captcha_service": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "captcha_key",
+ "captcha_service",
+ "captcha_sitekey"
+ ]
+ },
+ "Guild": {
+ "type": "object",
+ "properties": {
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "afk_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "description": {
+ "type": "string"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean",
+ "default": false
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "members": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Member"
+ }
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "template": {
+ "$ref": "#/definitions/Template"
+ },
+ "emojis": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Emoji"
+ }
+ },
+ "stickers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Sticker"
+ }
+ },
+ "invites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Invite"
+ }
+ },
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
+ },
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "owner": {
+ "$ref": "#/definitions/User"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "public_updates_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "rules_channel": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "splash": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "system_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "unavailable": {
+ "type": "boolean",
+ "default": false
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "widget_enabled": {
+ "type": "boolean",
+ "default": true
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean",
+ "default": false
+ },
+ "parent": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "integer"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "channel_ordering": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "bans",
+ "channel_ordering",
+ "channels",
+ "emojis",
+ "features",
+ "id",
+ "invites",
+ "members",
+ "name",
+ "nsfw",
+ "premium_progress_bar_enabled",
+ "public_updates_channel_id",
+ "roles",
+ "stickers",
+ "template",
+ "unavailable",
+ "voice_states",
+ "webhooks",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
+ "Channel": {
+ "type": "object",
+ "properties": {
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "name": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "type": {
+ "$ref": "#/definitions/ChannelType"
+ },
+ "recipients": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Recipient"
+ }
+ },
+ "last_message_id": {
+ "type": "string"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "parent_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "parent": {
+ "$ref": "#/definitions/Channel"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "owner": {
+ "$ref": "#/definitions/User"
+ },
+ "last_pin_timestamp": {
+ "type": "integer"
+ },
+ "default_auto_archive_duration": {
+ "type": "integer"
+ },
+ "permission_overwrites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ChannelPermissionOverwrite"
+ }
+ },
+ "video_quality_mode": {
+ "type": "integer"
+ },
+ "bitrate": {
+ "type": "integer"
+ },
+ "user_limit": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean",
+ "default": false
+ },
+ "rate_limit_per_user": {
+ "type": "integer"
+ },
+ "topic": {
+ "type": "string"
+ },
+ "invites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Invite"
+ }
+ },
+ "retention_policy_id": {
+ "type": "string"
+ },
+ "messages": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Message"
+ }
+ },
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
+ },
+ "read_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ReadState"
+ }
+ },
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
+ },
+ "flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "default_thread_rate_limit_per_user": {
+ "type": "integer",
+ "default": 0
+ },
+ "position": {
+ "description": "Must be calculated Channel.calculatePosition",
+ "type": "integer"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "created_at",
+ "default_thread_rate_limit_per_user",
+ "flags",
+ "id",
+ "nsfw",
+ "owner",
+ "parent_id",
+ "position",
+ "type"
+ ]
+ },
+ "ChannelType": {
+ "enum": [
+ 0,
+ 1,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 2,
+ 255,
+ 3,
+ 33,
+ 34,
+ 35,
+ 4,
+ 5,
+ 6,
+ 64,
+ 7,
+ 8,
+ 9
+ ],
+ "type": "number"
+ },
+ "Recipient": {
+ "type": "object",
+ "properties": {
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "closed": {
+ "type": "boolean"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "channel_id",
+ "closed",
+ "id",
+ "user",
+ "user_id"
+ ]
+ },
+ "User": {
+ "type": "object",
+ "properties": {
+ "username": {
+ "type": "string"
+ },
+ "discriminator": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "accent_color": {
+ "type": "integer"
+ },
+ "banner": {
+ "type": "string"
+ },
+ "theme_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "pronouns": {
+ "type": "string"
+ },
+ "phone": {
+ "type": "string"
+ },
+ "desktop": {
+ "type": "boolean",
+ "default": false
+ },
+ "mobile": {
+ "type": "boolean",
+ "default": false
+ },
+ "premium": {
+ "type": "boolean"
+ },
+ "premium_type": {
+ "type": "integer"
+ },
+ "bot": {
+ "type": "boolean",
+ "default": false
+ },
+ "bio": {
+ "type": "string",
+ "default": ""
+ },
+ "system": {
+ "type": "boolean",
+ "default": false
+ },
+ "nsfw_allowed": {
+ "type": "boolean",
+ "default": true
+ },
+ "mfa_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "webauthn_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "totp_secret": {
+ "type": "string",
+ "default": ""
+ },
+ "totp_last_ticket": {
+ "type": "string",
+ "default": ""
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "premium_since": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "verified": {
+ "type": "boolean"
+ },
+ "disabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "deleted": {
+ "type": "boolean",
+ "default": false
+ },
+ "email": {
+ "type": "string"
+ },
+ "flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "public_flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "purchased_flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "premium_usage_flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "rights": {
+ "type": "string"
+ },
+ "sessions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Session"
+ }
+ },
+ "relationships": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Relationship"
+ }
+ },
+ "connected_accounts": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ConnectedAccount"
+ }
+ },
+ "data": {
+ "type": "object",
+ "properties": {
+ "valid_tokens_since": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "hash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "valid_tokens_since"
+ ]
+ },
+ "fingerprints": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "settings": {
+ "$ref": "#/definitions/UserSettings"
+ },
+ "extended_settings": {
+ "type": "string",
+ "default": "{}"
+ },
+ "security_keys": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SecurityKey"
+ }
+ },
+ "badge_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "bio",
+ "bot",
+ "connected_accounts",
+ "created_at",
+ "data",
+ "deleted",
+ "desktop",
+ "disabled",
+ "discriminator",
+ "extended_settings",
+ "fingerprints",
+ "flags",
+ "id",
+ "mfa_enabled",
+ "mobile",
+ "nsfw_allowed",
+ "premium",
+ "premium_since",
+ "premium_type",
+ "premium_usage_flags",
+ "public_flags",
+ "purchased_flags",
+ "relationships",
+ "rights",
+ "security_keys",
+ "sessions",
+ "settings",
+ "system",
+ "username",
+ "verified",
+ "webauthn_enabled"
+ ]
+ },
+ "Session": {
+ "type": "object",
+ "properties": {
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "session_id": {
+ "type": "string"
+ },
+ "activities": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Activity"
+ }
+ },
+ "client_info": {
+ "type": "object",
+ "properties": {
+ "client": {
+ "type": "string"
+ },
+ "os": {
+ "type": "string"
+ },
+ "version": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "client",
+ "os",
+ "version"
+ ]
+ },
+ "client_status": {
+ "$ref": "#/definitions/ClientStatus"
+ },
+ "status": {
+ "$ref": "#/definitions/Status"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "activities",
+ "client_info",
+ "client_status",
+ "id",
+ "session_id",
+ "status",
+ "user",
+ "user_id"
+ ]
+ },
+ "ClientStatus": {
+ "type": "object",
+ "properties": {
+ "desktop": {
+ "type": "string"
+ },
+ "mobile": {
+ "type": "string"
+ },
+ "web": {
+ "type": "string"
+ },
+ "embedded": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "Relationship": {
+ "type": "object",
+ "properties": {
+ "from_id": {
+ "type": "string"
+ },
+ "from": {
+ "$ref": "#/definitions/User"
+ },
+ "to_id": {
+ "type": "string"
+ },
+ "to": {
+ "$ref": "#/definitions/User"
+ },
+ "nickname": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/RelationshipType"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "from",
+ "from_id",
+ "id",
+ "to",
+ "to_id",
+ "type"
+ ]
+ },
+ "RelationshipType": {
+ "enum": [
+ 1,
+ 2,
+ 3,
+ 4
+ ],
+ "type": "number"
+ },
+ "ConnectedAccount": {
+ "type": "object",
+ "properties": {
+ "external_id": {
+ "type": "string"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "friend_sync": {
+ "type": "boolean",
+ "default": false
+ },
+ "name": {
+ "type": "string"
+ },
+ "revoked": {
+ "type": "boolean",
+ "default": false
+ },
+ "show_activity": {
+ "type": "integer",
+ "default": 0
+ },
+ "type": {
+ "type": "string"
+ },
+ "verified": {
+ "type": "boolean",
+ "default": true
+ },
+ "visibility": {
+ "type": "integer",
+ "default": 0
+ },
+ "integrations": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "metadata_": {},
+ "metadata_visibility": {
+ "type": "integer",
+ "default": 0
+ },
+ "two_way_link": {
+ "type": "boolean",
+ "default": false
+ },
+ "token_data": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/ConnectedAccountTokenData"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "external_id",
+ "id",
+ "name",
+ "type",
+ "user",
+ "user_id"
+ ]
+ },
+ "UserSettings": {
+ "type": "object",
+ "properties": {
+ "index": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer",
+ "default": 3600
+ },
+ "allow_accessibility_detection": {
+ "type": "boolean",
+ "default": true
+ },
+ "animate_emoji": {
+ "type": "boolean",
+ "default": true
+ },
+ "animate_stickers": {
+ "type": "integer",
+ "default": 0
+ },
+ "contact_sync_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "convert_emoticons": {
+ "type": "boolean",
+ "default": false
+ },
+ "custom_status": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/CustomStatus"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "default_guilds_restricted": {
+ "type": "boolean",
+ "default": false
+ },
+ "detect_platform_accounts": {
+ "type": "boolean",
+ "default": false
+ },
+ "developer_mode": {
+ "type": "boolean",
+ "default": true
+ },
+ "disable_games_tab": {
+ "type": "boolean",
+ "default": true
+ },
+ "enable_tts_command": {
+ "type": "boolean",
+ "default": false
+ },
+ "explicit_content_filter": {
+ "type": "integer",
+ "default": 0
+ },
+ "friend_discovery_flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "friend_source_flags": {
+ "$ref": "#/definitions/FriendSourceFlags"
+ },
+ "gateway_connected": {
+ "type": "boolean",
+ "default": false
+ },
+ "gif_auto_play": {
+ "type": "boolean",
+ "default": false
+ },
+ "guild_folders": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/GuildFolder"
+ },
+ "default": []
+ },
+ "guild_positions": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "inline_attachment_media": {
+ "type": "boolean",
+ "default": true
+ },
+ "inline_embed_media": {
+ "type": "boolean",
+ "default": true
+ },
+ "locale": {
+ "type": "string",
+ "default": "en-US"
+ },
+ "message_display_compact": {
+ "type": "boolean",
+ "default": false
+ },
+ "native_phone_integration_enabled": {
+ "type": "boolean",
+ "default": true
+ },
+ "render_embeds": {
+ "type": "boolean",
+ "default": true
+ },
+ "render_reactions": {
+ "type": "boolean",
+ "default": true
+ },
+ "restricted_guilds": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "show_current_game": {
+ "type": "boolean",
+ "default": true
+ },
+ "status": {
+ "enum": [
+ "dnd",
+ "idle",
+ "invisible",
+ "offline",
+ "online"
+ ],
+ "type": "string",
+ "default": "online"
+ },
+ "stream_notifications_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "theme": {
+ "enum": [
+ "dark",
+ "light"
+ ],
+ "type": "string",
+ "default": "dark"
+ },
+ "timezone_offset": {
+ "type": "integer",
+ "default": 0
+ },
+ "view_nsfw_guilds": {
+ "type": "boolean",
+ "default": true
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "afk_timeout",
+ "allow_accessibility_detection",
+ "animate_emoji",
+ "animate_stickers",
+ "contact_sync_enabled",
+ "convert_emoticons",
+ "custom_status",
+ "default_guilds_restricted",
+ "detect_platform_accounts",
+ "developer_mode",
+ "disable_games_tab",
+ "enable_tts_command",
+ "explicit_content_filter",
+ "friend_discovery_flags",
+ "friend_source_flags",
+ "gateway_connected",
+ "gif_auto_play",
+ "guild_folders",
+ "guild_positions",
+ "index",
+ "inline_attachment_media",
+ "inline_embed_media",
+ "locale",
+ "message_display_compact",
+ "native_phone_integration_enabled",
+ "render_embeds",
+ "render_reactions",
+ "restricted_guilds",
+ "show_current_game",
+ "status",
+ "stream_notifications_enabled",
+ "theme",
+ "timezone_offset",
+ "view_nsfw_guilds"
+ ]
+ },
+ "SecurityKey": {
+ "type": "object",
+ "properties": {
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "key_id": {
+ "type": "string"
+ },
+ "public_key": {
+ "type": "string"
+ },
+ "counter": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "counter",
+ "id",
+ "key_id",
+ "name",
+ "public_key",
+ "user",
+ "user_id"
+ ]
+ },
+ "ChannelPermissionOverwrite": {
+ "type": "object",
+ "properties": {
+ "allow": {
+ "type": "string"
+ },
+ "deny": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/ChannelPermissionOverwriteType"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "allow",
+ "deny",
+ "id",
+ "type"
+ ]
+ },
+ "Invite": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "temporary": {
+ "type": "boolean"
+ },
+ "uses": {
+ "type": "integer"
+ },
+ "max_uses": {
+ "type": "integer"
+ },
+ "max_age": {
+ "type": "integer"
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "expires_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "inviter_id": {
+ "type": "string"
+ },
+ "inviter": {
+ "$ref": "#/definitions/User"
+ },
+ "target_user_id": {
+ "type": "string"
+ },
+ "target_user": {
+ "type": "string"
+ },
+ "target_user_type": {
+ "type": "integer"
+ },
+ "vanity_url": {
+ "type": "boolean"
+ },
+ "flags": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "channel_id",
+ "code",
+ "created_at",
+ "flags",
+ "guild",
+ "guild_id",
+ "inviter",
+ "max_age",
+ "max_uses",
+ "target_user_id",
+ "temporary",
+ "uses"
+ ]
+ },
+ "Message": {
+ "type": "object",
+ "properties": {
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "author_id": {
+ "type": "string"
+ },
+ "author": {
+ "$ref": "#/definitions/User"
+ },
+ "member_id": {
+ "type": "string"
+ },
+ "member": {
+ "$ref": "#/definitions/Member"
+ },
+ "webhook_id": {
+ "type": "string"
+ },
+ "webhook": {
+ "$ref": "#/definitions/Webhook"
+ },
+ "application_id": {
+ "type": "string"
+ },
+ "application": {
+ "$ref": "#/definitions/Application"
+ },
+ "content": {
+ "type": "string"
+ },
+ "timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "edited_timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "tts": {
+ "type": "boolean"
+ },
+ "mention_everyone": {
+ "type": "boolean"
+ },
+ "mentions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/User"
+ }
+ },
+ "mention_roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "mention_channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "sticker_items": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Sticker"
+ }
+ },
+ "attachments": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Attachment"
+ }
+ },
+ "embeds": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Embed"
+ }
+ },
+ "reactions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Reaction"
+ }
+ },
+ "nonce": {
+ "type": "string"
+ },
+ "pinned": {
+ "type": "boolean"
+ },
+ "type": {
+ "$ref": "#/definitions/MessageType"
+ },
+ "activity": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "integer"
+ },
+ "party_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "party_id",
+ "type"
+ ]
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "message_reference": {
+ "type": "object",
+ "properties": {
+ "message_id": {
+ "type": "string"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "guild_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "message_id"
+ ]
+ },
+ "referenced_message": {
+ "$ref": "#/definitions/Message"
+ },
+ "interaction": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/InteractionType"
+ },
+ "name": {
+ "type": "string"
+ },
+ "user_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "type",
+ "user_id"
+ ]
+ },
+ "components": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ActionRowComponent"
+ }
+ },
+ "poll": {
+ "$ref": "#/definitions/Poll"
+ },
+ "username": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "embeds",
+ "flags",
+ "id",
+ "mention_channels",
+ "mention_roles",
+ "mentions",
+ "reactions",
+ "timestamp",
+ "type"
+ ]
+ },
+ "Member": {
+ "type": "object",
+ "properties": {
+ "index": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "nick": {
+ "type": "string"
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "joined_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "premium_since": {
+ "type": "integer"
+ },
+ "deaf": {
+ "type": "boolean"
+ },
+ "mute": {
+ "type": "boolean"
+ },
+ "pending": {
+ "type": "boolean"
+ },
+ "settings": {
+ "$ref": "#/definitions/UserGuildSettings"
+ },
+ "last_message_id": {
+ "type": "string"
+ },
+ "joined_by": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "banner": {
+ "type": "string"
+ },
+ "bio": {
+ "type": "string"
+ },
+ "theme_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "pronouns": {
+ "type": "string"
+ },
+ "communication_disabled_until": {
+ "type": "string",
+ "format": "date-time"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "banner",
+ "bio",
+ "communication_disabled_until",
+ "deaf",
+ "guild",
+ "guild_id",
+ "id",
+ "index",
+ "joined_at",
+ "joined_by",
+ "mute",
+ "pending",
+ "roles",
+ "settings",
+ "user"
+ ]
+ },
+ "Role": {
+ "type": "object",
+ "properties": {
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "color": {
+ "type": "integer"
+ },
+ "hoist": {
+ "type": "boolean"
+ },
+ "managed": {
+ "type": "boolean"
+ },
+ "mentionable": {
+ "type": "boolean"
+ },
+ "name": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "string"
+ },
+ "position": {
+ "type": "integer"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "unicode_emoji": {
+ "type": "string"
+ },
+ "tags": {
+ "type": "object",
+ "properties": {
+ "bot_id": {
+ "type": "string"
+ },
+ "integration_id": {
+ "type": "string"
+ },
+ "premium_subscriber": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "color",
+ "flags",
+ "guild",
+ "guild_id",
+ "hoist",
+ "id",
+ "managed",
+ "mentionable",
+ "name",
+ "permissions",
+ "position"
+ ]
+ },
+ "UserGuildSettings": {
+ "type": "object",
+ "properties": {
+ "channel_overrides": {
+ "anyOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "$ref": "#/definitions/ChannelOverride"
+ }
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "message_notifications": {
+ "type": "integer"
+ },
+ "mobile_push": {
+ "type": "boolean"
+ },
+ "mute_config": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/MuteConfig"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "muted": {
+ "type": "boolean"
+ },
+ "suppress_everyone": {
+ "type": "boolean"
+ },
+ "suppress_roles": {
+ "type": "boolean"
+ },
+ "version": {
+ "type": "integer"
+ },
+ "guild_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "mute_scheduled_events": {
+ "type": "boolean"
+ },
+ "hide_muted_channels": {
+ "type": "boolean"
+ },
+ "notify_highlights": {
+ "type": "number",
+ "enum": [
+ 0
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel_overrides",
+ "flags",
+ "guild_id",
+ "hide_muted_channels",
+ "message_notifications",
+ "mobile_push",
+ "mute_config",
+ "mute_scheduled_events",
+ "muted",
+ "notify_highlights",
+ "suppress_everyone",
+ "suppress_roles",
+ "version"
+ ]
+ },
+ "Webhook": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/WebhookType"
+ },
+ "name": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "token": {
+ "type": "string"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "application_id": {
+ "type": "string"
+ },
+ "application": {
+ "$ref": "#/definitions/Application"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "source_guild_id": {
+ "type": "string"
+ },
+ "source_guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "source_channel_id": {
+ "type": "string"
+ },
+ "source_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "url": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "application",
+ "application_id",
+ "avatar",
+ "channel",
+ "channel_id",
+ "id",
+ "name",
+ "source_channel",
+ "source_channel_id",
+ "type",
+ "url",
+ "user",
+ "user_id"
+ ]
+ },
+ "WebhookType": {
+ "enum": [
+ 1,
+ 2,
+ 3
+ ],
+ "type": "number"
+ },
+ "Application": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "summary": {
+ "type": "string",
+ "default": ""
+ },
+ "type": {
+ "type": "object",
+ "properties": {},
+ "additionalProperties": true
+ },
+ "hook": {
+ "type": "boolean",
+ "default": true
+ },
+ "bot_public": {
+ "type": "boolean",
+ "default": true
+ },
+ "bot_require_code_grant": {
+ "type": "boolean",
+ "default": false
+ },
+ "verify_key": {
+ "type": "string"
+ },
+ "owner": {
+ "$ref": "#/definitions/User"
+ },
+ "flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "redirect_uris": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "rpc_application_state": {
+ "type": "integer",
+ "default": 0
+ },
+ "store_application_state": {
+ "type": "integer",
+ "default": 1
+ },
+ "verification_state": {
+ "type": "integer",
+ "default": 1
+ },
+ "interactions_endpoint_url": {
+ "type": "string"
+ },
+ "integration_public": {
+ "type": "boolean",
+ "default": true
+ },
+ "integration_require_code_grant": {
+ "type": "boolean",
+ "default": false
+ },
+ "discoverability_state": {
+ "type": "integer",
+ "default": 1
+ },
+ "discovery_eligibility_flags": {
+ "type": "integer",
+ "default": 2240
+ },
+ "bot": {
+ "$ref": "#/definitions/User"
+ },
+ "tags": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "cover_image": {
+ "type": "string"
+ },
+ "install_params": {
+ "type": "object",
+ "properties": {
+ "scopes": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "permissions": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "permissions",
+ "scopes"
+ ]
+ },
+ "terms_of_service_url": {
+ "type": "string"
+ },
+ "privacy_policy_url": {
+ "type": "string"
+ },
+ "team": {
+ "$ref": "#/definitions/Team"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "description",
+ "discoverability_state",
+ "discovery_eligibility_flags",
+ "flags",
+ "hook",
+ "id",
+ "integration_public",
+ "integration_require_code_grant",
+ "name",
+ "owner",
+ "redirect_uris",
+ "rpc_application_state",
+ "store_application_state",
+ "summary",
+ "verification_state",
+ "verify_key"
+ ]
+ },
+ "Team": {
+ "type": "object",
+ "properties": {
+ "icon": {
+ "type": "string"
+ },
+ "members": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TeamMember"
+ }
+ },
+ "name": {
+ "type": "string"
+ },
+ "owner_user_id": {
+ "type": "string"
+ },
+ "owner_user": {
+ "$ref": "#/definitions/User"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "members",
+ "name",
+ "owner_user",
+ "owner_user_id"
+ ]
+ },
+ "TeamMember": {
+ "type": "object",
+ "properties": {
+ "membership_state": {
+ "$ref": "#/definitions/TeamMemberState"
+ },
+ "permissions": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "team_id": {
+ "type": "string"
+ },
+ "team": {
+ "$ref": "#/definitions/Team"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "membership_state",
+ "permissions",
+ "team",
+ "team_id",
+ "user",
+ "user_id"
+ ]
+ },
+ "TeamMemberState": {
+ "enum": [
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "Sticker": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "available": {
+ "type": "boolean"
+ },
+ "tags": {
+ "type": "string"
+ },
+ "pack_id": {
+ "type": "string"
+ },
+ "pack": {
+ "$ref": "#/definitions/StickerPack"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "type": {
+ "$ref": "#/definitions/StickerType"
+ },
+ "format_type": {
+ "$ref": "#/definitions/StickerFormatType"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "format_type",
+ "id",
+ "name",
+ "pack",
+ "type"
+ ]
+ },
+ "StickerPack": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "banner_asset_id": {
+ "type": "string"
+ },
+ "stickers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Sticker"
+ }
+ },
+ "cover_sticker_id": {
+ "type": "string"
+ },
+ "cover_sticker": {
+ "$ref": "#/definitions/Sticker"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "stickers"
+ ]
+ },
+ "StickerType": {
+ "enum": [
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "StickerFormatType": {
+ "enum": [
+ 0,
+ 1,
+ 2,
+ 3
+ ],
+ "type": "number"
+ },
+ "Attachment": {
+ "type": "object",
+ "properties": {
+ "filename": {
+ "type": "string"
+ },
+ "size": {
+ "type": "integer"
+ },
+ "url": {
+ "type": "string"
+ },
+ "proxy_url": {
+ "type": "string"
+ },
+ "height": {
+ "type": "integer"
+ },
+ "width": {
+ "type": "integer"
+ },
+ "content_type": {
+ "type": "string"
+ },
+ "message_id": {
+ "type": "string"
+ },
+ "message": {
+ "$ref": "#/definitions/Message"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "filename",
+ "id",
+ "message",
+ "message_id",
+ "proxy_url",
+ "size",
+ "url"
+ ]
+ },
+ "Reaction": {
+ "type": "object",
+ "properties": {
+ "count": {
+ "type": "integer"
+ },
+ "emoji": {
+ "$ref": "#/definitions/PartialEmoji"
+ },
+ "user_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "count",
+ "emoji",
+ "user_ids"
+ ]
+ },
+ "MessageType": {
+ "enum": [
+ 0,
+ 1,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 16,
+ 19,
+ 2,
+ 20,
+ 255,
+ 3,
+ 4,
+ 41,
+ 42,
+ 43,
+ 5,
+ 50,
+ 6,
+ 63,
+ 7,
+ 8,
+ 9
+ ],
+ "type": "number"
+ },
+ "InteractionType": {
+ "enum": [
+ 0,
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "Poll": {
+ "type": "object",
+ "properties": {
+ "question": {
+ "$ref": "#/definitions/PollMedia"
+ },
+ "answers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PollAnswer"
+ }
+ },
+ "expiry": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "allow_multiselect": {
+ "type": "boolean"
+ },
+ "results": {
+ "$ref": "#/definitions/PollResult"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "allow_multiselect",
+ "answers",
+ "expiry",
+ "question"
+ ]
+ },
+ "PollResult": {
+ "type": "object",
+ "properties": {
+ "is_finalized": {
+ "type": "boolean"
+ },
+ "answer_counts": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PollAnswerCount"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "answer_counts",
+ "is_finalized"
+ ]
+ },
+ "PollAnswerCount": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "count": {
+ "type": "integer"
+ },
+ "me_voted": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "count",
+ "id",
+ "me_voted"
+ ]
+ },
+ "VoiceState": {
+ "type": "object",
+ "properties": {
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "member": {
+ "$ref": "#/definitions/Member"
+ },
+ "session_id": {
+ "type": "string"
+ },
+ "token": {
+ "type": "string"
+ },
+ "deaf": {
+ "type": "boolean"
+ },
+ "mute": {
+ "type": "boolean"
+ },
+ "self_deaf": {
+ "type": "boolean"
+ },
+ "self_mute": {
+ "type": "boolean"
+ },
+ "self_stream": {
+ "type": "boolean"
+ },
+ "self_video": {
+ "type": "boolean"
+ },
+ "suppress": {
+ "type": "boolean"
+ },
+ "request_to_speak_timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "channel_id",
+ "deaf",
+ "guild_id",
+ "id",
+ "member",
+ "mute",
+ "self_deaf",
+ "self_mute",
+ "self_video",
+ "session_id",
+ "suppress",
+ "token",
+ "user",
+ "user_id"
+ ]
+ },
+ "ReadState": {
+ "type": "object",
+ "properties": {
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "last_message_id": {
+ "type": "string"
+ },
+ "public_ack": {
+ "type": "string"
+ },
+ "notifications_cursor": {
+ "type": "string"
+ },
+ "last_pin_timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "mention_count": {
+ "type": "integer"
+ },
+ "manual": {
+ "type": "boolean"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "channel_id",
+ "id",
+ "last_message_id",
+ "manual",
+ "mention_count",
+ "notifications_cursor",
+ "public_ack",
+ "user",
+ "user_id"
+ ]
+ },
+ "Ban": {
+ "type": "object",
+ "properties": {
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "executor_id": {
+ "type": "string"
+ },
+ "executor": {
+ "$ref": "#/definitions/User"
+ },
+ "ip": {
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "executor",
+ "executor_id",
+ "guild",
+ "guild_id",
+ "id",
+ "ip",
+ "user",
+ "user_id"
+ ]
+ },
+ "Template": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "usage_count": {
+ "type": "integer"
+ },
+ "creator_id": {
+ "type": "string"
+ },
+ "creator": {
+ "$ref": "#/definitions/User"
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "source_guild_id": {
+ "type": "string"
+ },
+ "source_guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "serialized_source_guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "created_at",
+ "creator",
+ "creator_id",
+ "id",
+ "name",
+ "serialized_source_guild",
+ "source_guild",
+ "source_guild_id",
+ "updated_at"
+ ]
+ },
+ "Emoji": {
+ "type": "object",
+ "properties": {
+ "animated": {
+ "type": "boolean"
+ },
+ "available": {
+ "type": "boolean"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "managed": {
+ "type": "boolean"
+ },
+ "name": {
+ "type": "string"
+ },
+ "require_colons": {
+ "type": "boolean"
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "groups": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "animated",
+ "available",
+ "groups",
+ "guild",
+ "guild_id",
+ "id",
+ "managed",
+ "name",
+ "require_colons",
+ "roles",
+ "user",
+ "user_id"
+ ]
+ },
+ "GuildWelcomeScreen": {
+ "type": "object",
+ "properties": {
+ "enabled": {
+ "type": "boolean"
+ },
+ "description": {
+ "type": "string"
+ },
+ "welcome_channels": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "description": {
+ "type": "string"
+ },
+ "emoji_id": {
+ "type": "string"
+ },
+ "emoji_name": {
+ "type": "string"
+ },
+ "channel_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel_id",
+ "description"
+ ]
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "description",
+ "enabled",
+ "welcome_channels"
+ ]
+ },
+ "GuildMessagesSearchMessage": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/MessageType"
+ },
+ "content": {
+ "type": "string"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "author": {
+ "$ref": "#/definitions/PublicUser"
+ },
+ "attachments": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Attachment"
+ }
+ },
+ "embeds": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Embed"
+ }
+ },
+ "mentions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PublicUser"
+ }
+ },
+ "mention_roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "pinned": {
+ "type": "boolean"
+ },
+ "mention_everyone": {
+ "type": "boolean"
+ },
+ "tts": {
+ "type": "boolean"
+ },
+ "timestamp": {
+ "type": "string"
+ },
+ "edited_timestamp": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "components": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ActionRowComponent"
+ }
+ },
+ "poll": {
+ "$ref": "#/definitions/Poll"
+ },
+ "hit": {
+ "type": "boolean",
+ "enum": [
+ true
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "attachments",
+ "author",
+ "channel_id",
+ "components",
+ "edited_timestamp",
+ "embeds",
+ "flags",
+ "hit",
+ "id",
+ "mention_roles",
+ "mentions",
+ "pinned",
+ "poll",
+ "timestamp",
+ "tts",
+ "type"
+ ]
+ },
+ "PublicUser": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "premium_since": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "username": {
+ "type": "string"
+ },
+ "discriminator": {
+ "type": "string"
+ },
+ "public_flags": {
+ "type": "integer"
+ },
+ "accent_color": {
+ "type": "integer"
+ },
+ "banner": {
+ "type": "string"
+ },
+ "bio": {
+ "type": "string"
+ },
+ "bot": {
+ "type": "boolean"
+ },
+ "premium_type": {
+ "type": "integer"
+ },
+ "theme_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "pronouns": {
+ "type": "string"
+ },
+ "badge_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "bio",
+ "bot",
+ "discriminator",
+ "id",
+ "premium_since",
+ "premium_type",
+ "public_flags",
+ "username"
+ ]
+ },
+ "GuildVanityUrl": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "uses": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "uses"
+ ]
+ },
+ "GuildVanityUrlNoInvite": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "null"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code"
+ ]
+ },
+ "Snowflake": {
+ "description": "A container for useful snowflake-related methods.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
+ "TenorGifResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "src": {
+ "type": "string"
+ },
+ "gif_src": {
+ "type": "string"
+ },
+ "width": {
+ "type": "integer"
+ },
+ "height": {
+ "type": "integer"
+ },
+ "preview": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "gif_src",
+ "height",
+ "id",
+ "preview",
+ "src",
+ "title",
+ "url",
+ "width"
+ ]
+ },
+ "BackupCode": {
+ "type": "object",
+ "properties": {
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "code": {
+ "type": "string"
+ },
+ "consumed": {
+ "type": "boolean"
+ },
+ "expired": {
+ "type": "boolean"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "consumed",
+ "expired",
+ "id",
+ "user"
+ ]
+ },
+ "APIGuild": {
+ "type": "object",
+ "properties": {
+ "reload": {
+ "description": "Reloads entity data from the database.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "name": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "invites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Invite"
+ }
+ },
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
+ },
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
+ },
+ "toJSON": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "assign": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "hasId": {
+ "description": "Checks if entity has an id.\nIf entity composite compose ids, it will check them all.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "save": {
+ "description": "Saves current entity in the database.\nIf entity does not exist in the database then inserts, otherwise updates.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "remove": {
+ "description": "Removes current entity from the database.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "softRemove": {
+ "description": "Records the delete date of current entity.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "recover": {
+ "description": "Recovers a given entity in the database.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": "string"
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "members": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Member"
+ }
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "emojis": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Emoji"
+ }
+ },
+ "stickers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Sticker"
+ }
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "permissions": {
+ "type": "integer"
+ },
+ "channel_ordering": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "_do_validate",
+ "assign",
+ "bans",
+ "channel_ordering",
+ "channels",
+ "emojis",
+ "features",
+ "hasId",
+ "id",
+ "invites",
+ "members",
+ "name",
+ "nsfw",
+ "premium_progress_bar_enabled",
+ "public_updates_channel_id",
+ "recover",
+ "reload",
+ "remove",
+ "roles",
+ "save",
+ "softRemove",
+ "stickers",
+ "toJSON",
+ "unavailable",
+ "voice_states",
+ "webhooks",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
+ "DmChannelDTO": {
+ "type": "object",
+ "properties": {
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "id": {
+ "type": "string"
+ },
+ "last_message_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "name": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "origin_channel_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "recipients": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MinimalPublicUserDTO"
+ }
+ },
+ "type": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "icon",
+ "id",
+ "last_message_id",
+ "name",
+ "origin_channel_id",
+ "recipients",
+ "type"
+ ]
+ },
+ "MinimalPublicUserDTO": {
+ "type": "object",
+ "properties": {
+ "avatar": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "discriminator": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "public_flags": {
+ "type": "integer"
+ },
+ "username": {
+ "type": "string"
+ },
+ "badge_ids": {
+ "anyOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "discriminator",
+ "id",
+ "public_flags",
+ "username"
+ ]
+ },
+ "Categories": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "localizations": {
+ "type": "string"
+ },
+ "is_primary": {
+ "type": "boolean"
+ },
+ "icon": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "is_primary",
+ "localizations",
+ "name"
+ ]
+ },
+ "GuildVoiceRegion": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "custom": {
+ "type": "boolean"
+ },
+ "deprecated": {
+ "type": "boolean"
+ },
+ "optimal": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "custom",
+ "deprecated",
+ "id",
+ "name",
+ "optimal"
+ ]
+ },
+ "UserLimits": {
+ "type": "object",
+ "properties": {
+ "maxGuilds": {
+ "type": "integer",
+ "default": 1048576
+ },
+ "maxUsername": {
+ "type": "integer",
+ "default": 32
+ },
+ "maxFriends": {
+ "type": "integer",
+ "default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "maxBio",
+ "maxFriends",
+ "maxGuilds",
+ "maxUsername"
+ ]
+ },
+ "GuildLimits": {
+ "type": "object",
+ "properties": {
+ "maxRoles": {
+ "type": "integer",
+ "default": 1000
+ },
+ "maxEmojis": {
+ "type": "integer",
+ "default": 2000
+ },
+ "maxMembers": {
+ "type": "integer",
+ "default": 25000000
+ },
+ "maxChannels": {
+ "type": "integer",
+ "default": 65535
+ },
+ "maxBulkBanUsers": {
+ "type": "integer",
+ "default": 200
+ },
+ "maxChannelsInCategory": {
+ "type": "integer",
+ "default": 65535
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "maxBulkBanUsers",
+ "maxChannels",
+ "maxChannelsInCategory",
+ "maxEmojis",
+ "maxMembers",
+ "maxRoles"
+ ]
+ },
+ "MessageLimits": {
+ "type": "object",
+ "properties": {
+ "maxCharacters": {
+ "type": "integer",
+ "default": 1048576
+ },
+ "maxTTSCharacters": {
+ "type": "integer",
+ "default": 160
+ },
+ "maxReactions": {
+ "type": "integer",
+ "default": 2048
+ },
+ "maxAttachmentSize": {
+ "type": "integer",
+ "default": 1073741824
+ },
+ "maxBulkDelete": {
+ "type": "integer",
+ "default": 1000
+ },
+ "maxEmbedDownloadSize": {
+ "type": "integer",
+ "default": 5242880
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "maxAttachmentSize",
+ "maxBulkDelete",
+ "maxCharacters",
+ "maxEmbedDownloadSize",
+ "maxReactions",
+ "maxTTSCharacters"
+ ]
+ },
+ "ChannelLimits": {
+ "type": "object",
+ "properties": {
+ "maxPins": {
+ "type": "integer",
+ "default": 500
+ },
+ "maxTopic": {
+ "type": "integer",
+ "default": 1024
+ },
+ "maxWebhooks": {
+ "type": "integer",
+ "default": 100
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "maxPins",
+ "maxTopic",
+ "maxWebhooks"
+ ]
+ },
+ "RateLimits": {
+ "type": "object",
+ "properties": {
+ "enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "ip": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "global": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "error": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "routes": {
+ "$ref": "#/definitions/RouteRateLimit"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "enabled",
+ "error",
+ "global",
+ "ip",
+ "routes"
+ ]
+ },
+ "RateLimitOptions": {
+ "type": "object",
+ "properties": {
+ "bot": {
+ "type": "integer"
+ },
+ "count": {
+ "type": "integer"
+ },
+ "window": {
+ "type": "integer"
+ },
+ "onyIp": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "count",
+ "window"
+ ]
+ },
+ "RouteRateLimit": {
+ "type": "object",
+ "properties": {
+ "guild": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "webhook": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "channel": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "auth": {}
+ },
+ "additionalProperties": false,
+ "required": [
+ "auth",
+ "channel",
+ "guild",
+ "webhook"
+ ]
+ },
+ "GlobalRateLimits": {
+ "type": "object",
+ "properties": {
+ "register": {
+ "$ref": "#/definitions/GlobalRateLimit"
+ },
+ "sendMessage": {
+ "$ref": "#/definitions/GlobalRateLimit"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "register",
+ "sendMessage"
+ ]
+ },
+ "GlobalRateLimit": {
+ "type": "object",
+ "properties": {
+ "limit": {
+ "type": "integer",
+ "default": 100
+ },
+ "window": {
+ "type": "integer",
+ "default": 3600000
+ },
+ "enabled": {
+ "type": "boolean",
+ "default": true
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "enabled",
+ "limit",
+ "window"
+ ]
+ },
+ "PublicConnectedAccount": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "verified": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "name",
+ "type"
+ ]
+ },
+ "UserProfile": {
+ "type": "object",
+ "properties": {
+ "accent_color": {
+ "type": "integer"
+ },
+ "banner": {
+ "type": "string"
+ },
+ "bio": {
+ "type": "string"
+ },
+ "theme_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "pronouns": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "bio"
+ ]
+ },
+ "Badge": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "link": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "description",
+ "icon",
+ "id"
+ ]
+ },
+ "TokenResponse": {
+ "type": "object",
+ "properties": {
+ "token": {
+ "type": "string"
+ },
+ "settings": {
+ "$ref": "#/definitions/UserSettings"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "settings",
+ "token"
+ ]
+ },
+ "MFAResponse": {
+ "type": "object",
+ "properties": {
+ "ticket": {
+ "type": "string"
+ },
+ "mfa": {
+ "type": "boolean",
+ "enum": [
+ true
+ ]
+ },
+ "sms": {
+ "type": "boolean",
+ "enum": [
+ false
+ ]
+ },
+ "token": {
+ "type": "null"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "mfa",
+ "sms",
+ "ticket",
+ "token"
+ ]
+ },
+ "WebAuthnResponse": {
+ "type": "object",
+ "properties": {
+ "webauthn": {
+ "type": "string"
+ },
+ "ticket": {
+ "type": "string"
+ },
+ "mfa": {
+ "type": "boolean",
+ "enum": [
+ true
+ ]
+ },
+ "sms": {
+ "type": "boolean",
+ "enum": [
+ false
+ ]
+ },
+ "token": {
+ "type": "null"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "mfa",
+ "sms",
+ "ticket",
+ "token",
+ "webauthn"
+ ]
+ }
+ },
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "ApplicationAuthorizeSchema": {
+ "type": "object",
+ "properties": {
+ "authorize": {
+ "type": "boolean"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "string"
+ },
+ "captcha_key": {
+ "type": "string"
+ },
+ "code": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "authorize",
+ "guild_id",
+ "permissions"
+ ],
+ "definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
+ "ChannelPermissionOverwriteType": {
+ "enum": [
+ 0,
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "ConnectedAccountTokenData": {
+ "type": "object",
+ "properties": {
+ "access_token": {
+ "type": "string"
+ },
+ "token_type": {
+ "type": "string"
+ },
+ "scope": {
+ "type": "string"
+ },
+ "refresh_token": {
+ "type": "string"
+ },
+ "expires_in": {
+ "type": "integer"
+ },
+ "expires_at": {
+ "type": "integer"
+ },
+ "fetched_at": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "access_token",
+ "fetched_at"
+ ]
+ },
+ "ChannelModifySchema": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "maxLength": 100,
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ 0,
+ 1,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 2,
+ 255,
+ 3,
+ 33,
+ 34,
+ 35,
+ 4,
+ 5,
+ 6,
+ 64,
+ 7,
+ 8,
+ 9
+ ],
+ "type": "number"
+ },
+ "topic": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "bitrate": {
+ "type": "integer"
+ },
+ "user_limit": {
+ "type": "integer"
+ },
+ "rate_limit_per_user": {
+ "type": "integer"
+ },
+ "position": {
+ "type": "integer"
+ },
+ "permission_overwrites": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/ChannelPermissionOverwriteType"
+ },
+ "allow": {
+ "type": "string"
+ },
+ "deny": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "allow",
+ "deny",
+ "id",
+ "type"
+ ]
+ }
+ },
+ "parent_id": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "rtc_region": {
+ "type": "string"
+ },
+ "default_auto_archive_duration": {
+ "type": "integer"
+ },
+ "default_reaction_emoji": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "default_thread_rate_limit_per_user": {
+ "type": "integer"
+ },
+ "video_quality_mode": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false
+ },
+ "ActivitySchema": {
+ "type": "object",
+ "properties": {
+ "afk": {
+ "type": "boolean"
+ },
+ "status": {
+ "$ref": "#/definitions/Status"
+ },
+ "activities": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Activity"
+ }
+ },
+ "since": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "status"
+ ]
+ },
+ "Status": {
+ "enum": [
+ "dnd",
+ "idle",
+ "invisible",
+ "offline",
+ "online"
+ ],
+ "type": "string"
+ },
+ "Activity": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/ActivityType"
+ },
+ "url": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "integer"
+ },
+ "timestamps": {
+ "type": "object",
+ "properties": {
+ "start": {
+ "type": "integer"
+ },
+ "end": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "end",
+ "start"
+ ]
+ },
+ "application_id": {
+ "type": "string"
+ },
+ "details": {
+ "type": "string"
+ },
+ "state": {
+ "type": "string"
+ },
+ "emoji": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "animated": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "animated",
+ "name"
+ ]
+ },
+ "party": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "size": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ }
+ },
+ "additionalProperties": false
+ },
+ "assets": {
+ "type": "object",
+ "properties": {
+ "large_image": {
+ "type": "string"
+ },
+ "large_text": {
+ "type": "string"
+ },
+ "small_image": {
+ "type": "string"
+ },
+ "small_text": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "secrets": {
+ "type": "object",
+ "properties": {
+ "join": {
+ "type": "string"
+ },
+ "spectate": {
+ "type": "string"
+ },
+ "match": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "instance": {
+ "type": "boolean"
+ },
+ "flags": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "sync_id": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "object",
+ "properties": {
+ "context_uri": {
+ "type": "string"
+ },
+ "album_id": {
+ "type": "string"
+ },
+ "artist_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "album_id",
+ "artist_ids"
+ ]
+ },
+ "session_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "flags",
+ "name",
+ "session_id",
+ "type"
+ ]
+ },
+ "ActivityType": {
+ "enum": [
+ 0,
+ 1,
+ 2,
+ 4,
+ 5
+ ],
+ "type": "number"
+ },
+ "Embed": {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "article",
+ "gifv",
+ "image",
+ "link",
+ "rich",
+ "video"
+ ],
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "color": {
+ "type": "integer"
+ },
+ "footer": {
+ "type": "object",
+ "properties": {
+ "text": {
+ "type": "string"
+ },
+ "icon_url": {
+ "type": "string"
+ },
+ "proxy_icon_url": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "text"
+ ]
+ },
+ "image": {
+ "$ref": "#/definitions/EmbedImage"
+ },
+ "thumbnail": {
+ "$ref": "#/definitions/EmbedImage"
+ },
+ "video": {
+ "$ref": "#/definitions/EmbedImage"
+ },
+ "provider": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "author": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "icon_url": {
+ "type": "string"
+ },
+ "proxy_icon_url": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "fields": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
+ },
+ "inline": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "name",
+ "value"
+ ]
+ }
+ }
+ },
+ "additionalProperties": false
+ },
+ "EmbedImage": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string"
+ },
+ "proxy_url": {
+ "type": "string"
+ },
+ "height": {
+ "type": "integer"
+ },
+ "width": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false
+ },
+ "ActionRowComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/MessageComponentType.ActionRow"
+ },
+ "components": {
+ "type": "array",
+ "items": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/ButtonComponent"
+ },
+ {
+ "$ref": "#/definitions/SelectMenuComponent"
+ },
+ {
+ "$ref": "#/definitions/StringSelectMenuComponent"
+ },
+ {
+ "$ref": "#/definitions/TextInputComponent"
+ }
+ ]
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "components",
+ "type"
+ ]
+ },
+ "MessageComponentType.ActionRow": {
+ "type": "number",
+ "enum": [
+ 1
+ ]
+ },
+ "ButtonComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/MessageComponentType.Button"
+ },
+ "style": {
+ "$ref": "#/definitions/ButtonStyle"
+ },
+ "label": {
+ "type": "string"
+ },
+ "emoji": {
+ "$ref": "#/definitions/PartialEmoji"
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "sku_id": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "disabled": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "style",
+ "type"
+ ]
+ },
+ "MessageComponentType.Button": {
+ "type": "number",
+ "enum": [
+ 2
+ ]
+ },
+ "ButtonStyle": {
+ "enum": [
+ 1,
+ 2,
+ 3,
+ 4,
+ 5,
+ 6
+ ],
+ "type": "number"
+ },
+ "PartialEmoji": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "animated": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "name"
+ ]
+ },
+ "SelectMenuComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "enum": [
+ 3,
+ 5,
+ 6,
+ 7,
+ 8
+ ],
+ "type": "number"
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "channel_types": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "placeholder": {
+ "type": "string"
+ },
+ "default_values": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SelectMenuDefaultOption"
+ }
+ },
+ "min_values": {
+ "type": "integer"
+ },
+ "max_values": {
+ "type": "integer"
+ },
+ "disabled": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "custom_id",
+ "type"
+ ]
+ },
+ "SelectMenuDefaultOption": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "channel",
+ "role",
+ "user"
+ ],
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "type"
+ ]
+ },
+ "StringSelectMenuComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/MessageComponentType.StringSelect"
+ },
+ "options": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SelectMenuOption"
+ }
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "channel_types": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "placeholder": {
+ "type": "string"
+ },
+ "default_values": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SelectMenuDefaultOption"
+ }
+ },
+ "min_values": {
+ "type": "integer"
+ },
+ "max_values": {
+ "type": "integer"
+ },
+ "disabled": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "custom_id",
+ "options",
+ "type"
+ ]
+ },
+ "MessageComponentType.StringSelect": {
+ "type": "number",
+ "enum": [
+ 3
+ ]
+ },
+ "SelectMenuOption": {
+ "type": "object",
+ "properties": {
+ "label": {
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "emoji": {
+ "$ref": "#/definitions/PartialEmoji"
+ },
+ "default": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "label",
+ "value"
+ ]
+ },
+ "TextInputComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/MessageComponentType.TextInput"
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "style": {
+ "$ref": "#/definitions/TextInputStyle"
+ },
+ "label": {
+ "type": "string"
+ },
+ "min_length": {
+ "type": "integer"
+ },
+ "max_length": {
+ "type": "integer"
+ },
+ "required": {
+ "type": "boolean"
+ },
+ "value": {
+ "type": "string"
+ },
+ "placeholder": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "custom_id",
+ "label",
+ "style",
+ "type"
+ ]
+ },
+ "MessageComponentType.TextInput": {
+ "type": "number",
+ "enum": [
+ 4
+ ]
+ },
+ "TextInputStyle": {
+ "enum": [
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "PollCreationSchema": {
+ "type": "object",
+ "properties": {
+ "question": {
+ "$ref": "#/definitions/PollMedia"
+ },
+ "answers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PollAnswer"
+ }
+ },
+ "duration": {
+ "type": "integer"
+ },
+ "allow_multiselect": {
+ "type": "boolean"
+ },
+ "layout_type": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "answers",
+ "question"
+ ]
+ },
+ "PollMedia": {
+ "type": "object",
+ "properties": {
+ "text": {
+ "type": "string"
+ },
+ "emoji": {
+ "$ref": "#/definitions/PartialEmoji"
+ }
+ },
+ "additionalProperties": false
+ },
+ "PollAnswer": {
+ "type": "object",
+ "properties": {
+ "answer_id": {
+ "type": "string"
+ },
+ "poll_media": {
+ "$ref": "#/definitions/PollMedia"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "poll_media"
+ ]
+ },
+ "ChannelOverride": {
+ "type": "object",
+ "properties": {
+ "message_notifications": {
+ "type": "integer"
+ },
+ "mute_config": {
+ "$ref": "#/definitions/MuteConfig"
+ },
+ "muted": {
+ "type": "boolean"
+ },
+ "channel_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel_id",
+ "message_notifications",
+ "mute_config",
+ "muted"
+ ]
+ },
+ "MuteConfig": {
+ "type": "object",
+ "properties": {
+ "end_time": {
+ "type": "integer"
+ },
+ "selected_time_window": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "end_time",
+ "selected_time_window"
+ ]
+ },
+ "CustomStatus": {
+ "type": "object",
+ "properties": {
+ "emoji_id": {
+ "type": "string"
+ },
+ "emoji_name": {
+ "type": "string"
+ },
+ "expires_at": {
+ "type": "integer"
+ },
+ "text": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "FriendSourceFlags": {
+ "type": "object",
+ "properties": {
+ "all": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "all"
+ ]
+ },
+ "GuildFolder": {
+ "type": "object",
+ "properties": {
+ "color": {
+ "type": "integer"
+ },
+ "guild_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "id": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "color",
+ "guild_ids",
+ "id",
+ "name"
+ ]
+ },
+ "GenerateWebAuthnCredentialsSchema": {
+ "type": "object",
+ "properties": {
+ "password": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "password"
+ ]
+ },
+ "CreateWebAuthnCredentialSchema": {
+ "type": "object",
+ "properties": {
+ "credential": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "ticket": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "credential",
+ "name",
+ "ticket"
+ ]
+ },
+ "APIErrorResponse": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "integer"
+ },
+ "message": {
+ "type": "string"
+ },
+ "errors": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "object",
+ "properties": {
+ "_errors": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "message": {
+ "type": "string"
+ },
+ "code": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "message"
+ ]
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "_errors"
+ ]
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "errors",
+ "message"
+ ]
+ },
+ "CaptchaRequiredResponse": {
+ "type": "object",
+ "properties": {
+ "captcha_key": {
+ "type": "string"
+ },
+ "captcha_sitekey": {
+ "type": "string"
+ },
+ "captcha_service": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "captcha_key",
+ "captcha_service",
+ "captcha_sitekey"
+ ]
+ },
+ "Guild": {
+ "type": "object",
+ "properties": {
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "afk_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "description": {
+ "type": "string"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean",
+ "default": false
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "members": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Member"
+ }
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "template": {
+ "$ref": "#/definitions/Template"
+ },
+ "emojis": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Emoji"
+ }
+ },
+ "stickers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Sticker"
+ }
+ },
+ "invites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Invite"
+ }
+ },
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
+ },
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "owner": {
+ "$ref": "#/definitions/User"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "public_updates_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "rules_channel": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "splash": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "system_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "unavailable": {
+ "type": "boolean",
+ "default": false
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "widget_enabled": {
+ "type": "boolean",
+ "default": true
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean",
+ "default": false
+ },
+ "parent": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "integer"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "channel_ordering": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "bans",
+ "channel_ordering",
+ "channels",
+ "emojis",
+ "features",
+ "id",
+ "invites",
+ "members",
+ "name",
+ "nsfw",
+ "premium_progress_bar_enabled",
+ "public_updates_channel_id",
+ "roles",
+ "stickers",
+ "template",
+ "unavailable",
+ "voice_states",
+ "webhooks",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
+ "Channel": {
+ "type": "object",
+ "properties": {
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "name": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "type": {
+ "$ref": "#/definitions/ChannelType"
+ },
+ "recipients": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Recipient"
+ }
+ },
+ "last_message_id": {
+ "type": "string"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "parent_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "parent": {
+ "$ref": "#/definitions/Channel"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "owner": {
+ "$ref": "#/definitions/User"
+ },
+ "last_pin_timestamp": {
+ "type": "integer"
+ },
+ "default_auto_archive_duration": {
+ "type": "integer"
+ },
+ "permission_overwrites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ChannelPermissionOverwrite"
+ }
+ },
+ "video_quality_mode": {
+ "type": "integer"
+ },
+ "bitrate": {
+ "type": "integer"
+ },
+ "user_limit": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean",
+ "default": false
+ },
+ "rate_limit_per_user": {
+ "type": "integer"
+ },
+ "topic": {
+ "type": "string"
+ },
+ "invites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Invite"
+ }
+ },
+ "retention_policy_id": {
+ "type": "string"
+ },
+ "messages": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Message"
+ }
+ },
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
+ },
+ "read_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ReadState"
+ }
+ },
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
+ },
+ "flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "default_thread_rate_limit_per_user": {
+ "type": "integer",
+ "default": 0
+ },
+ "position": {
+ "description": "Must be calculated Channel.calculatePosition",
+ "type": "integer"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "created_at",
+ "default_thread_rate_limit_per_user",
+ "flags",
+ "id",
+ "nsfw",
+ "owner",
+ "parent_id",
+ "position",
+ "type"
+ ]
+ },
+ "ChannelType": {
+ "enum": [
+ 0,
+ 1,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 2,
+ 255,
+ 3,
+ 33,
+ 34,
+ 35,
+ 4,
+ 5,
+ 6,
+ 64,
+ 7,
+ 8,
+ 9
+ ],
+ "type": "number"
+ },
+ "Recipient": {
+ "type": "object",
+ "properties": {
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "closed": {
+ "type": "boolean"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "channel_id",
+ "closed",
+ "id",
+ "user",
+ "user_id"
+ ]
+ },
+ "User": {
+ "type": "object",
+ "properties": {
+ "username": {
+ "type": "string"
+ },
+ "discriminator": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "accent_color": {
+ "type": "integer"
+ },
+ "banner": {
+ "type": "string"
+ },
+ "theme_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "pronouns": {
+ "type": "string"
+ },
+ "phone": {
+ "type": "string"
+ },
+ "desktop": {
+ "type": "boolean",
+ "default": false
+ },
+ "mobile": {
+ "type": "boolean",
+ "default": false
+ },
+ "premium": {
+ "type": "boolean"
+ },
+ "premium_type": {
+ "type": "integer"
+ },
+ "bot": {
+ "type": "boolean",
+ "default": false
+ },
+ "bio": {
+ "type": "string",
+ "default": ""
+ },
+ "system": {
+ "type": "boolean",
+ "default": false
+ },
+ "nsfw_allowed": {
+ "type": "boolean",
+ "default": true
+ },
+ "mfa_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "webauthn_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "totp_secret": {
+ "type": "string",
+ "default": ""
+ },
+ "totp_last_ticket": {
+ "type": "string",
+ "default": ""
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "premium_since": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "verified": {
+ "type": "boolean"
+ },
+ "disabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "deleted": {
+ "type": "boolean",
+ "default": false
+ },
+ "email": {
+ "type": "string"
+ },
+ "flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "public_flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "purchased_flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "premium_usage_flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "rights": {
+ "type": "string"
+ },
+ "sessions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Session"
+ }
+ },
+ "relationships": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Relationship"
+ }
+ },
+ "connected_accounts": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ConnectedAccount"
+ }
+ },
+ "data": {
+ "type": "object",
+ "properties": {
+ "valid_tokens_since": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "hash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "valid_tokens_since"
+ ]
+ },
+ "fingerprints": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "settings": {
+ "$ref": "#/definitions/UserSettings"
+ },
+ "extended_settings": {
+ "type": "string",
+ "default": "{}"
+ },
+ "security_keys": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SecurityKey"
+ }
+ },
+ "badge_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "bio",
+ "bot",
+ "connected_accounts",
+ "created_at",
+ "data",
+ "deleted",
+ "desktop",
+ "disabled",
+ "discriminator",
+ "extended_settings",
+ "fingerprints",
+ "flags",
+ "id",
+ "mfa_enabled",
+ "mobile",
+ "nsfw_allowed",
+ "premium",
+ "premium_since",
+ "premium_type",
+ "premium_usage_flags",
+ "public_flags",
+ "purchased_flags",
+ "relationships",
+ "rights",
+ "security_keys",
+ "sessions",
+ "settings",
+ "system",
+ "username",
+ "verified",
+ "webauthn_enabled"
+ ]
+ },
+ "Session": {
+ "type": "object",
+ "properties": {
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "session_id": {
+ "type": "string"
+ },
+ "activities": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Activity"
+ }
+ },
+ "client_info": {
+ "type": "object",
+ "properties": {
+ "client": {
+ "type": "string"
+ },
+ "os": {
+ "type": "string"
+ },
+ "version": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "client",
+ "os",
+ "version"
+ ]
+ },
+ "client_status": {
+ "$ref": "#/definitions/ClientStatus"
+ },
+ "status": {
+ "$ref": "#/definitions/Status"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "activities",
+ "client_info",
+ "client_status",
+ "id",
+ "session_id",
+ "status",
+ "user",
+ "user_id"
+ ]
+ },
+ "ClientStatus": {
+ "type": "object",
+ "properties": {
+ "desktop": {
+ "type": "string"
+ },
+ "mobile": {
+ "type": "string"
+ },
+ "web": {
+ "type": "string"
+ },
+ "embedded": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "Relationship": {
+ "type": "object",
+ "properties": {
+ "from_id": {
+ "type": "string"
+ },
+ "from": {
+ "$ref": "#/definitions/User"
+ },
+ "to_id": {
+ "type": "string"
+ },
+ "to": {
+ "$ref": "#/definitions/User"
+ },
+ "nickname": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/RelationshipType"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "from",
+ "from_id",
+ "id",
+ "to",
+ "to_id",
+ "type"
+ ]
+ },
+ "RelationshipType": {
+ "enum": [
+ 1,
+ 2,
+ 3,
+ 4
+ ],
+ "type": "number"
+ },
+ "ConnectedAccount": {
+ "type": "object",
+ "properties": {
+ "external_id": {
+ "type": "string"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "friend_sync": {
+ "type": "boolean",
+ "default": false
+ },
+ "name": {
+ "type": "string"
+ },
+ "revoked": {
+ "type": "boolean",
+ "default": false
+ },
+ "show_activity": {
+ "type": "integer",
+ "default": 0
+ },
+ "type": {
+ "type": "string"
+ },
+ "verified": {
+ "type": "boolean",
+ "default": true
+ },
+ "visibility": {
+ "type": "integer",
+ "default": 0
+ },
+ "integrations": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "metadata_": {},
+ "metadata_visibility": {
+ "type": "integer",
+ "default": 0
+ },
+ "two_way_link": {
+ "type": "boolean",
+ "default": false
+ },
+ "token_data": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/ConnectedAccountTokenData"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "external_id",
+ "id",
+ "name",
+ "type",
+ "user",
+ "user_id"
+ ]
+ },
+ "UserSettings": {
+ "type": "object",
+ "properties": {
+ "index": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer",
+ "default": 3600
+ },
+ "allow_accessibility_detection": {
+ "type": "boolean",
+ "default": true
+ },
+ "animate_emoji": {
+ "type": "boolean",
+ "default": true
+ },
+ "animate_stickers": {
+ "type": "integer",
+ "default": 0
+ },
+ "contact_sync_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "convert_emoticons": {
+ "type": "boolean",
+ "default": false
+ },
+ "custom_status": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/CustomStatus"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "default_guilds_restricted": {
+ "type": "boolean",
+ "default": false
+ },
+ "detect_platform_accounts": {
+ "type": "boolean",
+ "default": false
+ },
+ "developer_mode": {
+ "type": "boolean",
+ "default": true
+ },
+ "disable_games_tab": {
+ "type": "boolean",
+ "default": true
+ },
+ "enable_tts_command": {
+ "type": "boolean",
+ "default": false
+ },
+ "explicit_content_filter": {
+ "type": "integer",
+ "default": 0
+ },
+ "friend_discovery_flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "friend_source_flags": {
+ "$ref": "#/definitions/FriendSourceFlags"
+ },
+ "gateway_connected": {
+ "type": "boolean",
+ "default": false
+ },
+ "gif_auto_play": {
+ "type": "boolean",
+ "default": false
+ },
+ "guild_folders": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/GuildFolder"
+ },
+ "default": []
+ },
+ "guild_positions": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "inline_attachment_media": {
+ "type": "boolean",
+ "default": true
+ },
+ "inline_embed_media": {
+ "type": "boolean",
+ "default": true
+ },
+ "locale": {
+ "type": "string",
+ "default": "en-US"
+ },
+ "message_display_compact": {
+ "type": "boolean",
+ "default": false
+ },
+ "native_phone_integration_enabled": {
+ "type": "boolean",
+ "default": true
+ },
+ "render_embeds": {
+ "type": "boolean",
+ "default": true
+ },
+ "render_reactions": {
+ "type": "boolean",
+ "default": true
+ },
+ "restricted_guilds": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "show_current_game": {
+ "type": "boolean",
+ "default": true
+ },
+ "status": {
+ "enum": [
+ "dnd",
+ "idle",
+ "invisible",
+ "offline",
+ "online"
+ ],
+ "type": "string",
+ "default": "online"
+ },
+ "stream_notifications_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "theme": {
+ "enum": [
+ "dark",
+ "light"
+ ],
+ "type": "string",
+ "default": "dark"
+ },
+ "timezone_offset": {
+ "type": "integer",
+ "default": 0
+ },
+ "view_nsfw_guilds": {
+ "type": "boolean",
+ "default": true
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "afk_timeout",
+ "allow_accessibility_detection",
+ "animate_emoji",
+ "animate_stickers",
+ "contact_sync_enabled",
+ "convert_emoticons",
+ "custom_status",
+ "default_guilds_restricted",
+ "detect_platform_accounts",
+ "developer_mode",
+ "disable_games_tab",
+ "enable_tts_command",
+ "explicit_content_filter",
+ "friend_discovery_flags",
+ "friend_source_flags",
+ "gateway_connected",
+ "gif_auto_play",
+ "guild_folders",
+ "guild_positions",
+ "index",
+ "inline_attachment_media",
+ "inline_embed_media",
+ "locale",
+ "message_display_compact",
+ "native_phone_integration_enabled",
+ "render_embeds",
+ "render_reactions",
+ "restricted_guilds",
+ "show_current_game",
+ "status",
+ "stream_notifications_enabled",
+ "theme",
+ "timezone_offset",
+ "view_nsfw_guilds"
+ ]
+ },
+ "SecurityKey": {
+ "type": "object",
+ "properties": {
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "key_id": {
+ "type": "string"
+ },
+ "public_key": {
+ "type": "string"
+ },
+ "counter": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "counter",
+ "id",
+ "key_id",
+ "name",
+ "public_key",
+ "user",
+ "user_id"
+ ]
+ },
+ "ChannelPermissionOverwrite": {
+ "type": "object",
+ "properties": {
+ "allow": {
+ "type": "string"
+ },
+ "deny": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/ChannelPermissionOverwriteType"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "allow",
+ "deny",
+ "id",
+ "type"
+ ]
+ },
+ "Invite": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "temporary": {
+ "type": "boolean"
+ },
+ "uses": {
+ "type": "integer"
+ },
+ "max_uses": {
+ "type": "integer"
+ },
+ "max_age": {
+ "type": "integer"
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "expires_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "inviter_id": {
+ "type": "string"
+ },
+ "inviter": {
+ "$ref": "#/definitions/User"
+ },
+ "target_user_id": {
+ "type": "string"
+ },
+ "target_user": {
+ "type": "string"
+ },
+ "target_user_type": {
+ "type": "integer"
+ },
+ "vanity_url": {
+ "type": "boolean"
+ },
+ "flags": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "channel_id",
+ "code",
+ "created_at",
+ "flags",
+ "guild",
+ "guild_id",
+ "inviter",
+ "max_age",
+ "max_uses",
+ "target_user_id",
+ "temporary",
+ "uses"
+ ]
+ },
+ "Message": {
+ "type": "object",
+ "properties": {
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "author_id": {
+ "type": "string"
+ },
+ "author": {
+ "$ref": "#/definitions/User"
+ },
+ "member_id": {
+ "type": "string"
+ },
+ "member": {
+ "$ref": "#/definitions/Member"
+ },
+ "webhook_id": {
+ "type": "string"
+ },
+ "webhook": {
+ "$ref": "#/definitions/Webhook"
+ },
+ "application_id": {
+ "type": "string"
+ },
+ "application": {
+ "$ref": "#/definitions/Application"
+ },
+ "content": {
+ "type": "string"
+ },
+ "timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "edited_timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "tts": {
+ "type": "boolean"
+ },
+ "mention_everyone": {
+ "type": "boolean"
+ },
+ "mentions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/User"
+ }
+ },
+ "mention_roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "mention_channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "sticker_items": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Sticker"
+ }
+ },
+ "attachments": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Attachment"
+ }
+ },
+ "embeds": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Embed"
+ }
+ },
+ "reactions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Reaction"
+ }
+ },
+ "nonce": {
+ "type": "string"
+ },
+ "pinned": {
+ "type": "boolean"
+ },
+ "type": {
+ "$ref": "#/definitions/MessageType"
+ },
+ "activity": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "integer"
+ },
+ "party_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "party_id",
+ "type"
+ ]
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "message_reference": {
+ "type": "object",
+ "properties": {
+ "message_id": {
+ "type": "string"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "guild_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "message_id"
+ ]
+ },
+ "referenced_message": {
+ "$ref": "#/definitions/Message"
+ },
+ "interaction": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/InteractionType"
+ },
+ "name": {
+ "type": "string"
+ },
+ "user_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "type",
+ "user_id"
+ ]
+ },
+ "components": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ActionRowComponent"
+ }
+ },
+ "poll": {
+ "$ref": "#/definitions/Poll"
+ },
+ "username": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "embeds",
+ "flags",
+ "id",
+ "mention_channels",
+ "mention_roles",
+ "mentions",
+ "reactions",
+ "timestamp",
+ "type"
+ ]
+ },
+ "Member": {
+ "type": "object",
+ "properties": {
+ "index": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "nick": {
+ "type": "string"
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "joined_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "premium_since": {
+ "type": "integer"
+ },
+ "deaf": {
+ "type": "boolean"
+ },
+ "mute": {
+ "type": "boolean"
+ },
+ "pending": {
+ "type": "boolean"
+ },
+ "settings": {
+ "$ref": "#/definitions/UserGuildSettings"
+ },
+ "last_message_id": {
+ "type": "string"
+ },
+ "joined_by": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "banner": {
+ "type": "string"
+ },
+ "bio": {
+ "type": "string"
+ },
+ "theme_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "pronouns": {
+ "type": "string"
+ },
+ "communication_disabled_until": {
+ "type": "string",
+ "format": "date-time"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "banner",
+ "bio",
+ "communication_disabled_until",
+ "deaf",
+ "guild",
+ "guild_id",
+ "id",
+ "index",
+ "joined_at",
+ "joined_by",
+ "mute",
+ "pending",
+ "roles",
+ "settings",
+ "user"
+ ]
+ },
+ "Role": {
+ "type": "object",
+ "properties": {
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "color": {
+ "type": "integer"
+ },
+ "hoist": {
+ "type": "boolean"
+ },
+ "managed": {
+ "type": "boolean"
+ },
+ "mentionable": {
+ "type": "boolean"
+ },
+ "name": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "string"
+ },
+ "position": {
+ "type": "integer"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "unicode_emoji": {
+ "type": "string"
+ },
+ "tags": {
+ "type": "object",
+ "properties": {
+ "bot_id": {
+ "type": "string"
+ },
+ "integration_id": {
+ "type": "string"
+ },
+ "premium_subscriber": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "color",
+ "flags",
+ "guild",
+ "guild_id",
+ "hoist",
+ "id",
+ "managed",
+ "mentionable",
+ "name",
+ "permissions",
+ "position"
+ ]
+ },
+ "UserGuildSettings": {
+ "type": "object",
+ "properties": {
+ "channel_overrides": {
+ "anyOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "$ref": "#/definitions/ChannelOverride"
+ }
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "message_notifications": {
+ "type": "integer"
+ },
+ "mobile_push": {
+ "type": "boolean"
+ },
+ "mute_config": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/MuteConfig"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "muted": {
+ "type": "boolean"
+ },
+ "suppress_everyone": {
+ "type": "boolean"
+ },
+ "suppress_roles": {
+ "type": "boolean"
+ },
+ "version": {
+ "type": "integer"
+ },
+ "guild_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "mute_scheduled_events": {
+ "type": "boolean"
+ },
+ "hide_muted_channels": {
+ "type": "boolean"
+ },
+ "notify_highlights": {
+ "type": "number",
+ "enum": [
+ 0
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel_overrides",
+ "flags",
+ "guild_id",
+ "hide_muted_channels",
+ "message_notifications",
+ "mobile_push",
+ "mute_config",
+ "mute_scheduled_events",
+ "muted",
+ "notify_highlights",
+ "suppress_everyone",
+ "suppress_roles",
+ "version"
+ ]
+ },
+ "Webhook": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/WebhookType"
+ },
+ "name": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "token": {
+ "type": "string"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "application_id": {
+ "type": "string"
+ },
+ "application": {
+ "$ref": "#/definitions/Application"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "source_guild_id": {
+ "type": "string"
+ },
+ "source_guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "source_channel_id": {
+ "type": "string"
+ },
+ "source_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "url": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "application",
+ "application_id",
+ "avatar",
+ "channel",
+ "channel_id",
+ "id",
+ "name",
+ "source_channel",
+ "source_channel_id",
+ "type",
+ "url",
+ "user",
+ "user_id"
+ ]
+ },
+ "WebhookType": {
+ "enum": [
+ 1,
+ 2,
+ 3
+ ],
+ "type": "number"
+ },
+ "Application": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "summary": {
+ "type": "string",
+ "default": ""
+ },
+ "type": {
+ "type": "object",
+ "properties": {},
+ "additionalProperties": true
+ },
+ "hook": {
+ "type": "boolean",
+ "default": true
+ },
+ "bot_public": {
+ "type": "boolean",
+ "default": true
+ },
+ "bot_require_code_grant": {
+ "type": "boolean",
+ "default": false
+ },
+ "verify_key": {
+ "type": "string"
+ },
+ "owner": {
+ "$ref": "#/definitions/User"
+ },
+ "flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "redirect_uris": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "rpc_application_state": {
+ "type": "integer",
+ "default": 0
+ },
+ "store_application_state": {
+ "type": "integer",
+ "default": 1
+ },
+ "verification_state": {
+ "type": "integer",
+ "default": 1
+ },
+ "interactions_endpoint_url": {
+ "type": "string"
+ },
+ "integration_public": {
+ "type": "boolean",
+ "default": true
+ },
+ "integration_require_code_grant": {
+ "type": "boolean",
+ "default": false
+ },
+ "discoverability_state": {
+ "type": "integer",
+ "default": 1
+ },
+ "discovery_eligibility_flags": {
+ "type": "integer",
+ "default": 2240
+ },
+ "bot": {
+ "$ref": "#/definitions/User"
+ },
+ "tags": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "cover_image": {
+ "type": "string"
+ },
+ "install_params": {
+ "type": "object",
+ "properties": {
+ "scopes": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "permissions": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "permissions",
+ "scopes"
+ ]
+ },
+ "terms_of_service_url": {
+ "type": "string"
+ },
+ "privacy_policy_url": {
+ "type": "string"
+ },
+ "team": {
+ "$ref": "#/definitions/Team"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "description",
+ "discoverability_state",
+ "discovery_eligibility_flags",
+ "flags",
+ "hook",
+ "id",
+ "integration_public",
+ "integration_require_code_grant",
+ "name",
+ "owner",
+ "redirect_uris",
+ "rpc_application_state",
+ "store_application_state",
+ "summary",
+ "verification_state",
+ "verify_key"
+ ]
+ },
+ "Team": {
+ "type": "object",
+ "properties": {
+ "icon": {
+ "type": "string"
+ },
+ "members": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TeamMember"
+ }
+ },
+ "name": {
+ "type": "string"
+ },
+ "owner_user_id": {
+ "type": "string"
+ },
+ "owner_user": {
+ "$ref": "#/definitions/User"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "members",
+ "name",
+ "owner_user",
+ "owner_user_id"
+ ]
+ },
+ "TeamMember": {
+ "type": "object",
+ "properties": {
+ "membership_state": {
+ "$ref": "#/definitions/TeamMemberState"
+ },
+ "permissions": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "team_id": {
+ "type": "string"
+ },
+ "team": {
+ "$ref": "#/definitions/Team"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "membership_state",
+ "permissions",
+ "team",
+ "team_id",
+ "user",
+ "user_id"
+ ]
+ },
+ "TeamMemberState": {
+ "enum": [
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "Sticker": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "available": {
+ "type": "boolean"
+ },
+ "tags": {
+ "type": "string"
+ },
+ "pack_id": {
+ "type": "string"
+ },
+ "pack": {
+ "$ref": "#/definitions/StickerPack"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "type": {
+ "$ref": "#/definitions/StickerType"
+ },
+ "format_type": {
+ "$ref": "#/definitions/StickerFormatType"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "format_type",
+ "id",
+ "name",
+ "pack",
+ "type"
+ ]
+ },
+ "StickerPack": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "banner_asset_id": {
+ "type": "string"
+ },
+ "stickers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Sticker"
+ }
+ },
+ "cover_sticker_id": {
+ "type": "string"
+ },
+ "cover_sticker": {
+ "$ref": "#/definitions/Sticker"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "stickers"
+ ]
+ },
+ "StickerType": {
+ "enum": [
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "StickerFormatType": {
+ "enum": [
+ 0,
+ 1,
+ 2,
+ 3
+ ],
+ "type": "number"
+ },
+ "Attachment": {
+ "type": "object",
+ "properties": {
+ "filename": {
+ "type": "string"
+ },
+ "size": {
+ "type": "integer"
+ },
+ "url": {
+ "type": "string"
+ },
+ "proxy_url": {
+ "type": "string"
+ },
+ "height": {
+ "type": "integer"
+ },
+ "width": {
+ "type": "integer"
+ },
+ "content_type": {
+ "type": "string"
+ },
+ "message_id": {
+ "type": "string"
+ },
+ "message": {
+ "$ref": "#/definitions/Message"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "filename",
+ "id",
+ "message",
+ "message_id",
+ "proxy_url",
+ "size",
+ "url"
+ ]
+ },
+ "Reaction": {
+ "type": "object",
+ "properties": {
+ "count": {
+ "type": "integer"
+ },
+ "emoji": {
+ "$ref": "#/definitions/PartialEmoji"
+ },
+ "user_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "count",
+ "emoji",
+ "user_ids"
+ ]
+ },
+ "MessageType": {
+ "enum": [
+ 0,
+ 1,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 16,
+ 19,
+ 2,
+ 20,
+ 255,
+ 3,
+ 4,
+ 41,
+ 42,
+ 43,
+ 5,
+ 50,
+ 6,
+ 63,
+ 7,
+ 8,
+ 9
+ ],
+ "type": "number"
+ },
+ "InteractionType": {
+ "enum": [
+ 0,
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "Poll": {
+ "type": "object",
+ "properties": {
+ "question": {
+ "$ref": "#/definitions/PollMedia"
+ },
+ "answers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PollAnswer"
+ }
+ },
+ "expiry": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "allow_multiselect": {
+ "type": "boolean"
+ },
+ "results": {
+ "$ref": "#/definitions/PollResult"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "allow_multiselect",
+ "answers",
+ "expiry",
+ "question"
+ ]
+ },
+ "PollResult": {
+ "type": "object",
+ "properties": {
+ "is_finalized": {
+ "type": "boolean"
+ },
+ "answer_counts": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PollAnswerCount"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "answer_counts",
+ "is_finalized"
+ ]
+ },
+ "PollAnswerCount": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "count": {
+ "type": "integer"
+ },
+ "me_voted": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "count",
+ "id",
+ "me_voted"
+ ]
+ },
+ "VoiceState": {
+ "type": "object",
+ "properties": {
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "member": {
+ "$ref": "#/definitions/Member"
+ },
+ "session_id": {
+ "type": "string"
+ },
+ "token": {
+ "type": "string"
+ },
+ "deaf": {
+ "type": "boolean"
+ },
+ "mute": {
+ "type": "boolean"
+ },
+ "self_deaf": {
+ "type": "boolean"
+ },
+ "self_mute": {
+ "type": "boolean"
+ },
+ "self_stream": {
+ "type": "boolean"
+ },
+ "self_video": {
+ "type": "boolean"
+ },
+ "suppress": {
+ "type": "boolean"
+ },
+ "request_to_speak_timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "channel_id",
+ "deaf",
+ "guild_id",
+ "id",
+ "member",
+ "mute",
+ "self_deaf",
+ "self_mute",
+ "self_video",
+ "session_id",
+ "suppress",
+ "token",
+ "user",
+ "user_id"
+ ]
+ },
+ "ReadState": {
+ "type": "object",
+ "properties": {
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "last_message_id": {
+ "type": "string"
+ },
+ "public_ack": {
+ "type": "string"
+ },
+ "notifications_cursor": {
+ "type": "string"
+ },
+ "last_pin_timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "mention_count": {
+ "type": "integer"
+ },
+ "manual": {
+ "type": "boolean"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "channel_id",
+ "id",
+ "last_message_id",
+ "manual",
+ "mention_count",
+ "notifications_cursor",
+ "public_ack",
+ "user",
+ "user_id"
+ ]
+ },
+ "Ban": {
+ "type": "object",
+ "properties": {
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "executor_id": {
+ "type": "string"
+ },
+ "executor": {
+ "$ref": "#/definitions/User"
+ },
+ "ip": {
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "executor",
+ "executor_id",
+ "guild",
+ "guild_id",
+ "id",
+ "ip",
+ "user",
+ "user_id"
+ ]
+ },
+ "Template": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "usage_count": {
+ "type": "integer"
+ },
+ "creator_id": {
+ "type": "string"
+ },
+ "creator": {
+ "$ref": "#/definitions/User"
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "source_guild_id": {
+ "type": "string"
+ },
+ "source_guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "serialized_source_guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "created_at",
+ "creator",
+ "creator_id",
+ "id",
+ "name",
+ "serialized_source_guild",
+ "source_guild",
+ "source_guild_id",
+ "updated_at"
+ ]
+ },
+ "Emoji": {
+ "type": "object",
+ "properties": {
+ "animated": {
+ "type": "boolean"
+ },
+ "available": {
+ "type": "boolean"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "managed": {
+ "type": "boolean"
+ },
+ "name": {
+ "type": "string"
+ },
+ "require_colons": {
+ "type": "boolean"
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "groups": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "animated",
+ "available",
+ "groups",
+ "guild",
+ "guild_id",
+ "id",
+ "managed",
+ "name",
+ "require_colons",
+ "roles",
+ "user",
+ "user_id"
+ ]
+ },
+ "GuildWelcomeScreen": {
+ "type": "object",
+ "properties": {
+ "enabled": {
+ "type": "boolean"
+ },
+ "description": {
+ "type": "string"
+ },
+ "welcome_channels": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "description": {
+ "type": "string"
+ },
+ "emoji_id": {
+ "type": "string"
+ },
+ "emoji_name": {
+ "type": "string"
+ },
+ "channel_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel_id",
+ "description"
+ ]
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "description",
+ "enabled",
+ "welcome_channels"
+ ]
+ },
+ "GuildMessagesSearchMessage": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/MessageType"
+ },
+ "content": {
+ "type": "string"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "author": {
+ "$ref": "#/definitions/PublicUser"
+ },
+ "attachments": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Attachment"
+ }
+ },
+ "embeds": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Embed"
+ }
+ },
+ "mentions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PublicUser"
+ }
+ },
+ "mention_roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "pinned": {
+ "type": "boolean"
+ },
+ "mention_everyone": {
+ "type": "boolean"
+ },
+ "tts": {
+ "type": "boolean"
+ },
+ "timestamp": {
+ "type": "string"
+ },
+ "edited_timestamp": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "components": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ActionRowComponent"
+ }
+ },
+ "poll": {
+ "$ref": "#/definitions/Poll"
+ },
+ "hit": {
+ "type": "boolean",
+ "enum": [
+ true
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "attachments",
+ "author",
+ "channel_id",
+ "components",
+ "edited_timestamp",
+ "embeds",
+ "flags",
+ "hit",
+ "id",
+ "mention_roles",
+ "mentions",
+ "pinned",
+ "poll",
+ "timestamp",
+ "tts",
+ "type"
+ ]
+ },
+ "PublicUser": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "premium_since": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "username": {
+ "type": "string"
+ },
+ "discriminator": {
+ "type": "string"
+ },
+ "public_flags": {
+ "type": "integer"
+ },
+ "accent_color": {
+ "type": "integer"
+ },
+ "banner": {
+ "type": "string"
+ },
+ "bio": {
+ "type": "string"
+ },
+ "bot": {
+ "type": "boolean"
+ },
+ "premium_type": {
+ "type": "integer"
+ },
+ "theme_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "pronouns": {
+ "type": "string"
+ },
+ "badge_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "bio",
+ "bot",
+ "discriminator",
+ "id",
+ "premium_since",
+ "premium_type",
+ "public_flags",
+ "username"
+ ]
+ },
+ "GuildVanityUrl": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "uses": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "uses"
+ ]
+ },
+ "GuildVanityUrlNoInvite": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "null"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code"
+ ]
+ },
+ "Snowflake": {
+ "description": "A container for useful snowflake-related methods.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
+ "TenorGifResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "src": {
+ "type": "string"
+ },
+ "gif_src": {
+ "type": "string"
+ },
+ "width": {
+ "type": "integer"
+ },
+ "height": {
+ "type": "integer"
+ },
+ "preview": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "gif_src",
+ "height",
+ "id",
+ "preview",
+ "src",
+ "title",
+ "url",
+ "width"
+ ]
+ },
+ "BackupCode": {
+ "type": "object",
+ "properties": {
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "code": {
+ "type": "string"
+ },
+ "consumed": {
+ "type": "boolean"
+ },
+ "expired": {
+ "type": "boolean"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "consumed",
+ "expired",
+ "id",
+ "user"
+ ]
+ },
+ "APIGuild": {
+ "type": "object",
+ "properties": {
+ "reload": {
+ "description": "Reloads entity data from the database.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "name": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "invites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Invite"
+ }
+ },
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
+ },
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
+ },
+ "toJSON": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "assign": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "hasId": {
+ "description": "Checks if entity has an id.\nIf entity composite compose ids, it will check them all.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "save": {
+ "description": "Saves current entity in the database.\nIf entity does not exist in the database then inserts, otherwise updates.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "remove": {
+ "description": "Removes current entity from the database.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "softRemove": {
+ "description": "Records the delete date of current entity.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "recover": {
+ "description": "Recovers a given entity in the database.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": "string"
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "members": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Member"
+ }
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "emojis": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Emoji"
+ }
+ },
+ "stickers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Sticker"
+ }
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "permissions": {
+ "type": "integer"
+ },
+ "channel_ordering": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "_do_validate",
+ "assign",
+ "bans",
+ "channel_ordering",
+ "channels",
+ "emojis",
+ "features",
+ "hasId",
+ "id",
+ "invites",
+ "members",
+ "name",
+ "nsfw",
+ "premium_progress_bar_enabled",
+ "public_updates_channel_id",
+ "recover",
+ "reload",
+ "remove",
+ "roles",
+ "save",
+ "softRemove",
+ "stickers",
+ "toJSON",
+ "unavailable",
+ "voice_states",
+ "webhooks",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
+ "DmChannelDTO": {
+ "type": "object",
+ "properties": {
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "id": {
+ "type": "string"
+ },
+ "last_message_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "name": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "origin_channel_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "recipients": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MinimalPublicUserDTO"
+ }
+ },
+ "type": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "icon",
+ "id",
+ "last_message_id",
+ "name",
+ "origin_channel_id",
+ "recipients",
+ "type"
+ ]
+ },
+ "MinimalPublicUserDTO": {
+ "type": "object",
+ "properties": {
+ "avatar": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "discriminator": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "public_flags": {
+ "type": "integer"
+ },
+ "username": {
+ "type": "string"
+ },
+ "badge_ids": {
+ "anyOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "discriminator",
+ "id",
+ "public_flags",
+ "username"
+ ]
+ },
+ "Categories": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "localizations": {
+ "type": "string"
+ },
+ "is_primary": {
+ "type": "boolean"
+ },
+ "icon": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "is_primary",
+ "localizations",
+ "name"
+ ]
+ },
+ "GuildVoiceRegion": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "custom": {
+ "type": "boolean"
+ },
+ "deprecated": {
+ "type": "boolean"
+ },
+ "optimal": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "custom",
+ "deprecated",
+ "id",
+ "name",
+ "optimal"
+ ]
+ },
+ "UserLimits": {
+ "type": "object",
+ "properties": {
+ "maxGuilds": {
+ "type": "integer",
+ "default": 1048576
+ },
+ "maxUsername": {
+ "type": "integer",
+ "default": 32
+ },
+ "maxFriends": {
+ "type": "integer",
+ "default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "maxBio",
+ "maxFriends",
+ "maxGuilds",
+ "maxUsername"
+ ]
+ },
+ "GuildLimits": {
+ "type": "object",
+ "properties": {
+ "maxRoles": {
+ "type": "integer",
+ "default": 1000
+ },
+ "maxEmojis": {
+ "type": "integer",
+ "default": 2000
+ },
+ "maxMembers": {
+ "type": "integer",
+ "default": 25000000
+ },
+ "maxChannels": {
+ "type": "integer",
+ "default": 65535
+ },
+ "maxBulkBanUsers": {
+ "type": "integer",
+ "default": 200
+ },
+ "maxChannelsInCategory": {
+ "type": "integer",
+ "default": 65535
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "maxBulkBanUsers",
+ "maxChannels",
+ "maxChannelsInCategory",
+ "maxEmojis",
+ "maxMembers",
+ "maxRoles"
+ ]
+ },
+ "MessageLimits": {
+ "type": "object",
+ "properties": {
+ "maxCharacters": {
+ "type": "integer",
+ "default": 1048576
+ },
+ "maxTTSCharacters": {
+ "type": "integer",
+ "default": 160
+ },
+ "maxReactions": {
+ "type": "integer",
+ "default": 2048
+ },
+ "maxAttachmentSize": {
+ "type": "integer",
+ "default": 1073741824
+ },
+ "maxBulkDelete": {
+ "type": "integer",
+ "default": 1000
+ },
+ "maxEmbedDownloadSize": {
+ "type": "integer",
+ "default": 5242880
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "maxAttachmentSize",
+ "maxBulkDelete",
+ "maxCharacters",
+ "maxEmbedDownloadSize",
+ "maxReactions",
+ "maxTTSCharacters"
+ ]
+ },
+ "ChannelLimits": {
+ "type": "object",
+ "properties": {
+ "maxPins": {
+ "type": "integer",
+ "default": 500
+ },
+ "maxTopic": {
+ "type": "integer",
+ "default": 1024
+ },
+ "maxWebhooks": {
+ "type": "integer",
+ "default": 100
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "maxPins",
+ "maxTopic",
+ "maxWebhooks"
+ ]
+ },
+ "RateLimits": {
+ "type": "object",
+ "properties": {
+ "enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "ip": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "global": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "error": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "routes": {
+ "$ref": "#/definitions/RouteRateLimit"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "enabled",
+ "error",
+ "global",
+ "ip",
+ "routes"
+ ]
+ },
+ "RateLimitOptions": {
+ "type": "object",
+ "properties": {
+ "bot": {
+ "type": "integer"
+ },
+ "count": {
+ "type": "integer"
+ },
+ "window": {
+ "type": "integer"
+ },
+ "onyIp": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "count",
+ "window"
+ ]
+ },
+ "RouteRateLimit": {
+ "type": "object",
+ "properties": {
+ "guild": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "webhook": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "channel": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "auth": {}
+ },
+ "additionalProperties": false,
+ "required": [
+ "auth",
+ "channel",
+ "guild",
+ "webhook"
+ ]
+ },
+ "GlobalRateLimits": {
+ "type": "object",
+ "properties": {
+ "register": {
+ "$ref": "#/definitions/GlobalRateLimit"
+ },
+ "sendMessage": {
+ "$ref": "#/definitions/GlobalRateLimit"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "register",
+ "sendMessage"
+ ]
+ },
+ "GlobalRateLimit": {
+ "type": "object",
+ "properties": {
+ "limit": {
+ "type": "integer",
+ "default": 100
+ },
+ "window": {
+ "type": "integer",
+ "default": 3600000
+ },
+ "enabled": {
+ "type": "boolean",
+ "default": true
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "enabled",
+ "limit",
+ "window"
+ ]
+ },
+ "PublicConnectedAccount": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "verified": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "name",
+ "type"
+ ]
+ },
+ "UserProfile": {
+ "type": "object",
+ "properties": {
+ "accent_color": {
+ "type": "integer"
+ },
+ "banner": {
+ "type": "string"
+ },
+ "bio": {
+ "type": "string"
+ },
+ "theme_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "pronouns": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "bio"
+ ]
+ },
+ "Badge": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "link": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "description",
+ "icon",
+ "id"
+ ]
+ },
+ "TokenResponse": {
+ "type": "object",
+ "properties": {
+ "token": {
+ "type": "string"
+ },
+ "settings": {
+ "$ref": "#/definitions/UserSettings"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "settings",
+ "token"
+ ]
+ },
+ "MFAResponse": {
+ "type": "object",
+ "properties": {
+ "ticket": {
+ "type": "string"
+ },
+ "mfa": {
+ "type": "boolean",
+ "enum": [
+ true
+ ]
+ },
+ "sms": {
+ "type": "boolean",
+ "enum": [
+ false
+ ]
+ },
+ "token": {
+ "type": "null"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "mfa",
+ "sms",
+ "ticket",
+ "token"
+ ]
+ },
+ "WebAuthnResponse": {
+ "type": "object",
+ "properties": {
+ "webauthn": {
+ "type": "string"
+ },
+ "ticket": {
+ "type": "string"
+ },
+ "mfa": {
+ "type": "boolean",
+ "enum": [
+ true
+ ]
+ },
+ "sms": {
+ "type": "boolean",
+ "enum": [
+ false
+ ]
+ },
+ "token": {
+ "type": "null"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "mfa",
+ "sms",
+ "ticket",
+ "token",
+ "webauthn"
+ ]
+ }
+ },
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "ApplicationCreateSchema": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "team_id": {
+ "type": [
+ "string",
+ "integer"
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "name"
+ ],
+ "definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
+ "ChannelPermissionOverwriteType": {
+ "enum": [
+ 0,
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "ConnectedAccountTokenData": {
+ "type": "object",
+ "properties": {
+ "access_token": {
+ "type": "string"
+ },
+ "token_type": {
+ "type": "string"
+ },
+ "scope": {
+ "type": "string"
+ },
+ "refresh_token": {
+ "type": "string"
+ },
+ "expires_in": {
+ "type": "integer"
+ },
+ "expires_at": {
+ "type": "integer"
+ },
+ "fetched_at": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "access_token",
+ "fetched_at"
+ ]
+ },
+ "ChannelModifySchema": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "maxLength": 100,
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ 0,
+ 1,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 2,
+ 255,
+ 3,
+ 33,
+ 34,
+ 35,
+ 4,
+ 5,
+ 6,
+ 64,
+ 7,
+ 8,
+ 9
+ ],
+ "type": "number"
+ },
+ "topic": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "bitrate": {
+ "type": "integer"
+ },
+ "user_limit": {
+ "type": "integer"
+ },
+ "rate_limit_per_user": {
+ "type": "integer"
+ },
+ "position": {
+ "type": "integer"
+ },
+ "permission_overwrites": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/ChannelPermissionOverwriteType"
+ },
+ "allow": {
+ "type": "string"
+ },
+ "deny": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "allow",
+ "deny",
+ "id",
+ "type"
+ ]
+ }
+ },
+ "parent_id": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "rtc_region": {
+ "type": "string"
+ },
+ "default_auto_archive_duration": {
+ "type": "integer"
+ },
+ "default_reaction_emoji": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "default_thread_rate_limit_per_user": {
+ "type": "integer"
+ },
+ "video_quality_mode": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false
+ },
+ "ActivitySchema": {
+ "type": "object",
+ "properties": {
+ "afk": {
+ "type": "boolean"
+ },
+ "status": {
+ "$ref": "#/definitions/Status"
+ },
+ "activities": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Activity"
+ }
+ },
+ "since": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "status"
+ ]
+ },
+ "Status": {
+ "enum": [
+ "dnd",
+ "idle",
+ "invisible",
+ "offline",
+ "online"
+ ],
+ "type": "string"
+ },
+ "Activity": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/ActivityType"
+ },
+ "url": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "integer"
+ },
+ "timestamps": {
+ "type": "object",
+ "properties": {
+ "start": {
+ "type": "integer"
+ },
+ "end": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "end",
+ "start"
+ ]
+ },
+ "application_id": {
+ "type": "string"
+ },
+ "details": {
+ "type": "string"
+ },
+ "state": {
+ "type": "string"
+ },
+ "emoji": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "animated": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "animated",
+ "name"
+ ]
+ },
+ "party": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "size": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ }
+ },
+ "additionalProperties": false
+ },
+ "assets": {
+ "type": "object",
+ "properties": {
+ "large_image": {
+ "type": "string"
+ },
+ "large_text": {
+ "type": "string"
+ },
+ "small_image": {
+ "type": "string"
+ },
+ "small_text": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "secrets": {
+ "type": "object",
+ "properties": {
+ "join": {
+ "type": "string"
+ },
+ "spectate": {
+ "type": "string"
+ },
+ "match": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "instance": {
+ "type": "boolean"
+ },
+ "flags": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "sync_id": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "object",
+ "properties": {
+ "context_uri": {
+ "type": "string"
+ },
+ "album_id": {
+ "type": "string"
+ },
+ "artist_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "album_id",
+ "artist_ids"
+ ]
+ },
+ "session_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "flags",
+ "name",
+ "session_id",
+ "type"
+ ]
+ },
+ "ActivityType": {
+ "enum": [
+ 0,
+ 1,
+ 2,
+ 4,
+ 5
+ ],
+ "type": "number"
+ },
+ "Embed": {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "article",
+ "gifv",
+ "image",
+ "link",
+ "rich",
+ "video"
+ ],
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "color": {
+ "type": "integer"
+ },
+ "footer": {
+ "type": "object",
+ "properties": {
+ "text": {
+ "type": "string"
+ },
+ "icon_url": {
+ "type": "string"
+ },
+ "proxy_icon_url": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "text"
+ ]
+ },
+ "image": {
+ "$ref": "#/definitions/EmbedImage"
+ },
+ "thumbnail": {
+ "$ref": "#/definitions/EmbedImage"
+ },
+ "video": {
+ "$ref": "#/definitions/EmbedImage"
+ },
+ "provider": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "author": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "icon_url": {
+ "type": "string"
+ },
+ "proxy_icon_url": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "fields": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
+ },
+ "inline": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "name",
+ "value"
+ ]
+ }
+ }
+ },
+ "additionalProperties": false
+ },
+ "EmbedImage": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string"
+ },
+ "proxy_url": {
+ "type": "string"
+ },
+ "height": {
+ "type": "integer"
+ },
+ "width": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false
+ },
+ "ActionRowComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/MessageComponentType.ActionRow"
+ },
+ "components": {
+ "type": "array",
+ "items": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/ButtonComponent"
+ },
+ {
+ "$ref": "#/definitions/SelectMenuComponent"
+ },
+ {
+ "$ref": "#/definitions/StringSelectMenuComponent"
+ },
+ {
+ "$ref": "#/definitions/TextInputComponent"
+ }
+ ]
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "components",
+ "type"
+ ]
+ },
+ "MessageComponentType.ActionRow": {
+ "type": "number",
+ "enum": [
+ 1
+ ]
+ },
+ "ButtonComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/MessageComponentType.Button"
+ },
+ "style": {
+ "$ref": "#/definitions/ButtonStyle"
+ },
+ "label": {
+ "type": "string"
+ },
+ "emoji": {
+ "$ref": "#/definitions/PartialEmoji"
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "sku_id": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "disabled": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "style",
+ "type"
+ ]
+ },
+ "MessageComponentType.Button": {
+ "type": "number",
+ "enum": [
+ 2
+ ]
+ },
+ "ButtonStyle": {
+ "enum": [
+ 1,
+ 2,
+ 3,
+ 4,
+ 5,
+ 6
+ ],
+ "type": "number"
+ },
+ "PartialEmoji": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "animated": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "name"
+ ]
+ },
+ "SelectMenuComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "enum": [
+ 3,
+ 5,
+ 6,
+ 7,
+ 8
+ ],
+ "type": "number"
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "channel_types": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "placeholder": {
+ "type": "string"
+ },
+ "default_values": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SelectMenuDefaultOption"
+ }
+ },
+ "min_values": {
+ "type": "integer"
+ },
+ "max_values": {
+ "type": "integer"
+ },
+ "disabled": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "custom_id",
+ "type"
+ ]
+ },
+ "SelectMenuDefaultOption": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "channel",
+ "role",
+ "user"
+ ],
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "type"
+ ]
+ },
+ "StringSelectMenuComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/MessageComponentType.StringSelect"
+ },
+ "options": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SelectMenuOption"
+ }
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "channel_types": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "placeholder": {
+ "type": "string"
+ },
+ "default_values": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SelectMenuDefaultOption"
+ }
+ },
+ "min_values": {
+ "type": "integer"
+ },
+ "max_values": {
+ "type": "integer"
+ },
+ "disabled": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "custom_id",
+ "options",
+ "type"
+ ]
+ },
+ "MessageComponentType.StringSelect": {
+ "type": "number",
+ "enum": [
+ 3
+ ]
+ },
+ "SelectMenuOption": {
+ "type": "object",
+ "properties": {
+ "label": {
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "emoji": {
+ "$ref": "#/definitions/PartialEmoji"
+ },
+ "default": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "label",
+ "value"
+ ]
+ },
+ "TextInputComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/MessageComponentType.TextInput"
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "style": {
+ "$ref": "#/definitions/TextInputStyle"
+ },
+ "label": {
+ "type": "string"
+ },
+ "min_length": {
+ "type": "integer"
+ },
+ "max_length": {
+ "type": "integer"
+ },
+ "required": {
+ "type": "boolean"
+ },
+ "value": {
+ "type": "string"
+ },
+ "placeholder": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "custom_id",
+ "label",
+ "style",
+ "type"
+ ]
+ },
+ "MessageComponentType.TextInput": {
+ "type": "number",
+ "enum": [
+ 4
+ ]
+ },
+ "TextInputStyle": {
+ "enum": [
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "PollCreationSchema": {
+ "type": "object",
+ "properties": {
+ "question": {
+ "$ref": "#/definitions/PollMedia"
+ },
+ "answers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PollAnswer"
+ }
+ },
+ "duration": {
+ "type": "integer"
+ },
+ "allow_multiselect": {
+ "type": "boolean"
+ },
+ "layout_type": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "answers",
+ "question"
+ ]
+ },
+ "PollMedia": {
+ "type": "object",
+ "properties": {
+ "text": {
+ "type": "string"
+ },
+ "emoji": {
+ "$ref": "#/definitions/PartialEmoji"
+ }
+ },
+ "additionalProperties": false
+ },
+ "PollAnswer": {
+ "type": "object",
+ "properties": {
+ "answer_id": {
+ "type": "string"
+ },
+ "poll_media": {
+ "$ref": "#/definitions/PollMedia"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "poll_media"
+ ]
+ },
+ "ChannelOverride": {
+ "type": "object",
+ "properties": {
+ "message_notifications": {
+ "type": "integer"
+ },
+ "mute_config": {
+ "$ref": "#/definitions/MuteConfig"
+ },
+ "muted": {
+ "type": "boolean"
+ },
+ "channel_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel_id",
+ "message_notifications",
+ "mute_config",
+ "muted"
+ ]
+ },
+ "MuteConfig": {
+ "type": "object",
+ "properties": {
+ "end_time": {
+ "type": "integer"
+ },
+ "selected_time_window": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "end_time",
+ "selected_time_window"
+ ]
+ },
+ "CustomStatus": {
+ "type": "object",
+ "properties": {
+ "emoji_id": {
+ "type": "string"
+ },
+ "emoji_name": {
+ "type": "string"
+ },
+ "expires_at": {
+ "type": "integer"
+ },
+ "text": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "FriendSourceFlags": {
+ "type": "object",
+ "properties": {
+ "all": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "all"
+ ]
+ },
+ "GuildFolder": {
+ "type": "object",
+ "properties": {
+ "color": {
+ "type": "integer"
+ },
+ "guild_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "id": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "color",
+ "guild_ids",
+ "id",
+ "name"
+ ]
+ },
+ "GenerateWebAuthnCredentialsSchema": {
+ "type": "object",
+ "properties": {
+ "password": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "password"
+ ]
+ },
+ "CreateWebAuthnCredentialSchema": {
+ "type": "object",
+ "properties": {
+ "credential": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "ticket": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "credential",
+ "name",
+ "ticket"
+ ]
+ },
+ "APIErrorResponse": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "integer"
+ },
+ "message": {
+ "type": "string"
+ },
+ "errors": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "object",
+ "properties": {
+ "_errors": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "message": {
+ "type": "string"
+ },
+ "code": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "message"
+ ]
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "_errors"
+ ]
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "errors",
+ "message"
+ ]
+ },
+ "CaptchaRequiredResponse": {
+ "type": "object",
+ "properties": {
+ "captcha_key": {
+ "type": "string"
+ },
+ "captcha_sitekey": {
+ "type": "string"
+ },
+ "captcha_service": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "captcha_key",
+ "captcha_service",
+ "captcha_sitekey"
+ ]
+ },
+ "Guild": {
+ "type": "object",
+ "properties": {
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "afk_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "description": {
+ "type": "string"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean",
+ "default": false
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "members": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Member"
+ }
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "template": {
+ "$ref": "#/definitions/Template"
+ },
+ "emojis": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Emoji"
+ }
+ },
+ "stickers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Sticker"
+ }
+ },
+ "invites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Invite"
+ }
+ },
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
+ },
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "owner": {
+ "$ref": "#/definitions/User"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "public_updates_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "rules_channel": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "splash": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "system_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "unavailable": {
+ "type": "boolean",
+ "default": false
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "widget_enabled": {
+ "type": "boolean",
+ "default": true
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean",
+ "default": false
+ },
+ "parent": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "integer"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "channel_ordering": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "bans",
+ "channel_ordering",
+ "channels",
+ "emojis",
+ "features",
+ "id",
+ "invites",
+ "members",
+ "name",
+ "nsfw",
+ "premium_progress_bar_enabled",
+ "public_updates_channel_id",
+ "roles",
+ "stickers",
+ "template",
+ "unavailable",
+ "voice_states",
+ "webhooks",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
+ "Channel": {
+ "type": "object",
+ "properties": {
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "name": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "type": {
+ "$ref": "#/definitions/ChannelType"
+ },
+ "recipients": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Recipient"
+ }
+ },
+ "last_message_id": {
+ "type": "string"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "parent_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "parent": {
+ "$ref": "#/definitions/Channel"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "owner": {
+ "$ref": "#/definitions/User"
+ },
+ "last_pin_timestamp": {
+ "type": "integer"
+ },
+ "default_auto_archive_duration": {
+ "type": "integer"
+ },
+ "permission_overwrites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ChannelPermissionOverwrite"
+ }
+ },
+ "video_quality_mode": {
+ "type": "integer"
+ },
+ "bitrate": {
+ "type": "integer"
+ },
+ "user_limit": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean",
+ "default": false
+ },
+ "rate_limit_per_user": {
+ "type": "integer"
+ },
+ "topic": {
+ "type": "string"
+ },
+ "invites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Invite"
+ }
+ },
+ "retention_policy_id": {
+ "type": "string"
+ },
+ "messages": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Message"
+ }
+ },
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
+ },
+ "read_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ReadState"
+ }
+ },
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
+ },
+ "flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "default_thread_rate_limit_per_user": {
+ "type": "integer",
+ "default": 0
+ },
+ "position": {
+ "description": "Must be calculated Channel.calculatePosition",
+ "type": "integer"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "created_at",
+ "default_thread_rate_limit_per_user",
+ "flags",
+ "id",
+ "nsfw",
+ "owner",
+ "parent_id",
+ "position",
+ "type"
+ ]
+ },
+ "ChannelType": {
+ "enum": [
+ 0,
+ 1,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 2,
+ 255,
+ 3,
+ 33,
+ 34,
+ 35,
+ 4,
+ 5,
+ 6,
+ 64,
+ 7,
+ 8,
+ 9
+ ],
+ "type": "number"
+ },
+ "Recipient": {
+ "type": "object",
+ "properties": {
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "closed": {
+ "type": "boolean"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "channel_id",
+ "closed",
+ "id",
+ "user",
+ "user_id"
+ ]
+ },
+ "User": {
+ "type": "object",
+ "properties": {
+ "username": {
+ "type": "string"
+ },
+ "discriminator": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "accent_color": {
+ "type": "integer"
+ },
+ "banner": {
+ "type": "string"
+ },
+ "theme_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "pronouns": {
+ "type": "string"
+ },
+ "phone": {
+ "type": "string"
+ },
+ "desktop": {
+ "type": "boolean",
+ "default": false
+ },
+ "mobile": {
+ "type": "boolean",
+ "default": false
+ },
+ "premium": {
+ "type": "boolean"
+ },
+ "premium_type": {
+ "type": "integer"
+ },
+ "bot": {
+ "type": "boolean",
+ "default": false
+ },
+ "bio": {
+ "type": "string",
+ "default": ""
+ },
+ "system": {
+ "type": "boolean",
+ "default": false
+ },
+ "nsfw_allowed": {
+ "type": "boolean",
+ "default": true
+ },
+ "mfa_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "webauthn_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "totp_secret": {
+ "type": "string",
+ "default": ""
+ },
+ "totp_last_ticket": {
+ "type": "string",
+ "default": ""
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "premium_since": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "verified": {
+ "type": "boolean"
+ },
+ "disabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "deleted": {
+ "type": "boolean",
+ "default": false
+ },
+ "email": {
+ "type": "string"
+ },
+ "flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "public_flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "purchased_flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "premium_usage_flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "rights": {
+ "type": "string"
+ },
+ "sessions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Session"
+ }
+ },
+ "relationships": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Relationship"
+ }
+ },
+ "connected_accounts": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ConnectedAccount"
+ }
+ },
+ "data": {
+ "type": "object",
+ "properties": {
+ "valid_tokens_since": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "hash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "valid_tokens_since"
+ ]
+ },
+ "fingerprints": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "settings": {
+ "$ref": "#/definitions/UserSettings"
+ },
+ "extended_settings": {
+ "type": "string",
+ "default": "{}"
+ },
+ "security_keys": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SecurityKey"
+ }
+ },
+ "badge_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "bio",
+ "bot",
+ "connected_accounts",
+ "created_at",
+ "data",
+ "deleted",
+ "desktop",
+ "disabled",
+ "discriminator",
+ "extended_settings",
+ "fingerprints",
+ "flags",
+ "id",
+ "mfa_enabled",
+ "mobile",
+ "nsfw_allowed",
+ "premium",
+ "premium_since",
+ "premium_type",
+ "premium_usage_flags",
+ "public_flags",
+ "purchased_flags",
+ "relationships",
+ "rights",
+ "security_keys",
+ "sessions",
+ "settings",
+ "system",
+ "username",
+ "verified",
+ "webauthn_enabled"
+ ]
+ },
+ "Session": {
+ "type": "object",
+ "properties": {
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "session_id": {
+ "type": "string"
+ },
+ "activities": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Activity"
+ }
+ },
+ "client_info": {
+ "type": "object",
+ "properties": {
+ "client": {
+ "type": "string"
+ },
+ "os": {
+ "type": "string"
+ },
+ "version": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "client",
+ "os",
+ "version"
+ ]
+ },
+ "client_status": {
+ "$ref": "#/definitions/ClientStatus"
+ },
+ "status": {
+ "$ref": "#/definitions/Status"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "activities",
+ "client_info",
+ "client_status",
+ "id",
+ "session_id",
+ "status",
+ "user",
+ "user_id"
+ ]
+ },
+ "ClientStatus": {
+ "type": "object",
+ "properties": {
+ "desktop": {
+ "type": "string"
+ },
+ "mobile": {
+ "type": "string"
+ },
+ "web": {
+ "type": "string"
+ },
+ "embedded": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "Relationship": {
+ "type": "object",
+ "properties": {
+ "from_id": {
+ "type": "string"
+ },
+ "from": {
+ "$ref": "#/definitions/User"
+ },
+ "to_id": {
+ "type": "string"
+ },
+ "to": {
+ "$ref": "#/definitions/User"
+ },
+ "nickname": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/RelationshipType"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "from",
+ "from_id",
+ "id",
+ "to",
+ "to_id",
+ "type"
+ ]
+ },
+ "RelationshipType": {
+ "enum": [
+ 1,
+ 2,
+ 3,
+ 4
+ ],
+ "type": "number"
+ },
+ "ConnectedAccount": {
+ "type": "object",
+ "properties": {
+ "external_id": {
+ "type": "string"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "friend_sync": {
+ "type": "boolean",
+ "default": false
+ },
+ "name": {
+ "type": "string"
+ },
+ "revoked": {
+ "type": "boolean",
+ "default": false
+ },
+ "show_activity": {
+ "type": "integer",
+ "default": 0
+ },
+ "type": {
+ "type": "string"
+ },
+ "verified": {
+ "type": "boolean",
+ "default": true
+ },
+ "visibility": {
+ "type": "integer",
+ "default": 0
+ },
+ "integrations": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "metadata_": {},
+ "metadata_visibility": {
+ "type": "integer",
+ "default": 0
+ },
+ "two_way_link": {
+ "type": "boolean",
+ "default": false
+ },
+ "token_data": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/ConnectedAccountTokenData"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "external_id",
+ "id",
+ "name",
+ "type",
+ "user",
+ "user_id"
+ ]
+ },
+ "UserSettings": {
+ "type": "object",
+ "properties": {
+ "index": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer",
+ "default": 3600
+ },
+ "allow_accessibility_detection": {
+ "type": "boolean",
+ "default": true
+ },
+ "animate_emoji": {
+ "type": "boolean",
+ "default": true
+ },
+ "animate_stickers": {
+ "type": "integer",
+ "default": 0
+ },
+ "contact_sync_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "convert_emoticons": {
+ "type": "boolean",
+ "default": false
+ },
+ "custom_status": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/CustomStatus"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "default_guilds_restricted": {
+ "type": "boolean",
+ "default": false
+ },
+ "detect_platform_accounts": {
+ "type": "boolean",
+ "default": false
+ },
+ "developer_mode": {
+ "type": "boolean",
+ "default": true
+ },
+ "disable_games_tab": {
+ "type": "boolean",
+ "default": true
+ },
+ "enable_tts_command": {
+ "type": "boolean",
+ "default": false
+ },
+ "explicit_content_filter": {
+ "type": "integer",
+ "default": 0
+ },
+ "friend_discovery_flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "friend_source_flags": {
+ "$ref": "#/definitions/FriendSourceFlags"
+ },
+ "gateway_connected": {
+ "type": "boolean",
+ "default": false
+ },
+ "gif_auto_play": {
+ "type": "boolean",
+ "default": false
+ },
+ "guild_folders": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/GuildFolder"
+ },
+ "default": []
+ },
+ "guild_positions": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "inline_attachment_media": {
+ "type": "boolean",
+ "default": true
+ },
+ "inline_embed_media": {
+ "type": "boolean",
+ "default": true
+ },
+ "locale": {
+ "type": "string",
+ "default": "en-US"
+ },
+ "message_display_compact": {
+ "type": "boolean",
+ "default": false
+ },
+ "native_phone_integration_enabled": {
+ "type": "boolean",
+ "default": true
+ },
+ "render_embeds": {
+ "type": "boolean",
+ "default": true
+ },
+ "render_reactions": {
+ "type": "boolean",
+ "default": true
+ },
+ "restricted_guilds": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "show_current_game": {
+ "type": "boolean",
+ "default": true
+ },
+ "status": {
+ "enum": [
+ "dnd",
+ "idle",
+ "invisible",
+ "offline",
+ "online"
+ ],
+ "type": "string",
+ "default": "online"
+ },
+ "stream_notifications_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "theme": {
+ "enum": [
+ "dark",
+ "light"
+ ],
+ "type": "string",
+ "default": "dark"
+ },
+ "timezone_offset": {
+ "type": "integer",
+ "default": 0
+ },
+ "view_nsfw_guilds": {
+ "type": "boolean",
+ "default": true
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "afk_timeout",
+ "allow_accessibility_detection",
+ "animate_emoji",
+ "animate_stickers",
+ "contact_sync_enabled",
+ "convert_emoticons",
+ "custom_status",
+ "default_guilds_restricted",
+ "detect_platform_accounts",
+ "developer_mode",
+ "disable_games_tab",
+ "enable_tts_command",
+ "explicit_content_filter",
+ "friend_discovery_flags",
+ "friend_source_flags",
+ "gateway_connected",
+ "gif_auto_play",
+ "guild_folders",
+ "guild_positions",
+ "index",
+ "inline_attachment_media",
+ "inline_embed_media",
+ "locale",
+ "message_display_compact",
+ "native_phone_integration_enabled",
+ "render_embeds",
+ "render_reactions",
+ "restricted_guilds",
+ "show_current_game",
+ "status",
+ "stream_notifications_enabled",
+ "theme",
+ "timezone_offset",
+ "view_nsfw_guilds"
+ ]
+ },
+ "SecurityKey": {
+ "type": "object",
+ "properties": {
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "key_id": {
+ "type": "string"
+ },
+ "public_key": {
+ "type": "string"
+ },
+ "counter": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "counter",
+ "id",
+ "key_id",
+ "name",
+ "public_key",
+ "user",
+ "user_id"
+ ]
+ },
+ "ChannelPermissionOverwrite": {
+ "type": "object",
+ "properties": {
+ "allow": {
+ "type": "string"
+ },
+ "deny": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/ChannelPermissionOverwriteType"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "allow",
+ "deny",
+ "id",
+ "type"
+ ]
+ },
+ "Invite": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "temporary": {
+ "type": "boolean"
+ },
+ "uses": {
+ "type": "integer"
+ },
+ "max_uses": {
+ "type": "integer"
+ },
+ "max_age": {
+ "type": "integer"
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "expires_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "inviter_id": {
+ "type": "string"
+ },
+ "inviter": {
+ "$ref": "#/definitions/User"
+ },
+ "target_user_id": {
+ "type": "string"
+ },
+ "target_user": {
+ "type": "string"
+ },
+ "target_user_type": {
+ "type": "integer"
+ },
+ "vanity_url": {
+ "type": "boolean"
+ },
+ "flags": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "channel_id",
+ "code",
+ "created_at",
+ "flags",
+ "guild",
+ "guild_id",
+ "inviter",
+ "max_age",
+ "max_uses",
+ "target_user_id",
+ "temporary",
+ "uses"
+ ]
+ },
+ "Message": {
+ "type": "object",
+ "properties": {
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "author_id": {
+ "type": "string"
+ },
+ "author": {
+ "$ref": "#/definitions/User"
+ },
+ "member_id": {
+ "type": "string"
+ },
+ "member": {
+ "$ref": "#/definitions/Member"
+ },
+ "webhook_id": {
+ "type": "string"
+ },
+ "webhook": {
+ "$ref": "#/definitions/Webhook"
+ },
+ "application_id": {
+ "type": "string"
+ },
+ "application": {
+ "$ref": "#/definitions/Application"
+ },
+ "content": {
+ "type": "string"
+ },
+ "timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "edited_timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "tts": {
+ "type": "boolean"
+ },
+ "mention_everyone": {
+ "type": "boolean"
+ },
+ "mentions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/User"
+ }
+ },
+ "mention_roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "mention_channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "sticker_items": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Sticker"
+ }
+ },
+ "attachments": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Attachment"
+ }
+ },
+ "embeds": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Embed"
+ }
+ },
+ "reactions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Reaction"
+ }
+ },
+ "nonce": {
+ "type": "string"
+ },
+ "pinned": {
+ "type": "boolean"
+ },
+ "type": {
+ "$ref": "#/definitions/MessageType"
+ },
+ "activity": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "integer"
+ },
+ "party_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "party_id",
+ "type"
+ ]
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "message_reference": {
+ "type": "object",
+ "properties": {
+ "message_id": {
+ "type": "string"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "guild_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "message_id"
+ ]
+ },
+ "referenced_message": {
+ "$ref": "#/definitions/Message"
+ },
+ "interaction": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/InteractionType"
+ },
+ "name": {
+ "type": "string"
+ },
+ "user_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "type",
+ "user_id"
+ ]
+ },
+ "components": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ActionRowComponent"
+ }
+ },
+ "poll": {
+ "$ref": "#/definitions/Poll"
+ },
+ "username": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "embeds",
+ "flags",
+ "id",
+ "mention_channels",
+ "mention_roles",
+ "mentions",
+ "reactions",
+ "timestamp",
+ "type"
+ ]
+ },
+ "Member": {
+ "type": "object",
+ "properties": {
+ "index": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "nick": {
+ "type": "string"
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "joined_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "premium_since": {
+ "type": "integer"
+ },
+ "deaf": {
+ "type": "boolean"
+ },
+ "mute": {
+ "type": "boolean"
+ },
+ "pending": {
+ "type": "boolean"
+ },
+ "settings": {
+ "$ref": "#/definitions/UserGuildSettings"
+ },
+ "last_message_id": {
+ "type": "string"
+ },
+ "joined_by": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "banner": {
+ "type": "string"
+ },
+ "bio": {
+ "type": "string"
+ },
+ "theme_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "pronouns": {
+ "type": "string"
+ },
+ "communication_disabled_until": {
+ "type": "string",
+ "format": "date-time"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "banner",
+ "bio",
+ "communication_disabled_until",
+ "deaf",
+ "guild",
+ "guild_id",
+ "id",
+ "index",
+ "joined_at",
+ "joined_by",
+ "mute",
+ "pending",
+ "roles",
+ "settings",
+ "user"
+ ]
+ },
+ "Role": {
+ "type": "object",
+ "properties": {
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "color": {
+ "type": "integer"
+ },
+ "hoist": {
+ "type": "boolean"
+ },
+ "managed": {
+ "type": "boolean"
+ },
+ "mentionable": {
+ "type": "boolean"
+ },
+ "name": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "string"
+ },
+ "position": {
+ "type": "integer"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "unicode_emoji": {
+ "type": "string"
+ },
+ "tags": {
+ "type": "object",
+ "properties": {
+ "bot_id": {
+ "type": "string"
+ },
+ "integration_id": {
+ "type": "string"
+ },
+ "premium_subscriber": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "color",
+ "flags",
+ "guild",
+ "guild_id",
+ "hoist",
+ "id",
+ "managed",
+ "mentionable",
+ "name",
+ "permissions",
+ "position"
+ ]
+ },
+ "UserGuildSettings": {
+ "type": "object",
+ "properties": {
+ "channel_overrides": {
+ "anyOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "$ref": "#/definitions/ChannelOverride"
+ }
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "message_notifications": {
+ "type": "integer"
+ },
+ "mobile_push": {
+ "type": "boolean"
+ },
+ "mute_config": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/MuteConfig"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "muted": {
+ "type": "boolean"
+ },
+ "suppress_everyone": {
+ "type": "boolean"
+ },
+ "suppress_roles": {
+ "type": "boolean"
+ },
+ "version": {
+ "type": "integer"
+ },
+ "guild_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "mute_scheduled_events": {
+ "type": "boolean"
+ },
+ "hide_muted_channels": {
+ "type": "boolean"
+ },
+ "notify_highlights": {
+ "type": "number",
+ "enum": [
+ 0
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel_overrides",
+ "flags",
+ "guild_id",
+ "hide_muted_channels",
+ "message_notifications",
+ "mobile_push",
+ "mute_config",
+ "mute_scheduled_events",
+ "muted",
+ "notify_highlights",
+ "suppress_everyone",
+ "suppress_roles",
+ "version"
+ ]
+ },
+ "Webhook": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/WebhookType"
+ },
+ "name": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "token": {
+ "type": "string"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "application_id": {
+ "type": "string"
+ },
+ "application": {
+ "$ref": "#/definitions/Application"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "source_guild_id": {
+ "type": "string"
+ },
+ "source_guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "source_channel_id": {
+ "type": "string"
+ },
+ "source_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "url": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "application",
+ "application_id",
+ "avatar",
+ "channel",
+ "channel_id",
+ "id",
+ "name",
+ "source_channel",
+ "source_channel_id",
+ "type",
+ "url",
+ "user",
+ "user_id"
+ ]
+ },
+ "WebhookType": {
+ "enum": [
+ 1,
+ 2,
+ 3
+ ],
+ "type": "number"
+ },
+ "Application": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "summary": {
+ "type": "string",
+ "default": ""
+ },
+ "type": {
+ "type": "object",
+ "properties": {},
+ "additionalProperties": true
+ },
+ "hook": {
+ "type": "boolean",
+ "default": true
+ },
+ "bot_public": {
+ "type": "boolean",
+ "default": true
+ },
+ "bot_require_code_grant": {
+ "type": "boolean",
+ "default": false
+ },
+ "verify_key": {
+ "type": "string"
+ },
+ "owner": {
+ "$ref": "#/definitions/User"
+ },
+ "flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "redirect_uris": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "rpc_application_state": {
+ "type": "integer",
+ "default": 0
+ },
+ "store_application_state": {
+ "type": "integer",
+ "default": 1
+ },
+ "verification_state": {
+ "type": "integer",
+ "default": 1
+ },
+ "interactions_endpoint_url": {
+ "type": "string"
+ },
+ "integration_public": {
+ "type": "boolean",
+ "default": true
+ },
+ "integration_require_code_grant": {
+ "type": "boolean",
+ "default": false
+ },
+ "discoverability_state": {
+ "type": "integer",
+ "default": 1
+ },
+ "discovery_eligibility_flags": {
+ "type": "integer",
+ "default": 2240
+ },
+ "bot": {
+ "$ref": "#/definitions/User"
+ },
+ "tags": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "cover_image": {
+ "type": "string"
+ },
+ "install_params": {
+ "type": "object",
+ "properties": {
+ "scopes": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "permissions": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "permissions",
+ "scopes"
+ ]
+ },
+ "terms_of_service_url": {
+ "type": "string"
+ },
+ "privacy_policy_url": {
+ "type": "string"
+ },
+ "team": {
+ "$ref": "#/definitions/Team"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "description",
+ "discoverability_state",
+ "discovery_eligibility_flags",
+ "flags",
+ "hook",
+ "id",
+ "integration_public",
+ "integration_require_code_grant",
+ "name",
+ "owner",
+ "redirect_uris",
+ "rpc_application_state",
+ "store_application_state",
+ "summary",
+ "verification_state",
+ "verify_key"
+ ]
+ },
+ "Team": {
+ "type": "object",
+ "properties": {
+ "icon": {
+ "type": "string"
+ },
+ "members": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TeamMember"
+ }
+ },
+ "name": {
+ "type": "string"
+ },
+ "owner_user_id": {
+ "type": "string"
+ },
+ "owner_user": {
+ "$ref": "#/definitions/User"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "members",
+ "name",
+ "owner_user",
+ "owner_user_id"
+ ]
+ },
+ "TeamMember": {
+ "type": "object",
+ "properties": {
+ "membership_state": {
+ "$ref": "#/definitions/TeamMemberState"
+ },
+ "permissions": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "team_id": {
+ "type": "string"
+ },
+ "team": {
+ "$ref": "#/definitions/Team"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "membership_state",
+ "permissions",
+ "team",
+ "team_id",
+ "user",
+ "user_id"
+ ]
+ },
+ "TeamMemberState": {
+ "enum": [
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "Sticker": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "available": {
+ "type": "boolean"
+ },
+ "tags": {
+ "type": "string"
+ },
+ "pack_id": {
+ "type": "string"
+ },
+ "pack": {
+ "$ref": "#/definitions/StickerPack"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "type": {
+ "$ref": "#/definitions/StickerType"
+ },
+ "format_type": {
+ "$ref": "#/definitions/StickerFormatType"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "format_type",
+ "id",
+ "name",
+ "pack",
+ "type"
+ ]
+ },
+ "StickerPack": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "banner_asset_id": {
+ "type": "string"
+ },
+ "stickers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Sticker"
+ }
+ },
+ "cover_sticker_id": {
+ "type": "string"
+ },
+ "cover_sticker": {
+ "$ref": "#/definitions/Sticker"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "stickers"
+ ]
+ },
+ "StickerType": {
+ "enum": [
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "StickerFormatType": {
+ "enum": [
+ 0,
+ 1,
+ 2,
+ 3
+ ],
+ "type": "number"
+ },
+ "Attachment": {
+ "type": "object",
+ "properties": {
+ "filename": {
+ "type": "string"
+ },
+ "size": {
+ "type": "integer"
+ },
+ "url": {
+ "type": "string"
+ },
+ "proxy_url": {
+ "type": "string"
+ },
+ "height": {
+ "type": "integer"
+ },
+ "width": {
+ "type": "integer"
+ },
+ "content_type": {
+ "type": "string"
+ },
+ "message_id": {
+ "type": "string"
+ },
+ "message": {
+ "$ref": "#/definitions/Message"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "filename",
+ "id",
+ "message",
+ "message_id",
+ "proxy_url",
+ "size",
+ "url"
+ ]
+ },
+ "Reaction": {
+ "type": "object",
+ "properties": {
+ "count": {
+ "type": "integer"
+ },
+ "emoji": {
+ "$ref": "#/definitions/PartialEmoji"
+ },
+ "user_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "count",
+ "emoji",
+ "user_ids"
+ ]
+ },
+ "MessageType": {
+ "enum": [
+ 0,
+ 1,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 16,
+ 19,
+ 2,
+ 20,
+ 255,
+ 3,
+ 4,
+ 41,
+ 42,
+ 43,
+ 5,
+ 50,
+ 6,
+ 63,
+ 7,
+ 8,
+ 9
+ ],
+ "type": "number"
+ },
+ "InteractionType": {
+ "enum": [
+ 0,
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "Poll": {
+ "type": "object",
+ "properties": {
+ "question": {
+ "$ref": "#/definitions/PollMedia"
+ },
+ "answers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PollAnswer"
+ }
+ },
+ "expiry": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "allow_multiselect": {
+ "type": "boolean"
+ },
+ "results": {
+ "$ref": "#/definitions/PollResult"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "allow_multiselect",
+ "answers",
+ "expiry",
+ "question"
+ ]
+ },
+ "PollResult": {
+ "type": "object",
+ "properties": {
+ "is_finalized": {
+ "type": "boolean"
+ },
+ "answer_counts": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PollAnswerCount"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "answer_counts",
+ "is_finalized"
+ ]
+ },
+ "PollAnswerCount": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "count": {
+ "type": "integer"
+ },
+ "me_voted": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "count",
+ "id",
+ "me_voted"
+ ]
+ },
+ "VoiceState": {
+ "type": "object",
+ "properties": {
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "member": {
+ "$ref": "#/definitions/Member"
+ },
+ "session_id": {
+ "type": "string"
+ },
+ "token": {
+ "type": "string"
+ },
+ "deaf": {
+ "type": "boolean"
+ },
+ "mute": {
+ "type": "boolean"
+ },
+ "self_deaf": {
+ "type": "boolean"
+ },
+ "self_mute": {
+ "type": "boolean"
+ },
+ "self_stream": {
+ "type": "boolean"
+ },
+ "self_video": {
+ "type": "boolean"
+ },
+ "suppress": {
+ "type": "boolean"
+ },
+ "request_to_speak_timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "channel_id",
+ "deaf",
+ "guild_id",
+ "id",
+ "member",
+ "mute",
+ "self_deaf",
+ "self_mute",
+ "self_video",
+ "session_id",
+ "suppress",
+ "token",
+ "user",
+ "user_id"
+ ]
+ },
+ "ReadState": {
+ "type": "object",
+ "properties": {
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "last_message_id": {
+ "type": "string"
+ },
+ "public_ack": {
+ "type": "string"
+ },
+ "notifications_cursor": {
+ "type": "string"
+ },
+ "last_pin_timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "mention_count": {
+ "type": "integer"
+ },
+ "manual": {
+ "type": "boolean"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "channel_id",
+ "id",
+ "last_message_id",
+ "manual",
+ "mention_count",
+ "notifications_cursor",
+ "public_ack",
+ "user",
+ "user_id"
+ ]
+ },
+ "Ban": {
+ "type": "object",
+ "properties": {
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "executor_id": {
+ "type": "string"
+ },
+ "executor": {
+ "$ref": "#/definitions/User"
+ },
+ "ip": {
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "executor",
+ "executor_id",
+ "guild",
+ "guild_id",
+ "id",
+ "ip",
+ "user",
+ "user_id"
+ ]
+ },
+ "Template": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "usage_count": {
+ "type": "integer"
+ },
+ "creator_id": {
+ "type": "string"
+ },
+ "creator": {
+ "$ref": "#/definitions/User"
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "source_guild_id": {
+ "type": "string"
+ },
+ "source_guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "serialized_source_guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "created_at",
+ "creator",
+ "creator_id",
+ "id",
+ "name",
+ "serialized_source_guild",
+ "source_guild",
+ "source_guild_id",
+ "updated_at"
+ ]
+ },
+ "Emoji": {
+ "type": "object",
+ "properties": {
+ "animated": {
+ "type": "boolean"
+ },
+ "available": {
+ "type": "boolean"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "managed": {
+ "type": "boolean"
+ },
+ "name": {
+ "type": "string"
+ },
+ "require_colons": {
+ "type": "boolean"
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "groups": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "animated",
+ "available",
+ "groups",
+ "guild",
+ "guild_id",
+ "id",
+ "managed",
+ "name",
+ "require_colons",
+ "roles",
+ "user",
+ "user_id"
+ ]
+ },
+ "GuildWelcomeScreen": {
+ "type": "object",
+ "properties": {
+ "enabled": {
+ "type": "boolean"
+ },
+ "description": {
+ "type": "string"
+ },
+ "welcome_channels": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "description": {
+ "type": "string"
+ },
+ "emoji_id": {
+ "type": "string"
+ },
+ "emoji_name": {
+ "type": "string"
+ },
+ "channel_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel_id",
+ "description"
+ ]
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "description",
+ "enabled",
+ "welcome_channels"
+ ]
+ },
+ "GuildMessagesSearchMessage": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/MessageType"
+ },
+ "content": {
+ "type": "string"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "author": {
+ "$ref": "#/definitions/PublicUser"
+ },
+ "attachments": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Attachment"
+ }
+ },
+ "embeds": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Embed"
+ }
+ },
+ "mentions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PublicUser"
+ }
+ },
+ "mention_roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "pinned": {
+ "type": "boolean"
+ },
+ "mention_everyone": {
+ "type": "boolean"
+ },
+ "tts": {
+ "type": "boolean"
+ },
+ "timestamp": {
+ "type": "string"
+ },
+ "edited_timestamp": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "components": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ActionRowComponent"
+ }
+ },
+ "poll": {
+ "$ref": "#/definitions/Poll"
+ },
+ "hit": {
+ "type": "boolean",
+ "enum": [
+ true
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "attachments",
+ "author",
+ "channel_id",
+ "components",
+ "edited_timestamp",
+ "embeds",
+ "flags",
+ "hit",
+ "id",
+ "mention_roles",
+ "mentions",
+ "pinned",
+ "poll",
+ "timestamp",
+ "tts",
+ "type"
+ ]
+ },
+ "PublicUser": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "premium_since": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "username": {
+ "type": "string"
+ },
+ "discriminator": {
+ "type": "string"
+ },
+ "public_flags": {
+ "type": "integer"
+ },
+ "accent_color": {
+ "type": "integer"
+ },
+ "banner": {
+ "type": "string"
+ },
+ "bio": {
+ "type": "string"
+ },
+ "bot": {
+ "type": "boolean"
+ },
+ "premium_type": {
+ "type": "integer"
+ },
+ "theme_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "pronouns": {
+ "type": "string"
+ },
+ "badge_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "bio",
+ "bot",
+ "discriminator",
+ "id",
+ "premium_since",
+ "premium_type",
+ "public_flags",
+ "username"
+ ]
+ },
+ "GuildVanityUrl": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "uses": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "uses"
+ ]
+ },
+ "GuildVanityUrlNoInvite": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "null"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code"
+ ]
+ },
+ "Snowflake": {
+ "description": "A container for useful snowflake-related methods.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
+ "TenorGifResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "src": {
+ "type": "string"
+ },
+ "gif_src": {
+ "type": "string"
+ },
+ "width": {
+ "type": "integer"
+ },
+ "height": {
+ "type": "integer"
+ },
+ "preview": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "gif_src",
+ "height",
+ "id",
+ "preview",
+ "src",
+ "title",
+ "url",
+ "width"
+ ]
+ },
+ "BackupCode": {
+ "type": "object",
+ "properties": {
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "code": {
+ "type": "string"
+ },
+ "consumed": {
+ "type": "boolean"
+ },
+ "expired": {
+ "type": "boolean"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "consumed",
+ "expired",
+ "id",
+ "user"
+ ]
+ },
+ "APIGuild": {
+ "type": "object",
+ "properties": {
+ "reload": {
+ "description": "Reloads entity data from the database.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "name": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "invites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Invite"
+ }
+ },
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
+ },
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
+ },
+ "toJSON": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "assign": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "hasId": {
+ "description": "Checks if entity has an id.\nIf entity composite compose ids, it will check them all.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "save": {
+ "description": "Saves current entity in the database.\nIf entity does not exist in the database then inserts, otherwise updates.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "remove": {
+ "description": "Removes current entity from the database.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "softRemove": {
+ "description": "Records the delete date of current entity.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "recover": {
+ "description": "Recovers a given entity in the database.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": "string"
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "members": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Member"
+ }
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "emojis": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Emoji"
+ }
+ },
+ "stickers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Sticker"
+ }
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "permissions": {
+ "type": "integer"
+ },
+ "channel_ordering": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "_do_validate",
+ "assign",
+ "bans",
+ "channel_ordering",
+ "channels",
+ "emojis",
+ "features",
+ "hasId",
+ "id",
+ "invites",
+ "members",
+ "name",
+ "nsfw",
+ "premium_progress_bar_enabled",
+ "public_updates_channel_id",
+ "recover",
+ "reload",
+ "remove",
+ "roles",
+ "save",
+ "softRemove",
+ "stickers",
+ "toJSON",
+ "unavailable",
+ "voice_states",
+ "webhooks",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
+ "DmChannelDTO": {
+ "type": "object",
+ "properties": {
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "id": {
+ "type": "string"
+ },
+ "last_message_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "name": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "origin_channel_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "recipients": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MinimalPublicUserDTO"
+ }
+ },
+ "type": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "icon",
+ "id",
+ "last_message_id",
+ "name",
+ "origin_channel_id",
+ "recipients",
+ "type"
+ ]
+ },
+ "MinimalPublicUserDTO": {
+ "type": "object",
+ "properties": {
+ "avatar": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "discriminator": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "public_flags": {
+ "type": "integer"
+ },
+ "username": {
+ "type": "string"
+ },
+ "badge_ids": {
+ "anyOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "discriminator",
+ "id",
+ "public_flags",
+ "username"
+ ]
+ },
+ "Categories": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "localizations": {
+ "type": "string"
+ },
+ "is_primary": {
+ "type": "boolean"
+ },
+ "icon": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "is_primary",
+ "localizations",
+ "name"
+ ]
+ },
+ "GuildVoiceRegion": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "custom": {
+ "type": "boolean"
+ },
+ "deprecated": {
+ "type": "boolean"
+ },
+ "optimal": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "custom",
+ "deprecated",
+ "id",
+ "name",
+ "optimal"
+ ]
+ },
+ "UserLimits": {
+ "type": "object",
+ "properties": {
+ "maxGuilds": {
+ "type": "integer",
+ "default": 1048576
+ },
+ "maxUsername": {
+ "type": "integer",
+ "default": 32
+ },
+ "maxFriends": {
+ "type": "integer",
+ "default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "maxBio",
+ "maxFriends",
+ "maxGuilds",
+ "maxUsername"
+ ]
+ },
+ "GuildLimits": {
+ "type": "object",
+ "properties": {
+ "maxRoles": {
+ "type": "integer",
+ "default": 1000
+ },
+ "maxEmojis": {
+ "type": "integer",
+ "default": 2000
+ },
+ "maxMembers": {
+ "type": "integer",
+ "default": 25000000
+ },
+ "maxChannels": {
+ "type": "integer",
+ "default": 65535
+ },
+ "maxBulkBanUsers": {
+ "type": "integer",
+ "default": 200
+ },
+ "maxChannelsInCategory": {
+ "type": "integer",
+ "default": 65535
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "maxBulkBanUsers",
+ "maxChannels",
+ "maxChannelsInCategory",
+ "maxEmojis",
+ "maxMembers",
+ "maxRoles"
+ ]
+ },
+ "MessageLimits": {
+ "type": "object",
+ "properties": {
+ "maxCharacters": {
+ "type": "integer",
+ "default": 1048576
+ },
+ "maxTTSCharacters": {
+ "type": "integer",
+ "default": 160
+ },
+ "maxReactions": {
+ "type": "integer",
+ "default": 2048
+ },
+ "maxAttachmentSize": {
+ "type": "integer",
+ "default": 1073741824
+ },
+ "maxBulkDelete": {
+ "type": "integer",
+ "default": 1000
+ },
+ "maxEmbedDownloadSize": {
+ "type": "integer",
+ "default": 5242880
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "maxAttachmentSize",
+ "maxBulkDelete",
+ "maxCharacters",
+ "maxEmbedDownloadSize",
+ "maxReactions",
+ "maxTTSCharacters"
+ ]
+ },
+ "ChannelLimits": {
+ "type": "object",
+ "properties": {
+ "maxPins": {
+ "type": "integer",
+ "default": 500
+ },
+ "maxTopic": {
+ "type": "integer",
+ "default": 1024
+ },
+ "maxWebhooks": {
+ "type": "integer",
+ "default": 100
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "maxPins",
+ "maxTopic",
+ "maxWebhooks"
+ ]
+ },
+ "RateLimits": {
+ "type": "object",
+ "properties": {
+ "enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "ip": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "global": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "error": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "routes": {
+ "$ref": "#/definitions/RouteRateLimit"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "enabled",
+ "error",
+ "global",
+ "ip",
+ "routes"
+ ]
+ },
+ "RateLimitOptions": {
+ "type": "object",
+ "properties": {
+ "bot": {
+ "type": "integer"
+ },
+ "count": {
+ "type": "integer"
+ },
+ "window": {
+ "type": "integer"
+ },
+ "onyIp": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "count",
+ "window"
+ ]
+ },
+ "RouteRateLimit": {
+ "type": "object",
+ "properties": {
+ "guild": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "webhook": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "channel": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "auth": {}
+ },
+ "additionalProperties": false,
+ "required": [
+ "auth",
+ "channel",
+ "guild",
+ "webhook"
+ ]
+ },
+ "GlobalRateLimits": {
+ "type": "object",
+ "properties": {
+ "register": {
+ "$ref": "#/definitions/GlobalRateLimit"
+ },
+ "sendMessage": {
+ "$ref": "#/definitions/GlobalRateLimit"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "register",
+ "sendMessage"
+ ]
+ },
+ "GlobalRateLimit": {
+ "type": "object",
+ "properties": {
+ "limit": {
+ "type": "integer",
+ "default": 100
+ },
+ "window": {
+ "type": "integer",
+ "default": 3600000
+ },
+ "enabled": {
+ "type": "boolean",
+ "default": true
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "enabled",
+ "limit",
+ "window"
+ ]
+ },
+ "PublicConnectedAccount": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "verified": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "name",
+ "type"
+ ]
+ },
+ "UserProfile": {
+ "type": "object",
+ "properties": {
+ "accent_color": {
+ "type": "integer"
+ },
+ "banner": {
+ "type": "string"
+ },
+ "bio": {
+ "type": "string"
+ },
+ "theme_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "pronouns": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "bio"
+ ]
+ },
+ "Badge": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "link": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "description",
+ "icon",
+ "id"
+ ]
+ },
+ "TokenResponse": {
+ "type": "object",
+ "properties": {
+ "token": {
+ "type": "string"
+ },
+ "settings": {
+ "$ref": "#/definitions/UserSettings"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "settings",
+ "token"
+ ]
+ },
+ "MFAResponse": {
+ "type": "object",
+ "properties": {
+ "ticket": {
+ "type": "string"
+ },
+ "mfa": {
+ "type": "boolean",
+ "enum": [
+ true
+ ]
+ },
+ "sms": {
+ "type": "boolean",
+ "enum": [
+ false
+ ]
+ },
+ "token": {
+ "type": "null"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "mfa",
+ "sms",
+ "ticket",
+ "token"
+ ]
+ },
+ "WebAuthnResponse": {
+ "type": "object",
+ "properties": {
+ "webauthn": {
+ "type": "string"
+ },
+ "ticket": {
+ "type": "string"
+ },
+ "mfa": {
+ "type": "boolean",
+ "enum": [
+ true
+ ]
+ },
+ "sms": {
+ "type": "boolean",
+ "enum": [
+ false
+ ]
+ },
+ "token": {
+ "type": "null"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "mfa",
+ "sms",
+ "ticket",
+ "token",
+ "webauthn"
+ ]
+ }
+ },
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "ApplicationModifySchema": {
+ "type": "object",
+ "properties": {
+ "description": {
+ "type": "string"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "interactions_endpoint_url": {
+ "type": "string"
+ },
+ "max_participants": {
+ "type": [
+ "null",
+ "integer"
+ ]
+ },
+ "name": {
+ "type": "string"
+ },
+ "privacy_policy_url": {
+ "type": "string"
+ },
+ "role_connections_verification_url": {
+ "type": "string"
+ },
+ "tags": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "terms_of_service_url": {
+ "type": "string"
+ },
+ "bot_public": {
+ "type": "boolean"
+ },
+ "bot_require_code_grant": {
+ "type": "boolean"
+ },
+ "flags": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
+ "ChannelPermissionOverwriteType": {
+ "enum": [
+ 0,
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "ConnectedAccountTokenData": {
+ "type": "object",
+ "properties": {
+ "access_token": {
+ "type": "string"
+ },
+ "token_type": {
+ "type": "string"
+ },
+ "scope": {
+ "type": "string"
+ },
+ "refresh_token": {
+ "type": "string"
+ },
+ "expires_in": {
+ "type": "integer"
+ },
+ "expires_at": {
+ "type": "integer"
+ },
+ "fetched_at": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "access_token",
+ "fetched_at"
+ ]
+ },
+ "ChannelModifySchema": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "maxLength": 100,
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ 0,
+ 1,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 2,
+ 255,
+ 3,
+ 33,
+ 34,
+ 35,
+ 4,
+ 5,
+ 6,
+ 64,
+ 7,
+ 8,
+ 9
+ ],
+ "type": "number"
+ },
+ "topic": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "bitrate": {
+ "type": "integer"
+ },
+ "user_limit": {
+ "type": "integer"
+ },
+ "rate_limit_per_user": {
+ "type": "integer"
+ },
+ "position": {
+ "type": "integer"
+ },
+ "permission_overwrites": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/ChannelPermissionOverwriteType"
+ },
+ "allow": {
+ "type": "string"
+ },
+ "deny": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "allow",
+ "deny",
+ "id",
+ "type"
+ ]
+ }
+ },
+ "parent_id": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "rtc_region": {
+ "type": "string"
+ },
+ "default_auto_archive_duration": {
+ "type": "integer"
+ },
+ "default_reaction_emoji": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "default_thread_rate_limit_per_user": {
+ "type": "integer"
+ },
+ "video_quality_mode": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false
+ },
+ "ActivitySchema": {
+ "type": "object",
+ "properties": {
+ "afk": {
+ "type": "boolean"
+ },
+ "status": {
+ "$ref": "#/definitions/Status"
+ },
+ "activities": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Activity"
+ }
+ },
+ "since": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "status"
+ ]
+ },
+ "Status": {
+ "enum": [
+ "dnd",
+ "idle",
+ "invisible",
+ "offline",
+ "online"
+ ],
+ "type": "string"
+ },
+ "Activity": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/ActivityType"
+ },
+ "url": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "integer"
+ },
+ "timestamps": {
+ "type": "object",
+ "properties": {
+ "start": {
+ "type": "integer"
+ },
+ "end": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "end",
+ "start"
+ ]
+ },
+ "application_id": {
+ "type": "string"
+ },
+ "details": {
+ "type": "string"
+ },
+ "state": {
+ "type": "string"
+ },
+ "emoji": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "animated": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "animated",
+ "name"
+ ]
+ },
+ "party": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "size": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ }
+ },
+ "additionalProperties": false
+ },
+ "assets": {
+ "type": "object",
+ "properties": {
+ "large_image": {
+ "type": "string"
+ },
+ "large_text": {
+ "type": "string"
+ },
+ "small_image": {
+ "type": "string"
+ },
+ "small_text": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "secrets": {
+ "type": "object",
+ "properties": {
+ "join": {
+ "type": "string"
+ },
+ "spectate": {
+ "type": "string"
+ },
+ "match": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "instance": {
+ "type": "boolean"
+ },
+ "flags": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "sync_id": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "object",
+ "properties": {
+ "context_uri": {
+ "type": "string"
+ },
+ "album_id": {
+ "type": "string"
+ },
+ "artist_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "album_id",
+ "artist_ids"
+ ]
+ },
+ "session_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "flags",
+ "name",
+ "session_id",
+ "type"
+ ]
+ },
+ "ActivityType": {
+ "enum": [
+ 0,
+ 1,
+ 2,
+ 4,
+ 5
+ ],
+ "type": "number"
+ },
+ "Embed": {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "article",
+ "gifv",
+ "image",
+ "link",
+ "rich",
+ "video"
+ ],
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "color": {
+ "type": "integer"
+ },
+ "footer": {
+ "type": "object",
+ "properties": {
+ "text": {
+ "type": "string"
+ },
+ "icon_url": {
+ "type": "string"
+ },
+ "proxy_icon_url": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "text"
+ ]
+ },
+ "image": {
+ "$ref": "#/definitions/EmbedImage"
+ },
+ "thumbnail": {
+ "$ref": "#/definitions/EmbedImage"
+ },
+ "video": {
+ "$ref": "#/definitions/EmbedImage"
+ },
+ "provider": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "author": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "icon_url": {
+ "type": "string"
+ },
+ "proxy_icon_url": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "fields": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
+ },
+ "inline": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "name",
+ "value"
+ ]
+ }
+ }
+ },
+ "additionalProperties": false
+ },
+ "EmbedImage": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string"
+ },
+ "proxy_url": {
+ "type": "string"
+ },
+ "height": {
+ "type": "integer"
+ },
+ "width": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false
+ },
+ "ActionRowComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/MessageComponentType.ActionRow"
+ },
+ "components": {
+ "type": "array",
+ "items": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/ButtonComponent"
+ },
+ {
+ "$ref": "#/definitions/SelectMenuComponent"
+ },
+ {
+ "$ref": "#/definitions/StringSelectMenuComponent"
+ },
+ {
+ "$ref": "#/definitions/TextInputComponent"
+ }
+ ]
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "components",
+ "type"
+ ]
+ },
+ "MessageComponentType.ActionRow": {
+ "type": "number",
+ "enum": [
+ 1
+ ]
+ },
+ "ButtonComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/MessageComponentType.Button"
+ },
+ "style": {
+ "$ref": "#/definitions/ButtonStyle"
+ },
+ "label": {
+ "type": "string"
+ },
+ "emoji": {
+ "$ref": "#/definitions/PartialEmoji"
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "sku_id": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "disabled": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "style",
+ "type"
+ ]
+ },
+ "MessageComponentType.Button": {
+ "type": "number",
+ "enum": [
+ 2
+ ]
+ },
+ "ButtonStyle": {
+ "enum": [
+ 1,
+ 2,
+ 3,
+ 4,
+ 5,
+ 6
+ ],
+ "type": "number"
+ },
+ "PartialEmoji": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "animated": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "name"
+ ]
+ },
+ "SelectMenuComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "enum": [
+ 3,
+ 5,
+ 6,
+ 7,
+ 8
+ ],
+ "type": "number"
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "channel_types": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "placeholder": {
+ "type": "string"
+ },
+ "default_values": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SelectMenuDefaultOption"
+ }
+ },
+ "min_values": {
+ "type": "integer"
+ },
+ "max_values": {
+ "type": "integer"
+ },
+ "disabled": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "custom_id",
+ "type"
+ ]
+ },
+ "SelectMenuDefaultOption": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "channel",
+ "role",
+ "user"
+ ],
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "type"
+ ]
+ },
+ "StringSelectMenuComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/MessageComponentType.StringSelect"
+ },
+ "options": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SelectMenuOption"
+ }
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "channel_types": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "placeholder": {
+ "type": "string"
+ },
+ "default_values": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SelectMenuDefaultOption"
+ }
+ },
+ "min_values": {
+ "type": "integer"
+ },
+ "max_values": {
+ "type": "integer"
+ },
+ "disabled": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "custom_id",
+ "options",
+ "type"
+ ]
+ },
+ "MessageComponentType.StringSelect": {
+ "type": "number",
+ "enum": [
+ 3
+ ]
+ },
+ "SelectMenuOption": {
+ "type": "object",
+ "properties": {
+ "label": {
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "emoji": {
+ "$ref": "#/definitions/PartialEmoji"
+ },
+ "default": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "label",
+ "value"
+ ]
+ },
+ "TextInputComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/MessageComponentType.TextInput"
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "style": {
+ "$ref": "#/definitions/TextInputStyle"
+ },
+ "label": {
+ "type": "string"
+ },
+ "min_length": {
+ "type": "integer"
+ },
+ "max_length": {
+ "type": "integer"
+ },
+ "required": {
+ "type": "boolean"
+ },
+ "value": {
+ "type": "string"
+ },
+ "placeholder": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "custom_id",
+ "label",
+ "style",
+ "type"
+ ]
+ },
+ "MessageComponentType.TextInput": {
+ "type": "number",
+ "enum": [
+ 4
+ ]
+ },
+ "TextInputStyle": {
+ "enum": [
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "PollCreationSchema": {
+ "type": "object",
+ "properties": {
+ "question": {
+ "$ref": "#/definitions/PollMedia"
+ },
+ "answers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PollAnswer"
+ }
+ },
+ "duration": {
+ "type": "integer"
+ },
+ "allow_multiselect": {
+ "type": "boolean"
+ },
+ "layout_type": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "answers",
+ "question"
+ ]
+ },
+ "PollMedia": {
+ "type": "object",
+ "properties": {
+ "text": {
+ "type": "string"
+ },
+ "emoji": {
+ "$ref": "#/definitions/PartialEmoji"
+ }
+ },
+ "additionalProperties": false
+ },
+ "PollAnswer": {
+ "type": "object",
+ "properties": {
+ "answer_id": {
+ "type": "string"
+ },
+ "poll_media": {
+ "$ref": "#/definitions/PollMedia"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "poll_media"
+ ]
+ },
+ "ChannelOverride": {
+ "type": "object",
+ "properties": {
+ "message_notifications": {
+ "type": "integer"
+ },
+ "mute_config": {
+ "$ref": "#/definitions/MuteConfig"
+ },
+ "muted": {
+ "type": "boolean"
+ },
+ "channel_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel_id",
+ "message_notifications",
+ "mute_config",
+ "muted"
+ ]
+ },
+ "MuteConfig": {
+ "type": "object",
+ "properties": {
+ "end_time": {
+ "type": "integer"
+ },
+ "selected_time_window": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "end_time",
+ "selected_time_window"
+ ]
+ },
+ "CustomStatus": {
+ "type": "object",
+ "properties": {
+ "emoji_id": {
+ "type": "string"
+ },
+ "emoji_name": {
+ "type": "string"
+ },
+ "expires_at": {
+ "type": "integer"
+ },
+ "text": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "FriendSourceFlags": {
+ "type": "object",
+ "properties": {
+ "all": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "all"
+ ]
+ },
+ "GuildFolder": {
+ "type": "object",
+ "properties": {
+ "color": {
+ "type": "integer"
+ },
+ "guild_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "id": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "color",
+ "guild_ids",
+ "id",
+ "name"
+ ]
+ },
+ "GenerateWebAuthnCredentialsSchema": {
+ "type": "object",
+ "properties": {
+ "password": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "password"
+ ]
+ },
+ "CreateWebAuthnCredentialSchema": {
+ "type": "object",
+ "properties": {
+ "credential": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "ticket": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "credential",
+ "name",
+ "ticket"
+ ]
+ },
+ "APIErrorResponse": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "integer"
+ },
+ "message": {
+ "type": "string"
+ },
+ "errors": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "object",
+ "properties": {
+ "_errors": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "message": {
+ "type": "string"
+ },
+ "code": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "message"
+ ]
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "_errors"
+ ]
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "errors",
+ "message"
+ ]
+ },
+ "CaptchaRequiredResponse": {
+ "type": "object",
+ "properties": {
+ "captcha_key": {
+ "type": "string"
+ },
+ "captcha_sitekey": {
+ "type": "string"
+ },
+ "captcha_service": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "captcha_key",
+ "captcha_service",
+ "captcha_sitekey"
+ ]
+ },
+ "Guild": {
+ "type": "object",
+ "properties": {
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "afk_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "description": {
+ "type": "string"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean",
+ "default": false
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "members": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Member"
+ }
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "template": {
+ "$ref": "#/definitions/Template"
+ },
+ "emojis": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Emoji"
+ }
+ },
+ "stickers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Sticker"
+ }
+ },
+ "invites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Invite"
+ }
+ },
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
+ },
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "owner": {
+ "$ref": "#/definitions/User"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "public_updates_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "rules_channel": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "splash": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "system_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "unavailable": {
+ "type": "boolean",
+ "default": false
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "widget_enabled": {
+ "type": "boolean",
+ "default": true
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean",
+ "default": false
+ },
+ "parent": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "integer"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "channel_ordering": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "bans",
+ "channel_ordering",
+ "channels",
+ "emojis",
+ "features",
+ "id",
+ "invites",
+ "members",
+ "name",
+ "nsfw",
+ "premium_progress_bar_enabled",
+ "public_updates_channel_id",
+ "roles",
+ "stickers",
+ "template",
+ "unavailable",
+ "voice_states",
+ "webhooks",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
+ "Channel": {
+ "type": "object",
+ "properties": {
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "name": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "type": {
+ "$ref": "#/definitions/ChannelType"
+ },
+ "recipients": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Recipient"
+ }
+ },
+ "last_message_id": {
+ "type": "string"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "parent_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "parent": {
+ "$ref": "#/definitions/Channel"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "owner": {
+ "$ref": "#/definitions/User"
+ },
+ "last_pin_timestamp": {
+ "type": "integer"
+ },
+ "default_auto_archive_duration": {
+ "type": "integer"
+ },
+ "permission_overwrites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ChannelPermissionOverwrite"
+ }
+ },
+ "video_quality_mode": {
+ "type": "integer"
+ },
+ "bitrate": {
+ "type": "integer"
+ },
+ "user_limit": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean",
+ "default": false
+ },
+ "rate_limit_per_user": {
+ "type": "integer"
+ },
+ "topic": {
+ "type": "string"
+ },
+ "invites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Invite"
+ }
+ },
+ "retention_policy_id": {
+ "type": "string"
+ },
+ "messages": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Message"
+ }
+ },
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
+ },
+ "read_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ReadState"
+ }
+ },
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
+ },
+ "flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "default_thread_rate_limit_per_user": {
+ "type": "integer",
+ "default": 0
+ },
+ "position": {
+ "description": "Must be calculated Channel.calculatePosition",
+ "type": "integer"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "created_at",
+ "default_thread_rate_limit_per_user",
+ "flags",
+ "id",
+ "nsfw",
+ "owner",
+ "parent_id",
+ "position",
+ "type"
+ ]
+ },
+ "ChannelType": {
+ "enum": [
+ 0,
+ 1,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 2,
+ 255,
+ 3,
+ 33,
+ 34,
+ 35,
+ 4,
+ 5,
+ 6,
+ 64,
+ 7,
+ 8,
+ 9
+ ],
+ "type": "number"
+ },
+ "Recipient": {
+ "type": "object",
+ "properties": {
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "closed": {
+ "type": "boolean"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "channel_id",
+ "closed",
+ "id",
+ "user",
+ "user_id"
+ ]
+ },
+ "User": {
+ "type": "object",
+ "properties": {
+ "username": {
+ "type": "string"
+ },
+ "discriminator": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "accent_color": {
+ "type": "integer"
+ },
+ "banner": {
+ "type": "string"
+ },
+ "theme_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "pronouns": {
+ "type": "string"
+ },
+ "phone": {
+ "type": "string"
+ },
+ "desktop": {
+ "type": "boolean",
+ "default": false
+ },
+ "mobile": {
+ "type": "boolean",
+ "default": false
+ },
+ "premium": {
+ "type": "boolean"
+ },
+ "premium_type": {
+ "type": "integer"
+ },
+ "bot": {
+ "type": "boolean",
+ "default": false
+ },
+ "bio": {
+ "type": "string",
+ "default": ""
+ },
+ "system": {
+ "type": "boolean",
+ "default": false
+ },
+ "nsfw_allowed": {
+ "type": "boolean",
+ "default": true
+ },
+ "mfa_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "webauthn_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "totp_secret": {
+ "type": "string",
+ "default": ""
+ },
+ "totp_last_ticket": {
+ "type": "string",
+ "default": ""
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "premium_since": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "verified": {
+ "type": "boolean"
+ },
+ "disabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "deleted": {
+ "type": "boolean",
+ "default": false
+ },
+ "email": {
+ "type": "string"
+ },
+ "flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "public_flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "purchased_flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "premium_usage_flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "rights": {
+ "type": "string"
+ },
+ "sessions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Session"
+ }
+ },
+ "relationships": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Relationship"
+ }
+ },
+ "connected_accounts": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ConnectedAccount"
+ }
+ },
+ "data": {
+ "type": "object",
+ "properties": {
+ "valid_tokens_since": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "hash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "valid_tokens_since"
+ ]
+ },
+ "fingerprints": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "settings": {
+ "$ref": "#/definitions/UserSettings"
+ },
+ "extended_settings": {
+ "type": "string",
+ "default": "{}"
+ },
+ "security_keys": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SecurityKey"
+ }
+ },
+ "badge_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "bio",
+ "bot",
+ "connected_accounts",
+ "created_at",
+ "data",
+ "deleted",
+ "desktop",
+ "disabled",
+ "discriminator",
+ "extended_settings",
+ "fingerprints",
+ "flags",
+ "id",
+ "mfa_enabled",
+ "mobile",
+ "nsfw_allowed",
+ "premium",
+ "premium_since",
+ "premium_type",
+ "premium_usage_flags",
+ "public_flags",
+ "purchased_flags",
+ "relationships",
+ "rights",
+ "security_keys",
+ "sessions",
+ "settings",
+ "system",
+ "username",
+ "verified",
+ "webauthn_enabled"
+ ]
+ },
+ "Session": {
+ "type": "object",
+ "properties": {
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "session_id": {
+ "type": "string"
+ },
+ "activities": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Activity"
+ }
+ },
+ "client_info": {
+ "type": "object",
+ "properties": {
+ "client": {
+ "type": "string"
+ },
+ "os": {
+ "type": "string"
+ },
+ "version": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "client",
+ "os",
+ "version"
+ ]
+ },
+ "client_status": {
+ "$ref": "#/definitions/ClientStatus"
+ },
+ "status": {
+ "$ref": "#/definitions/Status"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "activities",
+ "client_info",
+ "client_status",
+ "id",
+ "session_id",
+ "status",
+ "user",
+ "user_id"
+ ]
+ },
+ "ClientStatus": {
+ "type": "object",
+ "properties": {
+ "desktop": {
+ "type": "string"
+ },
+ "mobile": {
+ "type": "string"
+ },
+ "web": {
+ "type": "string"
+ },
+ "embedded": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "Relationship": {
+ "type": "object",
+ "properties": {
+ "from_id": {
+ "type": "string"
+ },
+ "from": {
+ "$ref": "#/definitions/User"
+ },
+ "to_id": {
+ "type": "string"
+ },
+ "to": {
+ "$ref": "#/definitions/User"
+ },
+ "nickname": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/RelationshipType"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "from",
+ "from_id",
+ "id",
+ "to",
+ "to_id",
+ "type"
+ ]
+ },
+ "RelationshipType": {
+ "enum": [
+ 1,
+ 2,
+ 3,
+ 4
+ ],
+ "type": "number"
+ },
+ "ConnectedAccount": {
+ "type": "object",
+ "properties": {
+ "external_id": {
+ "type": "string"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "friend_sync": {
+ "type": "boolean",
+ "default": false
+ },
+ "name": {
+ "type": "string"
+ },
+ "revoked": {
+ "type": "boolean",
+ "default": false
+ },
+ "show_activity": {
+ "type": "integer",
+ "default": 0
+ },
+ "type": {
+ "type": "string"
+ },
+ "verified": {
+ "type": "boolean",
+ "default": true
+ },
+ "visibility": {
+ "type": "integer",
+ "default": 0
+ },
+ "integrations": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "metadata_": {},
+ "metadata_visibility": {
+ "type": "integer",
+ "default": 0
+ },
+ "two_way_link": {
+ "type": "boolean",
+ "default": false
+ },
+ "token_data": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/ConnectedAccountTokenData"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "external_id",
+ "id",
+ "name",
+ "type",
+ "user",
+ "user_id"
+ ]
+ },
+ "UserSettings": {
+ "type": "object",
+ "properties": {
+ "index": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer",
+ "default": 3600
+ },
+ "allow_accessibility_detection": {
+ "type": "boolean",
+ "default": true
+ },
+ "animate_emoji": {
+ "type": "boolean",
+ "default": true
+ },
+ "animate_stickers": {
+ "type": "integer",
+ "default": 0
+ },
+ "contact_sync_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "convert_emoticons": {
+ "type": "boolean",
+ "default": false
+ },
+ "custom_status": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/CustomStatus"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "default_guilds_restricted": {
+ "type": "boolean",
+ "default": false
+ },
+ "detect_platform_accounts": {
+ "type": "boolean",
+ "default": false
+ },
+ "developer_mode": {
+ "type": "boolean",
+ "default": true
+ },
+ "disable_games_tab": {
+ "type": "boolean",
+ "default": true
+ },
+ "enable_tts_command": {
+ "type": "boolean",
+ "default": false
+ },
+ "explicit_content_filter": {
+ "type": "integer",
+ "default": 0
+ },
+ "friend_discovery_flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "friend_source_flags": {
+ "$ref": "#/definitions/FriendSourceFlags"
+ },
+ "gateway_connected": {
+ "type": "boolean",
+ "default": false
+ },
+ "gif_auto_play": {
+ "type": "boolean",
+ "default": false
+ },
+ "guild_folders": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/GuildFolder"
+ },
+ "default": []
+ },
+ "guild_positions": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "inline_attachment_media": {
+ "type": "boolean",
+ "default": true
+ },
+ "inline_embed_media": {
+ "type": "boolean",
+ "default": true
+ },
+ "locale": {
+ "type": "string",
+ "default": "en-US"
+ },
+ "message_display_compact": {
+ "type": "boolean",
+ "default": false
+ },
+ "native_phone_integration_enabled": {
+ "type": "boolean",
+ "default": true
+ },
+ "render_embeds": {
+ "type": "boolean",
+ "default": true
+ },
+ "render_reactions": {
+ "type": "boolean",
+ "default": true
+ },
+ "restricted_guilds": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "show_current_game": {
+ "type": "boolean",
+ "default": true
+ },
+ "status": {
+ "enum": [
+ "dnd",
+ "idle",
+ "invisible",
+ "offline",
+ "online"
+ ],
+ "type": "string",
+ "default": "online"
+ },
+ "stream_notifications_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "theme": {
+ "enum": [
+ "dark",
+ "light"
+ ],
+ "type": "string",
+ "default": "dark"
+ },
+ "timezone_offset": {
+ "type": "integer",
+ "default": 0
+ },
+ "view_nsfw_guilds": {
+ "type": "boolean",
+ "default": true
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "afk_timeout",
+ "allow_accessibility_detection",
+ "animate_emoji",
+ "animate_stickers",
+ "contact_sync_enabled",
+ "convert_emoticons",
+ "custom_status",
+ "default_guilds_restricted",
+ "detect_platform_accounts",
+ "developer_mode",
+ "disable_games_tab",
+ "enable_tts_command",
+ "explicit_content_filter",
+ "friend_discovery_flags",
+ "friend_source_flags",
+ "gateway_connected",
+ "gif_auto_play",
+ "guild_folders",
+ "guild_positions",
+ "index",
+ "inline_attachment_media",
+ "inline_embed_media",
+ "locale",
+ "message_display_compact",
+ "native_phone_integration_enabled",
+ "render_embeds",
+ "render_reactions",
+ "restricted_guilds",
+ "show_current_game",
+ "status",
+ "stream_notifications_enabled",
+ "theme",
+ "timezone_offset",
+ "view_nsfw_guilds"
+ ]
+ },
+ "SecurityKey": {
+ "type": "object",
+ "properties": {
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "key_id": {
+ "type": "string"
+ },
+ "public_key": {
+ "type": "string"
+ },
+ "counter": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "counter",
+ "id",
+ "key_id",
+ "name",
+ "public_key",
+ "user",
+ "user_id"
+ ]
+ },
+ "ChannelPermissionOverwrite": {
+ "type": "object",
+ "properties": {
+ "allow": {
+ "type": "string"
+ },
+ "deny": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/ChannelPermissionOverwriteType"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "allow",
+ "deny",
+ "id",
+ "type"
+ ]
+ },
+ "Invite": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "temporary": {
+ "type": "boolean"
+ },
+ "uses": {
+ "type": "integer"
+ },
+ "max_uses": {
+ "type": "integer"
+ },
+ "max_age": {
+ "type": "integer"
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "expires_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "inviter_id": {
+ "type": "string"
+ },
+ "inviter": {
+ "$ref": "#/definitions/User"
+ },
+ "target_user_id": {
+ "type": "string"
+ },
+ "target_user": {
+ "type": "string"
+ },
+ "target_user_type": {
+ "type": "integer"
+ },
+ "vanity_url": {
+ "type": "boolean"
+ },
+ "flags": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "channel_id",
+ "code",
+ "created_at",
+ "flags",
+ "guild",
+ "guild_id",
+ "inviter",
+ "max_age",
+ "max_uses",
+ "target_user_id",
+ "temporary",
+ "uses"
+ ]
+ },
+ "Message": {
+ "type": "object",
+ "properties": {
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "author_id": {
+ "type": "string"
+ },
+ "author": {
+ "$ref": "#/definitions/User"
+ },
+ "member_id": {
+ "type": "string"
+ },
+ "member": {
+ "$ref": "#/definitions/Member"
+ },
+ "webhook_id": {
+ "type": "string"
+ },
+ "webhook": {
+ "$ref": "#/definitions/Webhook"
+ },
+ "application_id": {
+ "type": "string"
+ },
+ "application": {
+ "$ref": "#/definitions/Application"
+ },
+ "content": {
+ "type": "string"
+ },
+ "timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "edited_timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "tts": {
+ "type": "boolean"
+ },
+ "mention_everyone": {
+ "type": "boolean"
+ },
+ "mentions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/User"
+ }
+ },
+ "mention_roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "mention_channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "sticker_items": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Sticker"
+ }
+ },
+ "attachments": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Attachment"
+ }
+ },
+ "embeds": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Embed"
+ }
+ },
+ "reactions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Reaction"
+ }
+ },
+ "nonce": {
+ "type": "string"
+ },
+ "pinned": {
+ "type": "boolean"
+ },
+ "type": {
+ "$ref": "#/definitions/MessageType"
+ },
+ "activity": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "integer"
+ },
+ "party_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "party_id",
+ "type"
+ ]
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "message_reference": {
+ "type": "object",
+ "properties": {
+ "message_id": {
+ "type": "string"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "guild_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "message_id"
+ ]
+ },
+ "referenced_message": {
+ "$ref": "#/definitions/Message"
+ },
+ "interaction": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/InteractionType"
+ },
+ "name": {
+ "type": "string"
+ },
+ "user_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "type",
+ "user_id"
+ ]
+ },
+ "components": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ActionRowComponent"
+ }
+ },
+ "poll": {
+ "$ref": "#/definitions/Poll"
+ },
+ "username": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "embeds",
+ "flags",
+ "id",
+ "mention_channels",
+ "mention_roles",
+ "mentions",
+ "reactions",
+ "timestamp",
+ "type"
+ ]
+ },
+ "Member": {
+ "type": "object",
+ "properties": {
+ "index": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "nick": {
+ "type": "string"
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "joined_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "premium_since": {
+ "type": "integer"
+ },
+ "deaf": {
+ "type": "boolean"
+ },
+ "mute": {
+ "type": "boolean"
+ },
+ "pending": {
+ "type": "boolean"
+ },
+ "settings": {
+ "$ref": "#/definitions/UserGuildSettings"
+ },
+ "last_message_id": {
+ "type": "string"
+ },
+ "joined_by": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "banner": {
+ "type": "string"
+ },
+ "bio": {
+ "type": "string"
+ },
+ "theme_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "pronouns": {
+ "type": "string"
+ },
+ "communication_disabled_until": {
+ "type": "string",
+ "format": "date-time"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "banner",
+ "bio",
+ "communication_disabled_until",
+ "deaf",
+ "guild",
+ "guild_id",
+ "id",
+ "index",
+ "joined_at",
+ "joined_by",
+ "mute",
+ "pending",
+ "roles",
+ "settings",
+ "user"
+ ]
+ },
+ "Role": {
+ "type": "object",
+ "properties": {
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "color": {
+ "type": "integer"
+ },
+ "hoist": {
+ "type": "boolean"
+ },
+ "managed": {
+ "type": "boolean"
+ },
+ "mentionable": {
+ "type": "boolean"
+ },
+ "name": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "string"
+ },
+ "position": {
+ "type": "integer"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "unicode_emoji": {
+ "type": "string"
+ },
+ "tags": {
+ "type": "object",
+ "properties": {
+ "bot_id": {
+ "type": "string"
+ },
+ "integration_id": {
+ "type": "string"
+ },
+ "premium_subscriber": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "color",
+ "flags",
+ "guild",
+ "guild_id",
+ "hoist",
+ "id",
+ "managed",
+ "mentionable",
+ "name",
+ "permissions",
+ "position"
+ ]
+ },
+ "UserGuildSettings": {
+ "type": "object",
+ "properties": {
+ "channel_overrides": {
+ "anyOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "$ref": "#/definitions/ChannelOverride"
+ }
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "message_notifications": {
+ "type": "integer"
+ },
+ "mobile_push": {
+ "type": "boolean"
+ },
+ "mute_config": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/MuteConfig"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "muted": {
+ "type": "boolean"
+ },
+ "suppress_everyone": {
+ "type": "boolean"
+ },
+ "suppress_roles": {
+ "type": "boolean"
+ },
+ "version": {
+ "type": "integer"
+ },
+ "guild_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "mute_scheduled_events": {
+ "type": "boolean"
+ },
+ "hide_muted_channels": {
+ "type": "boolean"
+ },
+ "notify_highlights": {
+ "type": "number",
+ "enum": [
+ 0
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel_overrides",
+ "flags",
+ "guild_id",
+ "hide_muted_channels",
+ "message_notifications",
+ "mobile_push",
+ "mute_config",
+ "mute_scheduled_events",
+ "muted",
+ "notify_highlights",
+ "suppress_everyone",
+ "suppress_roles",
+ "version"
+ ]
+ },
+ "Webhook": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/WebhookType"
+ },
+ "name": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "token": {
+ "type": "string"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "application_id": {
+ "type": "string"
+ },
+ "application": {
+ "$ref": "#/definitions/Application"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "source_guild_id": {
+ "type": "string"
+ },
+ "source_guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "source_channel_id": {
+ "type": "string"
+ },
+ "source_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "url": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "application",
+ "application_id",
+ "avatar",
+ "channel",
+ "channel_id",
+ "id",
+ "name",
+ "source_channel",
+ "source_channel_id",
+ "type",
+ "url",
+ "user",
+ "user_id"
+ ]
+ },
+ "WebhookType": {
+ "enum": [
+ 1,
+ 2,
+ 3
+ ],
+ "type": "number"
+ },
+ "Application": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "summary": {
+ "type": "string",
+ "default": ""
+ },
+ "type": {
+ "type": "object",
+ "properties": {},
+ "additionalProperties": true
+ },
+ "hook": {
+ "type": "boolean",
+ "default": true
+ },
+ "bot_public": {
+ "type": "boolean",
+ "default": true
+ },
+ "bot_require_code_grant": {
+ "type": "boolean",
+ "default": false
+ },
+ "verify_key": {
+ "type": "string"
+ },
+ "owner": {
+ "$ref": "#/definitions/User"
+ },
+ "flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "redirect_uris": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "rpc_application_state": {
+ "type": "integer",
+ "default": 0
+ },
+ "store_application_state": {
+ "type": "integer",
+ "default": 1
+ },
+ "verification_state": {
+ "type": "integer",
+ "default": 1
+ },
+ "interactions_endpoint_url": {
+ "type": "string"
+ },
+ "integration_public": {
+ "type": "boolean",
+ "default": true
+ },
+ "integration_require_code_grant": {
+ "type": "boolean",
+ "default": false
+ },
+ "discoverability_state": {
+ "type": "integer",
+ "default": 1
+ },
+ "discovery_eligibility_flags": {
+ "type": "integer",
+ "default": 2240
+ },
+ "bot": {
+ "$ref": "#/definitions/User"
+ },
+ "tags": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "cover_image": {
+ "type": "string"
+ },
+ "install_params": {
+ "type": "object",
+ "properties": {
+ "scopes": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "permissions": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "permissions",
+ "scopes"
+ ]
+ },
+ "terms_of_service_url": {
+ "type": "string"
+ },
+ "privacy_policy_url": {
+ "type": "string"
+ },
+ "team": {
+ "$ref": "#/definitions/Team"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "description",
+ "discoverability_state",
+ "discovery_eligibility_flags",
+ "flags",
+ "hook",
+ "id",
+ "integration_public",
+ "integration_require_code_grant",
+ "name",
+ "owner",
+ "redirect_uris",
+ "rpc_application_state",
+ "store_application_state",
+ "summary",
+ "verification_state",
+ "verify_key"
+ ]
+ },
+ "Team": {
+ "type": "object",
+ "properties": {
+ "icon": {
+ "type": "string"
+ },
+ "members": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TeamMember"
+ }
+ },
+ "name": {
+ "type": "string"
+ },
+ "owner_user_id": {
+ "type": "string"
+ },
+ "owner_user": {
+ "$ref": "#/definitions/User"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "members",
+ "name",
+ "owner_user",
+ "owner_user_id"
+ ]
+ },
+ "TeamMember": {
+ "type": "object",
+ "properties": {
+ "membership_state": {
+ "$ref": "#/definitions/TeamMemberState"
+ },
+ "permissions": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "team_id": {
+ "type": "string"
+ },
+ "team": {
+ "$ref": "#/definitions/Team"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "membership_state",
+ "permissions",
+ "team",
+ "team_id",
+ "user",
+ "user_id"
+ ]
+ },
+ "TeamMemberState": {
+ "enum": [
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "Sticker": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "available": {
+ "type": "boolean"
+ },
+ "tags": {
+ "type": "string"
+ },
+ "pack_id": {
+ "type": "string"
+ },
+ "pack": {
+ "$ref": "#/definitions/StickerPack"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "type": {
+ "$ref": "#/definitions/StickerType"
+ },
+ "format_type": {
+ "$ref": "#/definitions/StickerFormatType"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "format_type",
+ "id",
+ "name",
+ "pack",
+ "type"
+ ]
+ },
+ "StickerPack": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "banner_asset_id": {
+ "type": "string"
+ },
+ "stickers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Sticker"
+ }
+ },
+ "cover_sticker_id": {
+ "type": "string"
+ },
+ "cover_sticker": {
+ "$ref": "#/definitions/Sticker"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "stickers"
+ ]
+ },
+ "StickerType": {
+ "enum": [
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "StickerFormatType": {
+ "enum": [
+ 0,
+ 1,
+ 2,
+ 3
+ ],
+ "type": "number"
+ },
+ "Attachment": {
+ "type": "object",
+ "properties": {
+ "filename": {
+ "type": "string"
+ },
+ "size": {
+ "type": "integer"
+ },
+ "url": {
+ "type": "string"
+ },
+ "proxy_url": {
+ "type": "string"
+ },
+ "height": {
+ "type": "integer"
+ },
+ "width": {
+ "type": "integer"
+ },
+ "content_type": {
+ "type": "string"
+ },
+ "message_id": {
+ "type": "string"
+ },
+ "message": {
+ "$ref": "#/definitions/Message"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "filename",
+ "id",
+ "message",
+ "message_id",
+ "proxy_url",
+ "size",
+ "url"
+ ]
+ },
+ "Reaction": {
+ "type": "object",
+ "properties": {
+ "count": {
+ "type": "integer"
+ },
+ "emoji": {
+ "$ref": "#/definitions/PartialEmoji"
+ },
+ "user_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "count",
+ "emoji",
+ "user_ids"
+ ]
+ },
+ "MessageType": {
+ "enum": [
+ 0,
+ 1,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 16,
+ 19,
+ 2,
+ 20,
+ 255,
+ 3,
+ 4,
+ 41,
+ 42,
+ 43,
+ 5,
+ 50,
+ 6,
+ 63,
+ 7,
+ 8,
+ 9
+ ],
+ "type": "number"
+ },
+ "InteractionType": {
+ "enum": [
+ 0,
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "Poll": {
+ "type": "object",
+ "properties": {
+ "question": {
+ "$ref": "#/definitions/PollMedia"
+ },
+ "answers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PollAnswer"
+ }
+ },
+ "expiry": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "allow_multiselect": {
+ "type": "boolean"
+ },
+ "results": {
+ "$ref": "#/definitions/PollResult"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "allow_multiselect",
+ "answers",
+ "expiry",
+ "question"
+ ]
+ },
+ "PollResult": {
+ "type": "object",
+ "properties": {
+ "is_finalized": {
+ "type": "boolean"
+ },
+ "answer_counts": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PollAnswerCount"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "answer_counts",
+ "is_finalized"
+ ]
+ },
+ "PollAnswerCount": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "count": {
+ "type": "integer"
+ },
+ "me_voted": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "count",
+ "id",
+ "me_voted"
+ ]
+ },
+ "VoiceState": {
+ "type": "object",
+ "properties": {
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "member": {
+ "$ref": "#/definitions/Member"
+ },
+ "session_id": {
+ "type": "string"
+ },
+ "token": {
+ "type": "string"
+ },
+ "deaf": {
+ "type": "boolean"
+ },
+ "mute": {
+ "type": "boolean"
+ },
+ "self_deaf": {
+ "type": "boolean"
+ },
+ "self_mute": {
+ "type": "boolean"
+ },
+ "self_stream": {
+ "type": "boolean"
+ },
+ "self_video": {
+ "type": "boolean"
+ },
+ "suppress": {
+ "type": "boolean"
+ },
+ "request_to_speak_timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "channel_id",
+ "deaf",
+ "guild_id",
+ "id",
+ "member",
+ "mute",
+ "self_deaf",
+ "self_mute",
+ "self_video",
+ "session_id",
+ "suppress",
+ "token",
+ "user",
+ "user_id"
+ ]
+ },
+ "ReadState": {
+ "type": "object",
+ "properties": {
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "last_message_id": {
+ "type": "string"
+ },
+ "public_ack": {
+ "type": "string"
+ },
+ "notifications_cursor": {
+ "type": "string"
+ },
+ "last_pin_timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "mention_count": {
+ "type": "integer"
+ },
+ "manual": {
+ "type": "boolean"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "channel_id",
+ "id",
+ "last_message_id",
+ "manual",
+ "mention_count",
+ "notifications_cursor",
+ "public_ack",
+ "user",
+ "user_id"
+ ]
+ },
+ "Ban": {
+ "type": "object",
+ "properties": {
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "executor_id": {
+ "type": "string"
+ },
+ "executor": {
+ "$ref": "#/definitions/User"
+ },
+ "ip": {
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "executor",
+ "executor_id",
+ "guild",
+ "guild_id",
+ "id",
+ "ip",
+ "user",
+ "user_id"
+ ]
+ },
+ "Template": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "usage_count": {
+ "type": "integer"
+ },
+ "creator_id": {
+ "type": "string"
+ },
+ "creator": {
+ "$ref": "#/definitions/User"
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "source_guild_id": {
+ "type": "string"
+ },
+ "source_guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "serialized_source_guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "created_at",
+ "creator",
+ "creator_id",
+ "id",
+ "name",
+ "serialized_source_guild",
+ "source_guild",
+ "source_guild_id",
+ "updated_at"
+ ]
+ },
+ "Emoji": {
+ "type": "object",
+ "properties": {
+ "animated": {
+ "type": "boolean"
+ },
+ "available": {
+ "type": "boolean"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "managed": {
+ "type": "boolean"
+ },
+ "name": {
+ "type": "string"
+ },
+ "require_colons": {
+ "type": "boolean"
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "groups": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "animated",
+ "available",
+ "groups",
+ "guild",
+ "guild_id",
+ "id",
+ "managed",
+ "name",
+ "require_colons",
+ "roles",
+ "user",
+ "user_id"
+ ]
+ },
+ "GuildWelcomeScreen": {
+ "type": "object",
+ "properties": {
+ "enabled": {
+ "type": "boolean"
+ },
+ "description": {
+ "type": "string"
+ },
+ "welcome_channels": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "description": {
+ "type": "string"
+ },
+ "emoji_id": {
+ "type": "string"
+ },
+ "emoji_name": {
+ "type": "string"
+ },
+ "channel_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel_id",
+ "description"
+ ]
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "description",
+ "enabled",
+ "welcome_channels"
+ ]
+ },
+ "GuildMessagesSearchMessage": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/MessageType"
+ },
+ "content": {
+ "type": "string"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "author": {
+ "$ref": "#/definitions/PublicUser"
+ },
+ "attachments": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Attachment"
+ }
+ },
+ "embeds": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Embed"
+ }
+ },
+ "mentions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PublicUser"
+ }
+ },
+ "mention_roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "pinned": {
+ "type": "boolean"
+ },
+ "mention_everyone": {
+ "type": "boolean"
+ },
+ "tts": {
+ "type": "boolean"
+ },
+ "timestamp": {
+ "type": "string"
+ },
+ "edited_timestamp": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "components": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ActionRowComponent"
+ }
+ },
+ "poll": {
+ "$ref": "#/definitions/Poll"
+ },
+ "hit": {
+ "type": "boolean",
+ "enum": [
+ true
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "attachments",
+ "author",
+ "channel_id",
+ "components",
+ "edited_timestamp",
+ "embeds",
+ "flags",
+ "hit",
+ "id",
+ "mention_roles",
+ "mentions",
+ "pinned",
+ "poll",
+ "timestamp",
+ "tts",
+ "type"
+ ]
+ },
+ "PublicUser": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "premium_since": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "username": {
+ "type": "string"
+ },
+ "discriminator": {
+ "type": "string"
+ },
+ "public_flags": {
+ "type": "integer"
+ },
+ "accent_color": {
+ "type": "integer"
+ },
+ "banner": {
+ "type": "string"
+ },
+ "bio": {
+ "type": "string"
+ },
+ "bot": {
+ "type": "boolean"
+ },
+ "premium_type": {
+ "type": "integer"
+ },
+ "theme_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "pronouns": {
+ "type": "string"
+ },
+ "badge_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "bio",
+ "bot",
+ "discriminator",
+ "id",
+ "premium_since",
+ "premium_type",
+ "public_flags",
+ "username"
+ ]
+ },
+ "GuildVanityUrl": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "uses": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "uses"
+ ]
+ },
+ "GuildVanityUrlNoInvite": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "null"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code"
+ ]
+ },
+ "Snowflake": {
+ "description": "A container for useful snowflake-related methods.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
+ "TenorGifResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "src": {
+ "type": "string"
+ },
+ "gif_src": {
+ "type": "string"
+ },
+ "width": {
+ "type": "integer"
+ },
+ "height": {
+ "type": "integer"
+ },
+ "preview": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "gif_src",
+ "height",
+ "id",
+ "preview",
+ "src",
+ "title",
+ "url",
+ "width"
+ ]
+ },
+ "BackupCode": {
+ "type": "object",
+ "properties": {
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "code": {
+ "type": "string"
+ },
+ "consumed": {
+ "type": "boolean"
+ },
+ "expired": {
+ "type": "boolean"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "consumed",
+ "expired",
+ "id",
+ "user"
+ ]
+ },
+ "APIGuild": {
+ "type": "object",
+ "properties": {
+ "reload": {
+ "description": "Reloads entity data from the database.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "name": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "invites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Invite"
+ }
+ },
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
+ },
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
+ },
+ "toJSON": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "assign": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "hasId": {
+ "description": "Checks if entity has an id.\nIf entity composite compose ids, it will check them all.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "save": {
+ "description": "Saves current entity in the database.\nIf entity does not exist in the database then inserts, otherwise updates.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "remove": {
+ "description": "Removes current entity from the database.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "softRemove": {
+ "description": "Records the delete date of current entity.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "recover": {
+ "description": "Recovers a given entity in the database.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": "string"
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "members": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Member"
+ }
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "emojis": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Emoji"
+ }
+ },
+ "stickers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Sticker"
+ }
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "permissions": {
+ "type": "integer"
+ },
+ "channel_ordering": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "_do_validate",
+ "assign",
+ "bans",
+ "channel_ordering",
+ "channels",
+ "emojis",
+ "features",
+ "hasId",
+ "id",
+ "invites",
+ "members",
+ "name",
+ "nsfw",
+ "premium_progress_bar_enabled",
+ "public_updates_channel_id",
+ "recover",
+ "reload",
+ "remove",
+ "roles",
+ "save",
+ "softRemove",
+ "stickers",
+ "toJSON",
+ "unavailable",
+ "voice_states",
+ "webhooks",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
+ "DmChannelDTO": {
+ "type": "object",
+ "properties": {
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "id": {
+ "type": "string"
+ },
+ "last_message_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "name": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "origin_channel_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "recipients": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MinimalPublicUserDTO"
+ }
+ },
+ "type": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "icon",
+ "id",
+ "last_message_id",
+ "name",
+ "origin_channel_id",
+ "recipients",
+ "type"
+ ]
+ },
+ "MinimalPublicUserDTO": {
+ "type": "object",
+ "properties": {
+ "avatar": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "discriminator": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "public_flags": {
+ "type": "integer"
+ },
+ "username": {
+ "type": "string"
+ },
+ "badge_ids": {
+ "anyOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "discriminator",
+ "id",
+ "public_flags",
+ "username"
+ ]
+ },
+ "Categories": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "localizations": {
+ "type": "string"
+ },
+ "is_primary": {
+ "type": "boolean"
+ },
+ "icon": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "is_primary",
+ "localizations",
+ "name"
+ ]
+ },
+ "GuildVoiceRegion": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "custom": {
+ "type": "boolean"
+ },
+ "deprecated": {
+ "type": "boolean"
+ },
+ "optimal": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "custom",
+ "deprecated",
+ "id",
+ "name",
+ "optimal"
+ ]
+ },
+ "UserLimits": {
+ "type": "object",
+ "properties": {
+ "maxGuilds": {
+ "type": "integer",
+ "default": 1048576
+ },
+ "maxUsername": {
+ "type": "integer",
+ "default": 32
+ },
+ "maxFriends": {
+ "type": "integer",
+ "default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "maxBio",
+ "maxFriends",
+ "maxGuilds",
+ "maxUsername"
+ ]
+ },
+ "GuildLimits": {
+ "type": "object",
+ "properties": {
+ "maxRoles": {
+ "type": "integer",
+ "default": 1000
+ },
+ "maxEmojis": {
+ "type": "integer",
+ "default": 2000
+ },
+ "maxMembers": {
+ "type": "integer",
+ "default": 25000000
+ },
+ "maxChannels": {
+ "type": "integer",
+ "default": 65535
+ },
+ "maxBulkBanUsers": {
+ "type": "integer",
+ "default": 200
+ },
+ "maxChannelsInCategory": {
+ "type": "integer",
+ "default": 65535
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "maxBulkBanUsers",
+ "maxChannels",
+ "maxChannelsInCategory",
+ "maxEmojis",
+ "maxMembers",
+ "maxRoles"
+ ]
+ },
+ "MessageLimits": {
+ "type": "object",
+ "properties": {
+ "maxCharacters": {
+ "type": "integer",
+ "default": 1048576
+ },
+ "maxTTSCharacters": {
+ "type": "integer",
+ "default": 160
+ },
+ "maxReactions": {
+ "type": "integer",
+ "default": 2048
+ },
+ "maxAttachmentSize": {
+ "type": "integer",
+ "default": 1073741824
+ },
+ "maxBulkDelete": {
+ "type": "integer",
+ "default": 1000
+ },
+ "maxEmbedDownloadSize": {
+ "type": "integer",
+ "default": 5242880
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "maxAttachmentSize",
+ "maxBulkDelete",
+ "maxCharacters",
+ "maxEmbedDownloadSize",
+ "maxReactions",
+ "maxTTSCharacters"
+ ]
+ },
+ "ChannelLimits": {
+ "type": "object",
+ "properties": {
+ "maxPins": {
+ "type": "integer",
+ "default": 500
+ },
+ "maxTopic": {
+ "type": "integer",
+ "default": 1024
+ },
+ "maxWebhooks": {
+ "type": "integer",
+ "default": 100
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "maxPins",
+ "maxTopic",
+ "maxWebhooks"
+ ]
+ },
+ "RateLimits": {
+ "type": "object",
+ "properties": {
+ "enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "ip": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "global": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "error": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "routes": {
+ "$ref": "#/definitions/RouteRateLimit"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "enabled",
+ "error",
+ "global",
+ "ip",
+ "routes"
+ ]
+ },
+ "RateLimitOptions": {
+ "type": "object",
+ "properties": {
+ "bot": {
+ "type": "integer"
+ },
+ "count": {
+ "type": "integer"
+ },
+ "window": {
+ "type": "integer"
+ },
+ "onyIp": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "count",
+ "window"
+ ]
+ },
+ "RouteRateLimit": {
+ "type": "object",
+ "properties": {
+ "guild": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "webhook": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "channel": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "auth": {}
+ },
+ "additionalProperties": false,
+ "required": [
+ "auth",
+ "channel",
+ "guild",
+ "webhook"
+ ]
+ },
+ "GlobalRateLimits": {
+ "type": "object",
+ "properties": {
+ "register": {
+ "$ref": "#/definitions/GlobalRateLimit"
+ },
+ "sendMessage": {
+ "$ref": "#/definitions/GlobalRateLimit"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "register",
+ "sendMessage"
+ ]
+ },
+ "GlobalRateLimit": {
+ "type": "object",
+ "properties": {
+ "limit": {
+ "type": "integer",
+ "default": 100
+ },
+ "window": {
+ "type": "integer",
+ "default": 3600000
+ },
+ "enabled": {
+ "type": "boolean",
+ "default": true
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "enabled",
+ "limit",
+ "window"
+ ]
+ },
+ "PublicConnectedAccount": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "verified": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "name",
+ "type"
+ ]
+ },
+ "UserProfile": {
+ "type": "object",
+ "properties": {
+ "accent_color": {
+ "type": "integer"
+ },
+ "banner": {
+ "type": "string"
+ },
+ "bio": {
+ "type": "string"
+ },
+ "theme_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "pronouns": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "bio"
+ ]
+ },
+ "Badge": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "link": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "description",
+ "icon",
+ "id"
+ ]
+ },
+ "TokenResponse": {
+ "type": "object",
+ "properties": {
+ "token": {
+ "type": "string"
+ },
+ "settings": {
+ "$ref": "#/definitions/UserSettings"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "settings",
+ "token"
+ ]
+ },
+ "MFAResponse": {
+ "type": "object",
+ "properties": {
+ "ticket": {
+ "type": "string"
+ },
+ "mfa": {
+ "type": "boolean",
+ "enum": [
+ true
+ ]
+ },
+ "sms": {
+ "type": "boolean",
+ "enum": [
+ false
+ ]
+ },
+ "token": {
+ "type": "null"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "mfa",
+ "sms",
+ "ticket",
+ "token"
+ ]
+ },
+ "WebAuthnResponse": {
+ "type": "object",
+ "properties": {
+ "webauthn": {
+ "type": "string"
+ },
+ "ticket": {
+ "type": "string"
+ },
+ "mfa": {
+ "type": "boolean",
+ "enum": [
+ true
+ ]
+ },
+ "sms": {
+ "type": "boolean",
+ "enum": [
+ false
+ ]
+ },
+ "token": {
+ "type": "null"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "mfa",
+ "sms",
+ "ticket",
+ "token",
+ "webauthn"
+ ]
+ }
+ },
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "BackupCodesChallengeSchema": {
+ "type": "object",
+ "properties": {
+ "password": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "password"
+ ],
+ "definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
+ "ChannelPermissionOverwriteType": {
+ "enum": [
+ 0,
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "ConnectedAccountTokenData": {
+ "type": "object",
+ "properties": {
+ "access_token": {
+ "type": "string"
+ },
+ "token_type": {
+ "type": "string"
+ },
+ "scope": {
+ "type": "string"
+ },
+ "refresh_token": {
+ "type": "string"
+ },
+ "expires_in": {
+ "type": "integer"
+ },
+ "expires_at": {
+ "type": "integer"
+ },
+ "fetched_at": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "access_token",
+ "fetched_at"
+ ]
+ },
+ "ChannelModifySchema": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "maxLength": 100,
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ 0,
+ 1,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 2,
+ 255,
+ 3,
+ 33,
+ 34,
+ 35,
+ 4,
+ 5,
+ 6,
+ 64,
+ 7,
+ 8,
+ 9
+ ],
+ "type": "number"
+ },
+ "topic": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "bitrate": {
+ "type": "integer"
+ },
+ "user_limit": {
+ "type": "integer"
+ },
+ "rate_limit_per_user": {
+ "type": "integer"
+ },
+ "position": {
+ "type": "integer"
+ },
+ "permission_overwrites": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/ChannelPermissionOverwriteType"
+ },
+ "allow": {
+ "type": "string"
+ },
+ "deny": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "allow",
+ "deny",
+ "id",
+ "type"
+ ]
+ }
+ },
+ "parent_id": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "rtc_region": {
+ "type": "string"
+ },
+ "default_auto_archive_duration": {
+ "type": "integer"
+ },
+ "default_reaction_emoji": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "default_thread_rate_limit_per_user": {
+ "type": "integer"
+ },
+ "video_quality_mode": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false
+ },
+ "ActivitySchema": {
+ "type": "object",
+ "properties": {
+ "afk": {
+ "type": "boolean"
+ },
+ "status": {
+ "$ref": "#/definitions/Status"
+ },
+ "activities": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Activity"
+ }
+ },
+ "since": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "status"
+ ]
+ },
+ "Status": {
+ "enum": [
+ "dnd",
+ "idle",
+ "invisible",
+ "offline",
+ "online"
+ ],
+ "type": "string"
+ },
+ "Activity": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/ActivityType"
+ },
+ "url": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "integer"
+ },
+ "timestamps": {
+ "type": "object",
+ "properties": {
+ "start": {
+ "type": "integer"
+ },
+ "end": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "end",
+ "start"
+ ]
+ },
+ "application_id": {
+ "type": "string"
+ },
+ "details": {
+ "type": "string"
+ },
+ "state": {
+ "type": "string"
+ },
+ "emoji": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "animated": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "animated",
+ "name"
+ ]
+ },
+ "party": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "size": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ }
+ },
+ "additionalProperties": false
+ },
+ "assets": {
+ "type": "object",
+ "properties": {
+ "large_image": {
+ "type": "string"
+ },
+ "large_text": {
+ "type": "string"
+ },
+ "small_image": {
+ "type": "string"
+ },
+ "small_text": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "secrets": {
+ "type": "object",
+ "properties": {
+ "join": {
+ "type": "string"
+ },
+ "spectate": {
+ "type": "string"
+ },
+ "match": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "instance": {
+ "type": "boolean"
+ },
+ "flags": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "sync_id": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "object",
+ "properties": {
+ "context_uri": {
+ "type": "string"
+ },
+ "album_id": {
+ "type": "string"
+ },
+ "artist_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "album_id",
+ "artist_ids"
+ ]
+ },
+ "session_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "flags",
+ "name",
+ "session_id",
+ "type"
+ ]
+ },
+ "ActivityType": {
+ "enum": [
+ 0,
+ 1,
+ 2,
+ 4,
+ 5
+ ],
+ "type": "number"
+ },
+ "Embed": {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "article",
+ "gifv",
+ "image",
+ "link",
+ "rich",
+ "video"
+ ],
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "color": {
+ "type": "integer"
+ },
+ "footer": {
+ "type": "object",
+ "properties": {
+ "text": {
+ "type": "string"
+ },
+ "icon_url": {
+ "type": "string"
+ },
+ "proxy_icon_url": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "text"
+ ]
+ },
+ "image": {
+ "$ref": "#/definitions/EmbedImage"
+ },
+ "thumbnail": {
+ "$ref": "#/definitions/EmbedImage"
+ },
+ "video": {
+ "$ref": "#/definitions/EmbedImage"
+ },
+ "provider": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "author": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "icon_url": {
+ "type": "string"
+ },
+ "proxy_icon_url": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "fields": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
+ },
+ "inline": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "name",
+ "value"
+ ]
+ }
+ }
+ },
+ "additionalProperties": false
+ },
+ "EmbedImage": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string"
+ },
+ "proxy_url": {
+ "type": "string"
+ },
+ "height": {
+ "type": "integer"
+ },
+ "width": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false
+ },
+ "ActionRowComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/MessageComponentType.ActionRow"
+ },
+ "components": {
+ "type": "array",
+ "items": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/ButtonComponent"
+ },
+ {
+ "$ref": "#/definitions/SelectMenuComponent"
+ },
+ {
+ "$ref": "#/definitions/StringSelectMenuComponent"
+ },
+ {
+ "$ref": "#/definitions/TextInputComponent"
+ }
+ ]
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "components",
+ "type"
+ ]
+ },
+ "MessageComponentType.ActionRow": {
+ "type": "number",
+ "enum": [
+ 1
+ ]
+ },
+ "ButtonComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/MessageComponentType.Button"
+ },
+ "style": {
+ "$ref": "#/definitions/ButtonStyle"
+ },
+ "label": {
+ "type": "string"
+ },
+ "emoji": {
+ "$ref": "#/definitions/PartialEmoji"
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "sku_id": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "disabled": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "style",
+ "type"
+ ]
+ },
+ "MessageComponentType.Button": {
+ "type": "number",
+ "enum": [
+ 2
+ ]
+ },
+ "ButtonStyle": {
+ "enum": [
+ 1,
+ 2,
+ 3,
+ 4,
+ 5,
+ 6
+ ],
+ "type": "number"
+ },
+ "PartialEmoji": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "animated": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "name"
+ ]
+ },
+ "SelectMenuComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "enum": [
+ 3,
+ 5,
+ 6,
+ 7,
+ 8
+ ],
+ "type": "number"
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "channel_types": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "placeholder": {
+ "type": "string"
+ },
+ "default_values": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SelectMenuDefaultOption"
+ }
+ },
+ "min_values": {
+ "type": "integer"
+ },
+ "max_values": {
+ "type": "integer"
+ },
+ "disabled": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "custom_id",
+ "type"
+ ]
+ },
+ "SelectMenuDefaultOption": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "channel",
+ "role",
+ "user"
+ ],
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "type"
+ ]
+ },
+ "StringSelectMenuComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/MessageComponentType.StringSelect"
+ },
+ "options": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SelectMenuOption"
+ }
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "channel_types": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "placeholder": {
+ "type": "string"
+ },
+ "default_values": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SelectMenuDefaultOption"
+ }
+ },
+ "min_values": {
+ "type": "integer"
+ },
+ "max_values": {
+ "type": "integer"
+ },
+ "disabled": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "custom_id",
+ "options",
+ "type"
+ ]
+ },
+ "MessageComponentType.StringSelect": {
+ "type": "number",
+ "enum": [
+ 3
+ ]
+ },
+ "SelectMenuOption": {
+ "type": "object",
+ "properties": {
+ "label": {
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "emoji": {
+ "$ref": "#/definitions/PartialEmoji"
+ },
+ "default": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "label",
+ "value"
+ ]
+ },
+ "TextInputComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/MessageComponentType.TextInput"
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "style": {
+ "$ref": "#/definitions/TextInputStyle"
+ },
+ "label": {
+ "type": "string"
+ },
+ "min_length": {
+ "type": "integer"
+ },
+ "max_length": {
+ "type": "integer"
+ },
+ "required": {
+ "type": "boolean"
+ },
+ "value": {
+ "type": "string"
+ },
+ "placeholder": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "custom_id",
+ "label",
+ "style",
+ "type"
+ ]
+ },
+ "MessageComponentType.TextInput": {
+ "type": "number",
+ "enum": [
+ 4
+ ]
+ },
+ "TextInputStyle": {
+ "enum": [
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "PollCreationSchema": {
+ "type": "object",
+ "properties": {
+ "question": {
+ "$ref": "#/definitions/PollMedia"
+ },
+ "answers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PollAnswer"
+ }
+ },
+ "duration": {
+ "type": "integer"
+ },
+ "allow_multiselect": {
+ "type": "boolean"
+ },
+ "layout_type": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "answers",
+ "question"
+ ]
+ },
+ "PollMedia": {
+ "type": "object",
+ "properties": {
+ "text": {
+ "type": "string"
+ },
+ "emoji": {
+ "$ref": "#/definitions/PartialEmoji"
+ }
+ },
+ "additionalProperties": false
+ },
+ "PollAnswer": {
+ "type": "object",
+ "properties": {
+ "answer_id": {
+ "type": "string"
+ },
+ "poll_media": {
+ "$ref": "#/definitions/PollMedia"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "poll_media"
+ ]
+ },
+ "ChannelOverride": {
+ "type": "object",
+ "properties": {
+ "message_notifications": {
+ "type": "integer"
+ },
+ "mute_config": {
+ "$ref": "#/definitions/MuteConfig"
+ },
+ "muted": {
+ "type": "boolean"
+ },
+ "channel_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel_id",
+ "message_notifications",
+ "mute_config",
+ "muted"
+ ]
+ },
+ "MuteConfig": {
+ "type": "object",
+ "properties": {
+ "end_time": {
+ "type": "integer"
+ },
+ "selected_time_window": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "end_time",
+ "selected_time_window"
+ ]
+ },
+ "CustomStatus": {
+ "type": "object",
+ "properties": {
+ "emoji_id": {
+ "type": "string"
+ },
+ "emoji_name": {
+ "type": "string"
+ },
+ "expires_at": {
+ "type": "integer"
+ },
+ "text": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "FriendSourceFlags": {
+ "type": "object",
+ "properties": {
+ "all": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "all"
+ ]
+ },
+ "GuildFolder": {
+ "type": "object",
+ "properties": {
+ "color": {
+ "type": "integer"
+ },
+ "guild_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "id": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "color",
+ "guild_ids",
+ "id",
+ "name"
+ ]
+ },
+ "GenerateWebAuthnCredentialsSchema": {
+ "type": "object",
+ "properties": {
+ "password": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "password"
+ ]
+ },
+ "CreateWebAuthnCredentialSchema": {
+ "type": "object",
+ "properties": {
+ "credential": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "ticket": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "credential",
+ "name",
+ "ticket"
+ ]
+ },
+ "APIErrorResponse": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "integer"
+ },
+ "message": {
+ "type": "string"
+ },
+ "errors": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "object",
+ "properties": {
+ "_errors": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "message": {
+ "type": "string"
+ },
+ "code": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "message"
+ ]
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "_errors"
+ ]
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "errors",
+ "message"
+ ]
+ },
+ "CaptchaRequiredResponse": {
+ "type": "object",
+ "properties": {
+ "captcha_key": {
+ "type": "string"
+ },
+ "captcha_sitekey": {
+ "type": "string"
+ },
+ "captcha_service": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "captcha_key",
+ "captcha_service",
+ "captcha_sitekey"
+ ]
+ },
+ "Guild": {
+ "type": "object",
+ "properties": {
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "afk_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "description": {
+ "type": "string"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean",
+ "default": false
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "members": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Member"
+ }
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "template": {
+ "$ref": "#/definitions/Template"
+ },
+ "emojis": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Emoji"
+ }
+ },
+ "stickers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Sticker"
+ }
+ },
+ "invites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Invite"
+ }
+ },
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
+ },
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "owner": {
+ "$ref": "#/definitions/User"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "public_updates_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "rules_channel": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "splash": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "system_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "unavailable": {
+ "type": "boolean",
+ "default": false
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "widget_enabled": {
+ "type": "boolean",
+ "default": true
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean",
+ "default": false
+ },
+ "parent": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "integer"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "channel_ordering": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "bans",
+ "channel_ordering",
+ "channels",
+ "emojis",
+ "features",
+ "id",
+ "invites",
+ "members",
+ "name",
+ "nsfw",
+ "premium_progress_bar_enabled",
+ "public_updates_channel_id",
+ "roles",
+ "stickers",
+ "template",
+ "unavailable",
+ "voice_states",
+ "webhooks",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
+ "Channel": {
+ "type": "object",
+ "properties": {
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "name": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "type": {
+ "$ref": "#/definitions/ChannelType"
+ },
+ "recipients": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Recipient"
+ }
+ },
+ "last_message_id": {
+ "type": "string"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "parent_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "parent": {
+ "$ref": "#/definitions/Channel"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "owner": {
+ "$ref": "#/definitions/User"
+ },
+ "last_pin_timestamp": {
+ "type": "integer"
+ },
+ "default_auto_archive_duration": {
+ "type": "integer"
+ },
+ "permission_overwrites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ChannelPermissionOverwrite"
+ }
+ },
+ "video_quality_mode": {
+ "type": "integer"
+ },
+ "bitrate": {
+ "type": "integer"
+ },
+ "user_limit": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean",
+ "default": false
+ },
+ "rate_limit_per_user": {
+ "type": "integer"
+ },
+ "topic": {
+ "type": "string"
+ },
+ "invites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Invite"
+ }
+ },
+ "retention_policy_id": {
+ "type": "string"
+ },
+ "messages": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Message"
+ }
+ },
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
+ },
+ "read_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ReadState"
+ }
+ },
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
+ },
+ "flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "default_thread_rate_limit_per_user": {
+ "type": "integer",
+ "default": 0
+ },
+ "position": {
+ "description": "Must be calculated Channel.calculatePosition",
+ "type": "integer"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "created_at",
+ "default_thread_rate_limit_per_user",
+ "flags",
+ "id",
+ "nsfw",
+ "owner",
+ "parent_id",
+ "position",
+ "type"
+ ]
+ },
+ "ChannelType": {
+ "enum": [
+ 0,
+ 1,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 2,
+ 255,
+ 3,
+ 33,
+ 34,
+ 35,
+ 4,
+ 5,
+ 6,
+ 64,
+ 7,
+ 8,
+ 9
+ ],
+ "type": "number"
+ },
+ "Recipient": {
+ "type": "object",
+ "properties": {
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "closed": {
+ "type": "boolean"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "channel_id",
+ "closed",
+ "id",
+ "user",
+ "user_id"
+ ]
+ },
+ "User": {
+ "type": "object",
+ "properties": {
+ "username": {
+ "type": "string"
+ },
+ "discriminator": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "accent_color": {
+ "type": "integer"
+ },
+ "banner": {
+ "type": "string"
+ },
+ "theme_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "pronouns": {
+ "type": "string"
+ },
+ "phone": {
+ "type": "string"
+ },
+ "desktop": {
+ "type": "boolean",
+ "default": false
+ },
+ "mobile": {
+ "type": "boolean",
+ "default": false
+ },
+ "premium": {
+ "type": "boolean"
+ },
+ "premium_type": {
+ "type": "integer"
+ },
+ "bot": {
+ "type": "boolean",
+ "default": false
+ },
+ "bio": {
+ "type": "string",
+ "default": ""
+ },
+ "system": {
+ "type": "boolean",
+ "default": false
+ },
+ "nsfw_allowed": {
+ "type": "boolean",
+ "default": true
+ },
+ "mfa_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "webauthn_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "totp_secret": {
+ "type": "string",
+ "default": ""
+ },
+ "totp_last_ticket": {
+ "type": "string",
+ "default": ""
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "premium_since": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "verified": {
+ "type": "boolean"
+ },
+ "disabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "deleted": {
+ "type": "boolean",
+ "default": false
+ },
+ "email": {
+ "type": "string"
+ },
+ "flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "public_flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "purchased_flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "premium_usage_flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "rights": {
+ "type": "string"
+ },
+ "sessions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Session"
+ }
+ },
+ "relationships": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Relationship"
+ }
+ },
+ "connected_accounts": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ConnectedAccount"
+ }
+ },
+ "data": {
+ "type": "object",
+ "properties": {
+ "valid_tokens_since": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "hash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "valid_tokens_since"
+ ]
+ },
+ "fingerprints": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "settings": {
+ "$ref": "#/definitions/UserSettings"
+ },
+ "extended_settings": {
+ "type": "string",
+ "default": "{}"
+ },
+ "security_keys": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SecurityKey"
+ }
+ },
+ "badge_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "bio",
+ "bot",
+ "connected_accounts",
+ "created_at",
+ "data",
+ "deleted",
+ "desktop",
+ "disabled",
+ "discriminator",
+ "extended_settings",
+ "fingerprints",
+ "flags",
+ "id",
+ "mfa_enabled",
+ "mobile",
+ "nsfw_allowed",
+ "premium",
+ "premium_since",
+ "premium_type",
+ "premium_usage_flags",
+ "public_flags",
+ "purchased_flags",
+ "relationships",
+ "rights",
+ "security_keys",
+ "sessions",
+ "settings",
+ "system",
+ "username",
+ "verified",
+ "webauthn_enabled"
+ ]
+ },
+ "Session": {
+ "type": "object",
+ "properties": {
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "session_id": {
+ "type": "string"
+ },
+ "activities": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Activity"
+ }
+ },
+ "client_info": {
+ "type": "object",
+ "properties": {
+ "client": {
+ "type": "string"
+ },
+ "os": {
+ "type": "string"
+ },
+ "version": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "client",
+ "os",
+ "version"
+ ]
+ },
+ "client_status": {
+ "$ref": "#/definitions/ClientStatus"
+ },
+ "status": {
+ "$ref": "#/definitions/Status"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "activities",
+ "client_info",
+ "client_status",
+ "id",
+ "session_id",
+ "status",
+ "user",
+ "user_id"
+ ]
+ },
+ "ClientStatus": {
+ "type": "object",
+ "properties": {
+ "desktop": {
+ "type": "string"
+ },
+ "mobile": {
+ "type": "string"
+ },
+ "web": {
+ "type": "string"
+ },
+ "embedded": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "Relationship": {
+ "type": "object",
+ "properties": {
+ "from_id": {
+ "type": "string"
+ },
+ "from": {
+ "$ref": "#/definitions/User"
+ },
+ "to_id": {
+ "type": "string"
+ },
+ "to": {
+ "$ref": "#/definitions/User"
+ },
+ "nickname": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/RelationshipType"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "from",
+ "from_id",
+ "id",
+ "to",
+ "to_id",
+ "type"
+ ]
+ },
+ "RelationshipType": {
+ "enum": [
+ 1,
+ 2,
+ 3,
+ 4
+ ],
+ "type": "number"
+ },
+ "ConnectedAccount": {
+ "type": "object",
+ "properties": {
+ "external_id": {
+ "type": "string"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "friend_sync": {
+ "type": "boolean",
+ "default": false
+ },
+ "name": {
+ "type": "string"
+ },
+ "revoked": {
+ "type": "boolean",
+ "default": false
+ },
+ "show_activity": {
+ "type": "integer",
+ "default": 0
+ },
+ "type": {
+ "type": "string"
+ },
+ "verified": {
+ "type": "boolean",
+ "default": true
+ },
+ "visibility": {
+ "type": "integer",
+ "default": 0
+ },
+ "integrations": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "metadata_": {},
+ "metadata_visibility": {
+ "type": "integer",
+ "default": 0
+ },
+ "two_way_link": {
+ "type": "boolean",
+ "default": false
+ },
+ "token_data": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/ConnectedAccountTokenData"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "external_id",
+ "id",
+ "name",
+ "type",
+ "user",
+ "user_id"
+ ]
+ },
+ "UserSettings": {
+ "type": "object",
+ "properties": {
+ "index": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer",
+ "default": 3600
+ },
+ "allow_accessibility_detection": {
+ "type": "boolean",
+ "default": true
+ },
+ "animate_emoji": {
+ "type": "boolean",
+ "default": true
+ },
+ "animate_stickers": {
+ "type": "integer",
+ "default": 0
+ },
+ "contact_sync_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "convert_emoticons": {
+ "type": "boolean",
+ "default": false
+ },
+ "custom_status": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/CustomStatus"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "default_guilds_restricted": {
+ "type": "boolean",
+ "default": false
+ },
+ "detect_platform_accounts": {
+ "type": "boolean",
+ "default": false
+ },
+ "developer_mode": {
+ "type": "boolean",
+ "default": true
+ },
+ "disable_games_tab": {
+ "type": "boolean",
+ "default": true
+ },
+ "enable_tts_command": {
+ "type": "boolean",
+ "default": false
+ },
+ "explicit_content_filter": {
+ "type": "integer",
+ "default": 0
+ },
+ "friend_discovery_flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "friend_source_flags": {
+ "$ref": "#/definitions/FriendSourceFlags"
+ },
+ "gateway_connected": {
+ "type": "boolean",
+ "default": false
+ },
+ "gif_auto_play": {
+ "type": "boolean",
+ "default": false
+ },
+ "guild_folders": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/GuildFolder"
+ },
+ "default": []
+ },
+ "guild_positions": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "inline_attachment_media": {
+ "type": "boolean",
+ "default": true
+ },
+ "inline_embed_media": {
+ "type": "boolean",
+ "default": true
+ },
+ "locale": {
+ "type": "string",
+ "default": "en-US"
+ },
+ "message_display_compact": {
+ "type": "boolean",
+ "default": false
+ },
+ "native_phone_integration_enabled": {
+ "type": "boolean",
+ "default": true
+ },
+ "render_embeds": {
+ "type": "boolean",
+ "default": true
+ },
+ "render_reactions": {
+ "type": "boolean",
+ "default": true
+ },
+ "restricted_guilds": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "show_current_game": {
+ "type": "boolean",
+ "default": true
+ },
+ "status": {
+ "enum": [
+ "dnd",
+ "idle",
+ "invisible",
+ "offline",
+ "online"
+ ],
+ "type": "string",
+ "default": "online"
+ },
+ "stream_notifications_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "theme": {
+ "enum": [
+ "dark",
+ "light"
+ ],
+ "type": "string",
+ "default": "dark"
+ },
+ "timezone_offset": {
+ "type": "integer",
+ "default": 0
+ },
+ "view_nsfw_guilds": {
+ "type": "boolean",
+ "default": true
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "afk_timeout",
+ "allow_accessibility_detection",
+ "animate_emoji",
+ "animate_stickers",
+ "contact_sync_enabled",
+ "convert_emoticons",
+ "custom_status",
+ "default_guilds_restricted",
+ "detect_platform_accounts",
+ "developer_mode",
+ "disable_games_tab",
+ "enable_tts_command",
+ "explicit_content_filter",
+ "friend_discovery_flags",
+ "friend_source_flags",
+ "gateway_connected",
+ "gif_auto_play",
+ "guild_folders",
+ "guild_positions",
+ "index",
+ "inline_attachment_media",
+ "inline_embed_media",
+ "locale",
+ "message_display_compact",
+ "native_phone_integration_enabled",
+ "render_embeds",
+ "render_reactions",
+ "restricted_guilds",
+ "show_current_game",
+ "status",
+ "stream_notifications_enabled",
+ "theme",
+ "timezone_offset",
+ "view_nsfw_guilds"
+ ]
+ },
+ "SecurityKey": {
+ "type": "object",
+ "properties": {
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "key_id": {
+ "type": "string"
+ },
+ "public_key": {
+ "type": "string"
+ },
+ "counter": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "counter",
+ "id",
+ "key_id",
+ "name",
+ "public_key",
+ "user",
+ "user_id"
+ ]
+ },
+ "ChannelPermissionOverwrite": {
+ "type": "object",
+ "properties": {
+ "allow": {
+ "type": "string"
+ },
+ "deny": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/ChannelPermissionOverwriteType"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "allow",
+ "deny",
+ "id",
+ "type"
+ ]
+ },
+ "Invite": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "temporary": {
+ "type": "boolean"
+ },
+ "uses": {
+ "type": "integer"
+ },
+ "max_uses": {
+ "type": "integer"
+ },
+ "max_age": {
+ "type": "integer"
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "expires_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "inviter_id": {
+ "type": "string"
+ },
+ "inviter": {
+ "$ref": "#/definitions/User"
+ },
+ "target_user_id": {
+ "type": "string"
+ },
+ "target_user": {
+ "type": "string"
+ },
+ "target_user_type": {
+ "type": "integer"
+ },
+ "vanity_url": {
+ "type": "boolean"
+ },
+ "flags": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "channel_id",
+ "code",
+ "created_at",
+ "flags",
+ "guild",
+ "guild_id",
+ "inviter",
+ "max_age",
+ "max_uses",
+ "target_user_id",
+ "temporary",
+ "uses"
+ ]
+ },
+ "Message": {
+ "type": "object",
+ "properties": {
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "author_id": {
+ "type": "string"
+ },
+ "author": {
+ "$ref": "#/definitions/User"
+ },
+ "member_id": {
+ "type": "string"
+ },
+ "member": {
+ "$ref": "#/definitions/Member"
+ },
+ "webhook_id": {
+ "type": "string"
+ },
+ "webhook": {
+ "$ref": "#/definitions/Webhook"
+ },
+ "application_id": {
+ "type": "string"
+ },
+ "application": {
+ "$ref": "#/definitions/Application"
+ },
+ "content": {
+ "type": "string"
+ },
+ "timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "edited_timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "tts": {
+ "type": "boolean"
+ },
+ "mention_everyone": {
+ "type": "boolean"
+ },
+ "mentions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/User"
+ }
+ },
+ "mention_roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "mention_channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "sticker_items": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Sticker"
+ }
+ },
+ "attachments": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Attachment"
+ }
+ },
+ "embeds": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Embed"
+ }
+ },
+ "reactions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Reaction"
+ }
+ },
+ "nonce": {
+ "type": "string"
+ },
+ "pinned": {
+ "type": "boolean"
+ },
+ "type": {
+ "$ref": "#/definitions/MessageType"
+ },
+ "activity": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "integer"
+ },
+ "party_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "party_id",
+ "type"
+ ]
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "message_reference": {
+ "type": "object",
+ "properties": {
+ "message_id": {
+ "type": "string"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "guild_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "message_id"
+ ]
+ },
+ "referenced_message": {
+ "$ref": "#/definitions/Message"
+ },
+ "interaction": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/InteractionType"
+ },
+ "name": {
+ "type": "string"
+ },
+ "user_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "type",
+ "user_id"
+ ]
+ },
+ "components": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ActionRowComponent"
+ }
+ },
+ "poll": {
+ "$ref": "#/definitions/Poll"
+ },
+ "username": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "embeds",
+ "flags",
+ "id",
+ "mention_channels",
+ "mention_roles",
+ "mentions",
+ "reactions",
+ "timestamp",
+ "type"
+ ]
+ },
+ "Member": {
+ "type": "object",
+ "properties": {
+ "index": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "nick": {
+ "type": "string"
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "joined_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "premium_since": {
+ "type": "integer"
+ },
+ "deaf": {
+ "type": "boolean"
+ },
+ "mute": {
+ "type": "boolean"
+ },
+ "pending": {
+ "type": "boolean"
+ },
+ "settings": {
+ "$ref": "#/definitions/UserGuildSettings"
+ },
+ "last_message_id": {
+ "type": "string"
+ },
+ "joined_by": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "banner": {
+ "type": "string"
+ },
+ "bio": {
+ "type": "string"
+ },
+ "theme_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "pronouns": {
+ "type": "string"
+ },
+ "communication_disabled_until": {
+ "type": "string",
+ "format": "date-time"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "banner",
+ "bio",
+ "communication_disabled_until",
+ "deaf",
+ "guild",
+ "guild_id",
+ "id",
+ "index",
+ "joined_at",
+ "joined_by",
+ "mute",
+ "pending",
+ "roles",
+ "settings",
+ "user"
+ ]
+ },
+ "Role": {
+ "type": "object",
+ "properties": {
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "color": {
+ "type": "integer"
+ },
+ "hoist": {
+ "type": "boolean"
+ },
+ "managed": {
+ "type": "boolean"
+ },
+ "mentionable": {
+ "type": "boolean"
+ },
+ "name": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "string"
+ },
+ "position": {
+ "type": "integer"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "unicode_emoji": {
+ "type": "string"
+ },
+ "tags": {
+ "type": "object",
+ "properties": {
+ "bot_id": {
+ "type": "string"
+ },
+ "integration_id": {
+ "type": "string"
+ },
+ "premium_subscriber": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "color",
+ "flags",
+ "guild",
+ "guild_id",
+ "hoist",
+ "id",
+ "managed",
+ "mentionable",
+ "name",
+ "permissions",
+ "position"
+ ]
+ },
+ "UserGuildSettings": {
+ "type": "object",
+ "properties": {
+ "channel_overrides": {
+ "anyOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "$ref": "#/definitions/ChannelOverride"
+ }
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "message_notifications": {
+ "type": "integer"
+ },
+ "mobile_push": {
+ "type": "boolean"
+ },
+ "mute_config": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/MuteConfig"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "muted": {
+ "type": "boolean"
+ },
+ "suppress_everyone": {
+ "type": "boolean"
+ },
+ "suppress_roles": {
+ "type": "boolean"
+ },
+ "version": {
+ "type": "integer"
+ },
+ "guild_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "mute_scheduled_events": {
+ "type": "boolean"
+ },
+ "hide_muted_channels": {
+ "type": "boolean"
+ },
+ "notify_highlights": {
+ "type": "number",
+ "enum": [
+ 0
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel_overrides",
+ "flags",
+ "guild_id",
+ "hide_muted_channels",
+ "message_notifications",
+ "mobile_push",
+ "mute_config",
+ "mute_scheduled_events",
+ "muted",
+ "notify_highlights",
+ "suppress_everyone",
+ "suppress_roles",
+ "version"
+ ]
+ },
+ "Webhook": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/WebhookType"
+ },
+ "name": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "token": {
+ "type": "string"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "application_id": {
+ "type": "string"
+ },
+ "application": {
+ "$ref": "#/definitions/Application"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "source_guild_id": {
+ "type": "string"
+ },
+ "source_guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "source_channel_id": {
+ "type": "string"
+ },
+ "source_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "url": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "application",
+ "application_id",
+ "avatar",
+ "channel",
+ "channel_id",
+ "id",
+ "name",
+ "source_channel",
+ "source_channel_id",
+ "type",
+ "url",
+ "user",
+ "user_id"
+ ]
+ },
+ "WebhookType": {
+ "enum": [
+ 1,
+ 2,
+ 3
+ ],
+ "type": "number"
+ },
+ "Application": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "summary": {
+ "type": "string",
+ "default": ""
+ },
+ "type": {
+ "type": "object",
+ "properties": {},
+ "additionalProperties": true
+ },
+ "hook": {
+ "type": "boolean",
+ "default": true
+ },
+ "bot_public": {
+ "type": "boolean",
+ "default": true
+ },
+ "bot_require_code_grant": {
+ "type": "boolean",
+ "default": false
+ },
+ "verify_key": {
+ "type": "string"
+ },
+ "owner": {
+ "$ref": "#/definitions/User"
+ },
+ "flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "redirect_uris": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "rpc_application_state": {
+ "type": "integer",
+ "default": 0
+ },
+ "store_application_state": {
+ "type": "integer",
+ "default": 1
+ },
+ "verification_state": {
+ "type": "integer",
+ "default": 1
+ },
+ "interactions_endpoint_url": {
+ "type": "string"
+ },
+ "integration_public": {
+ "type": "boolean",
+ "default": true
+ },
+ "integration_require_code_grant": {
+ "type": "boolean",
+ "default": false
+ },
+ "discoverability_state": {
+ "type": "integer",
+ "default": 1
+ },
+ "discovery_eligibility_flags": {
+ "type": "integer",
+ "default": 2240
+ },
+ "bot": {
+ "$ref": "#/definitions/User"
+ },
+ "tags": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "cover_image": {
+ "type": "string"
+ },
+ "install_params": {
+ "type": "object",
+ "properties": {
+ "scopes": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "permissions": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "permissions",
+ "scopes"
+ ]
+ },
+ "terms_of_service_url": {
+ "type": "string"
+ },
+ "privacy_policy_url": {
+ "type": "string"
+ },
+ "team": {
+ "$ref": "#/definitions/Team"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "description",
+ "discoverability_state",
+ "discovery_eligibility_flags",
+ "flags",
+ "hook",
+ "id",
+ "integration_public",
+ "integration_require_code_grant",
+ "name",
+ "owner",
+ "redirect_uris",
+ "rpc_application_state",
+ "store_application_state",
+ "summary",
+ "verification_state",
+ "verify_key"
+ ]
+ },
+ "Team": {
+ "type": "object",
+ "properties": {
+ "icon": {
+ "type": "string"
+ },
+ "members": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TeamMember"
+ }
+ },
+ "name": {
+ "type": "string"
+ },
+ "owner_user_id": {
+ "type": "string"
+ },
+ "owner_user": {
+ "$ref": "#/definitions/User"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "members",
+ "name",
+ "owner_user",
+ "owner_user_id"
+ ]
+ },
+ "TeamMember": {
+ "type": "object",
+ "properties": {
+ "membership_state": {
+ "$ref": "#/definitions/TeamMemberState"
+ },
+ "permissions": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "team_id": {
+ "type": "string"
+ },
+ "team": {
+ "$ref": "#/definitions/Team"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "membership_state",
+ "permissions",
+ "team",
+ "team_id",
+ "user",
+ "user_id"
+ ]
+ },
+ "TeamMemberState": {
+ "enum": [
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "Sticker": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "available": {
+ "type": "boolean"
+ },
+ "tags": {
+ "type": "string"
+ },
+ "pack_id": {
+ "type": "string"
+ },
+ "pack": {
+ "$ref": "#/definitions/StickerPack"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "type": {
+ "$ref": "#/definitions/StickerType"
+ },
+ "format_type": {
+ "$ref": "#/definitions/StickerFormatType"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "format_type",
+ "id",
+ "name",
+ "pack",
+ "type"
+ ]
+ },
+ "StickerPack": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "banner_asset_id": {
+ "type": "string"
+ },
+ "stickers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Sticker"
+ }
+ },
+ "cover_sticker_id": {
+ "type": "string"
+ },
+ "cover_sticker": {
+ "$ref": "#/definitions/Sticker"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "stickers"
+ ]
+ },
+ "StickerType": {
+ "enum": [
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "StickerFormatType": {
+ "enum": [
+ 0,
+ 1,
+ 2,
+ 3
+ ],
+ "type": "number"
+ },
+ "Attachment": {
+ "type": "object",
+ "properties": {
+ "filename": {
+ "type": "string"
+ },
+ "size": {
+ "type": "integer"
+ },
+ "url": {
+ "type": "string"
+ },
+ "proxy_url": {
+ "type": "string"
+ },
+ "height": {
+ "type": "integer"
+ },
+ "width": {
+ "type": "integer"
+ },
+ "content_type": {
+ "type": "string"
+ },
+ "message_id": {
+ "type": "string"
+ },
+ "message": {
+ "$ref": "#/definitions/Message"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "filename",
+ "id",
+ "message",
+ "message_id",
+ "proxy_url",
+ "size",
+ "url"
+ ]
+ },
+ "Reaction": {
+ "type": "object",
+ "properties": {
+ "count": {
+ "type": "integer"
+ },
+ "emoji": {
+ "$ref": "#/definitions/PartialEmoji"
+ },
+ "user_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "count",
+ "emoji",
+ "user_ids"
+ ]
+ },
+ "MessageType": {
+ "enum": [
+ 0,
+ 1,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 16,
+ 19,
+ 2,
+ 20,
+ 255,
+ 3,
+ 4,
+ 41,
+ 42,
+ 43,
+ 5,
+ 50,
+ 6,
+ 63,
+ 7,
+ 8,
+ 9
+ ],
+ "type": "number"
+ },
+ "InteractionType": {
+ "enum": [
+ 0,
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "Poll": {
+ "type": "object",
+ "properties": {
+ "question": {
+ "$ref": "#/definitions/PollMedia"
+ },
+ "answers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PollAnswer"
+ }
+ },
+ "expiry": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "allow_multiselect": {
+ "type": "boolean"
+ },
+ "results": {
+ "$ref": "#/definitions/PollResult"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "allow_multiselect",
+ "answers",
+ "expiry",
+ "question"
+ ]
+ },
+ "PollResult": {
+ "type": "object",
+ "properties": {
+ "is_finalized": {
+ "type": "boolean"
+ },
+ "answer_counts": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PollAnswerCount"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "answer_counts",
+ "is_finalized"
+ ]
+ },
+ "PollAnswerCount": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "count": {
+ "type": "integer"
+ },
+ "me_voted": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "count",
+ "id",
+ "me_voted"
+ ]
+ },
+ "VoiceState": {
+ "type": "object",
+ "properties": {
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "member": {
+ "$ref": "#/definitions/Member"
+ },
+ "session_id": {
+ "type": "string"
+ },
+ "token": {
+ "type": "string"
+ },
+ "deaf": {
+ "type": "boolean"
+ },
+ "mute": {
+ "type": "boolean"
+ },
+ "self_deaf": {
+ "type": "boolean"
+ },
+ "self_mute": {
+ "type": "boolean"
+ },
+ "self_stream": {
+ "type": "boolean"
+ },
+ "self_video": {
+ "type": "boolean"
+ },
+ "suppress": {
+ "type": "boolean"
+ },
+ "request_to_speak_timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "channel_id",
+ "deaf",
+ "guild_id",
+ "id",
+ "member",
+ "mute",
+ "self_deaf",
+ "self_mute",
+ "self_video",
+ "session_id",
+ "suppress",
+ "token",
+ "user",
+ "user_id"
+ ]
+ },
+ "ReadState": {
+ "type": "object",
+ "properties": {
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "last_message_id": {
+ "type": "string"
+ },
+ "public_ack": {
+ "type": "string"
+ },
+ "notifications_cursor": {
+ "type": "string"
+ },
+ "last_pin_timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "mention_count": {
+ "type": "integer"
+ },
+ "manual": {
+ "type": "boolean"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "channel_id",
+ "id",
+ "last_message_id",
+ "manual",
+ "mention_count",
+ "notifications_cursor",
+ "public_ack",
+ "user",
+ "user_id"
+ ]
+ },
+ "Ban": {
+ "type": "object",
+ "properties": {
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "executor_id": {
+ "type": "string"
+ },
+ "executor": {
+ "$ref": "#/definitions/User"
+ },
+ "ip": {
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "executor",
+ "executor_id",
+ "guild",
+ "guild_id",
+ "id",
+ "ip",
+ "user",
+ "user_id"
+ ]
+ },
+ "Template": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "usage_count": {
+ "type": "integer"
+ },
+ "creator_id": {
+ "type": "string"
+ },
+ "creator": {
+ "$ref": "#/definitions/User"
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "source_guild_id": {
+ "type": "string"
+ },
+ "source_guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "serialized_source_guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "created_at",
+ "creator",
+ "creator_id",
+ "id",
+ "name",
+ "serialized_source_guild",
+ "source_guild",
+ "source_guild_id",
+ "updated_at"
+ ]
+ },
+ "Emoji": {
+ "type": "object",
+ "properties": {
+ "animated": {
+ "type": "boolean"
+ },
+ "available": {
+ "type": "boolean"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "managed": {
+ "type": "boolean"
+ },
+ "name": {
+ "type": "string"
+ },
+ "require_colons": {
+ "type": "boolean"
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "groups": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "animated",
+ "available",
+ "groups",
+ "guild",
+ "guild_id",
+ "id",
+ "managed",
+ "name",
+ "require_colons",
+ "roles",
+ "user",
+ "user_id"
+ ]
+ },
+ "GuildWelcomeScreen": {
+ "type": "object",
+ "properties": {
+ "enabled": {
+ "type": "boolean"
+ },
+ "description": {
+ "type": "string"
+ },
+ "welcome_channels": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "description": {
+ "type": "string"
+ },
+ "emoji_id": {
+ "type": "string"
+ },
+ "emoji_name": {
+ "type": "string"
+ },
+ "channel_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel_id",
+ "description"
+ ]
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "description",
+ "enabled",
+ "welcome_channels"
+ ]
+ },
+ "GuildMessagesSearchMessage": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/MessageType"
+ },
+ "content": {
+ "type": "string"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "author": {
+ "$ref": "#/definitions/PublicUser"
+ },
+ "attachments": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Attachment"
+ }
+ },
+ "embeds": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Embed"
+ }
+ },
+ "mentions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PublicUser"
+ }
+ },
+ "mention_roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "pinned": {
+ "type": "boolean"
+ },
+ "mention_everyone": {
+ "type": "boolean"
+ },
+ "tts": {
+ "type": "boolean"
+ },
+ "timestamp": {
+ "type": "string"
+ },
+ "edited_timestamp": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "components": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ActionRowComponent"
+ }
+ },
+ "poll": {
+ "$ref": "#/definitions/Poll"
+ },
+ "hit": {
+ "type": "boolean",
+ "enum": [
+ true
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "attachments",
+ "author",
+ "channel_id",
+ "components",
+ "edited_timestamp",
+ "embeds",
+ "flags",
+ "hit",
+ "id",
+ "mention_roles",
+ "mentions",
+ "pinned",
+ "poll",
+ "timestamp",
+ "tts",
+ "type"
+ ]
+ },
+ "PublicUser": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "premium_since": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "username": {
+ "type": "string"
+ },
+ "discriminator": {
+ "type": "string"
+ },
+ "public_flags": {
+ "type": "integer"
+ },
+ "accent_color": {
+ "type": "integer"
+ },
+ "banner": {
+ "type": "string"
+ },
+ "bio": {
+ "type": "string"
+ },
+ "bot": {
+ "type": "boolean"
+ },
+ "premium_type": {
+ "type": "integer"
+ },
+ "theme_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "pronouns": {
+ "type": "string"
+ },
+ "badge_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "bio",
+ "bot",
+ "discriminator",
+ "id",
+ "premium_since",
+ "premium_type",
+ "public_flags",
+ "username"
+ ]
+ },
+ "GuildVanityUrl": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "uses": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "uses"
+ ]
+ },
+ "GuildVanityUrlNoInvite": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "null"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code"
+ ]
+ },
+ "Snowflake": {
+ "description": "A container for useful snowflake-related methods.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
+ "TenorGifResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "src": {
+ "type": "string"
+ },
+ "gif_src": {
+ "type": "string"
+ },
+ "width": {
+ "type": "integer"
+ },
+ "height": {
+ "type": "integer"
+ },
+ "preview": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "gif_src",
+ "height",
+ "id",
+ "preview",
+ "src",
+ "title",
+ "url",
+ "width"
+ ]
+ },
+ "BackupCode": {
+ "type": "object",
+ "properties": {
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "code": {
+ "type": "string"
+ },
+ "consumed": {
+ "type": "boolean"
+ },
+ "expired": {
+ "type": "boolean"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "consumed",
+ "expired",
+ "id",
+ "user"
+ ]
+ },
+ "APIGuild": {
+ "type": "object",
+ "properties": {
+ "reload": {
+ "description": "Reloads entity data from the database.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "name": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "invites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Invite"
+ }
+ },
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
+ },
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
+ },
+ "toJSON": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "assign": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "hasId": {
+ "description": "Checks if entity has an id.\nIf entity composite compose ids, it will check them all.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "save": {
+ "description": "Saves current entity in the database.\nIf entity does not exist in the database then inserts, otherwise updates.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "remove": {
+ "description": "Removes current entity from the database.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "softRemove": {
+ "description": "Records the delete date of current entity.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "recover": {
+ "description": "Recovers a given entity in the database.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": "string"
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "members": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Member"
+ }
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "emojis": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Emoji"
+ }
+ },
+ "stickers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Sticker"
+ }
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "permissions": {
+ "type": "integer"
+ },
+ "channel_ordering": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "_do_validate",
+ "assign",
+ "bans",
+ "channel_ordering",
+ "channels",
+ "emojis",
+ "features",
+ "hasId",
+ "id",
+ "invites",
+ "members",
+ "name",
+ "nsfw",
+ "premium_progress_bar_enabled",
+ "public_updates_channel_id",
+ "recover",
+ "reload",
+ "remove",
+ "roles",
+ "save",
+ "softRemove",
+ "stickers",
+ "toJSON",
+ "unavailable",
+ "voice_states",
+ "webhooks",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
+ "DmChannelDTO": {
+ "type": "object",
+ "properties": {
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "id": {
+ "type": "string"
+ },
+ "last_message_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "name": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "origin_channel_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "recipients": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MinimalPublicUserDTO"
+ }
+ },
+ "type": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "icon",
+ "id",
+ "last_message_id",
+ "name",
+ "origin_channel_id",
+ "recipients",
+ "type"
+ ]
+ },
+ "MinimalPublicUserDTO": {
+ "type": "object",
+ "properties": {
+ "avatar": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "discriminator": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "public_flags": {
+ "type": "integer"
+ },
+ "username": {
+ "type": "string"
+ },
+ "badge_ids": {
+ "anyOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "discriminator",
+ "id",
+ "public_flags",
+ "username"
+ ]
+ },
+ "Categories": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "localizations": {
+ "type": "string"
+ },
+ "is_primary": {
+ "type": "boolean"
+ },
+ "icon": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "is_primary",
+ "localizations",
+ "name"
+ ]
+ },
+ "GuildVoiceRegion": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "custom": {
+ "type": "boolean"
+ },
+ "deprecated": {
+ "type": "boolean"
+ },
+ "optimal": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "custom",
+ "deprecated",
+ "id",
+ "name",
+ "optimal"
+ ]
+ },
+ "UserLimits": {
+ "type": "object",
+ "properties": {
+ "maxGuilds": {
+ "type": "integer",
+ "default": 1048576
+ },
+ "maxUsername": {
+ "type": "integer",
+ "default": 32
+ },
+ "maxFriends": {
+ "type": "integer",
+ "default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "maxBio",
+ "maxFriends",
+ "maxGuilds",
+ "maxUsername"
+ ]
+ },
+ "GuildLimits": {
+ "type": "object",
+ "properties": {
+ "maxRoles": {
+ "type": "integer",
+ "default": 1000
+ },
+ "maxEmojis": {
+ "type": "integer",
+ "default": 2000
+ },
+ "maxMembers": {
+ "type": "integer",
+ "default": 25000000
+ },
+ "maxChannels": {
+ "type": "integer",
+ "default": 65535
+ },
+ "maxBulkBanUsers": {
+ "type": "integer",
+ "default": 200
+ },
+ "maxChannelsInCategory": {
+ "type": "integer",
+ "default": 65535
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "maxBulkBanUsers",
+ "maxChannels",
+ "maxChannelsInCategory",
+ "maxEmojis",
+ "maxMembers",
+ "maxRoles"
+ ]
+ },
+ "MessageLimits": {
+ "type": "object",
+ "properties": {
+ "maxCharacters": {
+ "type": "integer",
+ "default": 1048576
+ },
+ "maxTTSCharacters": {
+ "type": "integer",
+ "default": 160
+ },
+ "maxReactions": {
+ "type": "integer",
+ "default": 2048
+ },
+ "maxAttachmentSize": {
+ "type": "integer",
+ "default": 1073741824
+ },
+ "maxBulkDelete": {
+ "type": "integer",
+ "default": 1000
+ },
+ "maxEmbedDownloadSize": {
+ "type": "integer",
+ "default": 5242880
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "maxAttachmentSize",
+ "maxBulkDelete",
+ "maxCharacters",
+ "maxEmbedDownloadSize",
+ "maxReactions",
+ "maxTTSCharacters"
+ ]
+ },
+ "ChannelLimits": {
+ "type": "object",
+ "properties": {
+ "maxPins": {
+ "type": "integer",
+ "default": 500
+ },
+ "maxTopic": {
+ "type": "integer",
+ "default": 1024
+ },
+ "maxWebhooks": {
+ "type": "integer",
+ "default": 100
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "maxPins",
+ "maxTopic",
+ "maxWebhooks"
+ ]
+ },
+ "RateLimits": {
+ "type": "object",
+ "properties": {
+ "enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "ip": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "global": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "error": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "routes": {
+ "$ref": "#/definitions/RouteRateLimit"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "enabled",
+ "error",
+ "global",
+ "ip",
+ "routes"
+ ]
+ },
+ "RateLimitOptions": {
+ "type": "object",
+ "properties": {
+ "bot": {
+ "type": "integer"
+ },
+ "count": {
+ "type": "integer"
+ },
+ "window": {
+ "type": "integer"
+ },
+ "onyIp": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "count",
+ "window"
+ ]
+ },
+ "RouteRateLimit": {
+ "type": "object",
+ "properties": {
+ "guild": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "webhook": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "channel": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "auth": {}
+ },
+ "additionalProperties": false,
+ "required": [
+ "auth",
+ "channel",
+ "guild",
+ "webhook"
+ ]
+ },
+ "GlobalRateLimits": {
+ "type": "object",
+ "properties": {
+ "register": {
+ "$ref": "#/definitions/GlobalRateLimit"
+ },
+ "sendMessage": {
+ "$ref": "#/definitions/GlobalRateLimit"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "register",
+ "sendMessage"
+ ]
+ },
+ "GlobalRateLimit": {
+ "type": "object",
+ "properties": {
+ "limit": {
+ "type": "integer",
+ "default": 100
+ },
+ "window": {
+ "type": "integer",
+ "default": 3600000
+ },
+ "enabled": {
+ "type": "boolean",
+ "default": true
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "enabled",
+ "limit",
+ "window"
+ ]
+ },
+ "PublicConnectedAccount": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "verified": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "name",
+ "type"
+ ]
+ },
+ "UserProfile": {
+ "type": "object",
+ "properties": {
+ "accent_color": {
+ "type": "integer"
+ },
+ "banner": {
+ "type": "string"
+ },
+ "bio": {
+ "type": "string"
+ },
+ "theme_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "pronouns": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "bio"
+ ]
+ },
+ "Badge": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "link": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "description",
+ "icon",
+ "id"
+ ]
+ },
+ "TokenResponse": {
+ "type": "object",
+ "properties": {
+ "token": {
+ "type": "string"
+ },
+ "settings": {
+ "$ref": "#/definitions/UserSettings"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "settings",
+ "token"
+ ]
+ },
+ "MFAResponse": {
+ "type": "object",
+ "properties": {
+ "ticket": {
+ "type": "string"
+ },
+ "mfa": {
+ "type": "boolean",
+ "enum": [
+ true
+ ]
+ },
+ "sms": {
+ "type": "boolean",
+ "enum": [
+ false
+ ]
+ },
+ "token": {
+ "type": "null"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "mfa",
+ "sms",
+ "ticket",
+ "token"
+ ]
+ },
+ "WebAuthnResponse": {
+ "type": "object",
+ "properties": {
+ "webauthn": {
+ "type": "string"
+ },
+ "ticket": {
+ "type": "string"
+ },
+ "mfa": {
+ "type": "boolean",
+ "enum": [
+ true
+ ]
+ },
+ "sms": {
+ "type": "boolean",
+ "enum": [
+ false
+ ]
+ },
+ "token": {
+ "type": "null"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "mfa",
+ "sms",
+ "ticket",
+ "token",
+ "webauthn"
+ ]
+ }
+ },
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "BanCreateSchema": {
+ "type": "object",
+ "properties": {
+ "delete_message_seconds": {
+ "type": "string"
+ },
+ "delete_message_days": {
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
+ "ChannelPermissionOverwriteType": {
+ "enum": [
+ 0,
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "ConnectedAccountTokenData": {
+ "type": "object",
+ "properties": {
+ "access_token": {
+ "type": "string"
+ },
+ "token_type": {
+ "type": "string"
+ },
+ "scope": {
+ "type": "string"
+ },
+ "refresh_token": {
+ "type": "string"
+ },
+ "expires_in": {
+ "type": "integer"
+ },
+ "expires_at": {
+ "type": "integer"
+ },
+ "fetched_at": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "access_token",
+ "fetched_at"
+ ]
+ },
+ "ChannelModifySchema": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "maxLength": 100,
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ 0,
+ 1,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 2,
+ 255,
+ 3,
+ 33,
+ 34,
+ 35,
+ 4,
+ 5,
+ 6,
+ 64,
+ 7,
+ 8,
+ 9
+ ],
+ "type": "number"
+ },
+ "topic": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "bitrate": {
+ "type": "integer"
+ },
+ "user_limit": {
+ "type": "integer"
+ },
+ "rate_limit_per_user": {
+ "type": "integer"
+ },
+ "position": {
+ "type": "integer"
+ },
+ "permission_overwrites": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/ChannelPermissionOverwriteType"
+ },
+ "allow": {
+ "type": "string"
+ },
+ "deny": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "allow",
+ "deny",
+ "id",
+ "type"
+ ]
+ }
+ },
+ "parent_id": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "rtc_region": {
+ "type": "string"
+ },
+ "default_auto_archive_duration": {
+ "type": "integer"
+ },
+ "default_reaction_emoji": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "default_thread_rate_limit_per_user": {
+ "type": "integer"
+ },
+ "video_quality_mode": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false
+ },
+ "ActivitySchema": {
+ "type": "object",
+ "properties": {
+ "afk": {
+ "type": "boolean"
+ },
+ "status": {
+ "$ref": "#/definitions/Status"
+ },
+ "activities": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Activity"
+ }
+ },
+ "since": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "status"
+ ]
+ },
+ "Status": {
+ "enum": [
+ "dnd",
+ "idle",
+ "invisible",
+ "offline",
+ "online"
+ ],
+ "type": "string"
+ },
+ "Activity": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/ActivityType"
+ },
+ "url": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "integer"
+ },
+ "timestamps": {
+ "type": "object",
+ "properties": {
+ "start": {
+ "type": "integer"
+ },
+ "end": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "end",
+ "start"
+ ]
+ },
+ "application_id": {
+ "type": "string"
+ },
+ "details": {
+ "type": "string"
+ },
+ "state": {
+ "type": "string"
+ },
+ "emoji": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "animated": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "animated",
+ "name"
+ ]
+ },
+ "party": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "size": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ }
+ },
+ "additionalProperties": false
+ },
+ "assets": {
+ "type": "object",
+ "properties": {
+ "large_image": {
+ "type": "string"
+ },
+ "large_text": {
+ "type": "string"
+ },
+ "small_image": {
+ "type": "string"
+ },
+ "small_text": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "secrets": {
+ "type": "object",
+ "properties": {
+ "join": {
+ "type": "string"
+ },
+ "spectate": {
+ "type": "string"
+ },
+ "match": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "instance": {
+ "type": "boolean"
+ },
+ "flags": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "sync_id": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "object",
+ "properties": {
+ "context_uri": {
+ "type": "string"
+ },
+ "album_id": {
+ "type": "string"
+ },
+ "artist_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "album_id",
+ "artist_ids"
+ ]
+ },
+ "session_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "flags",
+ "name",
+ "session_id",
+ "type"
+ ]
+ },
+ "ActivityType": {
+ "enum": [
+ 0,
+ 1,
+ 2,
+ 4,
+ 5
+ ],
+ "type": "number"
+ },
+ "Embed": {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "article",
+ "gifv",
+ "image",
+ "link",
+ "rich",
+ "video"
+ ],
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "color": {
+ "type": "integer"
+ },
+ "footer": {
+ "type": "object",
+ "properties": {
+ "text": {
+ "type": "string"
+ },
+ "icon_url": {
+ "type": "string"
+ },
+ "proxy_icon_url": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "text"
+ ]
+ },
+ "image": {
+ "$ref": "#/definitions/EmbedImage"
+ },
+ "thumbnail": {
+ "$ref": "#/definitions/EmbedImage"
+ },
+ "video": {
+ "$ref": "#/definitions/EmbedImage"
+ },
+ "provider": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "author": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "icon_url": {
+ "type": "string"
+ },
+ "proxy_icon_url": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "fields": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
+ },
+ "inline": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "name",
+ "value"
+ ]
+ }
+ }
+ },
+ "additionalProperties": false
+ },
+ "EmbedImage": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string"
+ },
+ "proxy_url": {
+ "type": "string"
+ },
+ "height": {
+ "type": "integer"
+ },
+ "width": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false
+ },
+ "ActionRowComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/MessageComponentType.ActionRow"
+ },
+ "components": {
+ "type": "array",
+ "items": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/ButtonComponent"
+ },
+ {
+ "$ref": "#/definitions/SelectMenuComponent"
+ },
+ {
+ "$ref": "#/definitions/StringSelectMenuComponent"
+ },
+ {
+ "$ref": "#/definitions/TextInputComponent"
+ }
+ ]
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "components",
+ "type"
+ ]
+ },
+ "MessageComponentType.ActionRow": {
+ "type": "number",
+ "enum": [
+ 1
+ ]
+ },
+ "ButtonComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/MessageComponentType.Button"
+ },
+ "style": {
+ "$ref": "#/definitions/ButtonStyle"
+ },
+ "label": {
+ "type": "string"
+ },
+ "emoji": {
+ "$ref": "#/definitions/PartialEmoji"
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "sku_id": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "disabled": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "style",
+ "type"
+ ]
+ },
+ "MessageComponentType.Button": {
+ "type": "number",
+ "enum": [
+ 2
+ ]
+ },
+ "ButtonStyle": {
+ "enum": [
+ 1,
+ 2,
+ 3,
+ 4,
+ 5,
+ 6
+ ],
+ "type": "number"
+ },
+ "PartialEmoji": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "animated": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "name"
+ ]
+ },
+ "SelectMenuComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "enum": [
+ 3,
+ 5,
+ 6,
+ 7,
+ 8
+ ],
+ "type": "number"
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "channel_types": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "placeholder": {
+ "type": "string"
+ },
+ "default_values": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SelectMenuDefaultOption"
+ }
+ },
+ "min_values": {
+ "type": "integer"
+ },
+ "max_values": {
+ "type": "integer"
+ },
+ "disabled": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "custom_id",
+ "type"
+ ]
+ },
+ "SelectMenuDefaultOption": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "channel",
+ "role",
+ "user"
+ ],
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "type"
+ ]
+ },
+ "StringSelectMenuComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/MessageComponentType.StringSelect"
+ },
+ "options": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SelectMenuOption"
+ }
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "channel_types": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "placeholder": {
+ "type": "string"
+ },
+ "default_values": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SelectMenuDefaultOption"
+ }
+ },
+ "min_values": {
+ "type": "integer"
+ },
+ "max_values": {
+ "type": "integer"
+ },
+ "disabled": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "custom_id",
+ "options",
+ "type"
+ ]
+ },
+ "MessageComponentType.StringSelect": {
+ "type": "number",
+ "enum": [
+ 3
+ ]
+ },
+ "SelectMenuOption": {
+ "type": "object",
+ "properties": {
+ "label": {
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "emoji": {
+ "$ref": "#/definitions/PartialEmoji"
+ },
+ "default": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "label",
+ "value"
+ ]
+ },
+ "TextInputComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/MessageComponentType.TextInput"
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "style": {
+ "$ref": "#/definitions/TextInputStyle"
+ },
+ "label": {
+ "type": "string"
+ },
+ "min_length": {
+ "type": "integer"
+ },
+ "max_length": {
+ "type": "integer"
+ },
+ "required": {
+ "type": "boolean"
+ },
+ "value": {
+ "type": "string"
+ },
+ "placeholder": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "custom_id",
+ "label",
+ "style",
+ "type"
+ ]
+ },
+ "MessageComponentType.TextInput": {
+ "type": "number",
+ "enum": [
+ 4
+ ]
+ },
+ "TextInputStyle": {
+ "enum": [
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "PollCreationSchema": {
+ "type": "object",
+ "properties": {
+ "question": {
+ "$ref": "#/definitions/PollMedia"
+ },
+ "answers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PollAnswer"
+ }
+ },
+ "duration": {
+ "type": "integer"
+ },
+ "allow_multiselect": {
+ "type": "boolean"
+ },
+ "layout_type": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "answers",
+ "question"
+ ]
+ },
+ "PollMedia": {
+ "type": "object",
+ "properties": {
+ "text": {
+ "type": "string"
+ },
+ "emoji": {
+ "$ref": "#/definitions/PartialEmoji"
+ }
+ },
+ "additionalProperties": false
+ },
+ "PollAnswer": {
+ "type": "object",
+ "properties": {
+ "answer_id": {
+ "type": "string"
+ },
+ "poll_media": {
+ "$ref": "#/definitions/PollMedia"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "poll_media"
+ ]
+ },
+ "ChannelOverride": {
+ "type": "object",
+ "properties": {
+ "message_notifications": {
+ "type": "integer"
+ },
+ "mute_config": {
+ "$ref": "#/definitions/MuteConfig"
+ },
+ "muted": {
+ "type": "boolean"
+ },
+ "channel_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel_id",
+ "message_notifications",
+ "mute_config",
+ "muted"
+ ]
+ },
+ "MuteConfig": {
+ "type": "object",
+ "properties": {
+ "end_time": {
+ "type": "integer"
+ },
+ "selected_time_window": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "end_time",
+ "selected_time_window"
+ ]
+ },
+ "CustomStatus": {
+ "type": "object",
+ "properties": {
+ "emoji_id": {
+ "type": "string"
+ },
+ "emoji_name": {
+ "type": "string"
+ },
+ "expires_at": {
+ "type": "integer"
+ },
+ "text": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "FriendSourceFlags": {
+ "type": "object",
+ "properties": {
+ "all": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "all"
+ ]
+ },
+ "GuildFolder": {
+ "type": "object",
+ "properties": {
+ "color": {
+ "type": "integer"
+ },
+ "guild_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "id": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "color",
+ "guild_ids",
+ "id",
+ "name"
+ ]
+ },
+ "GenerateWebAuthnCredentialsSchema": {
+ "type": "object",
+ "properties": {
+ "password": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "password"
+ ]
+ },
+ "CreateWebAuthnCredentialSchema": {
+ "type": "object",
+ "properties": {
+ "credential": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "ticket": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "credential",
+ "name",
+ "ticket"
+ ]
+ },
+ "APIErrorResponse": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "integer"
+ },
+ "message": {
+ "type": "string"
+ },
+ "errors": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "object",
+ "properties": {
+ "_errors": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "message": {
+ "type": "string"
+ },
+ "code": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "message"
+ ]
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "_errors"
+ ]
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "errors",
+ "message"
+ ]
+ },
+ "CaptchaRequiredResponse": {
+ "type": "object",
+ "properties": {
+ "captcha_key": {
+ "type": "string"
+ },
+ "captcha_sitekey": {
+ "type": "string"
+ },
+ "captcha_service": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "captcha_key",
+ "captcha_service",
+ "captcha_sitekey"
+ ]
+ },
+ "Guild": {
+ "type": "object",
+ "properties": {
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "afk_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "description": {
+ "type": "string"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean",
+ "default": false
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "members": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Member"
+ }
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "template": {
+ "$ref": "#/definitions/Template"
+ },
+ "emojis": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Emoji"
+ }
+ },
+ "stickers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Sticker"
+ }
+ },
+ "invites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Invite"
+ }
+ },
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
+ },
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "owner": {
+ "$ref": "#/definitions/User"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "public_updates_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "rules_channel": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "splash": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "system_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "unavailable": {
+ "type": "boolean",
+ "default": false
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "widget_enabled": {
+ "type": "boolean",
+ "default": true
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean",
+ "default": false
+ },
+ "parent": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "integer"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "channel_ordering": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "bans",
+ "channel_ordering",
+ "channels",
+ "emojis",
+ "features",
+ "id",
+ "invites",
+ "members",
+ "name",
+ "nsfw",
+ "premium_progress_bar_enabled",
+ "public_updates_channel_id",
+ "roles",
+ "stickers",
+ "template",
+ "unavailable",
+ "voice_states",
+ "webhooks",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
+ "Channel": {
+ "type": "object",
+ "properties": {
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "name": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "type": {
+ "$ref": "#/definitions/ChannelType"
+ },
+ "recipients": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Recipient"
+ }
+ },
+ "last_message_id": {
+ "type": "string"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "parent_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "parent": {
+ "$ref": "#/definitions/Channel"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "owner": {
+ "$ref": "#/definitions/User"
+ },
+ "last_pin_timestamp": {
+ "type": "integer"
+ },
+ "default_auto_archive_duration": {
+ "type": "integer"
+ },
+ "permission_overwrites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ChannelPermissionOverwrite"
+ }
+ },
+ "video_quality_mode": {
+ "type": "integer"
+ },
+ "bitrate": {
+ "type": "integer"
+ },
+ "user_limit": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean",
+ "default": false
+ },
+ "rate_limit_per_user": {
+ "type": "integer"
+ },
+ "topic": {
+ "type": "string"
+ },
+ "invites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Invite"
+ }
+ },
+ "retention_policy_id": {
+ "type": "string"
+ },
+ "messages": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Message"
+ }
+ },
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
+ },
+ "read_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ReadState"
+ }
+ },
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
+ },
+ "flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "default_thread_rate_limit_per_user": {
+ "type": "integer",
+ "default": 0
+ },
+ "position": {
+ "description": "Must be calculated Channel.calculatePosition",
+ "type": "integer"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "created_at",
+ "default_thread_rate_limit_per_user",
+ "flags",
+ "id",
+ "nsfw",
+ "owner",
+ "parent_id",
+ "position",
+ "type"
+ ]
+ },
+ "ChannelType": {
+ "enum": [
+ 0,
+ 1,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 2,
+ 255,
+ 3,
+ 33,
+ 34,
+ 35,
+ 4,
+ 5,
+ 6,
+ 64,
+ 7,
+ 8,
+ 9
+ ],
+ "type": "number"
+ },
+ "Recipient": {
+ "type": "object",
+ "properties": {
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "closed": {
+ "type": "boolean"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "channel_id",
+ "closed",
+ "id",
+ "user",
+ "user_id"
+ ]
+ },
+ "User": {
+ "type": "object",
+ "properties": {
+ "username": {
+ "type": "string"
+ },
+ "discriminator": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "accent_color": {
+ "type": "integer"
+ },
+ "banner": {
+ "type": "string"
+ },
+ "theme_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "pronouns": {
+ "type": "string"
+ },
+ "phone": {
+ "type": "string"
+ },
+ "desktop": {
+ "type": "boolean",
+ "default": false
+ },
+ "mobile": {
+ "type": "boolean",
+ "default": false
+ },
+ "premium": {
+ "type": "boolean"
+ },
+ "premium_type": {
+ "type": "integer"
+ },
+ "bot": {
+ "type": "boolean",
+ "default": false
+ },
+ "bio": {
+ "type": "string",
+ "default": ""
+ },
+ "system": {
+ "type": "boolean",
+ "default": false
+ },
+ "nsfw_allowed": {
+ "type": "boolean",
+ "default": true
+ },
+ "mfa_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "webauthn_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "totp_secret": {
+ "type": "string",
+ "default": ""
+ },
+ "totp_last_ticket": {
+ "type": "string",
+ "default": ""
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "premium_since": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "verified": {
+ "type": "boolean"
+ },
+ "disabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "deleted": {
+ "type": "boolean",
+ "default": false
+ },
+ "email": {
+ "type": "string"
+ },
+ "flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "public_flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "purchased_flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "premium_usage_flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "rights": {
+ "type": "string"
+ },
+ "sessions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Session"
+ }
+ },
+ "relationships": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Relationship"
+ }
+ },
+ "connected_accounts": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ConnectedAccount"
+ }
+ },
+ "data": {
+ "type": "object",
+ "properties": {
+ "valid_tokens_since": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "hash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "valid_tokens_since"
+ ]
+ },
+ "fingerprints": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "settings": {
+ "$ref": "#/definitions/UserSettings"
+ },
+ "extended_settings": {
+ "type": "string",
+ "default": "{}"
+ },
+ "security_keys": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SecurityKey"
+ }
+ },
+ "badge_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "bio",
+ "bot",
+ "connected_accounts",
+ "created_at",
+ "data",
+ "deleted",
+ "desktop",
+ "disabled",
+ "discriminator",
+ "extended_settings",
+ "fingerprints",
+ "flags",
+ "id",
+ "mfa_enabled",
+ "mobile",
+ "nsfw_allowed",
+ "premium",
+ "premium_since",
+ "premium_type",
+ "premium_usage_flags",
+ "public_flags",
+ "purchased_flags",
+ "relationships",
+ "rights",
+ "security_keys",
+ "sessions",
+ "settings",
+ "system",
+ "username",
+ "verified",
+ "webauthn_enabled"
+ ]
+ },
+ "Session": {
+ "type": "object",
+ "properties": {
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "session_id": {
+ "type": "string"
+ },
+ "activities": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Activity"
+ }
+ },
+ "client_info": {
+ "type": "object",
+ "properties": {
+ "client": {
+ "type": "string"
+ },
+ "os": {
+ "type": "string"
+ },
+ "version": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "client",
+ "os",
+ "version"
+ ]
+ },
+ "client_status": {
+ "$ref": "#/definitions/ClientStatus"
+ },
+ "status": {
+ "$ref": "#/definitions/Status"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "activities",
+ "client_info",
+ "client_status",
+ "id",
+ "session_id",
+ "status",
+ "user",
+ "user_id"
+ ]
+ },
+ "ClientStatus": {
+ "type": "object",
+ "properties": {
+ "desktop": {
+ "type": "string"
+ },
+ "mobile": {
+ "type": "string"
+ },
+ "web": {
+ "type": "string"
+ },
+ "embedded": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "Relationship": {
+ "type": "object",
+ "properties": {
+ "from_id": {
+ "type": "string"
+ },
+ "from": {
+ "$ref": "#/definitions/User"
+ },
+ "to_id": {
+ "type": "string"
+ },
+ "to": {
+ "$ref": "#/definitions/User"
+ },
+ "nickname": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/RelationshipType"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "from",
+ "from_id",
+ "id",
+ "to",
+ "to_id",
+ "type"
+ ]
+ },
+ "RelationshipType": {
+ "enum": [
+ 1,
+ 2,
+ 3,
+ 4
+ ],
+ "type": "number"
+ },
+ "ConnectedAccount": {
+ "type": "object",
+ "properties": {
+ "external_id": {
+ "type": "string"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "friend_sync": {
+ "type": "boolean",
+ "default": false
+ },
+ "name": {
+ "type": "string"
+ },
+ "revoked": {
+ "type": "boolean",
+ "default": false
+ },
+ "show_activity": {
+ "type": "integer",
+ "default": 0
+ },
+ "type": {
+ "type": "string"
+ },
+ "verified": {
+ "type": "boolean",
+ "default": true
+ },
+ "visibility": {
+ "type": "integer",
+ "default": 0
+ },
+ "integrations": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "metadata_": {},
+ "metadata_visibility": {
+ "type": "integer",
+ "default": 0
+ },
+ "two_way_link": {
+ "type": "boolean",
+ "default": false
+ },
+ "token_data": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/ConnectedAccountTokenData"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "external_id",
+ "id",
+ "name",
+ "type",
+ "user",
+ "user_id"
+ ]
+ },
+ "UserSettings": {
+ "type": "object",
+ "properties": {
+ "index": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer",
+ "default": 3600
+ },
+ "allow_accessibility_detection": {
+ "type": "boolean",
+ "default": true
+ },
+ "animate_emoji": {
+ "type": "boolean",
+ "default": true
+ },
+ "animate_stickers": {
+ "type": "integer",
+ "default": 0
+ },
+ "contact_sync_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "convert_emoticons": {
+ "type": "boolean",
+ "default": false
+ },
+ "custom_status": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/CustomStatus"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "default_guilds_restricted": {
+ "type": "boolean",
+ "default": false
+ },
+ "detect_platform_accounts": {
+ "type": "boolean",
+ "default": false
+ },
+ "developer_mode": {
+ "type": "boolean",
+ "default": true
+ },
+ "disable_games_tab": {
+ "type": "boolean",
+ "default": true
+ },
+ "enable_tts_command": {
+ "type": "boolean",
+ "default": false
+ },
+ "explicit_content_filter": {
+ "type": "integer",
+ "default": 0
+ },
+ "friend_discovery_flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "friend_source_flags": {
+ "$ref": "#/definitions/FriendSourceFlags"
+ },
+ "gateway_connected": {
+ "type": "boolean",
+ "default": false
+ },
+ "gif_auto_play": {
+ "type": "boolean",
+ "default": false
+ },
+ "guild_folders": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/GuildFolder"
+ },
+ "default": []
+ },
+ "guild_positions": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "inline_attachment_media": {
+ "type": "boolean",
+ "default": true
+ },
+ "inline_embed_media": {
+ "type": "boolean",
+ "default": true
+ },
+ "locale": {
+ "type": "string",
+ "default": "en-US"
+ },
+ "message_display_compact": {
+ "type": "boolean",
+ "default": false
+ },
+ "native_phone_integration_enabled": {
+ "type": "boolean",
+ "default": true
+ },
+ "render_embeds": {
+ "type": "boolean",
+ "default": true
+ },
+ "render_reactions": {
+ "type": "boolean",
+ "default": true
+ },
+ "restricted_guilds": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "show_current_game": {
+ "type": "boolean",
+ "default": true
+ },
+ "status": {
+ "enum": [
+ "dnd",
+ "idle",
+ "invisible",
+ "offline",
+ "online"
+ ],
+ "type": "string",
+ "default": "online"
+ },
+ "stream_notifications_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "theme": {
+ "enum": [
+ "dark",
+ "light"
+ ],
+ "type": "string",
+ "default": "dark"
+ },
+ "timezone_offset": {
+ "type": "integer",
+ "default": 0
+ },
+ "view_nsfw_guilds": {
+ "type": "boolean",
+ "default": true
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "afk_timeout",
+ "allow_accessibility_detection",
+ "animate_emoji",
+ "animate_stickers",
+ "contact_sync_enabled",
+ "convert_emoticons",
+ "custom_status",
+ "default_guilds_restricted",
+ "detect_platform_accounts",
+ "developer_mode",
+ "disable_games_tab",
+ "enable_tts_command",
+ "explicit_content_filter",
+ "friend_discovery_flags",
+ "friend_source_flags",
+ "gateway_connected",
+ "gif_auto_play",
+ "guild_folders",
+ "guild_positions",
+ "index",
+ "inline_attachment_media",
+ "inline_embed_media",
+ "locale",
+ "message_display_compact",
+ "native_phone_integration_enabled",
+ "render_embeds",
+ "render_reactions",
+ "restricted_guilds",
+ "show_current_game",
+ "status",
+ "stream_notifications_enabled",
+ "theme",
+ "timezone_offset",
+ "view_nsfw_guilds"
+ ]
+ },
+ "SecurityKey": {
+ "type": "object",
+ "properties": {
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "key_id": {
+ "type": "string"
+ },
+ "public_key": {
+ "type": "string"
+ },
+ "counter": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "counter",
+ "id",
+ "key_id",
+ "name",
+ "public_key",
+ "user",
+ "user_id"
+ ]
+ },
+ "ChannelPermissionOverwrite": {
+ "type": "object",
+ "properties": {
+ "allow": {
+ "type": "string"
+ },
+ "deny": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/ChannelPermissionOverwriteType"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "allow",
+ "deny",
+ "id",
+ "type"
+ ]
+ },
+ "Invite": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "temporary": {
+ "type": "boolean"
+ },
+ "uses": {
+ "type": "integer"
+ },
+ "max_uses": {
+ "type": "integer"
+ },
+ "max_age": {
+ "type": "integer"
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "expires_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "inviter_id": {
+ "type": "string"
+ },
+ "inviter": {
+ "$ref": "#/definitions/User"
+ },
+ "target_user_id": {
+ "type": "string"
+ },
+ "target_user": {
+ "type": "string"
+ },
+ "target_user_type": {
+ "type": "integer"
+ },
+ "vanity_url": {
+ "type": "boolean"
+ },
+ "flags": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "channel_id",
+ "code",
+ "created_at",
+ "flags",
+ "guild",
+ "guild_id",
+ "inviter",
+ "max_age",
+ "max_uses",
+ "target_user_id",
+ "temporary",
+ "uses"
+ ]
+ },
+ "Message": {
+ "type": "object",
+ "properties": {
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "author_id": {
+ "type": "string"
+ },
+ "author": {
+ "$ref": "#/definitions/User"
+ },
+ "member_id": {
+ "type": "string"
+ },
+ "member": {
+ "$ref": "#/definitions/Member"
+ },
+ "webhook_id": {
+ "type": "string"
+ },
+ "webhook": {
+ "$ref": "#/definitions/Webhook"
+ },
+ "application_id": {
+ "type": "string"
+ },
+ "application": {
+ "$ref": "#/definitions/Application"
+ },
+ "content": {
+ "type": "string"
+ },
+ "timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "edited_timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "tts": {
+ "type": "boolean"
+ },
+ "mention_everyone": {
+ "type": "boolean"
+ },
+ "mentions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/User"
+ }
+ },
+ "mention_roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "mention_channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "sticker_items": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Sticker"
+ }
+ },
+ "attachments": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Attachment"
+ }
+ },
+ "embeds": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Embed"
+ }
+ },
+ "reactions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Reaction"
+ }
+ },
+ "nonce": {
+ "type": "string"
+ },
+ "pinned": {
+ "type": "boolean"
+ },
+ "type": {
+ "$ref": "#/definitions/MessageType"
+ },
+ "activity": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "integer"
+ },
+ "party_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "party_id",
+ "type"
+ ]
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "message_reference": {
+ "type": "object",
+ "properties": {
+ "message_id": {
+ "type": "string"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "guild_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "message_id"
+ ]
+ },
+ "referenced_message": {
+ "$ref": "#/definitions/Message"
+ },
+ "interaction": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/InteractionType"
+ },
+ "name": {
+ "type": "string"
+ },
+ "user_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "type",
+ "user_id"
+ ]
+ },
+ "components": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ActionRowComponent"
+ }
+ },
+ "poll": {
+ "$ref": "#/definitions/Poll"
+ },
+ "username": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "embeds",
+ "flags",
+ "id",
+ "mention_channels",
+ "mention_roles",
+ "mentions",
+ "reactions",
+ "timestamp",
+ "type"
+ ]
+ },
+ "Member": {
+ "type": "object",
+ "properties": {
+ "index": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "nick": {
+ "type": "string"
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "joined_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "premium_since": {
+ "type": "integer"
+ },
+ "deaf": {
+ "type": "boolean"
+ },
+ "mute": {
+ "type": "boolean"
+ },
+ "pending": {
+ "type": "boolean"
+ },
+ "settings": {
+ "$ref": "#/definitions/UserGuildSettings"
+ },
+ "last_message_id": {
+ "type": "string"
+ },
+ "joined_by": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "banner": {
+ "type": "string"
+ },
+ "bio": {
+ "type": "string"
+ },
+ "theme_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "pronouns": {
+ "type": "string"
+ },
+ "communication_disabled_until": {
+ "type": "string",
+ "format": "date-time"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "banner",
+ "bio",
+ "communication_disabled_until",
+ "deaf",
+ "guild",
+ "guild_id",
+ "id",
+ "index",
+ "joined_at",
+ "joined_by",
+ "mute",
+ "pending",
+ "roles",
+ "settings",
+ "user"
+ ]
+ },
+ "Role": {
+ "type": "object",
+ "properties": {
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "color": {
+ "type": "integer"
+ },
+ "hoist": {
+ "type": "boolean"
+ },
+ "managed": {
+ "type": "boolean"
+ },
+ "mentionable": {
+ "type": "boolean"
+ },
+ "name": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "string"
+ },
+ "position": {
+ "type": "integer"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "unicode_emoji": {
+ "type": "string"
+ },
+ "tags": {
+ "type": "object",
+ "properties": {
+ "bot_id": {
+ "type": "string"
+ },
+ "integration_id": {
+ "type": "string"
+ },
+ "premium_subscriber": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "color",
+ "flags",
+ "guild",
+ "guild_id",
+ "hoist",
+ "id",
+ "managed",
+ "mentionable",
+ "name",
+ "permissions",
+ "position"
+ ]
+ },
+ "UserGuildSettings": {
+ "type": "object",
+ "properties": {
+ "channel_overrides": {
+ "anyOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "$ref": "#/definitions/ChannelOverride"
+ }
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "message_notifications": {
+ "type": "integer"
+ },
+ "mobile_push": {
+ "type": "boolean"
+ },
+ "mute_config": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/MuteConfig"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "muted": {
+ "type": "boolean"
+ },
+ "suppress_everyone": {
+ "type": "boolean"
+ },
+ "suppress_roles": {
+ "type": "boolean"
+ },
+ "version": {
+ "type": "integer"
+ },
+ "guild_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "mute_scheduled_events": {
+ "type": "boolean"
+ },
+ "hide_muted_channels": {
+ "type": "boolean"
+ },
+ "notify_highlights": {
+ "type": "number",
+ "enum": [
+ 0
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel_overrides",
+ "flags",
+ "guild_id",
+ "hide_muted_channels",
+ "message_notifications",
+ "mobile_push",
+ "mute_config",
+ "mute_scheduled_events",
+ "muted",
+ "notify_highlights",
+ "suppress_everyone",
+ "suppress_roles",
+ "version"
+ ]
+ },
+ "Webhook": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/WebhookType"
+ },
+ "name": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "token": {
+ "type": "string"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "application_id": {
+ "type": "string"
+ },
+ "application": {
+ "$ref": "#/definitions/Application"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "source_guild_id": {
+ "type": "string"
+ },
+ "source_guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "source_channel_id": {
+ "type": "string"
+ },
+ "source_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "url": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "application",
+ "application_id",
+ "avatar",
+ "channel",
+ "channel_id",
+ "id",
+ "name",
+ "source_channel",
+ "source_channel_id",
+ "type",
+ "url",
+ "user",
+ "user_id"
+ ]
+ },
+ "WebhookType": {
+ "enum": [
+ 1,
+ 2,
+ 3
+ ],
+ "type": "number"
+ },
+ "Application": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "summary": {
+ "type": "string",
+ "default": ""
+ },
+ "type": {
+ "type": "object",
+ "properties": {},
+ "additionalProperties": true
+ },
+ "hook": {
+ "type": "boolean",
+ "default": true
+ },
+ "bot_public": {
+ "type": "boolean",
+ "default": true
+ },
+ "bot_require_code_grant": {
+ "type": "boolean",
+ "default": false
+ },
+ "verify_key": {
+ "type": "string"
+ },
+ "owner": {
+ "$ref": "#/definitions/User"
+ },
+ "flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "redirect_uris": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "rpc_application_state": {
+ "type": "integer",
+ "default": 0
+ },
+ "store_application_state": {
+ "type": "integer",
+ "default": 1
+ },
+ "verification_state": {
+ "type": "integer",
+ "default": 1
+ },
+ "interactions_endpoint_url": {
+ "type": "string"
+ },
+ "integration_public": {
+ "type": "boolean",
+ "default": true
+ },
+ "integration_require_code_grant": {
+ "type": "boolean",
+ "default": false
+ },
+ "discoverability_state": {
+ "type": "integer",
+ "default": 1
+ },
+ "discovery_eligibility_flags": {
+ "type": "integer",
+ "default": 2240
+ },
+ "bot": {
+ "$ref": "#/definitions/User"
+ },
+ "tags": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "cover_image": {
+ "type": "string"
+ },
+ "install_params": {
+ "type": "object",
+ "properties": {
+ "scopes": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "permissions": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "permissions",
+ "scopes"
+ ]
+ },
+ "terms_of_service_url": {
+ "type": "string"
+ },
+ "privacy_policy_url": {
+ "type": "string"
+ },
+ "team": {
+ "$ref": "#/definitions/Team"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "description",
+ "discoverability_state",
+ "discovery_eligibility_flags",
+ "flags",
+ "hook",
+ "id",
+ "integration_public",
+ "integration_require_code_grant",
+ "name",
+ "owner",
+ "redirect_uris",
+ "rpc_application_state",
+ "store_application_state",
+ "summary",
+ "verification_state",
+ "verify_key"
+ ]
+ },
+ "Team": {
+ "type": "object",
+ "properties": {
+ "icon": {
+ "type": "string"
+ },
+ "members": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TeamMember"
+ }
+ },
+ "name": {
+ "type": "string"
+ },
+ "owner_user_id": {
+ "type": "string"
+ },
+ "owner_user": {
+ "$ref": "#/definitions/User"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "members",
+ "name",
+ "owner_user",
+ "owner_user_id"
+ ]
+ },
+ "TeamMember": {
+ "type": "object",
+ "properties": {
+ "membership_state": {
+ "$ref": "#/definitions/TeamMemberState"
+ },
+ "permissions": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "team_id": {
+ "type": "string"
+ },
+ "team": {
+ "$ref": "#/definitions/Team"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "membership_state",
+ "permissions",
+ "team",
+ "team_id",
+ "user",
+ "user_id"
+ ]
+ },
+ "TeamMemberState": {
+ "enum": [
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "Sticker": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "available": {
+ "type": "boolean"
+ },
+ "tags": {
+ "type": "string"
+ },
+ "pack_id": {
+ "type": "string"
+ },
+ "pack": {
+ "$ref": "#/definitions/StickerPack"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "type": {
+ "$ref": "#/definitions/StickerType"
+ },
+ "format_type": {
+ "$ref": "#/definitions/StickerFormatType"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "format_type",
+ "id",
+ "name",
+ "pack",
+ "type"
+ ]
+ },
+ "StickerPack": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "banner_asset_id": {
+ "type": "string"
+ },
+ "stickers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Sticker"
+ }
+ },
+ "cover_sticker_id": {
+ "type": "string"
+ },
+ "cover_sticker": {
+ "$ref": "#/definitions/Sticker"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "stickers"
+ ]
+ },
+ "StickerType": {
+ "enum": [
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "StickerFormatType": {
+ "enum": [
+ 0,
+ 1,
+ 2,
+ 3
+ ],
+ "type": "number"
+ },
+ "Attachment": {
+ "type": "object",
+ "properties": {
+ "filename": {
+ "type": "string"
+ },
+ "size": {
+ "type": "integer"
+ },
+ "url": {
+ "type": "string"
+ },
+ "proxy_url": {
+ "type": "string"
+ },
+ "height": {
+ "type": "integer"
+ },
+ "width": {
+ "type": "integer"
+ },
+ "content_type": {
+ "type": "string"
+ },
+ "message_id": {
+ "type": "string"
+ },
+ "message": {
+ "$ref": "#/definitions/Message"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "filename",
+ "id",
+ "message",
+ "message_id",
+ "proxy_url",
+ "size",
+ "url"
+ ]
+ },
+ "Reaction": {
+ "type": "object",
+ "properties": {
+ "count": {
+ "type": "integer"
+ },
+ "emoji": {
+ "$ref": "#/definitions/PartialEmoji"
+ },
+ "user_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "count",
+ "emoji",
+ "user_ids"
+ ]
+ },
+ "MessageType": {
+ "enum": [
+ 0,
+ 1,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 16,
+ 19,
+ 2,
+ 20,
+ 255,
+ 3,
+ 4,
+ 41,
+ 42,
+ 43,
+ 5,
+ 50,
+ 6,
+ 63,
+ 7,
+ 8,
+ 9
+ ],
+ "type": "number"
+ },
+ "InteractionType": {
+ "enum": [
+ 0,
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "Poll": {
+ "type": "object",
+ "properties": {
+ "question": {
+ "$ref": "#/definitions/PollMedia"
+ },
+ "answers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PollAnswer"
+ }
+ },
+ "expiry": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "allow_multiselect": {
+ "type": "boolean"
+ },
+ "results": {
+ "$ref": "#/definitions/PollResult"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "allow_multiselect",
+ "answers",
+ "expiry",
+ "question"
+ ]
+ },
+ "PollResult": {
+ "type": "object",
+ "properties": {
+ "is_finalized": {
+ "type": "boolean"
+ },
+ "answer_counts": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PollAnswerCount"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "answer_counts",
+ "is_finalized"
+ ]
+ },
+ "PollAnswerCount": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "count": {
+ "type": "integer"
+ },
+ "me_voted": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "count",
+ "id",
+ "me_voted"
+ ]
+ },
+ "VoiceState": {
+ "type": "object",
+ "properties": {
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "member": {
+ "$ref": "#/definitions/Member"
+ },
+ "session_id": {
+ "type": "string"
+ },
+ "token": {
+ "type": "string"
+ },
+ "deaf": {
+ "type": "boolean"
+ },
+ "mute": {
+ "type": "boolean"
+ },
+ "self_deaf": {
+ "type": "boolean"
+ },
+ "self_mute": {
+ "type": "boolean"
+ },
+ "self_stream": {
+ "type": "boolean"
+ },
+ "self_video": {
+ "type": "boolean"
+ },
+ "suppress": {
+ "type": "boolean"
+ },
+ "request_to_speak_timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "channel_id",
+ "deaf",
+ "guild_id",
+ "id",
+ "member",
+ "mute",
+ "self_deaf",
+ "self_mute",
+ "self_video",
+ "session_id",
+ "suppress",
+ "token",
+ "user",
+ "user_id"
+ ]
+ },
+ "ReadState": {
+ "type": "object",
+ "properties": {
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "last_message_id": {
+ "type": "string"
+ },
+ "public_ack": {
+ "type": "string"
+ },
+ "notifications_cursor": {
+ "type": "string"
+ },
+ "last_pin_timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "mention_count": {
+ "type": "integer"
+ },
+ "manual": {
+ "type": "boolean"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "channel_id",
+ "id",
+ "last_message_id",
+ "manual",
+ "mention_count",
+ "notifications_cursor",
+ "public_ack",
+ "user",
+ "user_id"
+ ]
+ },
+ "Ban": {
+ "type": "object",
+ "properties": {
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "executor_id": {
+ "type": "string"
+ },
+ "executor": {
+ "$ref": "#/definitions/User"
+ },
+ "ip": {
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "executor",
+ "executor_id",
+ "guild",
+ "guild_id",
+ "id",
+ "ip",
+ "user",
+ "user_id"
+ ]
+ },
+ "Template": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "usage_count": {
+ "type": "integer"
+ },
+ "creator_id": {
+ "type": "string"
+ },
+ "creator": {
+ "$ref": "#/definitions/User"
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "source_guild_id": {
+ "type": "string"
+ },
+ "source_guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "serialized_source_guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "created_at",
+ "creator",
+ "creator_id",
+ "id",
+ "name",
+ "serialized_source_guild",
+ "source_guild",
+ "source_guild_id",
+ "updated_at"
+ ]
+ },
+ "Emoji": {
+ "type": "object",
+ "properties": {
+ "animated": {
+ "type": "boolean"
+ },
+ "available": {
+ "type": "boolean"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "managed": {
+ "type": "boolean"
+ },
+ "name": {
+ "type": "string"
+ },
+ "require_colons": {
+ "type": "boolean"
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "groups": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "animated",
+ "available",
+ "groups",
+ "guild",
+ "guild_id",
+ "id",
+ "managed",
+ "name",
+ "require_colons",
+ "roles",
+ "user",
+ "user_id"
+ ]
+ },
+ "GuildWelcomeScreen": {
+ "type": "object",
+ "properties": {
+ "enabled": {
+ "type": "boolean"
+ },
+ "description": {
+ "type": "string"
+ },
+ "welcome_channels": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "description": {
+ "type": "string"
+ },
+ "emoji_id": {
+ "type": "string"
+ },
+ "emoji_name": {
+ "type": "string"
+ },
+ "channel_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel_id",
+ "description"
+ ]
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "description",
+ "enabled",
+ "welcome_channels"
+ ]
+ },
+ "GuildMessagesSearchMessage": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/MessageType"
+ },
+ "content": {
+ "type": "string"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "author": {
+ "$ref": "#/definitions/PublicUser"
+ },
+ "attachments": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Attachment"
+ }
+ },
+ "embeds": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Embed"
+ }
+ },
+ "mentions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PublicUser"
+ }
+ },
+ "mention_roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "pinned": {
+ "type": "boolean"
+ },
+ "mention_everyone": {
+ "type": "boolean"
+ },
+ "tts": {
+ "type": "boolean"
+ },
+ "timestamp": {
+ "type": "string"
+ },
+ "edited_timestamp": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "components": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ActionRowComponent"
+ }
+ },
+ "poll": {
+ "$ref": "#/definitions/Poll"
+ },
+ "hit": {
+ "type": "boolean",
+ "enum": [
+ true
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "attachments",
+ "author",
+ "channel_id",
+ "components",
+ "edited_timestamp",
+ "embeds",
+ "flags",
+ "hit",
+ "id",
+ "mention_roles",
+ "mentions",
+ "pinned",
+ "poll",
+ "timestamp",
+ "tts",
+ "type"
+ ]
+ },
+ "PublicUser": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "premium_since": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "username": {
+ "type": "string"
+ },
+ "discriminator": {
+ "type": "string"
+ },
+ "public_flags": {
+ "type": "integer"
+ },
+ "accent_color": {
+ "type": "integer"
+ },
+ "banner": {
+ "type": "string"
+ },
+ "bio": {
+ "type": "string"
+ },
+ "bot": {
+ "type": "boolean"
+ },
+ "premium_type": {
+ "type": "integer"
+ },
+ "theme_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "pronouns": {
+ "type": "string"
+ },
+ "badge_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "bio",
+ "bot",
+ "discriminator",
+ "id",
+ "premium_since",
+ "premium_type",
+ "public_flags",
+ "username"
+ ]
+ },
+ "GuildVanityUrl": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "uses": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "uses"
+ ]
+ },
+ "GuildVanityUrlNoInvite": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "null"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code"
+ ]
+ },
+ "Snowflake": {
+ "description": "A container for useful snowflake-related methods.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
+ "TenorGifResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "src": {
+ "type": "string"
+ },
+ "gif_src": {
+ "type": "string"
+ },
+ "width": {
+ "type": "integer"
+ },
+ "height": {
+ "type": "integer"
+ },
+ "preview": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "gif_src",
+ "height",
+ "id",
+ "preview",
+ "src",
+ "title",
+ "url",
+ "width"
+ ]
+ },
+ "BackupCode": {
+ "type": "object",
+ "properties": {
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "code": {
+ "type": "string"
+ },
+ "consumed": {
+ "type": "boolean"
+ },
+ "expired": {
+ "type": "boolean"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "consumed",
+ "expired",
+ "id",
+ "user"
+ ]
+ },
+ "APIGuild": {
+ "type": "object",
+ "properties": {
+ "reload": {
+ "description": "Reloads entity data from the database.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "name": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "invites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Invite"
+ }
+ },
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
+ },
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
+ },
+ "toJSON": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "assign": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "hasId": {
+ "description": "Checks if entity has an id.\nIf entity composite compose ids, it will check them all.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "save": {
+ "description": "Saves current entity in the database.\nIf entity does not exist in the database then inserts, otherwise updates.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "remove": {
+ "description": "Removes current entity from the database.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "softRemove": {
+ "description": "Records the delete date of current entity.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "recover": {
+ "description": "Recovers a given entity in the database.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": "string"
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "members": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Member"
+ }
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "emojis": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Emoji"
+ }
+ },
+ "stickers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Sticker"
+ }
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "permissions": {
+ "type": "integer"
+ },
+ "channel_ordering": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "_do_validate",
+ "assign",
+ "bans",
+ "channel_ordering",
+ "channels",
+ "emojis",
+ "features",
+ "hasId",
+ "id",
+ "invites",
+ "members",
+ "name",
+ "nsfw",
+ "premium_progress_bar_enabled",
+ "public_updates_channel_id",
+ "recover",
+ "reload",
+ "remove",
+ "roles",
+ "save",
+ "softRemove",
+ "stickers",
+ "toJSON",
+ "unavailable",
+ "voice_states",
+ "webhooks",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
+ "DmChannelDTO": {
+ "type": "object",
+ "properties": {
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "id": {
+ "type": "string"
+ },
+ "last_message_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "name": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "origin_channel_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "recipients": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MinimalPublicUserDTO"
+ }
+ },
+ "type": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "icon",
+ "id",
+ "last_message_id",
+ "name",
+ "origin_channel_id",
+ "recipients",
+ "type"
+ ]
+ },
+ "MinimalPublicUserDTO": {
+ "type": "object",
+ "properties": {
+ "avatar": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "discriminator": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "public_flags": {
+ "type": "integer"
+ },
+ "username": {
+ "type": "string"
+ },
+ "badge_ids": {
+ "anyOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "discriminator",
+ "id",
+ "public_flags",
+ "username"
+ ]
+ },
+ "Categories": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "localizations": {
+ "type": "string"
+ },
+ "is_primary": {
+ "type": "boolean"
+ },
+ "icon": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "is_primary",
+ "localizations",
+ "name"
+ ]
+ },
+ "GuildVoiceRegion": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "custom": {
+ "type": "boolean"
+ },
+ "deprecated": {
+ "type": "boolean"
+ },
+ "optimal": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "custom",
+ "deprecated",
+ "id",
+ "name",
+ "optimal"
+ ]
+ },
+ "UserLimits": {
+ "type": "object",
+ "properties": {
+ "maxGuilds": {
+ "type": "integer",
+ "default": 1048576
+ },
+ "maxUsername": {
+ "type": "integer",
+ "default": 32
+ },
+ "maxFriends": {
+ "type": "integer",
+ "default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "maxBio",
+ "maxFriends",
+ "maxGuilds",
+ "maxUsername"
+ ]
+ },
+ "GuildLimits": {
+ "type": "object",
+ "properties": {
+ "maxRoles": {
+ "type": "integer",
+ "default": 1000
+ },
+ "maxEmojis": {
+ "type": "integer",
+ "default": 2000
+ },
+ "maxMembers": {
+ "type": "integer",
+ "default": 25000000
+ },
+ "maxChannels": {
+ "type": "integer",
+ "default": 65535
+ },
+ "maxBulkBanUsers": {
+ "type": "integer",
+ "default": 200
+ },
+ "maxChannelsInCategory": {
+ "type": "integer",
+ "default": 65535
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "maxBulkBanUsers",
+ "maxChannels",
+ "maxChannelsInCategory",
+ "maxEmojis",
+ "maxMembers",
+ "maxRoles"
+ ]
+ },
+ "MessageLimits": {
+ "type": "object",
+ "properties": {
+ "maxCharacters": {
+ "type": "integer",
+ "default": 1048576
+ },
+ "maxTTSCharacters": {
+ "type": "integer",
+ "default": 160
+ },
+ "maxReactions": {
+ "type": "integer",
+ "default": 2048
+ },
+ "maxAttachmentSize": {
+ "type": "integer",
+ "default": 1073741824
+ },
+ "maxBulkDelete": {
+ "type": "integer",
+ "default": 1000
+ },
+ "maxEmbedDownloadSize": {
+ "type": "integer",
+ "default": 5242880
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "maxAttachmentSize",
+ "maxBulkDelete",
+ "maxCharacters",
+ "maxEmbedDownloadSize",
+ "maxReactions",
+ "maxTTSCharacters"
+ ]
+ },
+ "ChannelLimits": {
+ "type": "object",
+ "properties": {
+ "maxPins": {
+ "type": "integer",
+ "default": 500
+ },
+ "maxTopic": {
+ "type": "integer",
+ "default": 1024
+ },
+ "maxWebhooks": {
+ "type": "integer",
+ "default": 100
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "maxPins",
+ "maxTopic",
+ "maxWebhooks"
+ ]
+ },
+ "RateLimits": {
+ "type": "object",
+ "properties": {
+ "enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "ip": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "global": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "error": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "routes": {
+ "$ref": "#/definitions/RouteRateLimit"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "enabled",
+ "error",
+ "global",
+ "ip",
+ "routes"
+ ]
+ },
+ "RateLimitOptions": {
+ "type": "object",
+ "properties": {
+ "bot": {
+ "type": "integer"
+ },
+ "count": {
+ "type": "integer"
+ },
+ "window": {
+ "type": "integer"
+ },
+ "onyIp": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "count",
+ "window"
+ ]
+ },
+ "RouteRateLimit": {
+ "type": "object",
+ "properties": {
+ "guild": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "webhook": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "channel": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "auth": {}
+ },
+ "additionalProperties": false,
+ "required": [
+ "auth",
+ "channel",
+ "guild",
+ "webhook"
+ ]
+ },
+ "GlobalRateLimits": {
+ "type": "object",
+ "properties": {
+ "register": {
+ "$ref": "#/definitions/GlobalRateLimit"
+ },
+ "sendMessage": {
+ "$ref": "#/definitions/GlobalRateLimit"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "register",
+ "sendMessage"
+ ]
+ },
+ "GlobalRateLimit": {
+ "type": "object",
+ "properties": {
+ "limit": {
+ "type": "integer",
+ "default": 100
+ },
+ "window": {
+ "type": "integer",
+ "default": 3600000
+ },
+ "enabled": {
+ "type": "boolean",
+ "default": true
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "enabled",
+ "limit",
+ "window"
+ ]
+ },
+ "PublicConnectedAccount": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "verified": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "name",
+ "type"
+ ]
+ },
+ "UserProfile": {
+ "type": "object",
+ "properties": {
+ "accent_color": {
+ "type": "integer"
+ },
+ "banner": {
+ "type": "string"
+ },
+ "bio": {
+ "type": "string"
+ },
+ "theme_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "pronouns": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "bio"
+ ]
+ },
+ "Badge": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "link": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "description",
+ "icon",
+ "id"
+ ]
+ },
+ "TokenResponse": {
+ "type": "object",
+ "properties": {
+ "token": {
+ "type": "string"
+ },
+ "settings": {
+ "$ref": "#/definitions/UserSettings"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "settings",
+ "token"
+ ]
+ },
+ "MFAResponse": {
+ "type": "object",
+ "properties": {
+ "ticket": {
+ "type": "string"
+ },
+ "mfa": {
+ "type": "boolean",
+ "enum": [
+ true
+ ]
+ },
+ "sms": {
+ "type": "boolean",
+ "enum": [
+ false
+ ]
+ },
+ "token": {
+ "type": "null"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "mfa",
+ "sms",
+ "ticket",
+ "token"
+ ]
+ },
+ "WebAuthnResponse": {
+ "type": "object",
+ "properties": {
+ "webauthn": {
+ "type": "string"
+ },
+ "ticket": {
+ "type": "string"
+ },
+ "mfa": {
+ "type": "boolean",
+ "enum": [
+ true
+ ]
+ },
+ "sms": {
+ "type": "boolean",
+ "enum": [
+ false
+ ]
+ },
+ "token": {
+ "type": "null"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "mfa",
+ "sms",
+ "ticket",
+ "token",
+ "webauthn"
+ ]
+ }
+ },
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "BanModeratorSchema": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "executor_id": {
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "executor_id",
+ "guild_id",
+ "id",
+ "user_id"
+ ],
+ "definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
+ "ChannelPermissionOverwriteType": {
+ "enum": [
+ 0,
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "ConnectedAccountTokenData": {
+ "type": "object",
+ "properties": {
+ "access_token": {
+ "type": "string"
+ },
+ "token_type": {
+ "type": "string"
+ },
+ "scope": {
+ "type": "string"
+ },
+ "refresh_token": {
+ "type": "string"
+ },
+ "expires_in": {
+ "type": "integer"
+ },
+ "expires_at": {
+ "type": "integer"
+ },
+ "fetched_at": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "access_token",
+ "fetched_at"
+ ]
+ },
+ "ChannelModifySchema": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "maxLength": 100,
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ 0,
+ 1,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 2,
+ 255,
+ 3,
+ 33,
+ 34,
+ 35,
+ 4,
+ 5,
+ 6,
+ 64,
+ 7,
+ 8,
+ 9
+ ],
+ "type": "number"
+ },
+ "topic": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "bitrate": {
+ "type": "integer"
+ },
+ "user_limit": {
+ "type": "integer"
+ },
+ "rate_limit_per_user": {
+ "type": "integer"
+ },
+ "position": {
+ "type": "integer"
+ },
+ "permission_overwrites": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/ChannelPermissionOverwriteType"
+ },
+ "allow": {
+ "type": "string"
+ },
+ "deny": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "allow",
+ "deny",
+ "id",
+ "type"
+ ]
+ }
+ },
+ "parent_id": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "rtc_region": {
+ "type": "string"
+ },
+ "default_auto_archive_duration": {
+ "type": "integer"
+ },
+ "default_reaction_emoji": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "default_thread_rate_limit_per_user": {
+ "type": "integer"
+ },
+ "video_quality_mode": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false
+ },
+ "ActivitySchema": {
+ "type": "object",
+ "properties": {
+ "afk": {
+ "type": "boolean"
+ },
+ "status": {
+ "$ref": "#/definitions/Status"
+ },
+ "activities": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Activity"
+ }
+ },
+ "since": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "status"
+ ]
+ },
+ "Status": {
+ "enum": [
+ "dnd",
+ "idle",
+ "invisible",
+ "offline",
+ "online"
+ ],
+ "type": "string"
+ },
+ "Activity": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/ActivityType"
+ },
+ "url": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "integer"
+ },
+ "timestamps": {
+ "type": "object",
+ "properties": {
+ "start": {
+ "type": "integer"
+ },
+ "end": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "end",
+ "start"
+ ]
+ },
+ "application_id": {
+ "type": "string"
+ },
+ "details": {
+ "type": "string"
+ },
+ "state": {
+ "type": "string"
+ },
+ "emoji": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "animated": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "animated",
+ "name"
+ ]
+ },
+ "party": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "size": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ }
+ },
+ "additionalProperties": false
+ },
+ "assets": {
+ "type": "object",
+ "properties": {
+ "large_image": {
+ "type": "string"
+ },
+ "large_text": {
+ "type": "string"
+ },
+ "small_image": {
+ "type": "string"
+ },
+ "small_text": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "secrets": {
+ "type": "object",
+ "properties": {
+ "join": {
+ "type": "string"
+ },
+ "spectate": {
+ "type": "string"
+ },
+ "match": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "instance": {
+ "type": "boolean"
+ },
+ "flags": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "sync_id": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "object",
+ "properties": {
+ "context_uri": {
+ "type": "string"
+ },
+ "album_id": {
+ "type": "string"
+ },
+ "artist_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "album_id",
+ "artist_ids"
+ ]
+ },
+ "session_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "flags",
+ "name",
+ "session_id",
+ "type"
+ ]
+ },
+ "ActivityType": {
+ "enum": [
+ 0,
+ 1,
+ 2,
+ 4,
+ 5
+ ],
+ "type": "number"
+ },
+ "Embed": {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "article",
+ "gifv",
+ "image",
+ "link",
+ "rich",
+ "video"
+ ],
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "color": {
+ "type": "integer"
+ },
+ "footer": {
+ "type": "object",
+ "properties": {
+ "text": {
+ "type": "string"
+ },
+ "icon_url": {
+ "type": "string"
+ },
+ "proxy_icon_url": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "text"
+ ]
+ },
+ "image": {
+ "$ref": "#/definitions/EmbedImage"
+ },
+ "thumbnail": {
+ "$ref": "#/definitions/EmbedImage"
+ },
+ "video": {
+ "$ref": "#/definitions/EmbedImage"
+ },
+ "provider": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "author": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "icon_url": {
+ "type": "string"
+ },
+ "proxy_icon_url": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "fields": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
+ },
+ "inline": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "name",
+ "value"
+ ]
+ }
+ }
+ },
+ "additionalProperties": false
+ },
+ "EmbedImage": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string"
+ },
+ "proxy_url": {
+ "type": "string"
+ },
+ "height": {
+ "type": "integer"
+ },
+ "width": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false
+ },
+ "ActionRowComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/MessageComponentType.ActionRow"
+ },
+ "components": {
+ "type": "array",
+ "items": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/ButtonComponent"
+ },
+ {
+ "$ref": "#/definitions/SelectMenuComponent"
+ },
+ {
+ "$ref": "#/definitions/StringSelectMenuComponent"
+ },
+ {
+ "$ref": "#/definitions/TextInputComponent"
+ }
+ ]
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "components",
+ "type"
+ ]
+ },
+ "MessageComponentType.ActionRow": {
+ "type": "number",
+ "enum": [
+ 1
+ ]
+ },
+ "ButtonComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/MessageComponentType.Button"
+ },
+ "style": {
+ "$ref": "#/definitions/ButtonStyle"
+ },
+ "label": {
+ "type": "string"
+ },
+ "emoji": {
+ "$ref": "#/definitions/PartialEmoji"
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "sku_id": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "disabled": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "style",
+ "type"
+ ]
+ },
+ "MessageComponentType.Button": {
+ "type": "number",
+ "enum": [
+ 2
+ ]
+ },
+ "ButtonStyle": {
+ "enum": [
+ 1,
+ 2,
+ 3,
+ 4,
+ 5,
+ 6
+ ],
+ "type": "number"
+ },
+ "PartialEmoji": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "animated": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "name"
+ ]
+ },
+ "SelectMenuComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "enum": [
+ 3,
+ 5,
+ 6,
+ 7,
+ 8
+ ],
+ "type": "number"
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "channel_types": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "placeholder": {
+ "type": "string"
+ },
+ "default_values": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SelectMenuDefaultOption"
+ }
+ },
+ "min_values": {
+ "type": "integer"
+ },
+ "max_values": {
+ "type": "integer"
+ },
+ "disabled": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "custom_id",
+ "type"
+ ]
+ },
+ "SelectMenuDefaultOption": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "channel",
+ "role",
+ "user"
+ ],
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "type"
+ ]
+ },
+ "StringSelectMenuComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/MessageComponentType.StringSelect"
+ },
+ "options": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SelectMenuOption"
+ }
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "channel_types": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "placeholder": {
+ "type": "string"
+ },
+ "default_values": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SelectMenuDefaultOption"
+ }
+ },
+ "min_values": {
+ "type": "integer"
+ },
+ "max_values": {
+ "type": "integer"
+ },
+ "disabled": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "custom_id",
+ "options",
+ "type"
+ ]
+ },
+ "MessageComponentType.StringSelect": {
+ "type": "number",
+ "enum": [
+ 3
+ ]
+ },
+ "SelectMenuOption": {
+ "type": "object",
+ "properties": {
+ "label": {
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "emoji": {
+ "$ref": "#/definitions/PartialEmoji"
+ },
+ "default": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "label",
+ "value"
+ ]
+ },
+ "TextInputComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/MessageComponentType.TextInput"
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "style": {
+ "$ref": "#/definitions/TextInputStyle"
+ },
+ "label": {
+ "type": "string"
+ },
+ "min_length": {
+ "type": "integer"
+ },
+ "max_length": {
+ "type": "integer"
+ },
+ "required": {
+ "type": "boolean"
+ },
+ "value": {
+ "type": "string"
+ },
+ "placeholder": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "custom_id",
+ "label",
+ "style",
+ "type"
+ ]
+ },
+ "MessageComponentType.TextInput": {
+ "type": "number",
+ "enum": [
+ 4
+ ]
+ },
+ "TextInputStyle": {
+ "enum": [
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "PollCreationSchema": {
+ "type": "object",
+ "properties": {
+ "question": {
+ "$ref": "#/definitions/PollMedia"
+ },
+ "answers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PollAnswer"
+ }
+ },
+ "duration": {
+ "type": "integer"
+ },
+ "allow_multiselect": {
+ "type": "boolean"
+ },
+ "layout_type": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "answers",
+ "question"
+ ]
+ },
+ "PollMedia": {
+ "type": "object",
+ "properties": {
+ "text": {
+ "type": "string"
+ },
+ "emoji": {
+ "$ref": "#/definitions/PartialEmoji"
+ }
+ },
+ "additionalProperties": false
+ },
+ "PollAnswer": {
+ "type": "object",
+ "properties": {
+ "answer_id": {
+ "type": "string"
+ },
+ "poll_media": {
+ "$ref": "#/definitions/PollMedia"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "poll_media"
+ ]
+ },
+ "ChannelOverride": {
+ "type": "object",
+ "properties": {
+ "message_notifications": {
+ "type": "integer"
+ },
+ "mute_config": {
+ "$ref": "#/definitions/MuteConfig"
+ },
+ "muted": {
+ "type": "boolean"
+ },
+ "channel_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel_id",
+ "message_notifications",
+ "mute_config",
+ "muted"
+ ]
+ },
+ "MuteConfig": {
+ "type": "object",
+ "properties": {
+ "end_time": {
+ "type": "integer"
+ },
+ "selected_time_window": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "end_time",
+ "selected_time_window"
+ ]
+ },
+ "CustomStatus": {
+ "type": "object",
+ "properties": {
+ "emoji_id": {
+ "type": "string"
+ },
+ "emoji_name": {
+ "type": "string"
+ },
+ "expires_at": {
+ "type": "integer"
+ },
+ "text": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "FriendSourceFlags": {
+ "type": "object",
+ "properties": {
+ "all": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "all"
+ ]
+ },
+ "GuildFolder": {
+ "type": "object",
+ "properties": {
+ "color": {
+ "type": "integer"
+ },
+ "guild_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "id": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "color",
+ "guild_ids",
+ "id",
+ "name"
+ ]
+ },
+ "GenerateWebAuthnCredentialsSchema": {
+ "type": "object",
+ "properties": {
+ "password": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "password"
+ ]
+ },
+ "CreateWebAuthnCredentialSchema": {
+ "type": "object",
+ "properties": {
+ "credential": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "ticket": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "credential",
+ "name",
+ "ticket"
+ ]
+ },
+ "APIErrorResponse": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "integer"
+ },
+ "message": {
+ "type": "string"
+ },
+ "errors": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "object",
+ "properties": {
+ "_errors": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "message": {
+ "type": "string"
+ },
+ "code": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "message"
+ ]
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "_errors"
+ ]
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "errors",
+ "message"
+ ]
+ },
+ "CaptchaRequiredResponse": {
+ "type": "object",
+ "properties": {
+ "captcha_key": {
+ "type": "string"
+ },
+ "captcha_sitekey": {
+ "type": "string"
+ },
+ "captcha_service": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "captcha_key",
+ "captcha_service",
+ "captcha_sitekey"
+ ]
+ },
+ "Guild": {
+ "type": "object",
+ "properties": {
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "afk_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "description": {
+ "type": "string"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean",
+ "default": false
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "members": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Member"
+ }
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "template": {
+ "$ref": "#/definitions/Template"
+ },
+ "emojis": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Emoji"
+ }
+ },
+ "stickers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Sticker"
+ }
+ },
+ "invites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Invite"
+ }
+ },
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
+ },
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "owner": {
+ "$ref": "#/definitions/User"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "public_updates_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "rules_channel": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "splash": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "system_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "unavailable": {
+ "type": "boolean",
+ "default": false
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "widget_enabled": {
+ "type": "boolean",
+ "default": true
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean",
+ "default": false
+ },
+ "parent": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "integer"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "channel_ordering": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "bans",
+ "channel_ordering",
+ "channels",
+ "emojis",
+ "features",
+ "id",
+ "invites",
+ "members",
+ "name",
+ "nsfw",
+ "premium_progress_bar_enabled",
+ "public_updates_channel_id",
+ "roles",
+ "stickers",
+ "template",
+ "unavailable",
+ "voice_states",
+ "webhooks",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
+ "Channel": {
+ "type": "object",
+ "properties": {
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "name": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "type": {
+ "$ref": "#/definitions/ChannelType"
+ },
+ "recipients": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Recipient"
+ }
+ },
+ "last_message_id": {
+ "type": "string"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "parent_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "parent": {
+ "$ref": "#/definitions/Channel"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "owner": {
+ "$ref": "#/definitions/User"
+ },
+ "last_pin_timestamp": {
+ "type": "integer"
+ },
+ "default_auto_archive_duration": {
+ "type": "integer"
+ },
+ "permission_overwrites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ChannelPermissionOverwrite"
+ }
+ },
+ "video_quality_mode": {
+ "type": "integer"
+ },
+ "bitrate": {
+ "type": "integer"
+ },
+ "user_limit": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean",
+ "default": false
+ },
+ "rate_limit_per_user": {
+ "type": "integer"
+ },
+ "topic": {
+ "type": "string"
+ },
+ "invites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Invite"
+ }
+ },
+ "retention_policy_id": {
+ "type": "string"
+ },
+ "messages": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Message"
+ }
+ },
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
+ },
+ "read_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ReadState"
+ }
+ },
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
+ },
+ "flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "default_thread_rate_limit_per_user": {
+ "type": "integer",
+ "default": 0
+ },
+ "position": {
+ "description": "Must be calculated Channel.calculatePosition",
+ "type": "integer"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "created_at",
+ "default_thread_rate_limit_per_user",
+ "flags",
+ "id",
+ "nsfw",
+ "owner",
+ "parent_id",
+ "position",
+ "type"
+ ]
+ },
+ "ChannelType": {
+ "enum": [
+ 0,
+ 1,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 2,
+ 255,
+ 3,
+ 33,
+ 34,
+ 35,
+ 4,
+ 5,
+ 6,
+ 64,
+ 7,
+ 8,
+ 9
+ ],
+ "type": "number"
+ },
+ "Recipient": {
+ "type": "object",
+ "properties": {
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "closed": {
+ "type": "boolean"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "channel_id",
+ "closed",
+ "id",
+ "user",
+ "user_id"
+ ]
+ },
+ "User": {
+ "type": "object",
+ "properties": {
+ "username": {
+ "type": "string"
+ },
+ "discriminator": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "accent_color": {
+ "type": "integer"
+ },
+ "banner": {
+ "type": "string"
+ },
+ "theme_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "pronouns": {
+ "type": "string"
+ },
+ "phone": {
+ "type": "string"
+ },
+ "desktop": {
+ "type": "boolean",
+ "default": false
+ },
+ "mobile": {
+ "type": "boolean",
+ "default": false
+ },
+ "premium": {
+ "type": "boolean"
+ },
+ "premium_type": {
+ "type": "integer"
+ },
+ "bot": {
+ "type": "boolean",
+ "default": false
+ },
+ "bio": {
+ "type": "string",
+ "default": ""
+ },
+ "system": {
+ "type": "boolean",
+ "default": false
+ },
+ "nsfw_allowed": {
+ "type": "boolean",
+ "default": true
+ },
+ "mfa_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "webauthn_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "totp_secret": {
+ "type": "string",
+ "default": ""
+ },
+ "totp_last_ticket": {
+ "type": "string",
+ "default": ""
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "premium_since": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "verified": {
+ "type": "boolean"
+ },
+ "disabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "deleted": {
+ "type": "boolean",
+ "default": false
+ },
+ "email": {
+ "type": "string"
+ },
+ "flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "public_flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "purchased_flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "premium_usage_flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "rights": {
+ "type": "string"
+ },
+ "sessions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Session"
+ }
+ },
+ "relationships": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Relationship"
+ }
+ },
+ "connected_accounts": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ConnectedAccount"
+ }
+ },
+ "data": {
+ "type": "object",
+ "properties": {
+ "valid_tokens_since": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "hash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "valid_tokens_since"
+ ]
+ },
+ "fingerprints": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "settings": {
+ "$ref": "#/definitions/UserSettings"
+ },
+ "extended_settings": {
+ "type": "string",
+ "default": "{}"
+ },
+ "security_keys": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SecurityKey"
+ }
+ },
+ "badge_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "bio",
+ "bot",
+ "connected_accounts",
+ "created_at",
+ "data",
+ "deleted",
+ "desktop",
+ "disabled",
+ "discriminator",
+ "extended_settings",
+ "fingerprints",
+ "flags",
+ "id",
+ "mfa_enabled",
+ "mobile",
+ "nsfw_allowed",
+ "premium",
+ "premium_since",
+ "premium_type",
+ "premium_usage_flags",
+ "public_flags",
+ "purchased_flags",
+ "relationships",
+ "rights",
+ "security_keys",
+ "sessions",
+ "settings",
+ "system",
+ "username",
+ "verified",
+ "webauthn_enabled"
+ ]
+ },
+ "Session": {
+ "type": "object",
+ "properties": {
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "session_id": {
+ "type": "string"
+ },
+ "activities": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Activity"
+ }
+ },
+ "client_info": {
+ "type": "object",
+ "properties": {
+ "client": {
+ "type": "string"
+ },
+ "os": {
+ "type": "string"
+ },
+ "version": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "client",
+ "os",
+ "version"
+ ]
+ },
+ "client_status": {
+ "$ref": "#/definitions/ClientStatus"
+ },
+ "status": {
+ "$ref": "#/definitions/Status"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "activities",
+ "client_info",
+ "client_status",
+ "id",
+ "session_id",
+ "status",
+ "user",
+ "user_id"
+ ]
+ },
+ "ClientStatus": {
+ "type": "object",
+ "properties": {
+ "desktop": {
+ "type": "string"
+ },
+ "mobile": {
+ "type": "string"
+ },
+ "web": {
+ "type": "string"
+ },
+ "embedded": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "Relationship": {
+ "type": "object",
+ "properties": {
+ "from_id": {
+ "type": "string"
+ },
+ "from": {
+ "$ref": "#/definitions/User"
+ },
+ "to_id": {
+ "type": "string"
+ },
+ "to": {
+ "$ref": "#/definitions/User"
+ },
+ "nickname": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/RelationshipType"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "from",
+ "from_id",
+ "id",
+ "to",
+ "to_id",
+ "type"
+ ]
+ },
+ "RelationshipType": {
+ "enum": [
+ 1,
+ 2,
+ 3,
+ 4
+ ],
+ "type": "number"
+ },
+ "ConnectedAccount": {
+ "type": "object",
+ "properties": {
+ "external_id": {
+ "type": "string"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "friend_sync": {
+ "type": "boolean",
+ "default": false
+ },
+ "name": {
+ "type": "string"
+ },
+ "revoked": {
+ "type": "boolean",
+ "default": false
+ },
+ "show_activity": {
+ "type": "integer",
+ "default": 0
+ },
+ "type": {
+ "type": "string"
+ },
+ "verified": {
+ "type": "boolean",
+ "default": true
+ },
+ "visibility": {
+ "type": "integer",
+ "default": 0
+ },
+ "integrations": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "metadata_": {},
+ "metadata_visibility": {
+ "type": "integer",
+ "default": 0
+ },
+ "two_way_link": {
+ "type": "boolean",
+ "default": false
+ },
+ "token_data": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/ConnectedAccountTokenData"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "external_id",
+ "id",
+ "name",
+ "type",
+ "user",
+ "user_id"
+ ]
+ },
+ "UserSettings": {
+ "type": "object",
+ "properties": {
+ "index": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer",
+ "default": 3600
+ },
+ "allow_accessibility_detection": {
+ "type": "boolean",
+ "default": true
+ },
+ "animate_emoji": {
+ "type": "boolean",
+ "default": true
+ },
+ "animate_stickers": {
+ "type": "integer",
+ "default": 0
+ },
+ "contact_sync_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "convert_emoticons": {
+ "type": "boolean",
+ "default": false
+ },
+ "custom_status": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/CustomStatus"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "default_guilds_restricted": {
+ "type": "boolean",
+ "default": false
+ },
+ "detect_platform_accounts": {
+ "type": "boolean",
+ "default": false
+ },
+ "developer_mode": {
+ "type": "boolean",
+ "default": true
+ },
+ "disable_games_tab": {
+ "type": "boolean",
+ "default": true
+ },
+ "enable_tts_command": {
+ "type": "boolean",
+ "default": false
+ },
+ "explicit_content_filter": {
+ "type": "integer",
+ "default": 0
+ },
+ "friend_discovery_flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "friend_source_flags": {
+ "$ref": "#/definitions/FriendSourceFlags"
+ },
+ "gateway_connected": {
+ "type": "boolean",
+ "default": false
+ },
+ "gif_auto_play": {
+ "type": "boolean",
+ "default": false
+ },
+ "guild_folders": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/GuildFolder"
+ },
+ "default": []
+ },
+ "guild_positions": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "inline_attachment_media": {
+ "type": "boolean",
+ "default": true
+ },
+ "inline_embed_media": {
+ "type": "boolean",
+ "default": true
+ },
+ "locale": {
+ "type": "string",
+ "default": "en-US"
+ },
+ "message_display_compact": {
+ "type": "boolean",
+ "default": false
+ },
+ "native_phone_integration_enabled": {
+ "type": "boolean",
+ "default": true
+ },
+ "render_embeds": {
+ "type": "boolean",
+ "default": true
+ },
+ "render_reactions": {
+ "type": "boolean",
+ "default": true
+ },
+ "restricted_guilds": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "show_current_game": {
+ "type": "boolean",
+ "default": true
+ },
+ "status": {
+ "enum": [
+ "dnd",
+ "idle",
+ "invisible",
+ "offline",
+ "online"
+ ],
+ "type": "string",
+ "default": "online"
+ },
+ "stream_notifications_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "theme": {
+ "enum": [
+ "dark",
+ "light"
+ ],
+ "type": "string",
+ "default": "dark"
+ },
+ "timezone_offset": {
+ "type": "integer",
+ "default": 0
+ },
+ "view_nsfw_guilds": {
+ "type": "boolean",
+ "default": true
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "afk_timeout",
+ "allow_accessibility_detection",
+ "animate_emoji",
+ "animate_stickers",
+ "contact_sync_enabled",
+ "convert_emoticons",
+ "custom_status",
+ "default_guilds_restricted",
+ "detect_platform_accounts",
+ "developer_mode",
+ "disable_games_tab",
+ "enable_tts_command",
+ "explicit_content_filter",
+ "friend_discovery_flags",
+ "friend_source_flags",
+ "gateway_connected",
+ "gif_auto_play",
+ "guild_folders",
+ "guild_positions",
+ "index",
+ "inline_attachment_media",
+ "inline_embed_media",
+ "locale",
+ "message_display_compact",
+ "native_phone_integration_enabled",
+ "render_embeds",
+ "render_reactions",
+ "restricted_guilds",
+ "show_current_game",
+ "status",
+ "stream_notifications_enabled",
+ "theme",
+ "timezone_offset",
+ "view_nsfw_guilds"
+ ]
+ },
+ "SecurityKey": {
+ "type": "object",
+ "properties": {
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "key_id": {
+ "type": "string"
+ },
+ "public_key": {
+ "type": "string"
+ },
+ "counter": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "counter",
+ "id",
+ "key_id",
+ "name",
+ "public_key",
+ "user",
+ "user_id"
+ ]
+ },
+ "ChannelPermissionOverwrite": {
+ "type": "object",
+ "properties": {
+ "allow": {
+ "type": "string"
+ },
+ "deny": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/ChannelPermissionOverwriteType"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "allow",
+ "deny",
+ "id",
+ "type"
+ ]
+ },
+ "Invite": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "temporary": {
+ "type": "boolean"
+ },
+ "uses": {
+ "type": "integer"
+ },
+ "max_uses": {
+ "type": "integer"
+ },
+ "max_age": {
+ "type": "integer"
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "expires_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "inviter_id": {
+ "type": "string"
+ },
+ "inviter": {
+ "$ref": "#/definitions/User"
+ },
+ "target_user_id": {
+ "type": "string"
+ },
+ "target_user": {
+ "type": "string"
+ },
+ "target_user_type": {
+ "type": "integer"
+ },
+ "vanity_url": {
+ "type": "boolean"
+ },
+ "flags": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "channel_id",
+ "code",
+ "created_at",
+ "flags",
+ "guild",
+ "guild_id",
+ "inviter",
+ "max_age",
+ "max_uses",
+ "target_user_id",
+ "temporary",
+ "uses"
+ ]
+ },
+ "Message": {
+ "type": "object",
+ "properties": {
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "author_id": {
+ "type": "string"
+ },
+ "author": {
+ "$ref": "#/definitions/User"
+ },
+ "member_id": {
+ "type": "string"
+ },
+ "member": {
+ "$ref": "#/definitions/Member"
+ },
+ "webhook_id": {
+ "type": "string"
+ },
+ "webhook": {
+ "$ref": "#/definitions/Webhook"
+ },
+ "application_id": {
+ "type": "string"
+ },
+ "application": {
+ "$ref": "#/definitions/Application"
+ },
+ "content": {
+ "type": "string"
+ },
+ "timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "edited_timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "tts": {
+ "type": "boolean"
+ },
+ "mention_everyone": {
+ "type": "boolean"
+ },
+ "mentions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/User"
+ }
+ },
+ "mention_roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "mention_channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "sticker_items": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Sticker"
+ }
+ },
+ "attachments": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Attachment"
+ }
+ },
+ "embeds": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Embed"
+ }
+ },
+ "reactions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Reaction"
+ }
+ },
+ "nonce": {
+ "type": "string"
+ },
+ "pinned": {
+ "type": "boolean"
+ },
+ "type": {
+ "$ref": "#/definitions/MessageType"
+ },
+ "activity": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "integer"
+ },
+ "party_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "party_id",
+ "type"
+ ]
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "message_reference": {
+ "type": "object",
+ "properties": {
+ "message_id": {
+ "type": "string"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "guild_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "message_id"
+ ]
+ },
+ "referenced_message": {
+ "$ref": "#/definitions/Message"
+ },
+ "interaction": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/InteractionType"
+ },
+ "name": {
+ "type": "string"
+ },
+ "user_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "type",
+ "user_id"
+ ]
+ },
+ "components": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ActionRowComponent"
+ }
+ },
+ "poll": {
+ "$ref": "#/definitions/Poll"
+ },
+ "username": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "embeds",
+ "flags",
+ "id",
+ "mention_channels",
+ "mention_roles",
+ "mentions",
+ "reactions",
+ "timestamp",
+ "type"
+ ]
+ },
+ "Member": {
+ "type": "object",
+ "properties": {
+ "index": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "nick": {
+ "type": "string"
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "joined_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "premium_since": {
+ "type": "integer"
+ },
+ "deaf": {
+ "type": "boolean"
+ },
+ "mute": {
+ "type": "boolean"
+ },
+ "pending": {
+ "type": "boolean"
+ },
+ "settings": {
+ "$ref": "#/definitions/UserGuildSettings"
+ },
+ "last_message_id": {
+ "type": "string"
+ },
+ "joined_by": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "banner": {
+ "type": "string"
+ },
+ "bio": {
+ "type": "string"
+ },
+ "theme_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "pronouns": {
+ "type": "string"
+ },
+ "communication_disabled_until": {
+ "type": "string",
+ "format": "date-time"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "banner",
+ "bio",
+ "communication_disabled_until",
+ "deaf",
+ "guild",
+ "guild_id",
+ "id",
+ "index",
+ "joined_at",
+ "joined_by",
+ "mute",
+ "pending",
+ "roles",
+ "settings",
+ "user"
+ ]
+ },
+ "Role": {
+ "type": "object",
+ "properties": {
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "color": {
+ "type": "integer"
+ },
+ "hoist": {
+ "type": "boolean"
+ },
+ "managed": {
+ "type": "boolean"
+ },
+ "mentionable": {
+ "type": "boolean"
+ },
+ "name": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "string"
+ },
+ "position": {
+ "type": "integer"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "unicode_emoji": {
+ "type": "string"
+ },
+ "tags": {
+ "type": "object",
+ "properties": {
+ "bot_id": {
+ "type": "string"
+ },
+ "integration_id": {
+ "type": "string"
+ },
+ "premium_subscriber": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "color",
+ "flags",
+ "guild",
+ "guild_id",
+ "hoist",
+ "id",
+ "managed",
+ "mentionable",
+ "name",
+ "permissions",
+ "position"
+ ]
+ },
+ "UserGuildSettings": {
+ "type": "object",
+ "properties": {
+ "channel_overrides": {
+ "anyOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "$ref": "#/definitions/ChannelOverride"
+ }
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "message_notifications": {
+ "type": "integer"
+ },
+ "mobile_push": {
+ "type": "boolean"
+ },
+ "mute_config": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/MuteConfig"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "muted": {
+ "type": "boolean"
+ },
+ "suppress_everyone": {
+ "type": "boolean"
+ },
+ "suppress_roles": {
+ "type": "boolean"
+ },
+ "version": {
+ "type": "integer"
+ },
+ "guild_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "mute_scheduled_events": {
+ "type": "boolean"
+ },
+ "hide_muted_channels": {
+ "type": "boolean"
+ },
+ "notify_highlights": {
+ "type": "number",
+ "enum": [
+ 0
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel_overrides",
+ "flags",
+ "guild_id",
+ "hide_muted_channels",
+ "message_notifications",
+ "mobile_push",
+ "mute_config",
+ "mute_scheduled_events",
+ "muted",
+ "notify_highlights",
+ "suppress_everyone",
+ "suppress_roles",
+ "version"
+ ]
+ },
+ "Webhook": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/WebhookType"
+ },
+ "name": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "token": {
+ "type": "string"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "application_id": {
+ "type": "string"
+ },
+ "application": {
+ "$ref": "#/definitions/Application"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "source_guild_id": {
+ "type": "string"
+ },
+ "source_guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "source_channel_id": {
+ "type": "string"
+ },
+ "source_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "url": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "application",
+ "application_id",
+ "avatar",
+ "channel",
+ "channel_id",
+ "id",
+ "name",
+ "source_channel",
+ "source_channel_id",
+ "type",
+ "url",
+ "user",
+ "user_id"
+ ]
+ },
+ "WebhookType": {
+ "enum": [
+ 1,
+ 2,
+ 3
+ ],
+ "type": "number"
+ },
+ "Application": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "summary": {
+ "type": "string",
+ "default": ""
+ },
+ "type": {
+ "type": "object",
+ "properties": {},
+ "additionalProperties": true
+ },
+ "hook": {
+ "type": "boolean",
+ "default": true
+ },
+ "bot_public": {
+ "type": "boolean",
+ "default": true
+ },
+ "bot_require_code_grant": {
+ "type": "boolean",
+ "default": false
+ },
+ "verify_key": {
+ "type": "string"
+ },
+ "owner": {
+ "$ref": "#/definitions/User"
+ },
+ "flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "redirect_uris": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "rpc_application_state": {
+ "type": "integer",
+ "default": 0
+ },
+ "store_application_state": {
+ "type": "integer",
+ "default": 1
+ },
+ "verification_state": {
+ "type": "integer",
+ "default": 1
+ },
+ "interactions_endpoint_url": {
+ "type": "string"
+ },
+ "integration_public": {
+ "type": "boolean",
+ "default": true
+ },
+ "integration_require_code_grant": {
+ "type": "boolean",
+ "default": false
+ },
+ "discoverability_state": {
+ "type": "integer",
+ "default": 1
+ },
+ "discovery_eligibility_flags": {
+ "type": "integer",
+ "default": 2240
+ },
+ "bot": {
+ "$ref": "#/definitions/User"
+ },
+ "tags": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "cover_image": {
+ "type": "string"
+ },
+ "install_params": {
+ "type": "object",
+ "properties": {
+ "scopes": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "permissions": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "permissions",
+ "scopes"
+ ]
+ },
+ "terms_of_service_url": {
+ "type": "string"
+ },
+ "privacy_policy_url": {
+ "type": "string"
+ },
+ "team": {
+ "$ref": "#/definitions/Team"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "description",
+ "discoverability_state",
+ "discovery_eligibility_flags",
+ "flags",
+ "hook",
+ "id",
+ "integration_public",
+ "integration_require_code_grant",
+ "name",
+ "owner",
+ "redirect_uris",
+ "rpc_application_state",
+ "store_application_state",
+ "summary",
+ "verification_state",
+ "verify_key"
+ ]
+ },
+ "Team": {
+ "type": "object",
+ "properties": {
+ "icon": {
+ "type": "string"
+ },
+ "members": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TeamMember"
+ }
+ },
+ "name": {
+ "type": "string"
+ },
+ "owner_user_id": {
+ "type": "string"
+ },
+ "owner_user": {
+ "$ref": "#/definitions/User"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "members",
+ "name",
+ "owner_user",
+ "owner_user_id"
+ ]
+ },
+ "TeamMember": {
+ "type": "object",
+ "properties": {
+ "membership_state": {
+ "$ref": "#/definitions/TeamMemberState"
+ },
+ "permissions": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "team_id": {
+ "type": "string"
+ },
+ "team": {
+ "$ref": "#/definitions/Team"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "membership_state",
+ "permissions",
+ "team",
+ "team_id",
+ "user",
+ "user_id"
+ ]
+ },
+ "TeamMemberState": {
+ "enum": [
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "Sticker": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "available": {
+ "type": "boolean"
+ },
+ "tags": {
+ "type": "string"
+ },
+ "pack_id": {
+ "type": "string"
+ },
+ "pack": {
+ "$ref": "#/definitions/StickerPack"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "type": {
+ "$ref": "#/definitions/StickerType"
+ },
+ "format_type": {
+ "$ref": "#/definitions/StickerFormatType"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "format_type",
+ "id",
+ "name",
+ "pack",
+ "type"
+ ]
+ },
+ "StickerPack": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "banner_asset_id": {
+ "type": "string"
+ },
+ "stickers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Sticker"
+ }
+ },
+ "cover_sticker_id": {
+ "type": "string"
+ },
+ "cover_sticker": {
+ "$ref": "#/definitions/Sticker"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "stickers"
+ ]
+ },
+ "StickerType": {
+ "enum": [
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "StickerFormatType": {
+ "enum": [
+ 0,
+ 1,
+ 2,
+ 3
+ ],
+ "type": "number"
+ },
+ "Attachment": {
+ "type": "object",
+ "properties": {
+ "filename": {
+ "type": "string"
+ },
+ "size": {
+ "type": "integer"
+ },
+ "url": {
+ "type": "string"
+ },
+ "proxy_url": {
+ "type": "string"
+ },
+ "height": {
+ "type": "integer"
+ },
+ "width": {
+ "type": "integer"
+ },
+ "content_type": {
+ "type": "string"
+ },
+ "message_id": {
+ "type": "string"
+ },
+ "message": {
+ "$ref": "#/definitions/Message"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "filename",
+ "id",
+ "message",
+ "message_id",
+ "proxy_url",
+ "size",
+ "url"
+ ]
+ },
+ "Reaction": {
+ "type": "object",
+ "properties": {
+ "count": {
+ "type": "integer"
+ },
+ "emoji": {
+ "$ref": "#/definitions/PartialEmoji"
+ },
+ "user_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "count",
+ "emoji",
+ "user_ids"
+ ]
+ },
+ "MessageType": {
+ "enum": [
+ 0,
+ 1,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 16,
+ 19,
+ 2,
+ 20,
+ 255,
+ 3,
+ 4,
+ 41,
+ 42,
+ 43,
+ 5,
+ 50,
+ 6,
+ 63,
+ 7,
+ 8,
+ 9
+ ],
+ "type": "number"
+ },
+ "InteractionType": {
+ "enum": [
+ 0,
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "Poll": {
+ "type": "object",
+ "properties": {
+ "question": {
+ "$ref": "#/definitions/PollMedia"
+ },
+ "answers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PollAnswer"
+ }
+ },
+ "expiry": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "allow_multiselect": {
+ "type": "boolean"
+ },
+ "results": {
+ "$ref": "#/definitions/PollResult"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "allow_multiselect",
+ "answers",
+ "expiry",
+ "question"
+ ]
+ },
+ "PollResult": {
+ "type": "object",
+ "properties": {
+ "is_finalized": {
+ "type": "boolean"
+ },
+ "answer_counts": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PollAnswerCount"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "answer_counts",
+ "is_finalized"
+ ]
+ },
+ "PollAnswerCount": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "count": {
+ "type": "integer"
+ },
+ "me_voted": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "count",
+ "id",
+ "me_voted"
+ ]
+ },
+ "VoiceState": {
+ "type": "object",
+ "properties": {
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "member": {
+ "$ref": "#/definitions/Member"
+ },
+ "session_id": {
+ "type": "string"
+ },
+ "token": {
+ "type": "string"
+ },
+ "deaf": {
+ "type": "boolean"
+ },
+ "mute": {
+ "type": "boolean"
+ },
+ "self_deaf": {
+ "type": "boolean"
+ },
+ "self_mute": {
+ "type": "boolean"
+ },
+ "self_stream": {
+ "type": "boolean"
+ },
+ "self_video": {
+ "type": "boolean"
+ },
+ "suppress": {
+ "type": "boolean"
+ },
+ "request_to_speak_timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "channel_id",
+ "deaf",
+ "guild_id",
+ "id",
+ "member",
+ "mute",
+ "self_deaf",
+ "self_mute",
+ "self_video",
+ "session_id",
+ "suppress",
+ "token",
+ "user",
+ "user_id"
+ ]
+ },
+ "ReadState": {
+ "type": "object",
+ "properties": {
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "last_message_id": {
+ "type": "string"
+ },
+ "public_ack": {
+ "type": "string"
+ },
+ "notifications_cursor": {
+ "type": "string"
+ },
+ "last_pin_timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "mention_count": {
+ "type": "integer"
+ },
+ "manual": {
+ "type": "boolean"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "channel_id",
+ "id",
+ "last_message_id",
+ "manual",
+ "mention_count",
+ "notifications_cursor",
+ "public_ack",
+ "user",
+ "user_id"
+ ]
+ },
+ "Ban": {
+ "type": "object",
+ "properties": {
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "executor_id": {
+ "type": "string"
+ },
+ "executor": {
+ "$ref": "#/definitions/User"
+ },
+ "ip": {
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "executor",
+ "executor_id",
+ "guild",
+ "guild_id",
+ "id",
+ "ip",
+ "user",
+ "user_id"
+ ]
+ },
+ "Template": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "usage_count": {
+ "type": "integer"
+ },
+ "creator_id": {
+ "type": "string"
+ },
+ "creator": {
+ "$ref": "#/definitions/User"
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "source_guild_id": {
+ "type": "string"
+ },
+ "source_guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "serialized_source_guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "created_at",
+ "creator",
+ "creator_id",
+ "id",
+ "name",
+ "serialized_source_guild",
+ "source_guild",
+ "source_guild_id",
+ "updated_at"
+ ]
+ },
+ "Emoji": {
+ "type": "object",
+ "properties": {
+ "animated": {
+ "type": "boolean"
+ },
+ "available": {
+ "type": "boolean"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "managed": {
+ "type": "boolean"
+ },
+ "name": {
+ "type": "string"
+ },
+ "require_colons": {
+ "type": "boolean"
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "groups": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "animated",
+ "available",
+ "groups",
+ "guild",
+ "guild_id",
+ "id",
+ "managed",
+ "name",
+ "require_colons",
+ "roles",
+ "user",
+ "user_id"
+ ]
+ },
+ "GuildWelcomeScreen": {
+ "type": "object",
+ "properties": {
+ "enabled": {
+ "type": "boolean"
+ },
+ "description": {
+ "type": "string"
+ },
+ "welcome_channels": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "description": {
+ "type": "string"
+ },
+ "emoji_id": {
+ "type": "string"
+ },
+ "emoji_name": {
+ "type": "string"
+ },
+ "channel_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel_id",
+ "description"
+ ]
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "description",
+ "enabled",
+ "welcome_channels"
+ ]
+ },
+ "GuildMessagesSearchMessage": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/MessageType"
+ },
+ "content": {
+ "type": "string"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "author": {
+ "$ref": "#/definitions/PublicUser"
+ },
+ "attachments": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Attachment"
+ }
+ },
+ "embeds": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Embed"
+ }
+ },
+ "mentions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PublicUser"
+ }
+ },
+ "mention_roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "pinned": {
+ "type": "boolean"
+ },
+ "mention_everyone": {
+ "type": "boolean"
+ },
+ "tts": {
+ "type": "boolean"
+ },
+ "timestamp": {
+ "type": "string"
+ },
+ "edited_timestamp": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "components": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ActionRowComponent"
+ }
+ },
+ "poll": {
+ "$ref": "#/definitions/Poll"
+ },
+ "hit": {
+ "type": "boolean",
+ "enum": [
+ true
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "attachments",
+ "author",
+ "channel_id",
+ "components",
+ "edited_timestamp",
+ "embeds",
+ "flags",
+ "hit",
+ "id",
+ "mention_roles",
+ "mentions",
+ "pinned",
+ "poll",
+ "timestamp",
+ "tts",
+ "type"
+ ]
+ },
+ "PublicUser": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "premium_since": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "username": {
+ "type": "string"
+ },
+ "discriminator": {
+ "type": "string"
+ },
+ "public_flags": {
+ "type": "integer"
+ },
+ "accent_color": {
+ "type": "integer"
+ },
+ "banner": {
+ "type": "string"
+ },
+ "bio": {
+ "type": "string"
+ },
+ "bot": {
+ "type": "boolean"
+ },
+ "premium_type": {
+ "type": "integer"
+ },
+ "theme_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "pronouns": {
+ "type": "string"
+ },
+ "badge_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "bio",
+ "bot",
+ "discriminator",
+ "id",
+ "premium_since",
+ "premium_type",
+ "public_flags",
+ "username"
+ ]
+ },
+ "GuildVanityUrl": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "uses": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "uses"
+ ]
+ },
+ "GuildVanityUrlNoInvite": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "null"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code"
+ ]
+ },
+ "Snowflake": {
+ "description": "A container for useful snowflake-related methods.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
+ "TenorGifResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "src": {
+ "type": "string"
+ },
+ "gif_src": {
+ "type": "string"
+ },
+ "width": {
+ "type": "integer"
+ },
+ "height": {
+ "type": "integer"
+ },
+ "preview": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "gif_src",
+ "height",
+ "id",
+ "preview",
+ "src",
+ "title",
+ "url",
+ "width"
+ ]
+ },
+ "BackupCode": {
+ "type": "object",
+ "properties": {
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "code": {
+ "type": "string"
+ },
+ "consumed": {
+ "type": "boolean"
+ },
+ "expired": {
+ "type": "boolean"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "consumed",
+ "expired",
+ "id",
+ "user"
+ ]
+ },
+ "APIGuild": {
+ "type": "object",
+ "properties": {
+ "reload": {
+ "description": "Reloads entity data from the database.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "name": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "invites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Invite"
+ }
+ },
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
+ },
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
+ },
+ "toJSON": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "assign": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "hasId": {
+ "description": "Checks if entity has an id.\nIf entity composite compose ids, it will check them all.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "save": {
+ "description": "Saves current entity in the database.\nIf entity does not exist in the database then inserts, otherwise updates.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "remove": {
+ "description": "Removes current entity from the database.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "softRemove": {
+ "description": "Records the delete date of current entity.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "recover": {
+ "description": "Recovers a given entity in the database.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": "string"
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "members": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Member"
+ }
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "emojis": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Emoji"
+ }
+ },
+ "stickers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Sticker"
+ }
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "permissions": {
+ "type": "integer"
+ },
+ "channel_ordering": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "_do_validate",
+ "assign",
+ "bans",
+ "channel_ordering",
+ "channels",
+ "emojis",
+ "features",
+ "hasId",
+ "id",
+ "invites",
+ "members",
+ "name",
+ "nsfw",
+ "premium_progress_bar_enabled",
+ "public_updates_channel_id",
+ "recover",
+ "reload",
+ "remove",
+ "roles",
+ "save",
+ "softRemove",
+ "stickers",
+ "toJSON",
+ "unavailable",
+ "voice_states",
+ "webhooks",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
+ "DmChannelDTO": {
+ "type": "object",
+ "properties": {
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "id": {
+ "type": "string"
+ },
+ "last_message_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "name": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "origin_channel_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "recipients": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MinimalPublicUserDTO"
+ }
+ },
+ "type": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "icon",
+ "id",
+ "last_message_id",
+ "name",
+ "origin_channel_id",
+ "recipients",
+ "type"
+ ]
+ },
+ "MinimalPublicUserDTO": {
+ "type": "object",
+ "properties": {
+ "avatar": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "discriminator": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "public_flags": {
+ "type": "integer"
+ },
+ "username": {
+ "type": "string"
+ },
+ "badge_ids": {
+ "anyOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "discriminator",
+ "id",
+ "public_flags",
+ "username"
+ ]
+ },
+ "Categories": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "localizations": {
+ "type": "string"
+ },
+ "is_primary": {
+ "type": "boolean"
+ },
+ "icon": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "is_primary",
+ "localizations",
+ "name"
+ ]
+ },
+ "GuildVoiceRegion": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "custom": {
+ "type": "boolean"
+ },
+ "deprecated": {
+ "type": "boolean"
+ },
+ "optimal": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "custom",
+ "deprecated",
+ "id",
+ "name",
+ "optimal"
+ ]
+ },
+ "UserLimits": {
+ "type": "object",
+ "properties": {
+ "maxGuilds": {
+ "type": "integer",
+ "default": 1048576
+ },
+ "maxUsername": {
+ "type": "integer",
+ "default": 32
+ },
+ "maxFriends": {
+ "type": "integer",
+ "default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "maxBio",
+ "maxFriends",
+ "maxGuilds",
+ "maxUsername"
+ ]
+ },
+ "GuildLimits": {
+ "type": "object",
+ "properties": {
+ "maxRoles": {
+ "type": "integer",
+ "default": 1000
+ },
+ "maxEmojis": {
+ "type": "integer",
+ "default": 2000
+ },
+ "maxMembers": {
+ "type": "integer",
+ "default": 25000000
+ },
+ "maxChannels": {
+ "type": "integer",
+ "default": 65535
+ },
+ "maxBulkBanUsers": {
+ "type": "integer",
+ "default": 200
+ },
+ "maxChannelsInCategory": {
+ "type": "integer",
+ "default": 65535
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "maxBulkBanUsers",
+ "maxChannels",
+ "maxChannelsInCategory",
+ "maxEmojis",
+ "maxMembers",
+ "maxRoles"
+ ]
+ },
+ "MessageLimits": {
+ "type": "object",
+ "properties": {
+ "maxCharacters": {
+ "type": "integer",
+ "default": 1048576
+ },
+ "maxTTSCharacters": {
+ "type": "integer",
+ "default": 160
+ },
+ "maxReactions": {
+ "type": "integer",
+ "default": 2048
+ },
+ "maxAttachmentSize": {
+ "type": "integer",
+ "default": 1073741824
+ },
+ "maxBulkDelete": {
+ "type": "integer",
+ "default": 1000
+ },
+ "maxEmbedDownloadSize": {
+ "type": "integer",
+ "default": 5242880
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "maxAttachmentSize",
+ "maxBulkDelete",
+ "maxCharacters",
+ "maxEmbedDownloadSize",
+ "maxReactions",
+ "maxTTSCharacters"
+ ]
+ },
+ "ChannelLimits": {
+ "type": "object",
+ "properties": {
+ "maxPins": {
+ "type": "integer",
+ "default": 500
+ },
+ "maxTopic": {
+ "type": "integer",
+ "default": 1024
+ },
+ "maxWebhooks": {
+ "type": "integer",
+ "default": 100
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "maxPins",
+ "maxTopic",
+ "maxWebhooks"
+ ]
+ },
+ "RateLimits": {
+ "type": "object",
+ "properties": {
+ "enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "ip": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "global": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "error": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "routes": {
+ "$ref": "#/definitions/RouteRateLimit"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "enabled",
+ "error",
+ "global",
+ "ip",
+ "routes"
+ ]
+ },
+ "RateLimitOptions": {
+ "type": "object",
+ "properties": {
+ "bot": {
+ "type": "integer"
+ },
+ "count": {
+ "type": "integer"
+ },
+ "window": {
+ "type": "integer"
+ },
+ "onyIp": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "count",
+ "window"
+ ]
+ },
+ "RouteRateLimit": {
+ "type": "object",
+ "properties": {
+ "guild": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "webhook": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "channel": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "auth": {}
+ },
+ "additionalProperties": false,
+ "required": [
+ "auth",
+ "channel",
+ "guild",
+ "webhook"
+ ]
+ },
+ "GlobalRateLimits": {
+ "type": "object",
+ "properties": {
+ "register": {
+ "$ref": "#/definitions/GlobalRateLimit"
+ },
+ "sendMessage": {
+ "$ref": "#/definitions/GlobalRateLimit"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "register",
+ "sendMessage"
+ ]
+ },
+ "GlobalRateLimit": {
+ "type": "object",
+ "properties": {
+ "limit": {
+ "type": "integer",
+ "default": 100
+ },
+ "window": {
+ "type": "integer",
+ "default": 3600000
+ },
+ "enabled": {
+ "type": "boolean",
+ "default": true
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "enabled",
+ "limit",
+ "window"
+ ]
+ },
+ "PublicConnectedAccount": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "verified": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "name",
+ "type"
+ ]
+ },
+ "UserProfile": {
+ "type": "object",
+ "properties": {
+ "accent_color": {
+ "type": "integer"
+ },
+ "banner": {
+ "type": "string"
+ },
+ "bio": {
+ "type": "string"
+ },
+ "theme_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "pronouns": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "bio"
+ ]
+ },
+ "Badge": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "link": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "description",
+ "icon",
+ "id"
+ ]
+ },
+ "TokenResponse": {
+ "type": "object",
+ "properties": {
+ "token": {
+ "type": "string"
+ },
+ "settings": {
+ "$ref": "#/definitions/UserSettings"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "settings",
+ "token"
+ ]
+ },
+ "MFAResponse": {
+ "type": "object",
+ "properties": {
+ "ticket": {
+ "type": "string"
+ },
+ "mfa": {
+ "type": "boolean",
+ "enum": [
+ true
+ ]
+ },
+ "sms": {
+ "type": "boolean",
+ "enum": [
+ false
+ ]
+ },
+ "token": {
+ "type": "null"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "mfa",
+ "sms",
+ "ticket",
+ "token"
+ ]
+ },
+ "WebAuthnResponse": {
+ "type": "object",
+ "properties": {
+ "webauthn": {
+ "type": "string"
+ },
+ "ticket": {
+ "type": "string"
+ },
+ "mfa": {
+ "type": "boolean",
+ "enum": [
+ true
+ ]
+ },
+ "sms": {
+ "type": "boolean",
+ "enum": [
+ false
+ ]
+ },
+ "token": {
+ "type": "null"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "mfa",
+ "sms",
+ "ticket",
+ "token",
+ "webauthn"
+ ]
+ }
+ },
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "BanRegistrySchema": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "executor_id": {
+ "type": "string"
+ },
+ "ip": {
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "executor_id",
+ "guild_id",
+ "id",
+ "user_id"
+ ],
+ "definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
+ "ChannelPermissionOverwriteType": {
+ "enum": [
+ 0,
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "ConnectedAccountTokenData": {
+ "type": "object",
+ "properties": {
+ "access_token": {
+ "type": "string"
+ },
+ "token_type": {
+ "type": "string"
+ },
+ "scope": {
+ "type": "string"
+ },
+ "refresh_token": {
+ "type": "string"
+ },
+ "expires_in": {
+ "type": "integer"
+ },
+ "expires_at": {
+ "type": "integer"
+ },
+ "fetched_at": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "access_token",
+ "fetched_at"
+ ]
+ },
+ "ChannelModifySchema": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "maxLength": 100,
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ 0,
+ 1,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 2,
+ 255,
+ 3,
+ 33,
+ 34,
+ 35,
+ 4,
+ 5,
+ 6,
+ 64,
+ 7,
+ 8,
+ 9
+ ],
+ "type": "number"
+ },
+ "topic": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "bitrate": {
+ "type": "integer"
+ },
+ "user_limit": {
+ "type": "integer"
+ },
+ "rate_limit_per_user": {
+ "type": "integer"
+ },
+ "position": {
+ "type": "integer"
+ },
+ "permission_overwrites": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/ChannelPermissionOverwriteType"
+ },
+ "allow": {
+ "type": "string"
+ },
+ "deny": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "allow",
+ "deny",
+ "id",
+ "type"
+ ]
+ }
+ },
+ "parent_id": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "rtc_region": {
+ "type": "string"
+ },
+ "default_auto_archive_duration": {
+ "type": "integer"
+ },
+ "default_reaction_emoji": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "default_thread_rate_limit_per_user": {
+ "type": "integer"
+ },
+ "video_quality_mode": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false
+ },
+ "ActivitySchema": {
+ "type": "object",
+ "properties": {
+ "afk": {
+ "type": "boolean"
+ },
+ "status": {
+ "$ref": "#/definitions/Status"
+ },
+ "activities": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Activity"
+ }
+ },
+ "since": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "status"
+ ]
+ },
+ "Status": {
+ "enum": [
+ "dnd",
+ "idle",
+ "invisible",
+ "offline",
+ "online"
+ ],
+ "type": "string"
+ },
+ "Activity": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/ActivityType"
+ },
+ "url": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "integer"
+ },
+ "timestamps": {
+ "type": "object",
+ "properties": {
+ "start": {
+ "type": "integer"
+ },
+ "end": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "end",
+ "start"
+ ]
+ },
+ "application_id": {
+ "type": "string"
+ },
+ "details": {
+ "type": "string"
+ },
+ "state": {
+ "type": "string"
+ },
+ "emoji": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "animated": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "animated",
+ "name"
+ ]
+ },
+ "party": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "size": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ }
+ },
+ "additionalProperties": false
+ },
+ "assets": {
+ "type": "object",
+ "properties": {
+ "large_image": {
+ "type": "string"
+ },
+ "large_text": {
+ "type": "string"
+ },
+ "small_image": {
+ "type": "string"
+ },
+ "small_text": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "secrets": {
+ "type": "object",
+ "properties": {
+ "join": {
+ "type": "string"
+ },
+ "spectate": {
+ "type": "string"
+ },
+ "match": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "instance": {
+ "type": "boolean"
+ },
+ "flags": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "sync_id": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "object",
+ "properties": {
+ "context_uri": {
+ "type": "string"
+ },
+ "album_id": {
+ "type": "string"
+ },
+ "artist_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "album_id",
+ "artist_ids"
+ ]
+ },
+ "session_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "flags",
+ "name",
+ "session_id",
+ "type"
+ ]
+ },
+ "ActivityType": {
+ "enum": [
+ 0,
+ 1,
+ 2,
+ 4,
+ 5
+ ],
+ "type": "number"
+ },
+ "Embed": {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "article",
+ "gifv",
+ "image",
+ "link",
+ "rich",
+ "video"
+ ],
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "color": {
+ "type": "integer"
+ },
+ "footer": {
+ "type": "object",
+ "properties": {
+ "text": {
+ "type": "string"
+ },
+ "icon_url": {
+ "type": "string"
+ },
+ "proxy_icon_url": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "text"
+ ]
+ },
+ "image": {
+ "$ref": "#/definitions/EmbedImage"
+ },
+ "thumbnail": {
+ "$ref": "#/definitions/EmbedImage"
+ },
+ "video": {
+ "$ref": "#/definitions/EmbedImage"
+ },
+ "provider": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "author": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "icon_url": {
+ "type": "string"
+ },
+ "proxy_icon_url": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "fields": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
+ },
+ "inline": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "name",
+ "value"
+ ]
+ }
+ }
+ },
+ "additionalProperties": false
+ },
+ "EmbedImage": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string"
+ },
+ "proxy_url": {
+ "type": "string"
+ },
+ "height": {
+ "type": "integer"
+ },
+ "width": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false
+ },
+ "ActionRowComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/MessageComponentType.ActionRow"
+ },
+ "components": {
+ "type": "array",
+ "items": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/ButtonComponent"
+ },
+ {
+ "$ref": "#/definitions/SelectMenuComponent"
+ },
+ {
+ "$ref": "#/definitions/StringSelectMenuComponent"
+ },
+ {
+ "$ref": "#/definitions/TextInputComponent"
+ }
+ ]
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "components",
+ "type"
+ ]
+ },
+ "MessageComponentType.ActionRow": {
+ "type": "number",
+ "enum": [
+ 1
+ ]
+ },
+ "ButtonComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/MessageComponentType.Button"
+ },
+ "style": {
+ "$ref": "#/definitions/ButtonStyle"
+ },
+ "label": {
+ "type": "string"
+ },
+ "emoji": {
+ "$ref": "#/definitions/PartialEmoji"
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "sku_id": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "disabled": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "style",
+ "type"
+ ]
+ },
+ "MessageComponentType.Button": {
+ "type": "number",
+ "enum": [
+ 2
+ ]
+ },
+ "ButtonStyle": {
+ "enum": [
+ 1,
+ 2,
+ 3,
+ 4,
+ 5,
+ 6
+ ],
+ "type": "number"
+ },
+ "PartialEmoji": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "animated": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "name"
+ ]
+ },
+ "SelectMenuComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "enum": [
+ 3,
+ 5,
+ 6,
+ 7,
+ 8
+ ],
+ "type": "number"
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "channel_types": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "placeholder": {
+ "type": "string"
+ },
+ "default_values": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SelectMenuDefaultOption"
+ }
+ },
+ "min_values": {
+ "type": "integer"
+ },
+ "max_values": {
+ "type": "integer"
+ },
+ "disabled": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "custom_id",
+ "type"
+ ]
+ },
+ "SelectMenuDefaultOption": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "channel",
+ "role",
+ "user"
+ ],
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "type"
+ ]
+ },
+ "StringSelectMenuComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/MessageComponentType.StringSelect"
+ },
+ "options": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SelectMenuOption"
+ }
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "channel_types": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "placeholder": {
+ "type": "string"
+ },
+ "default_values": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SelectMenuDefaultOption"
+ }
+ },
+ "min_values": {
+ "type": "integer"
+ },
+ "max_values": {
+ "type": "integer"
+ },
+ "disabled": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "custom_id",
+ "options",
+ "type"
+ ]
+ },
+ "MessageComponentType.StringSelect": {
+ "type": "number",
+ "enum": [
+ 3
+ ]
+ },
+ "SelectMenuOption": {
+ "type": "object",
+ "properties": {
+ "label": {
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "emoji": {
+ "$ref": "#/definitions/PartialEmoji"
+ },
+ "default": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "label",
+ "value"
+ ]
+ },
+ "TextInputComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/MessageComponentType.TextInput"
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "style": {
+ "$ref": "#/definitions/TextInputStyle"
+ },
+ "label": {
+ "type": "string"
+ },
+ "min_length": {
+ "type": "integer"
+ },
+ "max_length": {
+ "type": "integer"
+ },
+ "required": {
+ "type": "boolean"
+ },
+ "value": {
+ "type": "string"
+ },
+ "placeholder": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "custom_id",
+ "label",
+ "style",
+ "type"
+ ]
+ },
+ "MessageComponentType.TextInput": {
+ "type": "number",
+ "enum": [
+ 4
+ ]
+ },
+ "TextInputStyle": {
+ "enum": [
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "PollCreationSchema": {
+ "type": "object",
+ "properties": {
+ "question": {
+ "$ref": "#/definitions/PollMedia"
+ },
+ "answers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PollAnswer"
+ }
+ },
+ "duration": {
+ "type": "integer"
+ },
+ "allow_multiselect": {
+ "type": "boolean"
+ },
+ "layout_type": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "answers",
+ "question"
+ ]
+ },
+ "PollMedia": {
+ "type": "object",
+ "properties": {
+ "text": {
+ "type": "string"
+ },
+ "emoji": {
+ "$ref": "#/definitions/PartialEmoji"
+ }
+ },
+ "additionalProperties": false
+ },
+ "PollAnswer": {
+ "type": "object",
+ "properties": {
+ "answer_id": {
+ "type": "string"
+ },
+ "poll_media": {
+ "$ref": "#/definitions/PollMedia"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "poll_media"
+ ]
+ },
+ "ChannelOverride": {
+ "type": "object",
+ "properties": {
+ "message_notifications": {
+ "type": "integer"
+ },
+ "mute_config": {
+ "$ref": "#/definitions/MuteConfig"
+ },
+ "muted": {
+ "type": "boolean"
+ },
+ "channel_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel_id",
+ "message_notifications",
+ "mute_config",
+ "muted"
+ ]
+ },
+ "MuteConfig": {
+ "type": "object",
+ "properties": {
+ "end_time": {
+ "type": "integer"
+ },
+ "selected_time_window": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "end_time",
+ "selected_time_window"
+ ]
+ },
+ "CustomStatus": {
+ "type": "object",
+ "properties": {
+ "emoji_id": {
+ "type": "string"
+ },
+ "emoji_name": {
+ "type": "string"
+ },
+ "expires_at": {
+ "type": "integer"
+ },
+ "text": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "FriendSourceFlags": {
+ "type": "object",
+ "properties": {
+ "all": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "all"
+ ]
+ },
+ "GuildFolder": {
+ "type": "object",
+ "properties": {
+ "color": {
+ "type": "integer"
+ },
+ "guild_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "id": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "color",
+ "guild_ids",
+ "id",
+ "name"
+ ]
+ },
+ "GenerateWebAuthnCredentialsSchema": {
+ "type": "object",
+ "properties": {
+ "password": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "password"
+ ]
+ },
+ "CreateWebAuthnCredentialSchema": {
+ "type": "object",
+ "properties": {
+ "credential": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "ticket": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "credential",
+ "name",
+ "ticket"
+ ]
+ },
+ "APIErrorResponse": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "integer"
+ },
+ "message": {
+ "type": "string"
+ },
+ "errors": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "object",
+ "properties": {
+ "_errors": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "message": {
+ "type": "string"
+ },
+ "code": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "message"
+ ]
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "_errors"
+ ]
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "errors",
+ "message"
+ ]
+ },
+ "CaptchaRequiredResponse": {
+ "type": "object",
+ "properties": {
+ "captcha_key": {
+ "type": "string"
+ },
+ "captcha_sitekey": {
+ "type": "string"
+ },
+ "captcha_service": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "captcha_key",
+ "captcha_service",
+ "captcha_sitekey"
+ ]
+ },
+ "Guild": {
+ "type": "object",
+ "properties": {
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "afk_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "description": {
+ "type": "string"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean",
+ "default": false
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "members": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Member"
+ }
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "template": {
+ "$ref": "#/definitions/Template"
+ },
+ "emojis": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Emoji"
+ }
+ },
+ "stickers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Sticker"
+ }
+ },
+ "invites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Invite"
+ }
+ },
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
+ },
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "owner": {
+ "$ref": "#/definitions/User"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "public_updates_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "rules_channel": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "splash": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "system_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "unavailable": {
+ "type": "boolean",
+ "default": false
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "widget_enabled": {
+ "type": "boolean",
+ "default": true
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean",
+ "default": false
+ },
+ "parent": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "integer"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "channel_ordering": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "bans",
+ "channel_ordering",
+ "channels",
+ "emojis",
+ "features",
+ "id",
+ "invites",
+ "members",
+ "name",
+ "nsfw",
+ "premium_progress_bar_enabled",
+ "public_updates_channel_id",
+ "roles",
+ "stickers",
+ "template",
+ "unavailable",
+ "voice_states",
+ "webhooks",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
+ "Channel": {
+ "type": "object",
+ "properties": {
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "name": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "type": {
+ "$ref": "#/definitions/ChannelType"
+ },
+ "recipients": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Recipient"
+ }
+ },
+ "last_message_id": {
+ "type": "string"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "parent_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "parent": {
+ "$ref": "#/definitions/Channel"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "owner": {
+ "$ref": "#/definitions/User"
+ },
+ "last_pin_timestamp": {
+ "type": "integer"
+ },
+ "default_auto_archive_duration": {
+ "type": "integer"
+ },
+ "permission_overwrites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ChannelPermissionOverwrite"
+ }
+ },
+ "video_quality_mode": {
+ "type": "integer"
+ },
+ "bitrate": {
+ "type": "integer"
+ },
+ "user_limit": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean",
+ "default": false
+ },
+ "rate_limit_per_user": {
+ "type": "integer"
+ },
+ "topic": {
+ "type": "string"
+ },
+ "invites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Invite"
+ }
+ },
+ "retention_policy_id": {
+ "type": "string"
+ },
+ "messages": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Message"
+ }
+ },
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
+ },
+ "read_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ReadState"
+ }
+ },
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
+ },
+ "flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "default_thread_rate_limit_per_user": {
+ "type": "integer",
+ "default": 0
+ },
+ "position": {
+ "description": "Must be calculated Channel.calculatePosition",
+ "type": "integer"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "created_at",
+ "default_thread_rate_limit_per_user",
+ "flags",
+ "id",
+ "nsfw",
+ "owner",
+ "parent_id",
+ "position",
+ "type"
+ ]
+ },
+ "ChannelType": {
+ "enum": [
+ 0,
+ 1,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 2,
+ 255,
+ 3,
+ 33,
+ 34,
+ 35,
+ 4,
+ 5,
+ 6,
+ 64,
+ 7,
+ 8,
+ 9
+ ],
+ "type": "number"
+ },
+ "Recipient": {
+ "type": "object",
+ "properties": {
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "closed": {
+ "type": "boolean"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "channel_id",
+ "closed",
+ "id",
+ "user",
+ "user_id"
+ ]
+ },
+ "User": {
+ "type": "object",
+ "properties": {
+ "username": {
+ "type": "string"
+ },
+ "discriminator": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "accent_color": {
+ "type": "integer"
+ },
+ "banner": {
+ "type": "string"
+ },
+ "theme_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "pronouns": {
+ "type": "string"
+ },
+ "phone": {
+ "type": "string"
+ },
+ "desktop": {
+ "type": "boolean",
+ "default": false
+ },
+ "mobile": {
+ "type": "boolean",
+ "default": false
+ },
+ "premium": {
+ "type": "boolean"
+ },
+ "premium_type": {
+ "type": "integer"
+ },
+ "bot": {
+ "type": "boolean",
+ "default": false
+ },
+ "bio": {
+ "type": "string",
+ "default": ""
+ },
+ "system": {
+ "type": "boolean",
+ "default": false
+ },
+ "nsfw_allowed": {
+ "type": "boolean",
+ "default": true
+ },
+ "mfa_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "webauthn_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "totp_secret": {
+ "type": "string",
+ "default": ""
+ },
+ "totp_last_ticket": {
+ "type": "string",
+ "default": ""
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "premium_since": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "verified": {
+ "type": "boolean"
+ },
+ "disabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "deleted": {
+ "type": "boolean",
+ "default": false
+ },
+ "email": {
+ "type": "string"
+ },
+ "flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "public_flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "purchased_flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "premium_usage_flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "rights": {
+ "type": "string"
+ },
+ "sessions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Session"
+ }
+ },
+ "relationships": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Relationship"
+ }
+ },
+ "connected_accounts": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ConnectedAccount"
+ }
+ },
+ "data": {
+ "type": "object",
+ "properties": {
+ "valid_tokens_since": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "hash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "valid_tokens_since"
+ ]
+ },
+ "fingerprints": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "settings": {
+ "$ref": "#/definitions/UserSettings"
+ },
+ "extended_settings": {
+ "type": "string",
+ "default": "{}"
+ },
+ "security_keys": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SecurityKey"
+ }
+ },
+ "badge_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "bio",
+ "bot",
+ "connected_accounts",
+ "created_at",
+ "data",
+ "deleted",
+ "desktop",
+ "disabled",
+ "discriminator",
+ "extended_settings",
+ "fingerprints",
+ "flags",
+ "id",
+ "mfa_enabled",
+ "mobile",
+ "nsfw_allowed",
+ "premium",
+ "premium_since",
+ "premium_type",
+ "premium_usage_flags",
+ "public_flags",
+ "purchased_flags",
+ "relationships",
+ "rights",
+ "security_keys",
+ "sessions",
+ "settings",
+ "system",
+ "username",
+ "verified",
+ "webauthn_enabled"
+ ]
+ },
+ "Session": {
+ "type": "object",
+ "properties": {
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "session_id": {
+ "type": "string"
+ },
+ "activities": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Activity"
+ }
+ },
+ "client_info": {
+ "type": "object",
+ "properties": {
+ "client": {
+ "type": "string"
+ },
+ "os": {
+ "type": "string"
+ },
+ "version": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "client",
+ "os",
+ "version"
+ ]
+ },
+ "client_status": {
+ "$ref": "#/definitions/ClientStatus"
+ },
+ "status": {
+ "$ref": "#/definitions/Status"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "activities",
+ "client_info",
+ "client_status",
+ "id",
+ "session_id",
+ "status",
+ "user",
+ "user_id"
+ ]
+ },
+ "ClientStatus": {
+ "type": "object",
+ "properties": {
+ "desktop": {
+ "type": "string"
+ },
+ "mobile": {
+ "type": "string"
+ },
+ "web": {
+ "type": "string"
+ },
+ "embedded": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "Relationship": {
+ "type": "object",
+ "properties": {
+ "from_id": {
+ "type": "string"
+ },
+ "from": {
+ "$ref": "#/definitions/User"
+ },
+ "to_id": {
+ "type": "string"
+ },
+ "to": {
+ "$ref": "#/definitions/User"
+ },
+ "nickname": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/RelationshipType"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "from",
+ "from_id",
+ "id",
+ "to",
+ "to_id",
+ "type"
+ ]
+ },
+ "RelationshipType": {
+ "enum": [
+ 1,
+ 2,
+ 3,
+ 4
+ ],
+ "type": "number"
+ },
+ "ConnectedAccount": {
+ "type": "object",
+ "properties": {
+ "external_id": {
+ "type": "string"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "friend_sync": {
+ "type": "boolean",
+ "default": false
+ },
+ "name": {
+ "type": "string"
+ },
+ "revoked": {
+ "type": "boolean",
+ "default": false
+ },
+ "show_activity": {
+ "type": "integer",
+ "default": 0
+ },
+ "type": {
+ "type": "string"
+ },
+ "verified": {
+ "type": "boolean",
+ "default": true
+ },
+ "visibility": {
+ "type": "integer",
+ "default": 0
+ },
+ "integrations": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "metadata_": {},
+ "metadata_visibility": {
+ "type": "integer",
+ "default": 0
+ },
+ "two_way_link": {
+ "type": "boolean",
+ "default": false
+ },
+ "token_data": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/ConnectedAccountTokenData"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "external_id",
+ "id",
+ "name",
+ "type",
+ "user",
+ "user_id"
+ ]
+ },
+ "UserSettings": {
+ "type": "object",
+ "properties": {
+ "index": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer",
+ "default": 3600
+ },
+ "allow_accessibility_detection": {
+ "type": "boolean",
+ "default": true
+ },
+ "animate_emoji": {
+ "type": "boolean",
+ "default": true
+ },
+ "animate_stickers": {
+ "type": "integer",
+ "default": 0
+ },
+ "contact_sync_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "convert_emoticons": {
+ "type": "boolean",
+ "default": false
+ },
+ "custom_status": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/CustomStatus"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "default_guilds_restricted": {
+ "type": "boolean",
+ "default": false
+ },
+ "detect_platform_accounts": {
+ "type": "boolean",
+ "default": false
+ },
+ "developer_mode": {
+ "type": "boolean",
+ "default": true
+ },
+ "disable_games_tab": {
+ "type": "boolean",
+ "default": true
+ },
+ "enable_tts_command": {
+ "type": "boolean",
+ "default": false
+ },
+ "explicit_content_filter": {
+ "type": "integer",
+ "default": 0
+ },
+ "friend_discovery_flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "friend_source_flags": {
+ "$ref": "#/definitions/FriendSourceFlags"
+ },
+ "gateway_connected": {
+ "type": "boolean",
+ "default": false
+ },
+ "gif_auto_play": {
+ "type": "boolean",
+ "default": false
+ },
+ "guild_folders": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/GuildFolder"
+ },
+ "default": []
+ },
+ "guild_positions": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "inline_attachment_media": {
+ "type": "boolean",
+ "default": true
+ },
+ "inline_embed_media": {
+ "type": "boolean",
+ "default": true
+ },
+ "locale": {
+ "type": "string",
+ "default": "en-US"
+ },
+ "message_display_compact": {
+ "type": "boolean",
+ "default": false
+ },
+ "native_phone_integration_enabled": {
+ "type": "boolean",
+ "default": true
+ },
+ "render_embeds": {
+ "type": "boolean",
+ "default": true
+ },
+ "render_reactions": {
+ "type": "boolean",
+ "default": true
+ },
+ "restricted_guilds": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "show_current_game": {
+ "type": "boolean",
+ "default": true
+ },
+ "status": {
+ "enum": [
+ "dnd",
+ "idle",
+ "invisible",
+ "offline",
+ "online"
+ ],
+ "type": "string",
+ "default": "online"
+ },
+ "stream_notifications_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "theme": {
+ "enum": [
+ "dark",
+ "light"
+ ],
+ "type": "string",
+ "default": "dark"
+ },
+ "timezone_offset": {
+ "type": "integer",
+ "default": 0
+ },
+ "view_nsfw_guilds": {
+ "type": "boolean",
+ "default": true
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "afk_timeout",
+ "allow_accessibility_detection",
+ "animate_emoji",
+ "animate_stickers",
+ "contact_sync_enabled",
+ "convert_emoticons",
+ "custom_status",
+ "default_guilds_restricted",
+ "detect_platform_accounts",
+ "developer_mode",
+ "disable_games_tab",
+ "enable_tts_command",
+ "explicit_content_filter",
+ "friend_discovery_flags",
+ "friend_source_flags",
+ "gateway_connected",
+ "gif_auto_play",
+ "guild_folders",
+ "guild_positions",
+ "index",
+ "inline_attachment_media",
+ "inline_embed_media",
+ "locale",
+ "message_display_compact",
+ "native_phone_integration_enabled",
+ "render_embeds",
+ "render_reactions",
+ "restricted_guilds",
+ "show_current_game",
+ "status",
+ "stream_notifications_enabled",
+ "theme",
+ "timezone_offset",
+ "view_nsfw_guilds"
+ ]
+ },
+ "SecurityKey": {
+ "type": "object",
+ "properties": {
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "key_id": {
+ "type": "string"
+ },
+ "public_key": {
+ "type": "string"
+ },
+ "counter": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "counter",
+ "id",
+ "key_id",
+ "name",
+ "public_key",
+ "user",
+ "user_id"
+ ]
+ },
+ "ChannelPermissionOverwrite": {
+ "type": "object",
+ "properties": {
+ "allow": {
+ "type": "string"
+ },
+ "deny": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/ChannelPermissionOverwriteType"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "allow",
+ "deny",
+ "id",
+ "type"
+ ]
+ },
+ "Invite": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "temporary": {
+ "type": "boolean"
+ },
+ "uses": {
+ "type": "integer"
+ },
+ "max_uses": {
+ "type": "integer"
+ },
+ "max_age": {
+ "type": "integer"
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "expires_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "inviter_id": {
+ "type": "string"
+ },
+ "inviter": {
+ "$ref": "#/definitions/User"
+ },
+ "target_user_id": {
+ "type": "string"
+ },
+ "target_user": {
+ "type": "string"
+ },
+ "target_user_type": {
+ "type": "integer"
+ },
+ "vanity_url": {
+ "type": "boolean"
+ },
+ "flags": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "channel_id",
+ "code",
+ "created_at",
+ "flags",
+ "guild",
+ "guild_id",
+ "inviter",
+ "max_age",
+ "max_uses",
+ "target_user_id",
+ "temporary",
+ "uses"
+ ]
+ },
+ "Message": {
+ "type": "object",
+ "properties": {
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "author_id": {
+ "type": "string"
+ },
+ "author": {
+ "$ref": "#/definitions/User"
+ },
+ "member_id": {
+ "type": "string"
+ },
+ "member": {
+ "$ref": "#/definitions/Member"
+ },
+ "webhook_id": {
+ "type": "string"
+ },
+ "webhook": {
+ "$ref": "#/definitions/Webhook"
+ },
+ "application_id": {
+ "type": "string"
+ },
+ "application": {
+ "$ref": "#/definitions/Application"
+ },
+ "content": {
+ "type": "string"
+ },
+ "timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "edited_timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "tts": {
+ "type": "boolean"
+ },
+ "mention_everyone": {
+ "type": "boolean"
+ },
+ "mentions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/User"
+ }
+ },
+ "mention_roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "mention_channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "sticker_items": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Sticker"
+ }
+ },
+ "attachments": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Attachment"
+ }
+ },
+ "embeds": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Embed"
+ }
+ },
+ "reactions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Reaction"
+ }
+ },
+ "nonce": {
+ "type": "string"
+ },
+ "pinned": {
+ "type": "boolean"
+ },
+ "type": {
+ "$ref": "#/definitions/MessageType"
+ },
+ "activity": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "integer"
+ },
+ "party_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "party_id",
+ "type"
+ ]
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "message_reference": {
+ "type": "object",
+ "properties": {
+ "message_id": {
+ "type": "string"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "guild_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "message_id"
+ ]
+ },
+ "referenced_message": {
+ "$ref": "#/definitions/Message"
+ },
+ "interaction": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/InteractionType"
+ },
+ "name": {
+ "type": "string"
+ },
+ "user_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "type",
+ "user_id"
+ ]
+ },
+ "components": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ActionRowComponent"
+ }
+ },
+ "poll": {
+ "$ref": "#/definitions/Poll"
+ },
+ "username": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "embeds",
+ "flags",
+ "id",
+ "mention_channels",
+ "mention_roles",
+ "mentions",
+ "reactions",
+ "timestamp",
+ "type"
+ ]
+ },
+ "Member": {
+ "type": "object",
+ "properties": {
+ "index": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "nick": {
+ "type": "string"
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "joined_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "premium_since": {
+ "type": "integer"
+ },
+ "deaf": {
+ "type": "boolean"
+ },
+ "mute": {
+ "type": "boolean"
+ },
+ "pending": {
+ "type": "boolean"
+ },
+ "settings": {
+ "$ref": "#/definitions/UserGuildSettings"
+ },
+ "last_message_id": {
+ "type": "string"
+ },
+ "joined_by": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "banner": {
+ "type": "string"
+ },
+ "bio": {
+ "type": "string"
+ },
+ "theme_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "pronouns": {
+ "type": "string"
+ },
+ "communication_disabled_until": {
+ "type": "string",
+ "format": "date-time"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "banner",
+ "bio",
+ "communication_disabled_until",
+ "deaf",
+ "guild",
+ "guild_id",
+ "id",
+ "index",
+ "joined_at",
+ "joined_by",
+ "mute",
+ "pending",
+ "roles",
+ "settings",
+ "user"
+ ]
+ },
+ "Role": {
+ "type": "object",
+ "properties": {
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "color": {
+ "type": "integer"
+ },
+ "hoist": {
+ "type": "boolean"
+ },
+ "managed": {
+ "type": "boolean"
+ },
+ "mentionable": {
+ "type": "boolean"
+ },
+ "name": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "string"
+ },
+ "position": {
+ "type": "integer"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "unicode_emoji": {
+ "type": "string"
+ },
+ "tags": {
+ "type": "object",
+ "properties": {
+ "bot_id": {
+ "type": "string"
+ },
+ "integration_id": {
+ "type": "string"
+ },
+ "premium_subscriber": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "color",
+ "flags",
+ "guild",
+ "guild_id",
+ "hoist",
+ "id",
+ "managed",
+ "mentionable",
+ "name",
+ "permissions",
+ "position"
+ ]
+ },
+ "UserGuildSettings": {
+ "type": "object",
+ "properties": {
+ "channel_overrides": {
+ "anyOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "$ref": "#/definitions/ChannelOverride"
+ }
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "message_notifications": {
+ "type": "integer"
+ },
+ "mobile_push": {
+ "type": "boolean"
+ },
+ "mute_config": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/MuteConfig"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "muted": {
+ "type": "boolean"
+ },
+ "suppress_everyone": {
+ "type": "boolean"
+ },
+ "suppress_roles": {
+ "type": "boolean"
+ },
+ "version": {
+ "type": "integer"
+ },
+ "guild_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "mute_scheduled_events": {
+ "type": "boolean"
+ },
+ "hide_muted_channels": {
+ "type": "boolean"
+ },
+ "notify_highlights": {
+ "type": "number",
+ "enum": [
+ 0
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel_overrides",
+ "flags",
+ "guild_id",
+ "hide_muted_channels",
+ "message_notifications",
+ "mobile_push",
+ "mute_config",
+ "mute_scheduled_events",
+ "muted",
+ "notify_highlights",
+ "suppress_everyone",
+ "suppress_roles",
+ "version"
+ ]
+ },
+ "Webhook": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/WebhookType"
+ },
+ "name": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "token": {
+ "type": "string"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "application_id": {
+ "type": "string"
+ },
+ "application": {
+ "$ref": "#/definitions/Application"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "source_guild_id": {
+ "type": "string"
+ },
+ "source_guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "source_channel_id": {
+ "type": "string"
+ },
+ "source_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "url": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "application",
+ "application_id",
+ "avatar",
+ "channel",
+ "channel_id",
+ "id",
+ "name",
+ "source_channel",
+ "source_channel_id",
+ "type",
+ "url",
+ "user",
+ "user_id"
+ ]
+ },
+ "WebhookType": {
+ "enum": [
+ 1,
+ 2,
+ 3
+ ],
+ "type": "number"
+ },
+ "Application": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "summary": {
+ "type": "string",
+ "default": ""
+ },
+ "type": {
+ "type": "object",
+ "properties": {},
+ "additionalProperties": true
+ },
+ "hook": {
+ "type": "boolean",
+ "default": true
+ },
+ "bot_public": {
+ "type": "boolean",
+ "default": true
+ },
+ "bot_require_code_grant": {
+ "type": "boolean",
+ "default": false
+ },
+ "verify_key": {
+ "type": "string"
+ },
+ "owner": {
+ "$ref": "#/definitions/User"
+ },
+ "flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "redirect_uris": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "rpc_application_state": {
+ "type": "integer",
+ "default": 0
+ },
+ "store_application_state": {
+ "type": "integer",
+ "default": 1
+ },
+ "verification_state": {
+ "type": "integer",
+ "default": 1
+ },
+ "interactions_endpoint_url": {
+ "type": "string"
+ },
+ "integration_public": {
+ "type": "boolean",
+ "default": true
+ },
+ "integration_require_code_grant": {
+ "type": "boolean",
+ "default": false
+ },
+ "discoverability_state": {
+ "type": "integer",
+ "default": 1
+ },
+ "discovery_eligibility_flags": {
+ "type": "integer",
+ "default": 2240
+ },
+ "bot": {
+ "$ref": "#/definitions/User"
+ },
+ "tags": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "cover_image": {
+ "type": "string"
+ },
+ "install_params": {
+ "type": "object",
+ "properties": {
+ "scopes": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "permissions": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "permissions",
+ "scopes"
+ ]
+ },
+ "terms_of_service_url": {
+ "type": "string"
+ },
+ "privacy_policy_url": {
+ "type": "string"
+ },
+ "team": {
+ "$ref": "#/definitions/Team"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "description",
+ "discoverability_state",
+ "discovery_eligibility_flags",
+ "flags",
+ "hook",
+ "id",
+ "integration_public",
+ "integration_require_code_grant",
+ "name",
+ "owner",
+ "redirect_uris",
+ "rpc_application_state",
+ "store_application_state",
+ "summary",
+ "verification_state",
+ "verify_key"
+ ]
+ },
+ "Team": {
+ "type": "object",
+ "properties": {
+ "icon": {
+ "type": "string"
+ },
+ "members": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TeamMember"
+ }
+ },
+ "name": {
+ "type": "string"
+ },
+ "owner_user_id": {
+ "type": "string"
+ },
+ "owner_user": {
+ "$ref": "#/definitions/User"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "members",
+ "name",
+ "owner_user",
+ "owner_user_id"
+ ]
+ },
+ "TeamMember": {
+ "type": "object",
+ "properties": {
+ "membership_state": {
+ "$ref": "#/definitions/TeamMemberState"
+ },
+ "permissions": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "team_id": {
+ "type": "string"
+ },
+ "team": {
+ "$ref": "#/definitions/Team"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "membership_state",
+ "permissions",
+ "team",
+ "team_id",
+ "user",
+ "user_id"
+ ]
+ },
+ "TeamMemberState": {
+ "enum": [
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "Sticker": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "available": {
+ "type": "boolean"
+ },
+ "tags": {
+ "type": "string"
+ },
+ "pack_id": {
+ "type": "string"
+ },
+ "pack": {
+ "$ref": "#/definitions/StickerPack"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "type": {
+ "$ref": "#/definitions/StickerType"
+ },
+ "format_type": {
+ "$ref": "#/definitions/StickerFormatType"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "format_type",
+ "id",
+ "name",
+ "pack",
+ "type"
+ ]
+ },
+ "StickerPack": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "banner_asset_id": {
+ "type": "string"
+ },
+ "stickers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Sticker"
+ }
+ },
+ "cover_sticker_id": {
+ "type": "string"
+ },
+ "cover_sticker": {
+ "$ref": "#/definitions/Sticker"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "stickers"
+ ]
+ },
+ "StickerType": {
+ "enum": [
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "StickerFormatType": {
+ "enum": [
+ 0,
+ 1,
+ 2,
+ 3
+ ],
+ "type": "number"
+ },
+ "Attachment": {
+ "type": "object",
+ "properties": {
+ "filename": {
+ "type": "string"
+ },
+ "size": {
+ "type": "integer"
+ },
+ "url": {
+ "type": "string"
+ },
+ "proxy_url": {
+ "type": "string"
+ },
+ "height": {
+ "type": "integer"
+ },
+ "width": {
+ "type": "integer"
+ },
+ "content_type": {
+ "type": "string"
+ },
+ "message_id": {
+ "type": "string"
+ },
+ "message": {
+ "$ref": "#/definitions/Message"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "filename",
+ "id",
+ "message",
+ "message_id",
+ "proxy_url",
+ "size",
+ "url"
+ ]
+ },
+ "Reaction": {
+ "type": "object",
+ "properties": {
+ "count": {
+ "type": "integer"
+ },
+ "emoji": {
+ "$ref": "#/definitions/PartialEmoji"
+ },
+ "user_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "count",
+ "emoji",
+ "user_ids"
+ ]
+ },
+ "MessageType": {
+ "enum": [
+ 0,
+ 1,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 16,
+ 19,
+ 2,
+ 20,
+ 255,
+ 3,
+ 4,
+ 41,
+ 42,
+ 43,
+ 5,
+ 50,
+ 6,
+ 63,
+ 7,
+ 8,
+ 9
+ ],
+ "type": "number"
+ },
+ "InteractionType": {
+ "enum": [
+ 0,
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "Poll": {
+ "type": "object",
+ "properties": {
+ "question": {
+ "$ref": "#/definitions/PollMedia"
+ },
+ "answers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PollAnswer"
+ }
+ },
+ "expiry": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "allow_multiselect": {
+ "type": "boolean"
+ },
+ "results": {
+ "$ref": "#/definitions/PollResult"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "allow_multiselect",
+ "answers",
+ "expiry",
+ "question"
+ ]
+ },
+ "PollResult": {
+ "type": "object",
+ "properties": {
+ "is_finalized": {
+ "type": "boolean"
+ },
+ "answer_counts": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PollAnswerCount"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "answer_counts",
+ "is_finalized"
+ ]
+ },
+ "PollAnswerCount": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "count": {
+ "type": "integer"
+ },
+ "me_voted": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "count",
+ "id",
+ "me_voted"
+ ]
+ },
+ "VoiceState": {
+ "type": "object",
+ "properties": {
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "member": {
+ "$ref": "#/definitions/Member"
+ },
+ "session_id": {
+ "type": "string"
+ },
+ "token": {
+ "type": "string"
+ },
+ "deaf": {
+ "type": "boolean"
+ },
+ "mute": {
+ "type": "boolean"
+ },
+ "self_deaf": {
+ "type": "boolean"
+ },
+ "self_mute": {
+ "type": "boolean"
+ },
+ "self_stream": {
+ "type": "boolean"
+ },
+ "self_video": {
+ "type": "boolean"
+ },
+ "suppress": {
+ "type": "boolean"
+ },
+ "request_to_speak_timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "channel_id",
+ "deaf",
+ "guild_id",
+ "id",
+ "member",
+ "mute",
+ "self_deaf",
+ "self_mute",
+ "self_video",
+ "session_id",
+ "suppress",
+ "token",
+ "user",
+ "user_id"
+ ]
+ },
+ "ReadState": {
+ "type": "object",
+ "properties": {
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "last_message_id": {
+ "type": "string"
+ },
+ "public_ack": {
+ "type": "string"
+ },
+ "notifications_cursor": {
+ "type": "string"
+ },
+ "last_pin_timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "mention_count": {
+ "type": "integer"
+ },
+ "manual": {
+ "type": "boolean"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "channel_id",
+ "id",
+ "last_message_id",
+ "manual",
+ "mention_count",
+ "notifications_cursor",
+ "public_ack",
+ "user",
+ "user_id"
+ ]
+ },
+ "Ban": {
+ "type": "object",
+ "properties": {
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "executor_id": {
+ "type": "string"
+ },
+ "executor": {
+ "$ref": "#/definitions/User"
+ },
+ "ip": {
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "executor",
+ "executor_id",
+ "guild",
+ "guild_id",
+ "id",
+ "ip",
+ "user",
+ "user_id"
+ ]
+ },
+ "Template": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "usage_count": {
+ "type": "integer"
+ },
+ "creator_id": {
+ "type": "string"
+ },
+ "creator": {
+ "$ref": "#/definitions/User"
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "source_guild_id": {
+ "type": "string"
+ },
+ "source_guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "serialized_source_guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "created_at",
+ "creator",
+ "creator_id",
+ "id",
+ "name",
+ "serialized_source_guild",
+ "source_guild",
+ "source_guild_id",
+ "updated_at"
+ ]
+ },
+ "Emoji": {
+ "type": "object",
+ "properties": {
+ "animated": {
+ "type": "boolean"
+ },
+ "available": {
+ "type": "boolean"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "managed": {
+ "type": "boolean"
+ },
+ "name": {
+ "type": "string"
+ },
+ "require_colons": {
+ "type": "boolean"
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "groups": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "animated",
+ "available",
+ "groups",
+ "guild",
+ "guild_id",
+ "id",
+ "managed",
+ "name",
+ "require_colons",
+ "roles",
+ "user",
+ "user_id"
+ ]
+ },
+ "GuildWelcomeScreen": {
+ "type": "object",
+ "properties": {
+ "enabled": {
+ "type": "boolean"
+ },
+ "description": {
+ "type": "string"
+ },
+ "welcome_channels": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "description": {
+ "type": "string"
+ },
+ "emoji_id": {
+ "type": "string"
+ },
+ "emoji_name": {
+ "type": "string"
+ },
+ "channel_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel_id",
+ "description"
+ ]
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "description",
+ "enabled",
+ "welcome_channels"
+ ]
+ },
+ "GuildMessagesSearchMessage": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/MessageType"
+ },
+ "content": {
+ "type": "string"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "author": {
+ "$ref": "#/definitions/PublicUser"
+ },
+ "attachments": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Attachment"
+ }
+ },
+ "embeds": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Embed"
+ }
+ },
+ "mentions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PublicUser"
+ }
+ },
+ "mention_roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "pinned": {
+ "type": "boolean"
+ },
+ "mention_everyone": {
+ "type": "boolean"
+ },
+ "tts": {
+ "type": "boolean"
+ },
+ "timestamp": {
+ "type": "string"
+ },
+ "edited_timestamp": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "components": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ActionRowComponent"
+ }
+ },
+ "poll": {
+ "$ref": "#/definitions/Poll"
+ },
+ "hit": {
+ "type": "boolean",
+ "enum": [
+ true
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "attachments",
+ "author",
+ "channel_id",
+ "components",
+ "edited_timestamp",
+ "embeds",
+ "flags",
+ "hit",
+ "id",
+ "mention_roles",
+ "mentions",
+ "pinned",
+ "poll",
+ "timestamp",
+ "tts",
+ "type"
+ ]
+ },
+ "PublicUser": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "premium_since": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "username": {
+ "type": "string"
+ },
+ "discriminator": {
+ "type": "string"
+ },
+ "public_flags": {
+ "type": "integer"
+ },
+ "accent_color": {
+ "type": "integer"
+ },
+ "banner": {
+ "type": "string"
+ },
+ "bio": {
+ "type": "string"
+ },
+ "bot": {
+ "type": "boolean"
+ },
+ "premium_type": {
+ "type": "integer"
+ },
+ "theme_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "pronouns": {
+ "type": "string"
+ },
+ "badge_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "bio",
+ "bot",
+ "discriminator",
+ "id",
+ "premium_since",
+ "premium_type",
+ "public_flags",
+ "username"
+ ]
+ },
+ "GuildVanityUrl": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "uses": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "uses"
+ ]
+ },
+ "GuildVanityUrlNoInvite": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "null"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code"
+ ]
+ },
+ "Snowflake": {
+ "description": "A container for useful snowflake-related methods.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
+ "TenorGifResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "src": {
+ "type": "string"
+ },
+ "gif_src": {
+ "type": "string"
+ },
+ "width": {
+ "type": "integer"
+ },
+ "height": {
+ "type": "integer"
+ },
+ "preview": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "gif_src",
+ "height",
+ "id",
+ "preview",
+ "src",
+ "title",
+ "url",
+ "width"
+ ]
+ },
+ "BackupCode": {
+ "type": "object",
+ "properties": {
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "code": {
+ "type": "string"
+ },
+ "consumed": {
+ "type": "boolean"
+ },
+ "expired": {
+ "type": "boolean"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "consumed",
+ "expired",
+ "id",
+ "user"
+ ]
+ },
+ "APIGuild": {
+ "type": "object",
+ "properties": {
+ "reload": {
+ "description": "Reloads entity data from the database.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "name": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "invites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Invite"
+ }
+ },
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
+ },
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
+ },
+ "toJSON": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "assign": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "hasId": {
+ "description": "Checks if entity has an id.\nIf entity composite compose ids, it will check them all.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "save": {
+ "description": "Saves current entity in the database.\nIf entity does not exist in the database then inserts, otherwise updates.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "remove": {
+ "description": "Removes current entity from the database.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "softRemove": {
+ "description": "Records the delete date of current entity.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "recover": {
+ "description": "Recovers a given entity in the database.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": "string"
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "members": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Member"
+ }
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "emojis": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Emoji"
+ }
+ },
+ "stickers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Sticker"
+ }
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "permissions": {
+ "type": "integer"
+ },
+ "channel_ordering": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "_do_validate",
+ "assign",
+ "bans",
+ "channel_ordering",
+ "channels",
+ "emojis",
+ "features",
+ "hasId",
+ "id",
+ "invites",
+ "members",
+ "name",
+ "nsfw",
+ "premium_progress_bar_enabled",
+ "public_updates_channel_id",
+ "recover",
+ "reload",
+ "remove",
+ "roles",
+ "save",
+ "softRemove",
+ "stickers",
+ "toJSON",
+ "unavailable",
+ "voice_states",
+ "webhooks",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
+ "DmChannelDTO": {
+ "type": "object",
+ "properties": {
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "id": {
+ "type": "string"
+ },
+ "last_message_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "name": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "origin_channel_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "recipients": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MinimalPublicUserDTO"
+ }
+ },
+ "type": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "icon",
+ "id",
+ "last_message_id",
+ "name",
+ "origin_channel_id",
+ "recipients",
+ "type"
+ ]
+ },
+ "MinimalPublicUserDTO": {
+ "type": "object",
+ "properties": {
+ "avatar": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "discriminator": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "public_flags": {
+ "type": "integer"
+ },
+ "username": {
+ "type": "string"
+ },
+ "badge_ids": {
+ "anyOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "discriminator",
+ "id",
+ "public_flags",
+ "username"
+ ]
+ },
+ "Categories": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "localizations": {
+ "type": "string"
+ },
+ "is_primary": {
+ "type": "boolean"
+ },
+ "icon": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "is_primary",
+ "localizations",
+ "name"
+ ]
+ },
+ "GuildVoiceRegion": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "custom": {
+ "type": "boolean"
+ },
+ "deprecated": {
+ "type": "boolean"
+ },
+ "optimal": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "custom",
+ "deprecated",
+ "id",
+ "name",
+ "optimal"
+ ]
+ },
+ "UserLimits": {
+ "type": "object",
+ "properties": {
+ "maxGuilds": {
+ "type": "integer",
+ "default": 1048576
+ },
+ "maxUsername": {
+ "type": "integer",
+ "default": 32
+ },
+ "maxFriends": {
+ "type": "integer",
+ "default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "maxBio",
+ "maxFriends",
+ "maxGuilds",
+ "maxUsername"
+ ]
+ },
+ "GuildLimits": {
+ "type": "object",
+ "properties": {
+ "maxRoles": {
+ "type": "integer",
+ "default": 1000
+ },
+ "maxEmojis": {
+ "type": "integer",
+ "default": 2000
+ },
+ "maxMembers": {
+ "type": "integer",
+ "default": 25000000
+ },
+ "maxChannels": {
+ "type": "integer",
+ "default": 65535
+ },
+ "maxBulkBanUsers": {
+ "type": "integer",
+ "default": 200
+ },
+ "maxChannelsInCategory": {
+ "type": "integer",
+ "default": 65535
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "maxBulkBanUsers",
+ "maxChannels",
+ "maxChannelsInCategory",
+ "maxEmojis",
+ "maxMembers",
+ "maxRoles"
+ ]
+ },
+ "MessageLimits": {
+ "type": "object",
+ "properties": {
+ "maxCharacters": {
+ "type": "integer",
+ "default": 1048576
+ },
+ "maxTTSCharacters": {
+ "type": "integer",
+ "default": 160
+ },
+ "maxReactions": {
+ "type": "integer",
+ "default": 2048
+ },
+ "maxAttachmentSize": {
+ "type": "integer",
+ "default": 1073741824
+ },
+ "maxBulkDelete": {
+ "type": "integer",
+ "default": 1000
+ },
+ "maxEmbedDownloadSize": {
+ "type": "integer",
+ "default": 5242880
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "maxAttachmentSize",
+ "maxBulkDelete",
+ "maxCharacters",
+ "maxEmbedDownloadSize",
+ "maxReactions",
+ "maxTTSCharacters"
+ ]
+ },
+ "ChannelLimits": {
+ "type": "object",
+ "properties": {
+ "maxPins": {
+ "type": "integer",
+ "default": 500
+ },
+ "maxTopic": {
+ "type": "integer",
+ "default": 1024
+ },
+ "maxWebhooks": {
+ "type": "integer",
+ "default": 100
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "maxPins",
+ "maxTopic",
+ "maxWebhooks"
+ ]
+ },
+ "RateLimits": {
+ "type": "object",
+ "properties": {
+ "enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "ip": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "global": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "error": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "routes": {
+ "$ref": "#/definitions/RouteRateLimit"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "enabled",
+ "error",
+ "global",
+ "ip",
+ "routes"
+ ]
+ },
+ "RateLimitOptions": {
+ "type": "object",
+ "properties": {
+ "bot": {
+ "type": "integer"
+ },
+ "count": {
+ "type": "integer"
+ },
+ "window": {
+ "type": "integer"
+ },
+ "onyIp": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "count",
+ "window"
+ ]
+ },
+ "RouteRateLimit": {
+ "type": "object",
+ "properties": {
+ "guild": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "webhook": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "channel": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "auth": {}
+ },
+ "additionalProperties": false,
+ "required": [
+ "auth",
+ "channel",
+ "guild",
+ "webhook"
+ ]
+ },
+ "GlobalRateLimits": {
+ "type": "object",
+ "properties": {
+ "register": {
+ "$ref": "#/definitions/GlobalRateLimit"
+ },
+ "sendMessage": {
+ "$ref": "#/definitions/GlobalRateLimit"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "register",
+ "sendMessage"
+ ]
+ },
+ "GlobalRateLimit": {
+ "type": "object",
+ "properties": {
+ "limit": {
+ "type": "integer",
+ "default": 100
+ },
+ "window": {
+ "type": "integer",
+ "default": 3600000
+ },
+ "enabled": {
+ "type": "boolean",
+ "default": true
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "enabled",
+ "limit",
+ "window"
+ ]
+ },
+ "PublicConnectedAccount": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "verified": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "name",
+ "type"
+ ]
+ },
+ "UserProfile": {
+ "type": "object",
+ "properties": {
+ "accent_color": {
+ "type": "integer"
+ },
+ "banner": {
+ "type": "string"
+ },
+ "bio": {
+ "type": "string"
+ },
+ "theme_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "pronouns": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "bio"
+ ]
+ },
+ "Badge": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "link": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "description",
+ "icon",
+ "id"
+ ]
+ },
+ "TokenResponse": {
+ "type": "object",
+ "properties": {
+ "token": {
+ "type": "string"
+ },
+ "settings": {
+ "$ref": "#/definitions/UserSettings"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "settings",
+ "token"
+ ]
+ },
+ "MFAResponse": {
+ "type": "object",
+ "properties": {
+ "ticket": {
+ "type": "string"
+ },
+ "mfa": {
+ "type": "boolean",
+ "enum": [
+ true
+ ]
+ },
+ "sms": {
+ "type": "boolean",
+ "enum": [
+ false
+ ]
+ },
+ "token": {
+ "type": "null"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "mfa",
+ "sms",
+ "ticket",
+ "token"
+ ]
+ },
+ "WebAuthnResponse": {
+ "type": "object",
+ "properties": {
+ "webauthn": {
+ "type": "string"
+ },
+ "ticket": {
+ "type": "string"
+ },
+ "mfa": {
+ "type": "boolean",
+ "enum": [
+ true
+ ]
+ },
+ "sms": {
+ "type": "boolean",
+ "enum": [
+ false
+ ]
+ },
+ "token": {
+ "type": "null"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "mfa",
+ "sms",
+ "ticket",
+ "token",
+ "webauthn"
+ ]
+ }
+ },
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "BotModifySchema": {
+ "type": "object",
+ "properties": {
+ "avatar": {
+ "type": "string"
+ },
+ "username": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
+ "ChannelPermissionOverwriteType": {
+ "enum": [
+ 0,
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "ConnectedAccountTokenData": {
+ "type": "object",
+ "properties": {
+ "access_token": {
+ "type": "string"
+ },
+ "token_type": {
+ "type": "string"
+ },
+ "scope": {
+ "type": "string"
+ },
+ "refresh_token": {
+ "type": "string"
+ },
+ "expires_in": {
+ "type": "integer"
+ },
+ "expires_at": {
+ "type": "integer"
+ },
+ "fetched_at": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "access_token",
+ "fetched_at"
+ ]
+ },
+ "ChannelModifySchema": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "maxLength": 100,
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ 0,
+ 1,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 2,
+ 255,
+ 3,
+ 33,
+ 34,
+ 35,
+ 4,
+ 5,
+ 6,
+ 64,
+ 7,
+ 8,
+ 9
+ ],
+ "type": "number"
+ },
+ "topic": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "bitrate": {
+ "type": "integer"
+ },
+ "user_limit": {
+ "type": "integer"
+ },
+ "rate_limit_per_user": {
+ "type": "integer"
+ },
+ "position": {
+ "type": "integer"
+ },
+ "permission_overwrites": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/ChannelPermissionOverwriteType"
+ },
+ "allow": {
+ "type": "string"
+ },
+ "deny": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "allow",
+ "deny",
+ "id",
+ "type"
+ ]
+ }
+ },
+ "parent_id": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "rtc_region": {
+ "type": "string"
+ },
+ "default_auto_archive_duration": {
+ "type": "integer"
+ },
+ "default_reaction_emoji": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "default_thread_rate_limit_per_user": {
+ "type": "integer"
+ },
+ "video_quality_mode": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false
+ },
+ "ActivitySchema": {
+ "type": "object",
+ "properties": {
+ "afk": {
+ "type": "boolean"
+ },
+ "status": {
+ "$ref": "#/definitions/Status"
+ },
+ "activities": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Activity"
+ }
+ },
+ "since": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "status"
+ ]
+ },
+ "Status": {
+ "enum": [
+ "dnd",
+ "idle",
+ "invisible",
+ "offline",
+ "online"
+ ],
+ "type": "string"
+ },
+ "Activity": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/ActivityType"
+ },
+ "url": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "integer"
+ },
+ "timestamps": {
+ "type": "object",
+ "properties": {
+ "start": {
+ "type": "integer"
+ },
+ "end": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "end",
+ "start"
+ ]
+ },
+ "application_id": {
+ "type": "string"
+ },
+ "details": {
+ "type": "string"
+ },
+ "state": {
+ "type": "string"
+ },
+ "emoji": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "animated": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "animated",
+ "name"
+ ]
+ },
+ "party": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "size": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ }
+ },
+ "additionalProperties": false
+ },
+ "assets": {
+ "type": "object",
+ "properties": {
+ "large_image": {
+ "type": "string"
+ },
+ "large_text": {
+ "type": "string"
+ },
+ "small_image": {
+ "type": "string"
+ },
+ "small_text": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "secrets": {
+ "type": "object",
+ "properties": {
+ "join": {
+ "type": "string"
+ },
+ "spectate": {
+ "type": "string"
+ },
+ "match": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "instance": {
+ "type": "boolean"
+ },
+ "flags": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "sync_id": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "object",
+ "properties": {
+ "context_uri": {
+ "type": "string"
+ },
+ "album_id": {
+ "type": "string"
+ },
+ "artist_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "album_id",
+ "artist_ids"
+ ]
+ },
+ "session_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "flags",
+ "name",
+ "session_id",
+ "type"
+ ]
+ },
+ "ActivityType": {
+ "enum": [
+ 0,
+ 1,
+ 2,
+ 4,
+ 5
+ ],
+ "type": "number"
+ },
+ "Embed": {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "article",
+ "gifv",
+ "image",
+ "link",
+ "rich",
+ "video"
+ ],
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "color": {
+ "type": "integer"
+ },
+ "footer": {
+ "type": "object",
+ "properties": {
+ "text": {
+ "type": "string"
+ },
+ "icon_url": {
+ "type": "string"
+ },
+ "proxy_icon_url": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "text"
+ ]
+ },
+ "image": {
+ "$ref": "#/definitions/EmbedImage"
+ },
+ "thumbnail": {
+ "$ref": "#/definitions/EmbedImage"
+ },
+ "video": {
+ "$ref": "#/definitions/EmbedImage"
+ },
+ "provider": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "author": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "icon_url": {
+ "type": "string"
+ },
+ "proxy_icon_url": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "fields": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
+ },
+ "inline": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "name",
+ "value"
+ ]
+ }
+ }
+ },
+ "additionalProperties": false
+ },
+ "EmbedImage": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string"
+ },
+ "proxy_url": {
+ "type": "string"
+ },
+ "height": {
+ "type": "integer"
+ },
+ "width": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false
+ },
+ "ActionRowComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/MessageComponentType.ActionRow"
+ },
+ "components": {
+ "type": "array",
+ "items": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/ButtonComponent"
+ },
+ {
+ "$ref": "#/definitions/SelectMenuComponent"
+ },
+ {
+ "$ref": "#/definitions/StringSelectMenuComponent"
+ },
+ {
+ "$ref": "#/definitions/TextInputComponent"
+ }
+ ]
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "components",
+ "type"
+ ]
+ },
+ "MessageComponentType.ActionRow": {
+ "type": "number",
+ "enum": [
+ 1
+ ]
+ },
+ "ButtonComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/MessageComponentType.Button"
+ },
+ "style": {
+ "$ref": "#/definitions/ButtonStyle"
+ },
+ "label": {
+ "type": "string"
+ },
+ "emoji": {
+ "$ref": "#/definitions/PartialEmoji"
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "sku_id": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "disabled": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "style",
+ "type"
+ ]
+ },
+ "MessageComponentType.Button": {
+ "type": "number",
+ "enum": [
+ 2
+ ]
+ },
+ "ButtonStyle": {
+ "enum": [
+ 1,
+ 2,
+ 3,
+ 4,
+ 5,
+ 6
+ ],
+ "type": "number"
+ },
+ "PartialEmoji": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "animated": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "name"
+ ]
+ },
+ "SelectMenuComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "enum": [
+ 3,
+ 5,
+ 6,
+ 7,
+ 8
+ ],
+ "type": "number"
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "channel_types": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "placeholder": {
+ "type": "string"
+ },
+ "default_values": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SelectMenuDefaultOption"
+ }
+ },
+ "min_values": {
+ "type": "integer"
+ },
+ "max_values": {
+ "type": "integer"
+ },
+ "disabled": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "custom_id",
+ "type"
+ ]
+ },
+ "SelectMenuDefaultOption": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "channel",
+ "role",
+ "user"
+ ],
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "type"
+ ]
+ },
+ "StringSelectMenuComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/MessageComponentType.StringSelect"
+ },
+ "options": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SelectMenuOption"
+ }
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "channel_types": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "placeholder": {
+ "type": "string"
+ },
+ "default_values": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SelectMenuDefaultOption"
+ }
+ },
+ "min_values": {
+ "type": "integer"
+ },
+ "max_values": {
+ "type": "integer"
+ },
+ "disabled": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "custom_id",
+ "options",
+ "type"
+ ]
+ },
+ "MessageComponentType.StringSelect": {
+ "type": "number",
+ "enum": [
+ 3
+ ]
+ },
+ "SelectMenuOption": {
+ "type": "object",
+ "properties": {
+ "label": {
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "emoji": {
+ "$ref": "#/definitions/PartialEmoji"
+ },
+ "default": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "label",
+ "value"
+ ]
+ },
+ "TextInputComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/MessageComponentType.TextInput"
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "style": {
+ "$ref": "#/definitions/TextInputStyle"
+ },
+ "label": {
+ "type": "string"
+ },
+ "min_length": {
+ "type": "integer"
+ },
+ "max_length": {
+ "type": "integer"
+ },
+ "required": {
+ "type": "boolean"
+ },
+ "value": {
+ "type": "string"
+ },
+ "placeholder": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "custom_id",
+ "label",
+ "style",
+ "type"
+ ]
+ },
+ "MessageComponentType.TextInput": {
+ "type": "number",
+ "enum": [
+ 4
+ ]
+ },
+ "TextInputStyle": {
+ "enum": [
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "PollCreationSchema": {
+ "type": "object",
+ "properties": {
+ "question": {
+ "$ref": "#/definitions/PollMedia"
+ },
+ "answers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PollAnswer"
+ }
+ },
+ "duration": {
+ "type": "integer"
+ },
+ "allow_multiselect": {
+ "type": "boolean"
+ },
+ "layout_type": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "answers",
+ "question"
+ ]
+ },
+ "PollMedia": {
+ "type": "object",
+ "properties": {
+ "text": {
+ "type": "string"
+ },
+ "emoji": {
+ "$ref": "#/definitions/PartialEmoji"
+ }
+ },
+ "additionalProperties": false
+ },
+ "PollAnswer": {
+ "type": "object",
+ "properties": {
+ "answer_id": {
+ "type": "string"
+ },
+ "poll_media": {
+ "$ref": "#/definitions/PollMedia"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "poll_media"
+ ]
+ },
+ "ChannelOverride": {
+ "type": "object",
+ "properties": {
+ "message_notifications": {
+ "type": "integer"
+ },
+ "mute_config": {
+ "$ref": "#/definitions/MuteConfig"
+ },
+ "muted": {
+ "type": "boolean"
+ },
+ "channel_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel_id",
+ "message_notifications",
+ "mute_config",
+ "muted"
+ ]
+ },
+ "MuteConfig": {
+ "type": "object",
+ "properties": {
+ "end_time": {
+ "type": "integer"
+ },
+ "selected_time_window": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "end_time",
+ "selected_time_window"
+ ]
+ },
+ "CustomStatus": {
+ "type": "object",
+ "properties": {
+ "emoji_id": {
+ "type": "string"
+ },
+ "emoji_name": {
+ "type": "string"
+ },
+ "expires_at": {
+ "type": "integer"
+ },
+ "text": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "FriendSourceFlags": {
+ "type": "object",
+ "properties": {
+ "all": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "all"
+ ]
+ },
+ "GuildFolder": {
+ "type": "object",
+ "properties": {
+ "color": {
+ "type": "integer"
+ },
+ "guild_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "id": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "color",
+ "guild_ids",
+ "id",
+ "name"
+ ]
+ },
+ "GenerateWebAuthnCredentialsSchema": {
+ "type": "object",
+ "properties": {
+ "password": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "password"
+ ]
+ },
+ "CreateWebAuthnCredentialSchema": {
+ "type": "object",
+ "properties": {
+ "credential": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "ticket": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "credential",
+ "name",
+ "ticket"
+ ]
+ },
+ "APIErrorResponse": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "integer"
+ },
+ "message": {
+ "type": "string"
+ },
+ "errors": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "object",
+ "properties": {
+ "_errors": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "message": {
+ "type": "string"
+ },
+ "code": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "message"
+ ]
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "_errors"
+ ]
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "errors",
+ "message"
+ ]
+ },
+ "CaptchaRequiredResponse": {
+ "type": "object",
+ "properties": {
+ "captcha_key": {
+ "type": "string"
+ },
+ "captcha_sitekey": {
+ "type": "string"
+ },
+ "captcha_service": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "captcha_key",
+ "captcha_service",
+ "captcha_sitekey"
+ ]
+ },
+ "Guild": {
+ "type": "object",
+ "properties": {
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "afk_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "description": {
+ "type": "string"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean",
+ "default": false
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "members": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Member"
+ }
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "template": {
+ "$ref": "#/definitions/Template"
+ },
+ "emojis": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Emoji"
+ }
+ },
+ "stickers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Sticker"
+ }
+ },
+ "invites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Invite"
+ }
+ },
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
+ },
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "owner": {
+ "$ref": "#/definitions/User"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "public_updates_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "rules_channel": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "splash": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "system_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "unavailable": {
+ "type": "boolean",
+ "default": false
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "widget_enabled": {
+ "type": "boolean",
+ "default": true
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean",
+ "default": false
+ },
+ "parent": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "integer"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "channel_ordering": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "bans",
+ "channel_ordering",
+ "channels",
+ "emojis",
+ "features",
+ "id",
+ "invites",
+ "members",
+ "name",
+ "nsfw",
+ "premium_progress_bar_enabled",
+ "public_updates_channel_id",
+ "roles",
+ "stickers",
+ "template",
+ "unavailable",
+ "voice_states",
+ "webhooks",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
+ "Channel": {
+ "type": "object",
+ "properties": {
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "name": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "type": {
+ "$ref": "#/definitions/ChannelType"
+ },
+ "recipients": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Recipient"
+ }
+ },
+ "last_message_id": {
+ "type": "string"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "parent_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "parent": {
+ "$ref": "#/definitions/Channel"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "owner": {
+ "$ref": "#/definitions/User"
+ },
+ "last_pin_timestamp": {
+ "type": "integer"
+ },
+ "default_auto_archive_duration": {
+ "type": "integer"
+ },
+ "permission_overwrites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ChannelPermissionOverwrite"
+ }
+ },
+ "video_quality_mode": {
+ "type": "integer"
+ },
+ "bitrate": {
+ "type": "integer"
+ },
+ "user_limit": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean",
+ "default": false
+ },
+ "rate_limit_per_user": {
+ "type": "integer"
+ },
+ "topic": {
+ "type": "string"
+ },
+ "invites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Invite"
+ }
+ },
+ "retention_policy_id": {
+ "type": "string"
+ },
+ "messages": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Message"
+ }
+ },
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
+ },
+ "read_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ReadState"
+ }
+ },
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
+ },
+ "flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "default_thread_rate_limit_per_user": {
+ "type": "integer",
+ "default": 0
+ },
+ "position": {
+ "description": "Must be calculated Channel.calculatePosition",
+ "type": "integer"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "created_at",
+ "default_thread_rate_limit_per_user",
+ "flags",
+ "id",
+ "nsfw",
+ "owner",
+ "parent_id",
+ "position",
+ "type"
+ ]
+ },
+ "ChannelType": {
+ "enum": [
+ 0,
+ 1,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 2,
+ 255,
+ 3,
+ 33,
+ 34,
+ 35,
+ 4,
+ 5,
+ 6,
+ 64,
+ 7,
+ 8,
+ 9
+ ],
+ "type": "number"
+ },
+ "Recipient": {
+ "type": "object",
+ "properties": {
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "closed": {
+ "type": "boolean"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "channel_id",
+ "closed",
+ "id",
+ "user",
+ "user_id"
+ ]
+ },
+ "User": {
+ "type": "object",
+ "properties": {
+ "username": {
+ "type": "string"
+ },
+ "discriminator": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "accent_color": {
+ "type": "integer"
+ },
+ "banner": {
+ "type": "string"
+ },
+ "theme_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "pronouns": {
+ "type": "string"
+ },
+ "phone": {
+ "type": "string"
+ },
+ "desktop": {
+ "type": "boolean",
+ "default": false
+ },
+ "mobile": {
+ "type": "boolean",
+ "default": false
+ },
+ "premium": {
+ "type": "boolean"
+ },
+ "premium_type": {
+ "type": "integer"
+ },
+ "bot": {
+ "type": "boolean",
+ "default": false
+ },
+ "bio": {
+ "type": "string",
+ "default": ""
+ },
+ "system": {
+ "type": "boolean",
+ "default": false
+ },
+ "nsfw_allowed": {
+ "type": "boolean",
+ "default": true
+ },
+ "mfa_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "webauthn_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "totp_secret": {
+ "type": "string",
+ "default": ""
+ },
+ "totp_last_ticket": {
+ "type": "string",
+ "default": ""
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "premium_since": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "verified": {
+ "type": "boolean"
+ },
+ "disabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "deleted": {
+ "type": "boolean",
+ "default": false
+ },
+ "email": {
+ "type": "string"
+ },
+ "flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "public_flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "purchased_flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "premium_usage_flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "rights": {
+ "type": "string"
+ },
+ "sessions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Session"
+ }
+ },
+ "relationships": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Relationship"
+ }
+ },
+ "connected_accounts": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ConnectedAccount"
+ }
+ },
+ "data": {
+ "type": "object",
+ "properties": {
+ "valid_tokens_since": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "hash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "valid_tokens_since"
+ ]
+ },
+ "fingerprints": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "settings": {
+ "$ref": "#/definitions/UserSettings"
+ },
+ "extended_settings": {
+ "type": "string",
+ "default": "{}"
+ },
+ "security_keys": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SecurityKey"
+ }
+ },
+ "badge_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "bio",
+ "bot",
+ "connected_accounts",
+ "created_at",
+ "data",
+ "deleted",
+ "desktop",
+ "disabled",
+ "discriminator",
+ "extended_settings",
+ "fingerprints",
+ "flags",
+ "id",
+ "mfa_enabled",
+ "mobile",
+ "nsfw_allowed",
+ "premium",
+ "premium_since",
+ "premium_type",
+ "premium_usage_flags",
+ "public_flags",
+ "purchased_flags",
+ "relationships",
+ "rights",
+ "security_keys",
+ "sessions",
+ "settings",
+ "system",
+ "username",
+ "verified",
+ "webauthn_enabled"
+ ]
+ },
+ "Session": {
+ "type": "object",
+ "properties": {
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "session_id": {
+ "type": "string"
+ },
+ "activities": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Activity"
+ }
+ },
+ "client_info": {
+ "type": "object",
+ "properties": {
+ "client": {
+ "type": "string"
+ },
+ "os": {
+ "type": "string"
+ },
+ "version": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "client",
+ "os",
+ "version"
+ ]
+ },
+ "client_status": {
+ "$ref": "#/definitions/ClientStatus"
+ },
+ "status": {
+ "$ref": "#/definitions/Status"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "activities",
+ "client_info",
+ "client_status",
+ "id",
+ "session_id",
+ "status",
+ "user",
+ "user_id"
+ ]
+ },
+ "ClientStatus": {
+ "type": "object",
+ "properties": {
+ "desktop": {
+ "type": "string"
+ },
+ "mobile": {
+ "type": "string"
+ },
+ "web": {
+ "type": "string"
+ },
+ "embedded": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "Relationship": {
+ "type": "object",
+ "properties": {
+ "from_id": {
+ "type": "string"
+ },
+ "from": {
+ "$ref": "#/definitions/User"
+ },
+ "to_id": {
+ "type": "string"
+ },
+ "to": {
+ "$ref": "#/definitions/User"
+ },
+ "nickname": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/RelationshipType"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "from",
+ "from_id",
+ "id",
+ "to",
+ "to_id",
+ "type"
+ ]
+ },
+ "RelationshipType": {
+ "enum": [
+ 1,
+ 2,
+ 3,
+ 4
+ ],
+ "type": "number"
+ },
+ "ConnectedAccount": {
+ "type": "object",
+ "properties": {
+ "external_id": {
+ "type": "string"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "friend_sync": {
+ "type": "boolean",
+ "default": false
+ },
+ "name": {
+ "type": "string"
+ },
+ "revoked": {
+ "type": "boolean",
+ "default": false
+ },
+ "show_activity": {
+ "type": "integer",
+ "default": 0
+ },
+ "type": {
+ "type": "string"
+ },
+ "verified": {
+ "type": "boolean",
+ "default": true
+ },
+ "visibility": {
+ "type": "integer",
+ "default": 0
+ },
+ "integrations": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "metadata_": {},
+ "metadata_visibility": {
+ "type": "integer",
+ "default": 0
+ },
+ "two_way_link": {
+ "type": "boolean",
+ "default": false
+ },
+ "token_data": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/ConnectedAccountTokenData"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "external_id",
+ "id",
+ "name",
+ "type",
+ "user",
+ "user_id"
+ ]
+ },
+ "UserSettings": {
+ "type": "object",
+ "properties": {
+ "index": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer",
+ "default": 3600
+ },
+ "allow_accessibility_detection": {
+ "type": "boolean",
+ "default": true
+ },
+ "animate_emoji": {
+ "type": "boolean",
+ "default": true
+ },
+ "animate_stickers": {
+ "type": "integer",
+ "default": 0
+ },
+ "contact_sync_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "convert_emoticons": {
+ "type": "boolean",
+ "default": false
+ },
+ "custom_status": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/CustomStatus"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "default_guilds_restricted": {
+ "type": "boolean",
+ "default": false
+ },
+ "detect_platform_accounts": {
+ "type": "boolean",
+ "default": false
+ },
+ "developer_mode": {
+ "type": "boolean",
+ "default": true
+ },
+ "disable_games_tab": {
+ "type": "boolean",
+ "default": true
+ },
+ "enable_tts_command": {
+ "type": "boolean",
+ "default": false
+ },
+ "explicit_content_filter": {
+ "type": "integer",
+ "default": 0
+ },
+ "friend_discovery_flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "friend_source_flags": {
+ "$ref": "#/definitions/FriendSourceFlags"
+ },
+ "gateway_connected": {
+ "type": "boolean",
+ "default": false
+ },
+ "gif_auto_play": {
+ "type": "boolean",
+ "default": false
+ },
+ "guild_folders": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/GuildFolder"
+ },
+ "default": []
+ },
+ "guild_positions": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "inline_attachment_media": {
+ "type": "boolean",
+ "default": true
+ },
+ "inline_embed_media": {
+ "type": "boolean",
+ "default": true
+ },
+ "locale": {
+ "type": "string",
+ "default": "en-US"
+ },
+ "message_display_compact": {
+ "type": "boolean",
+ "default": false
+ },
+ "native_phone_integration_enabled": {
+ "type": "boolean",
+ "default": true
+ },
+ "render_embeds": {
+ "type": "boolean",
+ "default": true
+ },
+ "render_reactions": {
+ "type": "boolean",
+ "default": true
+ },
+ "restricted_guilds": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "show_current_game": {
+ "type": "boolean",
+ "default": true
+ },
+ "status": {
+ "enum": [
+ "dnd",
+ "idle",
+ "invisible",
+ "offline",
+ "online"
+ ],
+ "type": "string",
+ "default": "online"
+ },
+ "stream_notifications_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "theme": {
+ "enum": [
+ "dark",
+ "light"
+ ],
+ "type": "string",
+ "default": "dark"
+ },
+ "timezone_offset": {
+ "type": "integer",
+ "default": 0
+ },
+ "view_nsfw_guilds": {
+ "type": "boolean",
+ "default": true
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "afk_timeout",
+ "allow_accessibility_detection",
+ "animate_emoji",
+ "animate_stickers",
+ "contact_sync_enabled",
+ "convert_emoticons",
+ "custom_status",
+ "default_guilds_restricted",
+ "detect_platform_accounts",
+ "developer_mode",
+ "disable_games_tab",
+ "enable_tts_command",
+ "explicit_content_filter",
+ "friend_discovery_flags",
+ "friend_source_flags",
+ "gateway_connected",
+ "gif_auto_play",
+ "guild_folders",
+ "guild_positions",
+ "index",
+ "inline_attachment_media",
+ "inline_embed_media",
+ "locale",
+ "message_display_compact",
+ "native_phone_integration_enabled",
+ "render_embeds",
+ "render_reactions",
+ "restricted_guilds",
+ "show_current_game",
+ "status",
+ "stream_notifications_enabled",
+ "theme",
+ "timezone_offset",
+ "view_nsfw_guilds"
+ ]
+ },
+ "SecurityKey": {
+ "type": "object",
+ "properties": {
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "key_id": {
+ "type": "string"
+ },
+ "public_key": {
+ "type": "string"
+ },
+ "counter": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "counter",
+ "id",
+ "key_id",
+ "name",
+ "public_key",
+ "user",
+ "user_id"
+ ]
+ },
+ "ChannelPermissionOverwrite": {
+ "type": "object",
+ "properties": {
+ "allow": {
+ "type": "string"
+ },
+ "deny": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/ChannelPermissionOverwriteType"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "allow",
+ "deny",
+ "id",
+ "type"
+ ]
+ },
+ "Invite": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "temporary": {
+ "type": "boolean"
+ },
+ "uses": {
+ "type": "integer"
+ },
+ "max_uses": {
+ "type": "integer"
+ },
+ "max_age": {
+ "type": "integer"
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "expires_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "inviter_id": {
+ "type": "string"
+ },
+ "inviter": {
+ "$ref": "#/definitions/User"
+ },
+ "target_user_id": {
+ "type": "string"
+ },
+ "target_user": {
+ "type": "string"
+ },
+ "target_user_type": {
+ "type": "integer"
+ },
+ "vanity_url": {
+ "type": "boolean"
+ },
+ "flags": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "channel_id",
+ "code",
+ "created_at",
+ "flags",
+ "guild",
+ "guild_id",
+ "inviter",
+ "max_age",
+ "max_uses",
+ "target_user_id",
+ "temporary",
+ "uses"
+ ]
+ },
+ "Message": {
+ "type": "object",
+ "properties": {
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "author_id": {
+ "type": "string"
+ },
+ "author": {
+ "$ref": "#/definitions/User"
+ },
+ "member_id": {
+ "type": "string"
+ },
+ "member": {
+ "$ref": "#/definitions/Member"
+ },
+ "webhook_id": {
+ "type": "string"
+ },
+ "webhook": {
+ "$ref": "#/definitions/Webhook"
+ },
+ "application_id": {
+ "type": "string"
+ },
+ "application": {
+ "$ref": "#/definitions/Application"
+ },
+ "content": {
+ "type": "string"
+ },
+ "timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "edited_timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "tts": {
+ "type": "boolean"
+ },
+ "mention_everyone": {
+ "type": "boolean"
+ },
+ "mentions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/User"
+ }
+ },
+ "mention_roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "mention_channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "sticker_items": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Sticker"
+ }
+ },
+ "attachments": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Attachment"
+ }
+ },
+ "embeds": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Embed"
+ }
+ },
+ "reactions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Reaction"
+ }
+ },
+ "nonce": {
+ "type": "string"
+ },
+ "pinned": {
+ "type": "boolean"
+ },
+ "type": {
+ "$ref": "#/definitions/MessageType"
+ },
+ "activity": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "integer"
+ },
+ "party_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "party_id",
+ "type"
+ ]
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "message_reference": {
+ "type": "object",
+ "properties": {
+ "message_id": {
+ "type": "string"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "guild_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "message_id"
+ ]
+ },
+ "referenced_message": {
+ "$ref": "#/definitions/Message"
+ },
+ "interaction": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/InteractionType"
+ },
+ "name": {
+ "type": "string"
+ },
+ "user_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "type",
+ "user_id"
+ ]
+ },
+ "components": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ActionRowComponent"
+ }
+ },
+ "poll": {
+ "$ref": "#/definitions/Poll"
+ },
+ "username": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "embeds",
+ "flags",
+ "id",
+ "mention_channels",
+ "mention_roles",
+ "mentions",
+ "reactions",
+ "timestamp",
+ "type"
+ ]
+ },
+ "Member": {
+ "type": "object",
+ "properties": {
+ "index": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "nick": {
+ "type": "string"
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "joined_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "premium_since": {
+ "type": "integer"
+ },
+ "deaf": {
+ "type": "boolean"
+ },
+ "mute": {
+ "type": "boolean"
+ },
+ "pending": {
+ "type": "boolean"
+ },
+ "settings": {
+ "$ref": "#/definitions/UserGuildSettings"
+ },
+ "last_message_id": {
+ "type": "string"
+ },
+ "joined_by": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "banner": {
+ "type": "string"
+ },
+ "bio": {
+ "type": "string"
+ },
+ "theme_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "pronouns": {
+ "type": "string"
+ },
+ "communication_disabled_until": {
+ "type": "string",
+ "format": "date-time"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "banner",
+ "bio",
+ "communication_disabled_until",
+ "deaf",
+ "guild",
+ "guild_id",
+ "id",
+ "index",
+ "joined_at",
+ "joined_by",
+ "mute",
+ "pending",
+ "roles",
+ "settings",
+ "user"
+ ]
+ },
+ "Role": {
+ "type": "object",
+ "properties": {
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "color": {
+ "type": "integer"
+ },
+ "hoist": {
+ "type": "boolean"
+ },
+ "managed": {
+ "type": "boolean"
+ },
+ "mentionable": {
+ "type": "boolean"
+ },
+ "name": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "string"
+ },
+ "position": {
+ "type": "integer"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "unicode_emoji": {
+ "type": "string"
+ },
+ "tags": {
+ "type": "object",
+ "properties": {
+ "bot_id": {
+ "type": "string"
+ },
+ "integration_id": {
+ "type": "string"
+ },
+ "premium_subscriber": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "color",
+ "flags",
+ "guild",
+ "guild_id",
+ "hoist",
+ "id",
+ "managed",
+ "mentionable",
+ "name",
+ "permissions",
+ "position"
+ ]
+ },
+ "UserGuildSettings": {
+ "type": "object",
+ "properties": {
+ "channel_overrides": {
+ "anyOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "$ref": "#/definitions/ChannelOverride"
+ }
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "message_notifications": {
+ "type": "integer"
+ },
+ "mobile_push": {
+ "type": "boolean"
+ },
+ "mute_config": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/MuteConfig"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "muted": {
+ "type": "boolean"
+ },
+ "suppress_everyone": {
+ "type": "boolean"
+ },
+ "suppress_roles": {
+ "type": "boolean"
+ },
+ "version": {
+ "type": "integer"
+ },
+ "guild_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "mute_scheduled_events": {
+ "type": "boolean"
+ },
+ "hide_muted_channels": {
+ "type": "boolean"
+ },
+ "notify_highlights": {
+ "type": "number",
+ "enum": [
+ 0
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel_overrides",
+ "flags",
+ "guild_id",
+ "hide_muted_channels",
+ "message_notifications",
+ "mobile_push",
+ "mute_config",
+ "mute_scheduled_events",
+ "muted",
+ "notify_highlights",
+ "suppress_everyone",
+ "suppress_roles",
+ "version"
+ ]
+ },
+ "Webhook": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/WebhookType"
+ },
+ "name": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "token": {
+ "type": "string"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "application_id": {
+ "type": "string"
+ },
+ "application": {
+ "$ref": "#/definitions/Application"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "source_guild_id": {
+ "type": "string"
+ },
+ "source_guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "source_channel_id": {
+ "type": "string"
+ },
+ "source_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "url": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "application",
+ "application_id",
+ "avatar",
+ "channel",
+ "channel_id",
+ "id",
+ "name",
+ "source_channel",
+ "source_channel_id",
+ "type",
+ "url",
+ "user",
+ "user_id"
+ ]
+ },
+ "WebhookType": {
+ "enum": [
+ 1,
+ 2,
+ 3
+ ],
+ "type": "number"
+ },
+ "Application": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "summary": {
+ "type": "string",
+ "default": ""
+ },
+ "type": {
+ "type": "object",
+ "properties": {},
+ "additionalProperties": true
+ },
+ "hook": {
+ "type": "boolean",
+ "default": true
+ },
+ "bot_public": {
+ "type": "boolean",
+ "default": true
+ },
+ "bot_require_code_grant": {
+ "type": "boolean",
+ "default": false
+ },
+ "verify_key": {
+ "type": "string"
+ },
+ "owner": {
+ "$ref": "#/definitions/User"
+ },
+ "flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "redirect_uris": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "rpc_application_state": {
+ "type": "integer",
+ "default": 0
+ },
+ "store_application_state": {
+ "type": "integer",
+ "default": 1
+ },
+ "verification_state": {
+ "type": "integer",
+ "default": 1
+ },
+ "interactions_endpoint_url": {
+ "type": "string"
+ },
+ "integration_public": {
+ "type": "boolean",
+ "default": true
+ },
+ "integration_require_code_grant": {
+ "type": "boolean",
+ "default": false
+ },
+ "discoverability_state": {
+ "type": "integer",
+ "default": 1
+ },
+ "discovery_eligibility_flags": {
+ "type": "integer",
+ "default": 2240
+ },
+ "bot": {
+ "$ref": "#/definitions/User"
+ },
+ "tags": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "cover_image": {
+ "type": "string"
+ },
+ "install_params": {
+ "type": "object",
+ "properties": {
+ "scopes": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "permissions": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "permissions",
+ "scopes"
+ ]
+ },
+ "terms_of_service_url": {
+ "type": "string"
+ },
+ "privacy_policy_url": {
+ "type": "string"
+ },
+ "team": {
+ "$ref": "#/definitions/Team"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "description",
+ "discoverability_state",
+ "discovery_eligibility_flags",
+ "flags",
+ "hook",
+ "id",
+ "integration_public",
+ "integration_require_code_grant",
+ "name",
+ "owner",
+ "redirect_uris",
+ "rpc_application_state",
+ "store_application_state",
+ "summary",
+ "verification_state",
+ "verify_key"
+ ]
+ },
+ "Team": {
+ "type": "object",
+ "properties": {
+ "icon": {
+ "type": "string"
+ },
+ "members": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TeamMember"
+ }
+ },
+ "name": {
+ "type": "string"
+ },
+ "owner_user_id": {
+ "type": "string"
+ },
+ "owner_user": {
+ "$ref": "#/definitions/User"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "members",
+ "name",
+ "owner_user",
+ "owner_user_id"
+ ]
+ },
+ "TeamMember": {
+ "type": "object",
+ "properties": {
+ "membership_state": {
+ "$ref": "#/definitions/TeamMemberState"
+ },
+ "permissions": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "team_id": {
+ "type": "string"
+ },
+ "team": {
+ "$ref": "#/definitions/Team"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "membership_state",
+ "permissions",
+ "team",
+ "team_id",
+ "user",
+ "user_id"
+ ]
+ },
+ "TeamMemberState": {
+ "enum": [
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "Sticker": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "available": {
+ "type": "boolean"
+ },
+ "tags": {
+ "type": "string"
+ },
+ "pack_id": {
+ "type": "string"
+ },
+ "pack": {
+ "$ref": "#/definitions/StickerPack"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "type": {
+ "$ref": "#/definitions/StickerType"
+ },
+ "format_type": {
+ "$ref": "#/definitions/StickerFormatType"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "format_type",
+ "id",
+ "name",
+ "pack",
+ "type"
+ ]
+ },
+ "StickerPack": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "banner_asset_id": {
+ "type": "string"
+ },
+ "stickers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Sticker"
+ }
+ },
+ "cover_sticker_id": {
+ "type": "string"
+ },
+ "cover_sticker": {
+ "$ref": "#/definitions/Sticker"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "stickers"
+ ]
+ },
+ "StickerType": {
+ "enum": [
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "StickerFormatType": {
+ "enum": [
+ 0,
+ 1,
+ 2,
+ 3
+ ],
+ "type": "number"
+ },
+ "Attachment": {
+ "type": "object",
+ "properties": {
+ "filename": {
+ "type": "string"
+ },
+ "size": {
+ "type": "integer"
+ },
+ "url": {
+ "type": "string"
+ },
+ "proxy_url": {
+ "type": "string"
+ },
+ "height": {
+ "type": "integer"
+ },
+ "width": {
+ "type": "integer"
+ },
+ "content_type": {
+ "type": "string"
+ },
+ "message_id": {
+ "type": "string"
+ },
+ "message": {
+ "$ref": "#/definitions/Message"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "filename",
+ "id",
+ "message",
+ "message_id",
+ "proxy_url",
+ "size",
+ "url"
+ ]
+ },
+ "Reaction": {
+ "type": "object",
+ "properties": {
+ "count": {
+ "type": "integer"
+ },
+ "emoji": {
+ "$ref": "#/definitions/PartialEmoji"
+ },
+ "user_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "count",
+ "emoji",
+ "user_ids"
+ ]
+ },
+ "MessageType": {
+ "enum": [
+ 0,
+ 1,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 16,
+ 19,
+ 2,
+ 20,
+ 255,
+ 3,
+ 4,
+ 41,
+ 42,
+ 43,
+ 5,
+ 50,
+ 6,
+ 63,
+ 7,
+ 8,
+ 9
+ ],
+ "type": "number"
+ },
+ "InteractionType": {
+ "enum": [
+ 0,
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "Poll": {
+ "type": "object",
+ "properties": {
+ "question": {
+ "$ref": "#/definitions/PollMedia"
+ },
+ "answers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PollAnswer"
+ }
+ },
+ "expiry": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "allow_multiselect": {
+ "type": "boolean"
+ },
+ "results": {
+ "$ref": "#/definitions/PollResult"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "allow_multiselect",
+ "answers",
+ "expiry",
+ "question"
+ ]
+ },
+ "PollResult": {
+ "type": "object",
+ "properties": {
+ "is_finalized": {
+ "type": "boolean"
+ },
+ "answer_counts": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PollAnswerCount"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "answer_counts",
+ "is_finalized"
+ ]
+ },
+ "PollAnswerCount": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "count": {
+ "type": "integer"
+ },
+ "me_voted": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "count",
+ "id",
+ "me_voted"
+ ]
+ },
+ "VoiceState": {
+ "type": "object",
+ "properties": {
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "member": {
+ "$ref": "#/definitions/Member"
+ },
+ "session_id": {
+ "type": "string"
+ },
+ "token": {
+ "type": "string"
+ },
+ "deaf": {
+ "type": "boolean"
+ },
+ "mute": {
+ "type": "boolean"
+ },
+ "self_deaf": {
+ "type": "boolean"
+ },
+ "self_mute": {
+ "type": "boolean"
+ },
+ "self_stream": {
+ "type": "boolean"
+ },
+ "self_video": {
+ "type": "boolean"
+ },
+ "suppress": {
+ "type": "boolean"
+ },
+ "request_to_speak_timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "channel_id",
+ "deaf",
+ "guild_id",
+ "id",
+ "member",
+ "mute",
+ "self_deaf",
+ "self_mute",
+ "self_video",
+ "session_id",
+ "suppress",
+ "token",
+ "user",
+ "user_id"
+ ]
+ },
+ "ReadState": {
+ "type": "object",
+ "properties": {
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "last_message_id": {
+ "type": "string"
+ },
+ "public_ack": {
+ "type": "string"
+ },
+ "notifications_cursor": {
+ "type": "string"
+ },
+ "last_pin_timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "mention_count": {
+ "type": "integer"
+ },
+ "manual": {
+ "type": "boolean"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "channel_id",
+ "id",
+ "last_message_id",
+ "manual",
+ "mention_count",
+ "notifications_cursor",
+ "public_ack",
+ "user",
+ "user_id"
+ ]
+ },
+ "Ban": {
+ "type": "object",
+ "properties": {
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "executor_id": {
+ "type": "string"
+ },
+ "executor": {
+ "$ref": "#/definitions/User"
+ },
+ "ip": {
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "executor",
+ "executor_id",
+ "guild",
+ "guild_id",
+ "id",
+ "ip",
+ "user",
+ "user_id"
+ ]
+ },
+ "Template": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "usage_count": {
+ "type": "integer"
+ },
+ "creator_id": {
+ "type": "string"
+ },
+ "creator": {
+ "$ref": "#/definitions/User"
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "source_guild_id": {
+ "type": "string"
+ },
+ "source_guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "serialized_source_guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "created_at",
+ "creator",
+ "creator_id",
+ "id",
+ "name",
+ "serialized_source_guild",
+ "source_guild",
+ "source_guild_id",
+ "updated_at"
+ ]
+ },
+ "Emoji": {
+ "type": "object",
+ "properties": {
+ "animated": {
+ "type": "boolean"
+ },
+ "available": {
+ "type": "boolean"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "managed": {
+ "type": "boolean"
+ },
+ "name": {
+ "type": "string"
+ },
+ "require_colons": {
+ "type": "boolean"
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "groups": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "animated",
+ "available",
+ "groups",
+ "guild",
+ "guild_id",
+ "id",
+ "managed",
+ "name",
+ "require_colons",
+ "roles",
+ "user",
+ "user_id"
+ ]
+ },
+ "GuildWelcomeScreen": {
+ "type": "object",
+ "properties": {
+ "enabled": {
+ "type": "boolean"
+ },
+ "description": {
+ "type": "string"
+ },
+ "welcome_channels": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "description": {
+ "type": "string"
+ },
+ "emoji_id": {
+ "type": "string"
+ },
+ "emoji_name": {
+ "type": "string"
+ },
+ "channel_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel_id",
+ "description"
+ ]
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "description",
+ "enabled",
+ "welcome_channels"
+ ]
+ },
+ "GuildMessagesSearchMessage": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/MessageType"
+ },
+ "content": {
+ "type": "string"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "author": {
+ "$ref": "#/definitions/PublicUser"
+ },
+ "attachments": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Attachment"
+ }
+ },
+ "embeds": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Embed"
+ }
+ },
+ "mentions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PublicUser"
+ }
+ },
+ "mention_roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "pinned": {
+ "type": "boolean"
+ },
+ "mention_everyone": {
+ "type": "boolean"
+ },
+ "tts": {
+ "type": "boolean"
+ },
+ "timestamp": {
+ "type": "string"
+ },
+ "edited_timestamp": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "components": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ActionRowComponent"
+ }
+ },
+ "poll": {
+ "$ref": "#/definitions/Poll"
+ },
+ "hit": {
+ "type": "boolean",
+ "enum": [
+ true
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "attachments",
+ "author",
+ "channel_id",
+ "components",
+ "edited_timestamp",
+ "embeds",
+ "flags",
+ "hit",
+ "id",
+ "mention_roles",
+ "mentions",
+ "pinned",
+ "poll",
+ "timestamp",
+ "tts",
+ "type"
+ ]
+ },
+ "PublicUser": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "premium_since": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "username": {
+ "type": "string"
+ },
+ "discriminator": {
+ "type": "string"
+ },
+ "public_flags": {
+ "type": "integer"
+ },
+ "accent_color": {
+ "type": "integer"
+ },
+ "banner": {
+ "type": "string"
+ },
+ "bio": {
+ "type": "string"
+ },
+ "bot": {
+ "type": "boolean"
+ },
+ "premium_type": {
+ "type": "integer"
+ },
+ "theme_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "pronouns": {
+ "type": "string"
+ },
+ "badge_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "bio",
+ "bot",
+ "discriminator",
+ "id",
+ "premium_since",
+ "premium_type",
+ "public_flags",
+ "username"
+ ]
+ },
+ "GuildVanityUrl": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "uses": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "uses"
+ ]
+ },
+ "GuildVanityUrlNoInvite": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "null"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code"
+ ]
+ },
+ "Snowflake": {
+ "description": "A container for useful snowflake-related methods.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
+ "TenorGifResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "src": {
+ "type": "string"
+ },
+ "gif_src": {
+ "type": "string"
+ },
+ "width": {
+ "type": "integer"
+ },
+ "height": {
+ "type": "integer"
+ },
+ "preview": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "gif_src",
+ "height",
+ "id",
+ "preview",
+ "src",
+ "title",
+ "url",
+ "width"
+ ]
+ },
+ "BackupCode": {
+ "type": "object",
+ "properties": {
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "code": {
+ "type": "string"
+ },
+ "consumed": {
+ "type": "boolean"
+ },
+ "expired": {
+ "type": "boolean"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "consumed",
+ "expired",
+ "id",
+ "user"
+ ]
+ },
+ "APIGuild": {
+ "type": "object",
+ "properties": {
+ "reload": {
+ "description": "Reloads entity data from the database.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "name": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "invites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Invite"
+ }
+ },
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
+ },
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
+ },
+ "toJSON": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "assign": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "hasId": {
+ "description": "Checks if entity has an id.\nIf entity composite compose ids, it will check them all.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "save": {
+ "description": "Saves current entity in the database.\nIf entity does not exist in the database then inserts, otherwise updates.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "remove": {
+ "description": "Removes current entity from the database.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "softRemove": {
+ "description": "Records the delete date of current entity.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "recover": {
+ "description": "Recovers a given entity in the database.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": "string"
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "members": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Member"
+ }
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "emojis": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Emoji"
+ }
+ },
+ "stickers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Sticker"
+ }
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "permissions": {
+ "type": "integer"
+ },
+ "channel_ordering": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "_do_validate",
+ "assign",
+ "bans",
+ "channel_ordering",
+ "channels",
+ "emojis",
+ "features",
+ "hasId",
+ "id",
+ "invites",
+ "members",
+ "name",
+ "nsfw",
+ "premium_progress_bar_enabled",
+ "public_updates_channel_id",
+ "recover",
+ "reload",
+ "remove",
+ "roles",
+ "save",
+ "softRemove",
+ "stickers",
+ "toJSON",
+ "unavailable",
+ "voice_states",
+ "webhooks",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
+ "DmChannelDTO": {
+ "type": "object",
+ "properties": {
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "id": {
+ "type": "string"
+ },
+ "last_message_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "name": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "origin_channel_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "recipients": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MinimalPublicUserDTO"
+ }
+ },
+ "type": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "icon",
+ "id",
+ "last_message_id",
+ "name",
+ "origin_channel_id",
+ "recipients",
+ "type"
+ ]
+ },
+ "MinimalPublicUserDTO": {
+ "type": "object",
+ "properties": {
+ "avatar": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "discriminator": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "public_flags": {
+ "type": "integer"
+ },
+ "username": {
+ "type": "string"
+ },
+ "badge_ids": {
+ "anyOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "discriminator",
+ "id",
+ "public_flags",
+ "username"
+ ]
+ },
+ "Categories": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "localizations": {
+ "type": "string"
+ },
+ "is_primary": {
+ "type": "boolean"
+ },
+ "icon": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "is_primary",
+ "localizations",
+ "name"
+ ]
+ },
+ "GuildVoiceRegion": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "custom": {
+ "type": "boolean"
+ },
+ "deprecated": {
+ "type": "boolean"
+ },
+ "optimal": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "custom",
+ "deprecated",
+ "id",
+ "name",
+ "optimal"
+ ]
+ },
+ "UserLimits": {
+ "type": "object",
+ "properties": {
+ "maxGuilds": {
+ "type": "integer",
+ "default": 1048576
+ },
+ "maxUsername": {
+ "type": "integer",
+ "default": 32
+ },
+ "maxFriends": {
+ "type": "integer",
+ "default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "maxBio",
+ "maxFriends",
+ "maxGuilds",
+ "maxUsername"
+ ]
+ },
+ "GuildLimits": {
+ "type": "object",
+ "properties": {
+ "maxRoles": {
+ "type": "integer",
+ "default": 1000
+ },
+ "maxEmojis": {
+ "type": "integer",
+ "default": 2000
+ },
+ "maxMembers": {
+ "type": "integer",
+ "default": 25000000
+ },
+ "maxChannels": {
+ "type": "integer",
+ "default": 65535
+ },
+ "maxBulkBanUsers": {
+ "type": "integer",
+ "default": 200
+ },
+ "maxChannelsInCategory": {
+ "type": "integer",
+ "default": 65535
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "maxBulkBanUsers",
+ "maxChannels",
+ "maxChannelsInCategory",
+ "maxEmojis",
+ "maxMembers",
+ "maxRoles"
+ ]
+ },
+ "MessageLimits": {
+ "type": "object",
+ "properties": {
+ "maxCharacters": {
+ "type": "integer",
+ "default": 1048576
+ },
+ "maxTTSCharacters": {
+ "type": "integer",
+ "default": 160
+ },
+ "maxReactions": {
+ "type": "integer",
+ "default": 2048
+ },
+ "maxAttachmentSize": {
+ "type": "integer",
+ "default": 1073741824
+ },
+ "maxBulkDelete": {
+ "type": "integer",
+ "default": 1000
+ },
+ "maxEmbedDownloadSize": {
+ "type": "integer",
+ "default": 5242880
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "maxAttachmentSize",
+ "maxBulkDelete",
+ "maxCharacters",
+ "maxEmbedDownloadSize",
+ "maxReactions",
+ "maxTTSCharacters"
+ ]
+ },
+ "ChannelLimits": {
+ "type": "object",
+ "properties": {
+ "maxPins": {
+ "type": "integer",
+ "default": 500
+ },
+ "maxTopic": {
+ "type": "integer",
+ "default": 1024
+ },
+ "maxWebhooks": {
+ "type": "integer",
+ "default": 100
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "maxPins",
+ "maxTopic",
+ "maxWebhooks"
+ ]
+ },
+ "RateLimits": {
+ "type": "object",
+ "properties": {
+ "enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "ip": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "global": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "error": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "routes": {
+ "$ref": "#/definitions/RouteRateLimit"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "enabled",
+ "error",
+ "global",
+ "ip",
+ "routes"
+ ]
+ },
+ "RateLimitOptions": {
+ "type": "object",
+ "properties": {
+ "bot": {
+ "type": "integer"
+ },
+ "count": {
+ "type": "integer"
+ },
+ "window": {
+ "type": "integer"
+ },
+ "onyIp": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "count",
+ "window"
+ ]
+ },
+ "RouteRateLimit": {
+ "type": "object",
+ "properties": {
+ "guild": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "webhook": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "channel": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "auth": {}
+ },
+ "additionalProperties": false,
+ "required": [
+ "auth",
+ "channel",
+ "guild",
+ "webhook"
+ ]
+ },
+ "GlobalRateLimits": {
+ "type": "object",
+ "properties": {
+ "register": {
+ "$ref": "#/definitions/GlobalRateLimit"
+ },
+ "sendMessage": {
+ "$ref": "#/definitions/GlobalRateLimit"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "register",
+ "sendMessage"
+ ]
+ },
+ "GlobalRateLimit": {
+ "type": "object",
+ "properties": {
+ "limit": {
+ "type": "integer",
+ "default": 100
+ },
+ "window": {
+ "type": "integer",
+ "default": 3600000
+ },
+ "enabled": {
+ "type": "boolean",
+ "default": true
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "enabled",
+ "limit",
+ "window"
+ ]
+ },
+ "PublicConnectedAccount": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "verified": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "name",
+ "type"
+ ]
+ },
+ "UserProfile": {
+ "type": "object",
+ "properties": {
+ "accent_color": {
+ "type": "integer"
+ },
+ "banner": {
+ "type": "string"
+ },
+ "bio": {
+ "type": "string"
+ },
+ "theme_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "pronouns": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "bio"
+ ]
+ },
+ "Badge": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "link": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "description",
+ "icon",
+ "id"
+ ]
+ },
+ "TokenResponse": {
+ "type": "object",
+ "properties": {
+ "token": {
+ "type": "string"
+ },
+ "settings": {
+ "$ref": "#/definitions/UserSettings"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "settings",
+ "token"
+ ]
+ },
+ "MFAResponse": {
+ "type": "object",
+ "properties": {
+ "ticket": {
+ "type": "string"
+ },
+ "mfa": {
+ "type": "boolean",
+ "enum": [
+ true
+ ]
+ },
+ "sms": {
+ "type": "boolean",
+ "enum": [
+ false
+ ]
+ },
+ "token": {
+ "type": "null"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "mfa",
+ "sms",
+ "ticket",
+ "token"
+ ]
+ },
+ "WebAuthnResponse": {
+ "type": "object",
+ "properties": {
+ "webauthn": {
+ "type": "string"
+ },
+ "ticket": {
+ "type": "string"
+ },
+ "mfa": {
+ "type": "boolean",
+ "enum": [
+ true
+ ]
+ },
+ "sms": {
+ "type": "boolean",
+ "enum": [
+ false
+ ]
+ },
+ "token": {
+ "type": "null"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "mfa",
+ "sms",
+ "ticket",
+ "token",
+ "webauthn"
+ ]
+ }
+ },
+ "$schema": "http://json-schema.org/draft-07/schema#"
+ },
+ "ChannelModifySchema": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "maxLength": 100,
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ 0,
+ 1,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 2,
+ 255,
+ 3,
+ 33,
+ 34,
+ 35,
+ 4,
+ 5,
+ 6,
+ 64,
+ 7,
+ 8,
+ 9
+ ],
+ "type": "number"
+ },
+ "topic": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "bitrate": {
+ "type": "integer"
+ },
+ "user_limit": {
+ "type": "integer"
+ },
+ "rate_limit_per_user": {
+ "type": "integer"
+ },
+ "position": {
+ "type": "integer"
+ },
+ "permission_overwrites": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/ChannelPermissionOverwriteType"
+ },
+ "allow": {
+ "type": "string"
+ },
+ "deny": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "allow",
+ "deny",
+ "id",
+ "type"
+ ]
+ }
+ },
+ "parent_id": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "rtc_region": {
+ "type": "string"
+ },
+ "default_auto_archive_duration": {
+ "type": "integer"
+ },
+ "default_reaction_emoji": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "default_thread_rate_limit_per_user": {
+ "type": "integer"
+ },
+ "video_quality_mode": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
+ "ChannelPermissionOverwriteType": {
+ "enum": [
+ 0,
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "ConnectedAccountTokenData": {
+ "type": "object",
+ "properties": {
+ "access_token": {
+ "type": "string"
+ },
+ "token_type": {
+ "type": "string"
+ },
+ "scope": {
+ "type": "string"
+ },
+ "refresh_token": {
+ "type": "string"
+ },
+ "expires_in": {
+ "type": "integer"
+ },
+ "expires_at": {
+ "type": "integer"
+ },
+ "fetched_at": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "access_token",
+ "fetched_at"
+ ]
+ },
+ "ChannelModifySchema": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "maxLength": 100,
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ 0,
+ 1,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 2,
+ 255,
+ 3,
+ 33,
+ 34,
+ 35,
+ 4,
+ 5,
+ 6,
+ 64,
+ 7,
+ 8,
+ 9
+ ],
+ "type": "number"
+ },
+ "topic": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "bitrate": {
+ "type": "integer"
+ },
+ "user_limit": {
+ "type": "integer"
+ },
+ "rate_limit_per_user": {
+ "type": "integer"
+ },
+ "position": {
+ "type": "integer"
+ },
+ "permission_overwrites": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/ChannelPermissionOverwriteType"
+ },
+ "allow": {
+ "type": "string"
+ },
+ "deny": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "allow",
+ "deny",
+ "id",
+ "type"
+ ]
+ }
+ },
+ "parent_id": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "rtc_region": {
+ "type": "string"
+ },
+ "default_auto_archive_duration": {
+ "type": "integer"
+ },
+ "default_reaction_emoji": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "default_thread_rate_limit_per_user": {
+ "type": "integer"
+ },
+ "video_quality_mode": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false
+ },
+ "ActivitySchema": {
+ "type": "object",
+ "properties": {
+ "afk": {
+ "type": "boolean"
+ },
+ "status": {
+ "$ref": "#/definitions/Status"
+ },
+ "activities": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Activity"
+ }
+ },
+ "since": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "status"
+ ]
+ },
+ "Status": {
+ "enum": [
+ "dnd",
+ "idle",
+ "invisible",
+ "offline",
+ "online"
+ ],
+ "type": "string"
+ },
+ "Activity": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/ActivityType"
+ },
+ "url": {
+ "type": "string"
+ },
+ "created_at": {
+ "type": "integer"
+ },
+ "timestamps": {
+ "type": "object",
+ "properties": {
+ "start": {
+ "type": "integer"
+ },
+ "end": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "end",
+ "start"
+ ]
+ },
+ "application_id": {
+ "type": "string"
+ },
+ "details": {
+ "type": "string"
+ },
+ "state": {
+ "type": "string"
+ },
+ "emoji": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "animated": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "animated",
+ "name"
+ ]
+ },
+ "party": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "size": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ }
+ },
+ "additionalProperties": false
+ },
+ "assets": {
+ "type": "object",
+ "properties": {
+ "large_image": {
+ "type": "string"
+ },
+ "large_text": {
+ "type": "string"
+ },
+ "small_image": {
+ "type": "string"
+ },
+ "small_text": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "secrets": {
+ "type": "object",
+ "properties": {
+ "join": {
+ "type": "string"
+ },
+ "spectate": {
+ "type": "string"
+ },
+ "match": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "instance": {
+ "type": "boolean"
+ },
+ "flags": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "sync_id": {
+ "type": "string"
+ },
+ "metadata": {
+ "type": "object",
+ "properties": {
+ "context_uri": {
+ "type": "string"
+ },
+ "album_id": {
+ "type": "string"
+ },
+ "artist_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "album_id",
+ "artist_ids"
+ ]
+ },
+ "session_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "flags",
+ "name",
+ "session_id",
+ "type"
+ ]
+ },
+ "ActivityType": {
+ "enum": [
+ 0,
+ 1,
+ 2,
+ 4,
+ 5
+ ],
+ "type": "number"
+ },
+ "Embed": {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "article",
+ "gifv",
+ "image",
+ "link",
+ "rich",
+ "video"
+ ],
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "color": {
+ "type": "integer"
+ },
+ "footer": {
+ "type": "object",
+ "properties": {
+ "text": {
+ "type": "string"
+ },
+ "icon_url": {
+ "type": "string"
+ },
+ "proxy_icon_url": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "text"
+ ]
+ },
+ "image": {
+ "$ref": "#/definitions/EmbedImage"
+ },
+ "thumbnail": {
+ "$ref": "#/definitions/EmbedImage"
+ },
+ "video": {
+ "$ref": "#/definitions/EmbedImage"
+ },
+ "provider": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "author": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "icon_url": {
+ "type": "string"
+ },
+ "proxy_icon_url": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "fields": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
+ },
+ "inline": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "name",
+ "value"
+ ]
+ }
+ }
+ },
+ "additionalProperties": false
+ },
+ "EmbedImage": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string"
+ },
+ "proxy_url": {
+ "type": "string"
+ },
+ "height": {
+ "type": "integer"
+ },
+ "width": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false
+ },
+ "ActionRowComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/MessageComponentType.ActionRow"
+ },
+ "components": {
+ "type": "array",
+ "items": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/ButtonComponent"
+ },
+ {
+ "$ref": "#/definitions/SelectMenuComponent"
+ },
+ {
+ "$ref": "#/definitions/StringSelectMenuComponent"
+ },
+ {
+ "$ref": "#/definitions/TextInputComponent"
+ }
+ ]
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "components",
+ "type"
+ ]
+ },
+ "MessageComponentType.ActionRow": {
+ "type": "number",
+ "enum": [
+ 1
+ ]
+ },
+ "ButtonComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/MessageComponentType.Button"
+ },
+ "style": {
+ "$ref": "#/definitions/ButtonStyle"
+ },
+ "label": {
+ "type": "string"
+ },
+ "emoji": {
+ "$ref": "#/definitions/PartialEmoji"
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "sku_id": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "disabled": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "style",
+ "type"
+ ]
+ },
+ "MessageComponentType.Button": {
+ "type": "number",
+ "enum": [
+ 2
+ ]
+ },
+ "ButtonStyle": {
+ "enum": [
+ 1,
+ 2,
+ 3,
+ 4,
+ 5,
+ 6
+ ],
+ "type": "number"
+ },
+ "PartialEmoji": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "animated": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "name"
+ ]
+ },
+ "SelectMenuComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "enum": [
+ 3,
+ 5,
+ 6,
+ 7,
+ 8
+ ],
+ "type": "number"
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "channel_types": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "placeholder": {
+ "type": "string"
+ },
+ "default_values": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SelectMenuDefaultOption"
+ }
+ },
+ "min_values": {
+ "type": "integer"
+ },
+ "max_values": {
+ "type": "integer"
+ },
+ "disabled": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "custom_id",
+ "type"
+ ]
+ },
+ "SelectMenuDefaultOption": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "channel",
+ "role",
+ "user"
+ ],
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "type"
+ ]
+ },
+ "StringSelectMenuComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/MessageComponentType.StringSelect"
+ },
+ "options": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SelectMenuOption"
+ }
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "channel_types": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "placeholder": {
+ "type": "string"
+ },
+ "default_values": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SelectMenuDefaultOption"
+ }
+ },
+ "min_values": {
+ "type": "integer"
+ },
+ "max_values": {
+ "type": "integer"
+ },
+ "disabled": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "custom_id",
+ "options",
+ "type"
+ ]
+ },
+ "MessageComponentType.StringSelect": {
+ "type": "number",
+ "enum": [
+ 3
+ ]
+ },
+ "SelectMenuOption": {
+ "type": "object",
+ "properties": {
+ "label": {
+ "type": "string"
+ },
+ "value": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "emoji": {
+ "$ref": "#/definitions/PartialEmoji"
+ },
+ "default": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "label",
+ "value"
+ ]
+ },
+ "TextInputComponent": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/MessageComponentType.TextInput"
+ },
+ "custom_id": {
+ "type": "string"
+ },
+ "style": {
+ "$ref": "#/definitions/TextInputStyle"
+ },
+ "label": {
+ "type": "string"
+ },
+ "min_length": {
+ "type": "integer"
+ },
+ "max_length": {
+ "type": "integer"
+ },
+ "required": {
+ "type": "boolean"
+ },
+ "value": {
+ "type": "string"
+ },
+ "placeholder": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "custom_id",
+ "label",
+ "style",
+ "type"
+ ]
+ },
+ "MessageComponentType.TextInput": {
+ "type": "number",
+ "enum": [
+ 4
+ ]
+ },
+ "TextInputStyle": {
+ "enum": [
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "PollCreationSchema": {
+ "type": "object",
+ "properties": {
+ "question": {
+ "$ref": "#/definitions/PollMedia"
+ },
+ "answers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PollAnswer"
+ }
+ },
+ "duration": {
+ "type": "integer"
+ },
+ "allow_multiselect": {
+ "type": "boolean"
+ },
+ "layout_type": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "answers",
+ "question"
+ ]
+ },
+ "PollMedia": {
+ "type": "object",
+ "properties": {
+ "text": {
+ "type": "string"
+ },
+ "emoji": {
+ "$ref": "#/definitions/PartialEmoji"
+ }
+ },
+ "additionalProperties": false
+ },
+ "PollAnswer": {
+ "type": "object",
+ "properties": {
+ "answer_id": {
+ "type": "string"
+ },
+ "poll_media": {
+ "$ref": "#/definitions/PollMedia"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "poll_media"
+ ]
+ },
+ "ChannelOverride": {
+ "type": "object",
+ "properties": {
+ "message_notifications": {
+ "type": "integer"
+ },
+ "mute_config": {
+ "$ref": "#/definitions/MuteConfig"
+ },
+ "muted": {
+ "type": "boolean"
+ },
+ "channel_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel_id",
+ "message_notifications",
+ "mute_config",
+ "muted"
+ ]
+ },
+ "MuteConfig": {
+ "type": "object",
+ "properties": {
+ "end_time": {
+ "type": "integer"
+ },
+ "selected_time_window": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "end_time",
+ "selected_time_window"
+ ]
+ },
+ "CustomStatus": {
+ "type": "object",
+ "properties": {
+ "emoji_id": {
+ "type": "string"
+ },
+ "emoji_name": {
+ "type": "string"
+ },
+ "expires_at": {
+ "type": "integer"
+ },
+ "text": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "FriendSourceFlags": {
+ "type": "object",
+ "properties": {
+ "all": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "all"
+ ]
+ },
+ "GuildFolder": {
+ "type": "object",
+ "properties": {
+ "color": {
+ "type": "integer"
+ },
+ "guild_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "id": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "color",
+ "guild_ids",
+ "id",
+ "name"
+ ]
+ },
+ "GenerateWebAuthnCredentialsSchema": {
+ "type": "object",
+ "properties": {
+ "password": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "password"
+ ]
+ },
+ "CreateWebAuthnCredentialSchema": {
+ "type": "object",
+ "properties": {
+ "credential": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "ticket": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "credential",
+ "name",
+ "ticket"
+ ]
+ },
+ "APIErrorResponse": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "integer"
+ },
+ "message": {
+ "type": "string"
+ },
+ "errors": {
+ "type": "object",
+ "additionalProperties": {
+ "type": "object",
+ "properties": {
+ "_errors": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "message": {
+ "type": "string"
+ },
+ "code": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "message"
+ ]
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "_errors"
+ ]
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "errors",
+ "message"
+ ]
+ },
+ "CaptchaRequiredResponse": {
+ "type": "object",
+ "properties": {
+ "captcha_key": {
+ "type": "string"
+ },
+ "captcha_sitekey": {
+ "type": "string"
+ },
+ "captcha_service": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "captcha_key",
+ "captcha_service",
+ "captcha_sitekey"
+ ]
+ },
+ "Guild": {
+ "type": "object",
+ "properties": {
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "afk_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "description": {
+ "type": "string"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean",
+ "default": false
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "members": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Member"
+ }
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "template": {
+ "$ref": "#/definitions/Template"
+ },
+ "emojis": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Emoji"
+ }
+ },
+ "stickers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Sticker"
+ }
+ },
+ "invites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Invite"
+ }
+ },
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
+ },
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "owner": {
+ "$ref": "#/definitions/User"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "public_updates_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "rules_channel": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "splash": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "system_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "unavailable": {
+ "type": "boolean",
+ "default": false
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "widget_enabled": {
+ "type": "boolean",
+ "default": true
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean",
+ "default": false
+ },
+ "parent": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "integer"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "channel_ordering": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "bans",
+ "channel_ordering",
+ "channels",
+ "emojis",
+ "features",
+ "id",
+ "invites",
+ "members",
+ "name",
+ "nsfw",
+ "premium_progress_bar_enabled",
+ "public_updates_channel_id",
+ "roles",
+ "stickers",
+ "template",
+ "unavailable",
+ "voice_states",
+ "webhooks",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
+ "Channel": {
+ "type": "object",
+ "properties": {
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "name": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "type": {
+ "$ref": "#/definitions/ChannelType"
+ },
+ "recipients": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Recipient"
+ }
+ },
+ "last_message_id": {
+ "type": "string"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "parent_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "parent": {
+ "$ref": "#/definitions/Channel"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "owner": {
+ "$ref": "#/definitions/User"
+ },
+ "last_pin_timestamp": {
+ "type": "integer"
+ },
+ "default_auto_archive_duration": {
+ "type": "integer"
+ },
+ "permission_overwrites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ChannelPermissionOverwrite"
+ }
+ },
+ "video_quality_mode": {
+ "type": "integer"
+ },
+ "bitrate": {
+ "type": "integer"
+ },
+ "user_limit": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean",
+ "default": false
+ },
+ "rate_limit_per_user": {
+ "type": "integer"
+ },
+ "topic": {
+ "type": "string"
+ },
+ "invites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Invite"
+ }
+ },
+ "retention_policy_id": {
+ "type": "string"
+ },
+ "messages": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Message"
+ }
+ },
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
+ },
+ "read_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ReadState"
+ }
+ },
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
+ },
+ "flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "default_thread_rate_limit_per_user": {
+ "type": "integer",
+ "default": 0
+ },
+ "position": {
+ "description": "Must be calculated Channel.calculatePosition",
+ "type": "integer"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "created_at",
+ "default_thread_rate_limit_per_user",
+ "flags",
+ "id",
+ "nsfw",
+ "owner",
+ "parent_id",
+ "position",
+ "type"
+ ]
+ },
+ "ChannelType": {
+ "enum": [
+ 0,
+ 1,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 2,
+ 255,
+ 3,
+ 33,
+ 34,
+ 35,
+ 4,
+ 5,
+ 6,
+ 64,
+ 7,
+ 8,
+ 9
+ ],
+ "type": "number"
+ },
+ "Recipient": {
+ "type": "object",
+ "properties": {
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "closed": {
+ "type": "boolean"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "channel_id",
+ "closed",
+ "id",
+ "user",
+ "user_id"
+ ]
+ },
+ "User": {
+ "type": "object",
+ "properties": {
+ "username": {
+ "type": "string"
+ },
+ "discriminator": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "accent_color": {
+ "type": "integer"
+ },
+ "banner": {
+ "type": "string"
+ },
+ "theme_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "pronouns": {
+ "type": "string"
+ },
+ "phone": {
+ "type": "string"
+ },
+ "desktop": {
+ "type": "boolean",
+ "default": false
+ },
+ "mobile": {
+ "type": "boolean",
+ "default": false
+ },
+ "premium": {
+ "type": "boolean"
+ },
+ "premium_type": {
+ "type": "integer"
+ },
+ "bot": {
+ "type": "boolean",
+ "default": false
+ },
+ "bio": {
+ "type": "string",
+ "default": ""
+ },
+ "system": {
+ "type": "boolean",
+ "default": false
+ },
+ "nsfw_allowed": {
+ "type": "boolean",
+ "default": true
+ },
+ "mfa_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "webauthn_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "totp_secret": {
+ "type": "string",
+ "default": ""
+ },
+ "totp_last_ticket": {
+ "type": "string",
+ "default": ""
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "premium_since": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "verified": {
+ "type": "boolean"
+ },
+ "disabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "deleted": {
+ "type": "boolean",
+ "default": false
+ },
+ "email": {
+ "type": "string"
+ },
+ "flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "public_flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "purchased_flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "premium_usage_flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "rights": {
+ "type": "string"
+ },
+ "sessions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Session"
+ }
+ },
+ "relationships": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Relationship"
+ }
+ },
+ "connected_accounts": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ConnectedAccount"
+ }
+ },
+ "data": {
+ "type": "object",
+ "properties": {
+ "valid_tokens_since": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "hash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "valid_tokens_since"
+ ]
+ },
+ "fingerprints": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "settings": {
+ "$ref": "#/definitions/UserSettings"
+ },
+ "extended_settings": {
+ "type": "string",
+ "default": "{}"
+ },
+ "security_keys": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/SecurityKey"
+ }
+ },
+ "badge_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "bio",
+ "bot",
+ "connected_accounts",
+ "created_at",
+ "data",
+ "deleted",
+ "desktop",
+ "disabled",
+ "discriminator",
+ "extended_settings",
+ "fingerprints",
+ "flags",
+ "id",
+ "mfa_enabled",
+ "mobile",
+ "nsfw_allowed",
+ "premium",
+ "premium_since",
+ "premium_type",
+ "premium_usage_flags",
+ "public_flags",
+ "purchased_flags",
+ "relationships",
+ "rights",
+ "security_keys",
+ "sessions",
+ "settings",
+ "system",
+ "username",
+ "verified",
+ "webauthn_enabled"
+ ]
+ },
+ "Session": {
+ "type": "object",
+ "properties": {
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "session_id": {
+ "type": "string"
+ },
+ "activities": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Activity"
+ }
+ },
+ "client_info": {
+ "type": "object",
+ "properties": {
+ "client": {
+ "type": "string"
+ },
+ "os": {
+ "type": "string"
+ },
+ "version": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "client",
+ "os",
+ "version"
+ ]
+ },
+ "client_status": {
+ "$ref": "#/definitions/ClientStatus"
+ },
+ "status": {
+ "$ref": "#/definitions/Status"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "activities",
+ "client_info",
+ "client_status",
+ "id",
+ "session_id",
+ "status",
+ "user",
+ "user_id"
+ ]
+ },
+ "ClientStatus": {
+ "type": "object",
+ "properties": {
+ "desktop": {
+ "type": "string"
+ },
+ "mobile": {
+ "type": "string"
+ },
+ "web": {
+ "type": "string"
+ },
+ "embedded": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "Relationship": {
+ "type": "object",
+ "properties": {
+ "from_id": {
+ "type": "string"
+ },
+ "from": {
+ "$ref": "#/definitions/User"
+ },
+ "to_id": {
+ "type": "string"
+ },
+ "to": {
+ "$ref": "#/definitions/User"
+ },
+ "nickname": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/RelationshipType"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "from",
+ "from_id",
+ "id",
+ "to",
+ "to_id",
+ "type"
+ ]
+ },
+ "RelationshipType": {
+ "enum": [
+ 1,
+ 2,
+ 3,
+ 4
+ ],
+ "type": "number"
+ },
+ "ConnectedAccount": {
+ "type": "object",
+ "properties": {
+ "external_id": {
+ "type": "string"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "friend_sync": {
+ "type": "boolean",
+ "default": false
+ },
+ "name": {
+ "type": "string"
+ },
+ "revoked": {
+ "type": "boolean",
+ "default": false
+ },
+ "show_activity": {
+ "type": "integer",
+ "default": 0
+ },
+ "type": {
+ "type": "string"
+ },
+ "verified": {
+ "type": "boolean",
+ "default": true
+ },
+ "visibility": {
+ "type": "integer",
+ "default": 0
+ },
+ "integrations": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "metadata_": {},
+ "metadata_visibility": {
+ "type": "integer",
+ "default": 0
+ },
+ "two_way_link": {
+ "type": "boolean",
+ "default": false
+ },
+ "token_data": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/ConnectedAccountTokenData"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "external_id",
+ "id",
+ "name",
+ "type",
+ "user",
+ "user_id"
+ ]
+ },
+ "UserSettings": {
+ "type": "object",
+ "properties": {
+ "index": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer",
+ "default": 3600
+ },
+ "allow_accessibility_detection": {
+ "type": "boolean",
+ "default": true
+ },
+ "animate_emoji": {
+ "type": "boolean",
+ "default": true
+ },
+ "animate_stickers": {
+ "type": "integer",
+ "default": 0
+ },
+ "contact_sync_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "convert_emoticons": {
+ "type": "boolean",
+ "default": false
+ },
+ "custom_status": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/CustomStatus"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "default_guilds_restricted": {
+ "type": "boolean",
+ "default": false
+ },
+ "detect_platform_accounts": {
+ "type": "boolean",
+ "default": false
+ },
+ "developer_mode": {
+ "type": "boolean",
+ "default": true
+ },
+ "disable_games_tab": {
+ "type": "boolean",
+ "default": true
+ },
+ "enable_tts_command": {
+ "type": "boolean",
+ "default": false
+ },
+ "explicit_content_filter": {
+ "type": "integer",
+ "default": 0
+ },
+ "friend_discovery_flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "friend_source_flags": {
+ "$ref": "#/definitions/FriendSourceFlags"
+ },
+ "gateway_connected": {
+ "type": "boolean",
+ "default": false
+ },
+ "gif_auto_play": {
+ "type": "boolean",
+ "default": false
+ },
+ "guild_folders": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/GuildFolder"
+ },
+ "default": []
+ },
+ "guild_positions": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "inline_attachment_media": {
+ "type": "boolean",
+ "default": true
+ },
+ "inline_embed_media": {
+ "type": "boolean",
+ "default": true
+ },
+ "locale": {
+ "type": "string",
+ "default": "en-US"
+ },
+ "message_display_compact": {
+ "type": "boolean",
+ "default": false
+ },
+ "native_phone_integration_enabled": {
+ "type": "boolean",
+ "default": true
+ },
+ "render_embeds": {
+ "type": "boolean",
+ "default": true
+ },
+ "render_reactions": {
+ "type": "boolean",
+ "default": true
+ },
+ "restricted_guilds": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "show_current_game": {
+ "type": "boolean",
+ "default": true
+ },
+ "status": {
+ "enum": [
+ "dnd",
+ "idle",
+ "invisible",
+ "offline",
+ "online"
+ ],
+ "type": "string",
+ "default": "online"
+ },
+ "stream_notifications_enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "theme": {
+ "enum": [
+ "dark",
+ "light"
+ ],
+ "type": "string",
+ "default": "dark"
+ },
+ "timezone_offset": {
+ "type": "integer",
+ "default": 0
+ },
+ "view_nsfw_guilds": {
+ "type": "boolean",
+ "default": true
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "afk_timeout",
+ "allow_accessibility_detection",
+ "animate_emoji",
+ "animate_stickers",
+ "contact_sync_enabled",
+ "convert_emoticons",
+ "custom_status",
+ "default_guilds_restricted",
+ "detect_platform_accounts",
+ "developer_mode",
+ "disable_games_tab",
+ "enable_tts_command",
+ "explicit_content_filter",
+ "friend_discovery_flags",
+ "friend_source_flags",
+ "gateway_connected",
+ "gif_auto_play",
+ "guild_folders",
+ "guild_positions",
+ "index",
+ "inline_attachment_media",
+ "inline_embed_media",
+ "locale",
+ "message_display_compact",
+ "native_phone_integration_enabled",
+ "render_embeds",
+ "render_reactions",
+ "restricted_guilds",
+ "show_current_game",
+ "status",
+ "stream_notifications_enabled",
+ "theme",
+ "timezone_offset",
+ "view_nsfw_guilds"
+ ]
+ },
+ "SecurityKey": {
+ "type": "object",
+ "properties": {
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "key_id": {
+ "type": "string"
+ },
+ "public_key": {
+ "type": "string"
+ },
+ "counter": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "counter",
+ "id",
+ "key_id",
+ "name",
+ "public_key",
+ "user",
+ "user_id"
+ ]
+ },
+ "ChannelPermissionOverwrite": {
+ "type": "object",
+ "properties": {
+ "allow": {
+ "type": "string"
+ },
+ "deny": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/ChannelPermissionOverwriteType"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "allow",
+ "deny",
+ "id",
+ "type"
+ ]
+ },
+ "Invite": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "temporary": {
+ "type": "boolean"
+ },
+ "uses": {
+ "type": "integer"
+ },
+ "max_uses": {
+ "type": "integer"
+ },
+ "max_age": {
+ "type": "integer"
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "expires_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "inviter_id": {
+ "type": "string"
+ },
+ "inviter": {
+ "$ref": "#/definitions/User"
+ },
+ "target_user_id": {
+ "type": "string"
+ },
+ "target_user": {
+ "type": "string"
+ },
+ "target_user_type": {
+ "type": "integer"
+ },
+ "vanity_url": {
+ "type": "boolean"
+ },
+ "flags": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "channel_id",
+ "code",
+ "created_at",
+ "flags",
+ "guild",
+ "guild_id",
+ "inviter",
+ "max_age",
+ "max_uses",
+ "target_user_id",
+ "temporary",
+ "uses"
+ ]
+ },
+ "Message": {
+ "type": "object",
+ "properties": {
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "author_id": {
+ "type": "string"
+ },
+ "author": {
+ "$ref": "#/definitions/User"
+ },
+ "member_id": {
+ "type": "string"
+ },
+ "member": {
+ "$ref": "#/definitions/Member"
+ },
+ "webhook_id": {
+ "type": "string"
+ },
+ "webhook": {
+ "$ref": "#/definitions/Webhook"
+ },
+ "application_id": {
+ "type": "string"
+ },
+ "application": {
+ "$ref": "#/definitions/Application"
+ },
+ "content": {
+ "type": "string"
+ },
+ "timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "edited_timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "tts": {
+ "type": "boolean"
+ },
+ "mention_everyone": {
+ "type": "boolean"
+ },
+ "mentions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/User"
+ }
+ },
+ "mention_roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "mention_channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "sticker_items": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Sticker"
+ }
+ },
+ "attachments": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Attachment"
+ }
+ },
+ "embeds": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Embed"
+ }
+ },
+ "reactions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Reaction"
+ }
+ },
+ "nonce": {
+ "type": "string"
+ },
+ "pinned": {
+ "type": "boolean"
+ },
+ "type": {
+ "$ref": "#/definitions/MessageType"
+ },
+ "activity": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "integer"
+ },
+ "party_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "party_id",
+ "type"
+ ]
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "message_reference": {
+ "type": "object",
+ "properties": {
+ "message_id": {
+ "type": "string"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "guild_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "message_id"
+ ]
+ },
+ "referenced_message": {
+ "$ref": "#/definitions/Message"
+ },
+ "interaction": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/InteractionType"
+ },
+ "name": {
+ "type": "string"
+ },
+ "user_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "type",
+ "user_id"
+ ]
+ },
+ "components": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ActionRowComponent"
+ }
+ },
+ "poll": {
+ "$ref": "#/definitions/Poll"
+ },
+ "username": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "embeds",
+ "flags",
+ "id",
+ "mention_channels",
+ "mention_roles",
+ "mentions",
+ "reactions",
+ "timestamp",
+ "type"
+ ]
+ },
+ "Member": {
+ "type": "object",
+ "properties": {
+ "index": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "nick": {
+ "type": "string"
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "joined_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "premium_since": {
+ "type": "integer"
+ },
+ "deaf": {
+ "type": "boolean"
+ },
+ "mute": {
+ "type": "boolean"
+ },
+ "pending": {
+ "type": "boolean"
+ },
+ "settings": {
+ "$ref": "#/definitions/UserGuildSettings"
+ },
+ "last_message_id": {
+ "type": "string"
+ },
+ "joined_by": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "banner": {
+ "type": "string"
+ },
+ "bio": {
+ "type": "string"
+ },
+ "theme_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "pronouns": {
+ "type": "string"
+ },
+ "communication_disabled_until": {
+ "type": "string",
+ "format": "date-time"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "banner",
+ "bio",
+ "communication_disabled_until",
+ "deaf",
+ "guild",
+ "guild_id",
+ "id",
+ "index",
+ "joined_at",
+ "joined_by",
+ "mute",
+ "pending",
+ "roles",
+ "settings",
+ "user"
+ ]
+ },
+ "Role": {
+ "type": "object",
+ "properties": {
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "color": {
+ "type": "integer"
+ },
+ "hoist": {
+ "type": "boolean"
+ },
+ "managed": {
+ "type": "boolean"
+ },
+ "mentionable": {
+ "type": "boolean"
+ },
+ "name": {
+ "type": "string"
+ },
+ "permissions": {
+ "type": "string"
+ },
+ "position": {
+ "type": "integer"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "unicode_emoji": {
+ "type": "string"
+ },
+ "tags": {
+ "type": "object",
+ "properties": {
+ "bot_id": {
+ "type": "string"
+ },
+ "integration_id": {
+ "type": "string"
+ },
+ "premium_subscriber": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "color",
+ "flags",
+ "guild",
+ "guild_id",
+ "hoist",
+ "id",
+ "managed",
+ "mentionable",
+ "name",
+ "permissions",
+ "position"
+ ]
+ },
+ "UserGuildSettings": {
+ "type": "object",
+ "properties": {
+ "channel_overrides": {
+ "anyOf": [
+ {
+ "type": "object",
+ "additionalProperties": {
+ "$ref": "#/definitions/ChannelOverride"
+ }
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "message_notifications": {
+ "type": "integer"
+ },
+ "mobile_push": {
+ "type": "boolean"
+ },
+ "mute_config": {
+ "anyOf": [
+ {
+ "$ref": "#/definitions/MuteConfig"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "muted": {
+ "type": "boolean"
+ },
+ "suppress_everyone": {
+ "type": "boolean"
+ },
+ "suppress_roles": {
+ "type": "boolean"
+ },
+ "version": {
+ "type": "integer"
+ },
+ "guild_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "mute_scheduled_events": {
+ "type": "boolean"
+ },
+ "hide_muted_channels": {
+ "type": "boolean"
+ },
+ "notify_highlights": {
+ "type": "number",
+ "enum": [
+ 0
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel_overrides",
+ "flags",
+ "guild_id",
+ "hide_muted_channels",
+ "message_notifications",
+ "mobile_push",
+ "mute_config",
+ "mute_scheduled_events",
+ "muted",
+ "notify_highlights",
+ "suppress_everyone",
+ "suppress_roles",
+ "version"
+ ]
+ },
+ "Webhook": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "$ref": "#/definitions/WebhookType"
+ },
+ "name": {
+ "type": "string"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "token": {
+ "type": "string"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "application_id": {
+ "type": "string"
+ },
+ "application": {
+ "$ref": "#/definitions/Application"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "source_guild_id": {
+ "type": "string"
+ },
+ "source_guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "source_channel_id": {
+ "type": "string"
+ },
+ "source_channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "url": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "application",
+ "application_id",
+ "avatar",
+ "channel",
+ "channel_id",
+ "id",
+ "name",
+ "source_channel",
+ "source_channel_id",
+ "type",
+ "url",
+ "user",
+ "user_id"
+ ]
+ },
+ "WebhookType": {
+ "enum": [
+ 1,
+ 2,
+ 3
+ ],
+ "type": "number"
+ },
+ "Application": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "summary": {
+ "type": "string",
+ "default": ""
+ },
+ "type": {
+ "type": "object",
+ "properties": {},
+ "additionalProperties": true
+ },
+ "hook": {
+ "type": "boolean",
+ "default": true
+ },
+ "bot_public": {
+ "type": "boolean",
+ "default": true
+ },
+ "bot_require_code_grant": {
+ "type": "boolean",
+ "default": false
+ },
+ "verify_key": {
+ "type": "string"
+ },
+ "owner": {
+ "$ref": "#/definitions/User"
+ },
+ "flags": {
+ "type": "integer",
+ "default": 0
+ },
+ "redirect_uris": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ },
+ "default": []
+ },
+ "rpc_application_state": {
+ "type": "integer",
+ "default": 0
+ },
+ "store_application_state": {
+ "type": "integer",
+ "default": 1
+ },
+ "verification_state": {
+ "type": "integer",
+ "default": 1
+ },
+ "interactions_endpoint_url": {
+ "type": "string"
+ },
+ "integration_public": {
+ "type": "boolean",
+ "default": true
+ },
+ "integration_require_code_grant": {
+ "type": "boolean",
+ "default": false
+ },
+ "discoverability_state": {
+ "type": "integer",
+ "default": 1
+ },
+ "discovery_eligibility_flags": {
+ "type": "integer",
+ "default": 2240
+ },
+ "bot": {
+ "$ref": "#/definitions/User"
+ },
+ "tags": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "cover_image": {
+ "type": "string"
+ },
+ "install_params": {
+ "type": "object",
+ "properties": {
+ "scopes": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "permissions": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "permissions",
+ "scopes"
+ ]
+ },
+ "terms_of_service_url": {
+ "type": "string"
+ },
+ "privacy_policy_url": {
+ "type": "string"
+ },
+ "team": {
+ "$ref": "#/definitions/Team"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "description",
+ "discoverability_state",
+ "discovery_eligibility_flags",
+ "flags",
+ "hook",
+ "id",
+ "integration_public",
+ "integration_require_code_grant",
+ "name",
+ "owner",
+ "redirect_uris",
+ "rpc_application_state",
+ "store_application_state",
+ "summary",
+ "verification_state",
+ "verify_key"
+ ]
+ },
+ "Team": {
+ "type": "object",
+ "properties": {
+ "icon": {
+ "type": "string"
+ },
+ "members": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/TeamMember"
+ }
+ },
+ "name": {
+ "type": "string"
+ },
+ "owner_user_id": {
+ "type": "string"
+ },
+ "owner_user": {
+ "$ref": "#/definitions/User"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "members",
+ "name",
+ "owner_user",
+ "owner_user_id"
+ ]
+ },
+ "TeamMember": {
+ "type": "object",
+ "properties": {
+ "membership_state": {
+ "$ref": "#/definitions/TeamMemberState"
+ },
+ "permissions": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "team_id": {
+ "type": "string"
+ },
+ "team": {
+ "$ref": "#/definitions/Team"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "membership_state",
+ "permissions",
+ "team",
+ "team_id",
+ "user",
+ "user_id"
+ ]
+ },
+ "TeamMemberState": {
+ "enum": [
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "Sticker": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "available": {
+ "type": "boolean"
+ },
+ "tags": {
+ "type": "string"
+ },
+ "pack_id": {
+ "type": "string"
+ },
+ "pack": {
+ "$ref": "#/definitions/StickerPack"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "type": {
+ "$ref": "#/definitions/StickerType"
+ },
+ "format_type": {
+ "$ref": "#/definitions/StickerFormatType"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "format_type",
+ "id",
+ "name",
+ "pack",
+ "type"
+ ]
+ },
+ "StickerPack": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "banner_asset_id": {
+ "type": "string"
+ },
+ "stickers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Sticker"
+ }
+ },
+ "cover_sticker_id": {
+ "type": "string"
+ },
+ "cover_sticker": {
+ "$ref": "#/definitions/Sticker"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "stickers"
+ ]
+ },
+ "StickerType": {
+ "enum": [
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "StickerFormatType": {
+ "enum": [
+ 0,
+ 1,
+ 2,
+ 3
+ ],
+ "type": "number"
+ },
+ "Attachment": {
+ "type": "object",
+ "properties": {
+ "filename": {
+ "type": "string"
+ },
+ "size": {
+ "type": "integer"
+ },
+ "url": {
+ "type": "string"
+ },
+ "proxy_url": {
+ "type": "string"
+ },
+ "height": {
+ "type": "integer"
+ },
+ "width": {
+ "type": "integer"
+ },
+ "content_type": {
+ "type": "string"
+ },
+ "message_id": {
+ "type": "string"
+ },
+ "message": {
+ "$ref": "#/definitions/Message"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "filename",
+ "id",
+ "message",
+ "message_id",
+ "proxy_url",
+ "size",
+ "url"
+ ]
+ },
+ "Reaction": {
+ "type": "object",
+ "properties": {
+ "count": {
+ "type": "integer"
+ },
+ "emoji": {
+ "$ref": "#/definitions/PartialEmoji"
+ },
+ "user_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "count",
+ "emoji",
+ "user_ids"
+ ]
+ },
+ "MessageType": {
+ "enum": [
+ 0,
+ 1,
+ 10,
+ 11,
+ 12,
+ 13,
+ 14,
+ 15,
+ 16,
+ 19,
+ 2,
+ 20,
+ 255,
+ 3,
+ 4,
+ 41,
+ 42,
+ 43,
+ 5,
+ 50,
+ 6,
+ 63,
+ 7,
+ 8,
+ 9
+ ],
+ "type": "number"
+ },
+ "InteractionType": {
+ "enum": [
+ 0,
+ 1,
+ 2
+ ],
+ "type": "number"
+ },
+ "Poll": {
+ "type": "object",
+ "properties": {
+ "question": {
+ "$ref": "#/definitions/PollMedia"
+ },
+ "answers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PollAnswer"
+ }
+ },
+ "expiry": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "allow_multiselect": {
+ "type": "boolean"
+ },
+ "results": {
+ "$ref": "#/definitions/PollResult"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "allow_multiselect",
+ "answers",
+ "expiry",
+ "question"
+ ]
+ },
+ "PollResult": {
+ "type": "object",
+ "properties": {
+ "is_finalized": {
+ "type": "boolean"
+ },
+ "answer_counts": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PollAnswerCount"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "answer_counts",
+ "is_finalized"
+ ]
+ },
+ "PollAnswerCount": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "count": {
+ "type": "integer"
+ },
+ "me_voted": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "count",
+ "id",
+ "me_voted"
+ ]
+ },
+ "VoiceState": {
+ "type": "object",
+ "properties": {
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "member": {
+ "$ref": "#/definitions/Member"
+ },
+ "session_id": {
+ "type": "string"
+ },
+ "token": {
+ "type": "string"
+ },
+ "deaf": {
+ "type": "boolean"
+ },
+ "mute": {
+ "type": "boolean"
+ },
+ "self_deaf": {
+ "type": "boolean"
+ },
+ "self_mute": {
+ "type": "boolean"
+ },
+ "self_stream": {
+ "type": "boolean"
+ },
+ "self_video": {
+ "type": "boolean"
+ },
+ "suppress": {
+ "type": "boolean"
+ },
+ "request_to_speak_timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "channel_id",
+ "deaf",
+ "guild_id",
+ "id",
+ "member",
+ "mute",
+ "self_deaf",
+ "self_mute",
+ "self_video",
+ "session_id",
+ "suppress",
+ "token",
+ "user",
+ "user_id"
+ ]
+ },
+ "ReadState": {
+ "type": "object",
+ "properties": {
+ "channel_id": {
+ "type": "string"
+ },
+ "channel": {
+ "$ref": "#/definitions/Channel"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "last_message_id": {
+ "type": "string"
+ },
+ "public_ack": {
+ "type": "string"
+ },
+ "notifications_cursor": {
+ "type": "string"
+ },
+ "last_pin_timestamp": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "mention_count": {
+ "type": "integer"
+ },
+ "manual": {
+ "type": "boolean"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel",
+ "channel_id",
+ "id",
+ "last_message_id",
+ "manual",
+ "mention_count",
+ "notifications_cursor",
+ "public_ack",
+ "user",
+ "user_id"
+ ]
+ },
+ "Ban": {
+ "type": "object",
+ "properties": {
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "executor_id": {
+ "type": "string"
+ },
+ "executor": {
+ "$ref": "#/definitions/User"
+ },
+ "ip": {
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "executor",
+ "executor_id",
+ "guild",
+ "guild_id",
+ "id",
+ "ip",
+ "user",
+ "user_id"
+ ]
+ },
+ "Template": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "usage_count": {
+ "type": "integer"
+ },
+ "creator_id": {
+ "type": "string"
+ },
+ "creator": {
+ "$ref": "#/definitions/User"
+ },
+ "created_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "updated_at": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "source_guild_id": {
+ "type": "string"
+ },
+ "source_guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "serialized_source_guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "created_at",
+ "creator",
+ "creator_id",
+ "id",
+ "name",
+ "serialized_source_guild",
+ "source_guild",
+ "source_guild_id",
+ "updated_at"
+ ]
+ },
+ "Emoji": {
+ "type": "object",
+ "properties": {
+ "animated": {
+ "type": "boolean"
+ },
+ "available": {
+ "type": "boolean"
+ },
+ "guild_id": {
+ "type": "string"
+ },
+ "guild": {
+ "$ref": "#/definitions/Guild"
+ },
+ "user_id": {
+ "type": "string"
+ },
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "managed": {
+ "type": "boolean"
+ },
+ "name": {
+ "type": "string"
+ },
+ "require_colons": {
+ "type": "boolean"
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "groups": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "animated",
+ "available",
+ "groups",
+ "guild",
+ "guild_id",
+ "id",
+ "managed",
+ "name",
+ "require_colons",
+ "roles",
+ "user",
+ "user_id"
+ ]
+ },
+ "GuildWelcomeScreen": {
+ "type": "object",
+ "properties": {
+ "enabled": {
+ "type": "boolean"
+ },
+ "description": {
+ "type": "string"
+ },
+ "welcome_channels": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "description": {
+ "type": "string"
+ },
+ "emoji_id": {
+ "type": "string"
+ },
+ "emoji_name": {
+ "type": "string"
+ },
+ "channel_id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "channel_id",
+ "description"
+ ]
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "description",
+ "enabled",
+ "welcome_channels"
+ ]
+ },
+ "GuildMessagesSearchMessage": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "type": {
+ "$ref": "#/definitions/MessageType"
+ },
+ "content": {
+ "type": "string"
+ },
+ "channel_id": {
+ "type": "string"
+ },
+ "author": {
+ "$ref": "#/definitions/PublicUser"
+ },
+ "attachments": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Attachment"
+ }
+ },
+ "embeds": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Embed"
+ }
+ },
+ "mentions": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PublicUser"
+ }
+ },
+ "mention_roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "pinned": {
+ "type": "boolean"
+ },
+ "mention_everyone": {
+ "type": "boolean"
+ },
+ "tts": {
+ "type": "boolean"
+ },
+ "timestamp": {
+ "type": "string"
+ },
+ "edited_timestamp": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "flags": {
+ "type": "integer"
+ },
+ "components": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/ActionRowComponent"
+ }
+ },
+ "poll": {
+ "$ref": "#/definitions/Poll"
+ },
+ "hit": {
+ "type": "boolean",
+ "enum": [
+ true
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "attachments",
+ "author",
+ "channel_id",
+ "components",
+ "edited_timestamp",
+ "embeds",
+ "flags",
+ "hit",
+ "id",
+ "mention_roles",
+ "mentions",
+ "pinned",
+ "poll",
+ "timestamp",
+ "tts",
+ "type"
+ ]
+ },
+ "PublicUser": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "premium_since": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "avatar": {
+ "type": "string"
+ },
+ "username": {
+ "type": "string"
+ },
+ "discriminator": {
+ "type": "string"
+ },
+ "public_flags": {
+ "type": "integer"
+ },
+ "accent_color": {
+ "type": "integer"
+ },
+ "banner": {
+ "type": "string"
+ },
+ "bio": {
+ "type": "string"
+ },
+ "bot": {
+ "type": "boolean"
+ },
+ "premium_type": {
+ "type": "integer"
+ },
+ "theme_colors": {
+ "type": "array",
+ "items": {
+ "type": "integer"
+ }
+ },
+ "pronouns": {
+ "type": "string"
+ },
+ "badge_ids": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "bio",
+ "bot",
+ "discriminator",
+ "id",
+ "premium_since",
+ "premium_type",
+ "public_flags",
+ "username"
+ ]
+ },
+ "GuildVanityUrl": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "uses": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "uses"
+ ]
+ },
+ "GuildVanityUrlNoInvite": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "null"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code"
+ ]
+ },
+ "Snowflake": {
+ "description": "A container for useful snowflake-related methods.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
+ "TenorGifResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "src": {
+ "type": "string"
+ },
+ "gif_src": {
+ "type": "string"
+ },
+ "width": {
+ "type": "integer"
+ },
+ "height": {
+ "type": "integer"
+ },
+ "preview": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "gif_src",
+ "height",
+ "id",
+ "preview",
+ "src",
+ "title",
+ "url",
+ "width"
+ ]
+ },
+ "BackupCode": {
+ "type": "object",
+ "properties": {
+ "user": {
+ "$ref": "#/definitions/User"
+ },
+ "code": {
+ "type": "string"
+ },
+ "consumed": {
+ "type": "boolean"
+ },
+ "expired": {
+ "type": "boolean"
+ },
+ "id": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "code",
+ "consumed",
+ "expired",
+ "id",
+ "user"
+ ]
+ },
+ "APIGuild": {
+ "type": "object",
+ "properties": {
+ "reload": {
+ "description": "Reloads entity data from the database.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "name": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "icon": {
+ "type": "string"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "invites": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Invite"
+ }
+ },
+ "voice_states": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/VoiceState"
+ }
+ },
+ "webhooks": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Webhook"
+ }
+ },
+ "toJSON": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "_do_validate": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "assign": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "hasId": {
+ "description": "Checks if entity has an id.\nIf entity composite compose ids, it will check them all.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "save": {
+ "description": "Saves current entity in the database.\nIf entity does not exist in the database then inserts, otherwise updates.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "remove": {
+ "description": "Removes current entity from the database.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "softRemove": {
+ "description": "Records the delete date of current entity.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "recover": {
+ "description": "Recovers a given entity in the database.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "roles": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Role"
+ }
+ },
+ "banner": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "unavailable": {
+ "type": "boolean"
+ },
+ "channels": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Channel"
+ }
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": "string"
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "members": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Member"
+ }
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "emojis": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Emoji"
+ }
+ },
+ "stickers": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Sticker"
+ }
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "permissions": {
+ "type": "integer"
+ },
+ "channel_ordering": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "_do_validate",
+ "assign",
+ "bans",
+ "channel_ordering",
+ "channels",
+ "emojis",
+ "features",
+ "hasId",
+ "id",
+ "invites",
+ "members",
+ "name",
+ "nsfw",
+ "premium_progress_bar_enabled",
+ "public_updates_channel_id",
+ "recover",
+ "reload",
+ "remove",
+ "roles",
+ "save",
+ "softRemove",
+ "stickers",
+ "toJSON",
+ "unavailable",
+ "voice_states",
+ "webhooks",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
+ "DmChannelDTO": {
+ "type": "object",
+ "properties": {
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "id": {
+ "type": "string"
+ },
+ "last_message_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "name": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "origin_channel_id": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "recipients": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/MinimalPublicUserDTO"
+ }
+ },
+ "type": {
+ "type": "integer"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "icon",
+ "id",
+ "last_message_id",
+ "name",
+ "origin_channel_id",
+ "recipients",
+ "type"
+ ]
+ },
+ "MinimalPublicUserDTO": {
+ "type": "object",
+ "properties": {
+ "avatar": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "discriminator": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "public_flags": {
+ "type": "integer"
+ },
+ "username": {
+ "type": "string"
+ },
+ "badge_ids": {
+ "anyOf": [
+ {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "discriminator",
+ "id",
+ "public_flags",
+ "username"
+ ]
+ },
+ "Categories": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "localizations": {
+ "type": "string"
+ },
+ "is_primary": {
+ "type": "boolean"
+ },
+ "icon": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "is_primary",
+ "localizations",
+ "name"
+ ]
+ },
+ "GuildVoiceRegion": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "custom": {
+ "type": "boolean"
+ },
+ "deprecated": {
+ "type": "boolean"
+ },
+ "optimal": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "custom",
+ "deprecated",
+ "id",
+ "name",
+ "optimal"
+ ]
+ },
+ "UserLimits": {
+ "type": "object",
+ "properties": {
+ "maxGuilds": {
+ "type": "integer",
+ "default": 1048576
+ },
+ "maxUsername": {
+ "type": "integer",
+ "default": 32
+ },
+ "maxFriends": {
+ "type": "integer",
+ "default": 5000
+ },
+ "maxBio": {
+ "type": "integer",
+ "default": 190
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "maxBio",
+ "maxFriends",
+ "maxGuilds",
+ "maxUsername"
+ ]
+ },
+ "GuildLimits": {
+ "type": "object",
+ "properties": {
+ "maxRoles": {
+ "type": "integer",
+ "default": 1000
+ },
+ "maxEmojis": {
+ "type": "integer",
+ "default": 2000
+ },
+ "maxMembers": {
+ "type": "integer",
+ "default": 25000000
+ },
+ "maxChannels": {
+ "type": "integer",
+ "default": 65535
+ },
+ "maxBulkBanUsers": {
+ "type": "integer",
+ "default": 200
+ },
+ "maxChannelsInCategory": {
+ "type": "integer",
+ "default": 65535
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "maxBulkBanUsers",
+ "maxChannels",
+ "maxChannelsInCategory",
+ "maxEmojis",
+ "maxMembers",
+ "maxRoles"
+ ]
+ },
+ "MessageLimits": {
+ "type": "object",
+ "properties": {
+ "maxCharacters": {
+ "type": "integer",
+ "default": 1048576
+ },
+ "maxTTSCharacters": {
+ "type": "integer",
+ "default": 160
+ },
+ "maxReactions": {
+ "type": "integer",
+ "default": 2048
+ },
+ "maxAttachmentSize": {
+ "type": "integer",
+ "default": 1073741824
+ },
+ "maxBulkDelete": {
+ "type": "integer",
+ "default": 1000
+ },
+ "maxEmbedDownloadSize": {
+ "type": "integer",
+ "default": 5242880
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "maxAttachmentSize",
+ "maxBulkDelete",
+ "maxCharacters",
+ "maxEmbedDownloadSize",
+ "maxReactions",
+ "maxTTSCharacters"
+ ]
+ },
+ "ChannelLimits": {
+ "type": "object",
+ "properties": {
+ "maxPins": {
+ "type": "integer",
+ "default": 500
+ },
+ "maxTopic": {
+ "type": "integer",
+ "default": 1024
+ },
+ "maxWebhooks": {
+ "type": "integer",
+ "default": 100
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "maxPins",
+ "maxTopic",
+ "maxWebhooks"
+ ]
+ },
+ "RateLimits": {
+ "type": "object",
+ "properties": {
+ "enabled": {
+ "type": "boolean",
+ "default": false
+ },
+ "ip": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "global": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "error": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "routes": {
+ "$ref": "#/definitions/RouteRateLimit"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "enabled",
+ "error",
+ "global",
+ "ip",
+ "routes"
+ ]
+ },
+ "RateLimitOptions": {
+ "type": "object",
+ "properties": {
+ "bot": {
+ "type": "integer"
+ },
+ "count": {
+ "type": "integer"
+ },
+ "window": {
+ "type": "integer"
+ },
+ "onyIp": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "count",
+ "window"
+ ]
+ },
+ "RouteRateLimit": {
+ "type": "object",
+ "properties": {
+ "guild": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "webhook": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "channel": {
+ "$ref": "#/definitions/RateLimitOptions"
+ },
+ "auth": {}
+ },
+ "additionalProperties": false,
+ "required": [
+ "auth",
+ "channel",
+ "guild",
+ "webhook"
]
},
"GlobalRateLimits": {
@@ -5088,6 +64358,96 @@
"type"
],
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -8893,6 +68253,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -8964,14 +68463,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -9078,19 +68577,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -9099,6 +68586,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -9144,27 +68661,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -9180,9 +68682,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -9564,9 +69063,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -9576,22 +69073,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -9807,6 +69288,96 @@
]
},
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -13612,6 +73183,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -13683,14 +73393,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -13797,19 +73507,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -13818,6 +73516,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -13863,27 +73591,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -13899,9 +73612,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -14283,9 +73993,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -14295,22 +74003,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -14521,6 +74213,96 @@
"nonce"
],
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -18326,6 +78108,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -18397,14 +78318,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -18511,19 +78432,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -18532,6 +78441,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -18577,27 +78516,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -18613,9 +78537,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -18997,9 +78918,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -19009,22 +78928,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -19271,6 +79174,96 @@
"user_id"
],
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -23076,6 +83069,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -23147,14 +83279,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -23261,19 +83393,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -23282,6 +83402,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -23327,27 +83477,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -23363,9 +83498,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -23747,9 +83879,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -23759,22 +83889,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -23990,6 +84104,96 @@
"state"
],
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -27795,6 +87999,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -27866,14 +88209,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -27980,19 +88323,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -28001,6 +88332,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -28046,27 +88407,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -28082,9 +88428,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -28466,9 +88809,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -28478,22 +88819,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -28700,6 +89025,96 @@
},
"additionalProperties": false,
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -32505,6 +92920,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -32576,14 +93130,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -32690,19 +93244,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -32711,6 +93253,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -32756,27 +93328,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -32792,9 +93349,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -33176,9 +93730,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -33188,22 +93740,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -33413,6 +93949,96 @@
"recipients"
],
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -37218,6 +97844,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -37289,14 +98054,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -37403,19 +98168,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -37424,6 +98177,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -37469,27 +98252,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -37505,9 +98273,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -37889,9 +98654,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -37901,22 +98664,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -38135,6 +98882,96 @@
"image"
],
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -41940,6 +102777,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -42011,14 +102987,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -42125,19 +103101,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -42146,6 +103110,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -42191,27 +103185,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -42227,9 +103206,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -42611,9 +103587,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -42623,22 +103597,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -42845,6 +103803,96 @@
},
"additionalProperties": false,
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -46650,6 +107698,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -46721,14 +107908,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -46835,19 +108022,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -46856,6 +108031,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -46901,27 +108106,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -46937,9 +108127,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -47321,9 +108508,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -47333,22 +108518,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -47555,6 +108724,96 @@
"login"
],
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -51360,6 +112619,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -51431,14 +112829,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -51545,19 +112943,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -51566,6 +112952,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -51611,27 +113027,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -51647,9 +113048,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -52031,9 +113429,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -52043,22 +113439,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -52272,9 +113652,6 @@
"$ref": "#/definitions/ChannelModifySchema"
}
},
- "guild_template_code": {
- "type": "string"
- },
"system_channel_id": {
"type": "string"
},
@@ -52284,6 +113661,96 @@
},
"additionalProperties": false,
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -56089,6 +117556,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -56160,14 +117766,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -56274,19 +117880,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -56295,6 +117889,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -56340,27 +117964,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -56376,9 +117985,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -56760,9 +118366,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -56772,22 +118376,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -56997,6 +118585,96 @@
"name"
],
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -60802,6 +122480,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -60873,14 +122690,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -60987,19 +122804,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -61008,6 +122813,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -61053,27 +122888,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -61089,9 +122909,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -61473,9 +123290,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -61485,22 +123300,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -61695,9 +123494,6 @@
"GuildUpdateSchema": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"banner": {
"type": [
"null",
@@ -61749,6 +123545,10 @@
"discovery_splash": {
"type": "string"
},
+ "name": {
+ "maxLength": 100,
+ "type": "string"
+ },
"icon": {
"type": [
"null",
@@ -61758,9 +123558,6 @@
"region": {
"type": "string"
},
- "guild_template_code": {
- "type": "string"
- },
"system_channel_id": {
"type": "string"
},
@@ -61770,6 +123567,96 @@
},
"additionalProperties": false,
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -65575,6 +127462,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -65646,14 +127672,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -65760,19 +127786,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -65781,6 +127795,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -65826,27 +127870,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -65862,9 +127891,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -66246,9 +128272,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -66258,22 +128282,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -66502,6 +128510,96 @@
},
"additionalProperties": false,
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -70307,6 +132405,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -70378,14 +132615,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -70492,19 +132729,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -70513,6 +132738,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -70558,27 +132813,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -70594,9 +132834,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -70978,9 +133215,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -70990,22 +133225,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -71375,6 +133594,96 @@
"token"
],
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -75180,6 +137489,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -75251,14 +137699,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -75365,19 +137813,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -75386,6 +137822,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -75431,27 +137897,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -75467,9 +137918,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -75851,9 +138299,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -75863,22 +138309,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -76106,6 +138536,96 @@
},
"additionalProperties": false,
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -79911,6 +142431,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -79982,14 +142641,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -80096,19 +142755,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -80117,6 +142764,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -80162,27 +142839,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -80198,9 +142860,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -80582,9 +143241,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -80594,22 +143251,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -80847,6 +143488,96 @@
"guild_id"
],
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -84652,6 +147383,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -84723,14 +147593,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -84837,19 +147707,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -84858,6 +147716,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -84903,27 +147791,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -84939,9 +147812,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -85323,9 +148193,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -85335,22 +148203,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -85570,6 +148422,96 @@
"password"
],
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -89375,6 +152317,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -89446,14 +152527,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -89560,19 +152641,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -89581,6 +152650,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -89626,27 +152725,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -89662,9 +152746,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -90046,9 +153127,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -90058,22 +153137,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -90299,6 +153362,96 @@
},
"additionalProperties": false,
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -94104,6 +157257,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -94175,14 +157467,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -94289,19 +157581,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -94310,6 +157590,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -94355,27 +157665,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -94391,9 +157686,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -94775,9 +158067,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -94787,22 +158077,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -95018,6 +158292,96 @@
},
"additionalProperties": false,
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -98823,6 +162187,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -98894,14 +162397,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -99008,19 +162511,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -99029,6 +162520,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -99074,27 +162595,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -99110,9 +162616,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -99494,9 +162997,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -99506,22 +163007,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -99725,6 +163210,96 @@
},
"additionalProperties": false,
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -103530,6 +167105,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -103601,14 +167315,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -103715,19 +167429,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -103736,6 +167438,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -103781,27 +167513,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -103817,9 +167534,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -104201,9 +167915,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -104213,22 +167925,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -104569,6 +168265,96 @@
},
"additionalProperties": false,
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -108374,6 +172160,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -108445,14 +172370,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -108559,19 +172484,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -108580,6 +172493,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -108625,27 +172568,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -108661,9 +172589,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -109045,9 +172970,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -109057,22 +172980,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -109267,6 +173174,96 @@
"PollCreationSchema": {
"$ref": "#/definitions/PollCreationSchema",
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -113072,6 +177069,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -113143,14 +177279,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -113257,19 +177393,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -113278,6 +177402,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -113323,27 +177477,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -113359,9 +177498,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -113743,9 +177879,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -113755,22 +177889,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -113965,6 +178083,9 @@
"MessageEditSchema": {
"type": "object",
"properties": {
+ "embed": {
+ "$ref": "#/definitions/Embed"
+ },
"file": {
"type": "object",
"properties": {
@@ -113977,12 +178098,29 @@
"filename"
]
},
- "embed": {
- "$ref": "#/definitions/Embed"
- },
"flags": {
"type": "integer"
},
+ "attachments": {
+ "description": "TODO: we should create an interface for attachments\nTODO: OpenWAAO<-->attachment-style metadata conversion",
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "filename": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "filename",
+ "id"
+ ]
+ }
+ },
"content": {
"type": "string"
},
@@ -114055,26 +178193,6 @@
"payload_json": {
"type": "string"
},
- "attachments": {
- "description": "TODO: we should create an interface for attachments\nTODO: OpenWAAO<-->attachment-style metadata conversion",
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "id": {
- "type": "string"
- },
- "filename": {
- "type": "string"
- }
- },
- "additionalProperties": false,
- "required": [
- "filename",
- "id"
- ]
- }
- },
"sticker_ids": {
"type": "array",
"items": {
@@ -114108,6 +178226,96 @@
},
"additionalProperties": false,
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -117913,6 +182121,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -117984,14 +182331,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -118098,19 +182445,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -118119,6 +182454,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -118164,27 +182529,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -118200,9 +182550,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -118584,9 +182931,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -118596,22 +182941,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -118818,6 +183147,96 @@
"password"
],
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -122623,6 +187042,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -122694,14 +187252,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -122808,19 +187366,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -122829,6 +187375,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -122874,27 +187450,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -122910,9 +187471,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -123294,9 +187852,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -123306,22 +187862,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -123536,6 +188076,96 @@
"tags"
],
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -127341,6 +191971,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -127412,14 +192181,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -127526,19 +192295,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -127547,6 +192304,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -127592,27 +192379,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -127628,9 +192400,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -128012,9 +192781,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -128024,22 +192791,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -128247,6 +192998,96 @@
"token"
],
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -132052,6 +196893,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -132123,14 +197103,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -132237,19 +197217,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -132258,6 +197226,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -132303,27 +197301,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -132339,9 +197322,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -132723,9 +197703,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -132735,22 +197713,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -132958,6 +197920,96 @@
"before"
],
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -136763,6 +201815,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -136834,14 +202025,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -136948,19 +202139,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -136969,6 +202148,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -137014,27 +202223,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -137050,9 +202244,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -137434,9 +202625,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -137446,22 +202635,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -137704,6 +202877,96 @@
"username"
],
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -141509,6 +206772,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -141580,14 +206982,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -141694,19 +207096,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -141715,6 +207105,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -141760,27 +207180,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -141796,9 +207201,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -142180,9 +207582,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -142192,22 +207592,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -142415,6 +207799,96 @@
"username"
],
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -146220,6 +211694,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -146291,14 +211904,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -146405,19 +212018,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -146426,6 +212027,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -146471,27 +212102,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -146507,9 +212123,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -146891,9 +212504,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -146903,22 +212514,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -147125,6 +212720,96 @@
},
"additionalProperties": false,
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -150930,6 +216615,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -151001,14 +216825,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -151115,19 +216939,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -151136,6 +216948,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -151181,27 +217023,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -151217,9 +217044,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -151601,9 +217425,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -151613,22 +217435,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -151871,6 +217677,96 @@
"guild_id"
],
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -155676,6 +221572,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -155747,14 +221782,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -155861,19 +221896,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -155882,6 +221905,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -155927,27 +221980,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -155963,9 +222001,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -156347,9 +222382,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -156359,22 +222392,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -156596,6 +222613,96 @@
},
"additionalProperties": false,
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -160401,6 +226508,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -160472,14 +226718,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -160586,19 +226832,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -160607,6 +226841,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -160652,27 +226916,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -160688,9 +226937,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -161072,9 +227318,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -161084,22 +227328,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -161310,6 +227538,96 @@
]
},
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -165115,6 +231433,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -165186,14 +231643,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -165300,19 +231757,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -165321,6 +231766,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -165366,27 +231841,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -165402,9 +231862,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -165786,9 +232243,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -165798,22 +232253,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -166098,6 +232537,96 @@
"protocol"
],
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -169903,6 +236432,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -169974,14 +236642,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -170088,19 +236756,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -170109,6 +236765,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -170154,27 +236840,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -170190,9 +236861,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -170574,9 +237242,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -170586,22 +237252,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -170808,6 +237458,96 @@
"name"
],
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -174613,6 +241353,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -174684,14 +241563,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -174798,19 +241677,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -174819,6 +241686,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -174864,27 +241761,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -174900,9 +241782,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -175284,9 +242163,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -175296,22 +242173,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -175518,6 +242379,96 @@
"name"
],
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -179323,6 +246274,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -179394,14 +246484,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -179508,19 +246598,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -179529,6 +246607,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -179574,27 +246682,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -179610,9 +246703,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -179994,9 +247084,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -180006,22 +247094,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -180225,6 +247297,96 @@
"code"
],
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -184030,6 +251192,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -184101,14 +251402,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -184215,19 +251516,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -184236,6 +251525,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -184281,27 +251600,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -184317,9 +251621,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -184701,9 +252002,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -184713,22 +252012,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -184938,6 +252221,96 @@
"password"
],
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -188743,6 +256116,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -188814,14 +256326,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -188928,19 +256440,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -188949,6 +256449,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -188994,27 +256524,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -189030,9 +256545,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -189414,9 +256926,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -189426,22 +256936,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -189661,6 +257155,96 @@
"ticket"
],
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -193466,6 +261050,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -193537,14 +261260,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -193651,19 +261374,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -193672,6 +261383,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -193717,27 +261458,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -193753,9 +261479,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -194137,9 +261860,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -194149,22 +261870,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -194368,6 +262073,96 @@
"user_id"
],
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -198173,6 +265968,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -198244,14 +266178,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -198358,19 +266292,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -198379,6 +266301,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -198424,27 +266376,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -198460,9 +266397,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -198844,9 +266778,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -198856,22 +266788,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -199124,6 +267040,96 @@
},
"additionalProperties": false,
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -202929,6 +270935,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -203000,14 +271145,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -203114,19 +271259,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -203135,6 +271268,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -203180,27 +271343,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -203216,9 +271364,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -203600,9 +271745,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -203612,22 +271755,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -203865,6 +271992,96 @@
},
"additionalProperties": false,
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -207670,6 +275887,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -207741,14 +276097,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -207855,19 +276211,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -207876,6 +276220,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -207921,27 +276295,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -207957,9 +276316,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -208341,9 +276697,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -208353,22 +276707,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -208572,6 +276910,96 @@
"note"
],
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -212377,6 +280805,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -212448,14 +281015,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -212562,19 +281129,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -212583,6 +281138,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -212628,27 +281213,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -212664,9 +281234,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -213048,9 +281615,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -213060,22 +281625,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -213304,6 +281853,96 @@
},
"additionalProperties": false,
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -217109,6 +285748,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -217180,14 +285958,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -217294,19 +286072,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -217315,6 +286081,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -217360,27 +286156,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -217396,9 +286177,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -217780,9 +286558,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -217792,22 +286568,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -218131,6 +286891,96 @@
},
"additionalProperties": false,
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -221936,6 +290786,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -222007,14 +290996,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -222121,19 +291110,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -222142,6 +291119,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -222187,27 +291194,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -222223,9 +291215,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -222607,9 +291596,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -222619,22 +291606,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -222837,6 +291808,96 @@
},
"additionalProperties": false,
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -226642,6 +295703,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -226713,14 +295913,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -226827,19 +296027,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -226848,6 +296036,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -226893,27 +296111,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -226929,9 +296132,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -227313,9 +296513,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -227325,22 +296523,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -227582,6 +296764,96 @@
"user_id"
],
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -231387,6 +300659,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -231458,14 +300869,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -231572,19 +300983,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -231593,6 +300992,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -231638,27 +301067,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -231674,9 +301088,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -232058,9 +301469,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -232070,22 +301479,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -232315,6 +301708,96 @@
"self_mute"
],
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -236120,6 +305603,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -236191,14 +305813,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -236305,19 +305927,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -236326,6 +305936,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -236371,27 +306011,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -236407,9 +306032,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -236791,9 +306413,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -236803,22 +306423,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -237100,6 +306704,96 @@
"video_ssrc"
],
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -240905,6 +310599,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -240976,14 +310809,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -241090,19 +310923,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -241111,6 +310932,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -241156,27 +311007,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -241192,9 +311028,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -241576,9 +311409,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -241588,22 +311419,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -241807,6 +311622,96 @@
"password"
],
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -245612,6 +315517,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -245683,14 +315727,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -245797,19 +315841,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -245818,6 +315850,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -245863,27 +315925,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -245899,9 +315946,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -246283,9 +316327,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -246295,22 +316337,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -246522,6 +316548,96 @@
"ticket"
],
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -250327,6 +320443,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -250398,14 +320653,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -250512,19 +320767,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -250533,6 +320776,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -250578,27 +320851,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -250614,9 +320872,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -250998,9 +321253,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -251010,22 +321263,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -251227,6 +321464,96 @@
}
],
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -255032,6 +325359,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -255103,14 +325569,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -255217,19 +325683,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -255238,6 +325692,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -255283,27 +325767,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -255319,9 +325788,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -255703,9 +326169,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -255715,22 +326179,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -255938,6 +326386,96 @@
"ticket"
],
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -259743,6 +330281,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -259814,14 +330491,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -259928,19 +330605,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -259949,6 +330614,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -259994,27 +330689,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -260030,9 +330710,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -260414,9 +331091,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -260426,22 +331101,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -260649,6 +331308,96 @@
"name"
],
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -264454,6 +335203,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -264525,14 +335413,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -264639,19 +335527,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -264660,6 +335536,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -264705,27 +335611,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -264741,9 +335632,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -265125,9 +336013,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -265137,22 +336023,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -265446,6 +336316,96 @@
},
"additionalProperties": false,
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -269251,6 +340211,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -269322,14 +340421,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -269436,19 +340535,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -269457,6 +340544,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -269502,27 +340619,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -269538,9 +340640,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -269922,9 +341021,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -269934,22 +341031,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -270157,6 +341238,96 @@
"enabled"
],
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -273962,6 +345133,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -274033,14 +345343,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -274147,19 +345457,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -274168,6 +345466,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -274213,27 +345541,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -274249,9 +345562,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -274633,9 +345943,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -274645,22 +345953,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -274900,6 +346192,96 @@
"message"
],
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -278705,6 +350087,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -278776,14 +350297,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -278890,19 +350411,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -278911,6 +350420,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -278956,27 +350495,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -278992,9 +350516,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -279376,9 +350897,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -279388,22 +350907,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -279615,6 +351118,96 @@
"captcha_sitekey"
],
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -283420,6 +355013,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -283491,14 +355223,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -283605,19 +355337,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -283626,6 +355346,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -283671,27 +355421,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -283707,9 +355442,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -284091,9 +355823,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -284103,22 +355833,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -284320,6 +356034,96 @@
}
],
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -288125,6 +359929,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -288196,14 +360139,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -288310,19 +360253,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -288331,6 +360262,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -288376,27 +360337,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -288412,9 +360358,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -288796,9 +360739,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -288808,22 +360749,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -289031,6 +360956,96 @@
"regenerate_nonce"
],
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -292836,6 +364851,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -292907,14 +365061,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -293021,19 +365175,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -293042,6 +365184,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -293087,27 +365259,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -293123,9 +365280,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -293507,9 +365661,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -293519,22 +365671,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -293753,6 +365889,96 @@
"total"
],
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -297558,6 +369784,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -297629,14 +369994,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -297743,19 +370108,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -297764,6 +370117,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -297809,27 +370192,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -297845,9 +370213,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -298229,9 +370594,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -298241,22 +370604,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -298489,6 +370836,96 @@
"url"
],
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -302294,6 +374731,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -302365,14 +374941,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -302479,19 +375055,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -302500,6 +375064,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -302545,27 +375139,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -302581,9 +375160,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -302965,9 +375541,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -302977,22 +375551,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -303196,6 +375754,96 @@
"url"
],
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -307001,6 +379649,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -307072,14 +379859,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -307186,19 +379973,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -307207,6 +379982,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -307252,27 +380057,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -307288,9 +380078,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -307672,9 +380459,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -307684,22 +380469,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -307906,6 +380675,96 @@
"tokens"
],
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -311711,6 +384570,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -311782,14 +384780,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -311896,19 +384894,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -311917,6 +384903,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -311962,27 +384978,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -311998,9 +384999,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -312382,9 +385380,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -312394,22 +385390,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -312645,6 +385625,96 @@
"user"
],
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -316450,6 +389520,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -316521,14 +389730,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -316635,19 +389844,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -316656,6 +389853,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -316701,27 +389928,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -316737,9 +389949,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -317121,9 +390330,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -317133,22 +390340,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -317345,13 +390536,230 @@
"properties": {
"id": {
"type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
}
},
"additionalProperties": false,
"required": [
- "id"
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
],
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -321157,6 +394565,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -321228,14 +394775,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -321342,19 +394889,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -321363,6 +394898,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -321408,27 +394973,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -321444,9 +394994,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -321828,9 +395375,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -321840,22 +395385,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -322138,6 +395667,96 @@
"valid_rules_channel"
],
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -325943,6 +399562,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -326014,14 +399772,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -326128,19 +399886,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -326149,6 +399895,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -326194,27 +399970,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -326230,9 +399991,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -326614,9 +400372,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -326626,22 +400382,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -326852,6 +400592,96 @@
"total_results"
],
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -330657,6 +404487,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -330728,14 +404697,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -330842,19 +404811,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -330863,6 +404820,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -330908,27 +404895,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -330944,9 +404916,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -331328,9 +405297,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -331340,22 +405307,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -331559,6 +405510,96 @@
"pruned"
],
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -335364,6 +409405,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -335435,14 +409615,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -335549,19 +409729,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -335570,6 +409738,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -335615,27 +409813,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -335651,9 +409834,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -336035,9 +410215,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -336047,22 +410225,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -336266,6 +410428,96 @@
"purged"
],
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -340071,6 +414323,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -340142,14 +414533,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -340256,19 +414647,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -340277,6 +414656,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -340322,27 +414731,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -340358,9 +414752,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -340742,9 +415133,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -340754,22 +415143,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -340980,6 +415353,96 @@
"recommended_guilds"
],
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -344785,6 +419248,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -344856,14 +419458,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -344970,19 +419572,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -344991,6 +419581,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -345036,27 +419656,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -345072,9 +419677,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -345456,9 +420058,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -345468,22 +420068,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -345691,6 +420275,96 @@
}
],
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -349496,6 +424170,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -349567,14 +424380,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -349681,19 +424494,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -349702,6 +424503,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -349747,27 +424578,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -349783,9 +424599,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -350167,9 +424980,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -350179,22 +424990,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -350398,6 +425193,96 @@
"code"
],
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -354203,6 +429088,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -354274,14 +429298,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -354388,19 +429412,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -354409,6 +429421,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -354454,27 +429496,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -354490,9 +429517,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -354874,9 +429898,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -354886,22 +429908,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -355180,6 +430186,96 @@
"presence_count"
],
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -358985,6 +434081,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -359056,14 +434291,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -359170,19 +434405,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -359191,6 +434414,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -359236,27 +434489,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -359272,9 +434510,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -359656,9 +434891,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -359668,22 +434901,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -359898,6 +435115,96 @@
"enabled"
],
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -363703,6 +439010,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -363774,14 +439220,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -363888,19 +439334,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -363909,6 +439343,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -363954,27 +439418,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -363990,9 +439439,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -364374,9 +439820,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -364386,22 +439830,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -364617,6 +440045,96 @@
"gateway"
],
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -368422,6 +443940,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -368493,14 +444150,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -368607,19 +444264,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -368628,6 +444273,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -368673,27 +444348,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -368709,9 +444369,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -369093,9 +444750,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -369105,22 +444760,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -369386,6 +445025,96 @@
"ping"
],
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -373191,6 +448920,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -373262,14 +449130,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -373376,19 +449244,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -373397,6 +449253,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -373442,27 +449328,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -373478,9 +449349,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -373862,9 +449730,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -373874,22 +449740,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -374114,6 +449964,96 @@
"counts"
],
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -377919,6 +453859,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -377990,14 +454069,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -378104,19 +454183,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -378125,6 +454192,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -378170,27 +454267,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -378206,9 +454288,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -378590,9 +454669,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -378602,22 +454679,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -378848,6 +454909,96 @@
"promotional_email_opt_in"
],
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -382653,6 +458804,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -382724,14 +459014,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -382838,19 +459128,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -382859,6 +459137,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -382904,27 +459212,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -382940,9 +459233,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -383324,9 +459614,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -383336,22 +459624,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -383547,7 +459819,7 @@
"type": "object",
"properties": {
"guild": {
- "$ref": "#/definitions/Guild"
+ "$ref": "#/definitions/GuildCreateResponse"
},
"emojis": {
"type": "array",
@@ -383576,6 +459848,96 @@
"stickers"
],
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -387381,6 +463743,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -387452,14 +463953,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -387566,19 +464067,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -387587,6 +464076,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -387632,27 +464151,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -387668,9 +464172,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -388052,9 +464553,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -388064,22 +464563,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -388283,6 +464766,96 @@
"location"
],
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -392088,6 +468661,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -392159,14 +468871,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -392273,19 +468985,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -392294,6 +468994,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -392339,27 +469069,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -392375,9 +469090,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -392759,9 +469471,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -392771,22 +469481,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -393018,6 +469712,96 @@
"width"
],
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream": {
+ "description": "This Streams API interface represents a readable stream of byte data.",
+ "type": "object",
+ "properties": {
+ "locked": {
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "locked"
+ ]
+ },
"ChannelPermissionOverwriteType": {
"enum": [
0,
@@ -396823,6 +473607,145 @@
"type": "object",
"additionalProperties": false
},
+ "GuildCreateResponse": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "primary_category_id": {
+ "type": "string"
+ },
+ "large": {
+ "type": "boolean"
+ },
+ "max_members": {
+ "type": "integer"
+ },
+ "max_presences": {
+ "type": "integer"
+ },
+ "max_video_channel_users": {
+ "type": "integer"
+ },
+ "member_count": {
+ "type": "integer"
+ },
+ "presence_count": {
+ "type": "integer"
+ },
+ "template_id": {
+ "type": "string"
+ },
+ "mfa_level": {
+ "type": "integer"
+ },
+ "owner_id": {
+ "type": "string"
+ },
+ "premium_subscription_count": {
+ "type": "integer"
+ },
+ "premium_tier": {
+ "type": "integer"
+ },
+ "welcome_screen": {
+ "$ref": "#/definitions/GuildWelcomeScreen"
+ },
+ "widget_channel_id": {
+ "type": "string"
+ },
+ "widget_enabled": {
+ "type": "boolean"
+ },
+ "nsfw_level": {
+ "type": "integer"
+ },
+ "nsfw": {
+ "type": "boolean"
+ },
+ "parent": {
+ "type": "string"
+ },
+ "icon": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "banner": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "description": {
+ "type": "string"
+ },
+ "region": {
+ "type": "string"
+ },
+ "system_channel_id": {
+ "type": "string"
+ },
+ "rules_channel_id": {
+ "type": "string"
+ },
+ "afk_timeout": {
+ "type": "integer"
+ },
+ "explicit_content_filter": {
+ "type": "integer"
+ },
+ "splash": {
+ "type": [
+ "null",
+ "string"
+ ]
+ },
+ "features": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "id",
+ "name",
+ "nsfw",
+ "welcome_screen",
+ "widget_enabled"
+ ]
+ },
"TenorGifResponse": {
"type": "object",
"properties": {
@@ -396894,14 +473817,14 @@
"APIGuild": {
"type": "object",
"properties": {
- "name": {
- "type": "string"
- },
"reload": {
"description": "Reloads entity data from the database.",
"type": "object",
"additionalProperties": false
},
+ "name": {
+ "type": "string"
+ },
"id": {
"type": "string"
},
@@ -397008,19 +473931,7 @@
"explicit_content_filter": {
"type": "integer"
},
- "afk_channel_id": {
- "type": "string"
- },
- "bans": {
- "type": "array",
- "items": {
- "$ref": "#/definitions/Ban"
- }
- },
- "default_message_notifications": {
- "type": "integer"
- },
- "discovery_splash": {
+ "splash": {
"type": "string"
},
"features": {
@@ -397029,6 +473940,36 @@
"type": "string"
}
},
+ "verification_level": {
+ "type": "integer"
+ },
+ "default_message_notifications": {
+ "type": "integer"
+ },
+ "system_channel_flags": {
+ "type": "integer"
+ },
+ "public_updates_channel_id": {
+ "type": "string"
+ },
+ "afk_channel_id": {
+ "type": "string"
+ },
+ "preferred_locale": {
+ "type": "string"
+ },
+ "premium_progress_bar_enabled": {
+ "type": "boolean"
+ },
+ "discovery_splash": {
+ "type": "string"
+ },
+ "bans": {
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Ban"
+ }
+ },
"primary_category_id": {
"type": "string"
},
@@ -397074,27 +474015,12 @@
"mfa_level": {
"type": "integer"
},
- "preferred_locale": {
- "type": "string"
- },
"premium_subscription_count": {
"type": "integer"
},
"premium_tier": {
"type": "integer"
},
- "public_updates_channel_id": {
- "type": "string"
- },
- "splash": {
- "type": "string"
- },
- "system_channel_flags": {
- "type": "integer"
- },
- "verification_level": {
- "type": "integer"
- },
"welcome_screen": {
"$ref": "#/definitions/GuildWelcomeScreen"
},
@@ -397110,9 +474036,6 @@
"permissions": {
"type": "integer"
},
- "premium_progress_bar_enabled": {
- "type": "boolean"
- },
"channel_ordering": {
"type": "array",
"items": {
@@ -397494,9 +474417,7 @@
"channel": {
"$ref": "#/definitions/RateLimitOptions"
},
- "auth": {
- "$ref": "#/definitions/AuthRateLimit"
- }
+ "auth": {}
},
"additionalProperties": false,
"required": [
@@ -397506,22 +474427,6 @@
"webhook"
]
},
- "AuthRateLimit": {
- "type": "object",
- "properties": {
- "login": {
- "$ref": "#/definitions/RateLimitOptions"
- },
- "register": {
- "$ref": "#/definitions/RateLimitOptions"
- }
- },
- "additionalProperties": false,
- "required": [
- "login",
- "register"
- ]
- },
"GlobalRateLimits": {
"type": "object",
"properties": {
@@ -397765,6 +474670,96 @@
"gifs"
],
"definitions": {
+ "Headers": {
+ "type": "object",
+ "properties": {
+ "append": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "delete": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "get": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "has": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "set": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "getSetCookie": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "forEach": {
+ "description": "Performs the specified action for each element in an array.",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "keys": {
+ "description": "Returns an array consisting of the keys of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "values": {
+ "type": "object",
+ "additionalProperties": false
+ },
+ "entries": {
+ "description": "Returns an array consisting of the key value pairs of the object",
+ "type": "object",
+ "additionalProperties": false
+ },
+ "__@iterator": {
+ "type": "object",
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false,
+ "required": [
+ "__@iterator",
+ "append",
+ "delete",
+ "entries",
+ "forEach",
+ "get",
+ "getSetCookie",
+ "has",
+ "keys",
+ "set",
+ "values"
+ ]
+ },
+ "ResponseType": {
+ "enum": [
+ "basic",
+ "cors",
+ "default",
+ "error",
+ "opaque",
+ "opaqueredirect"
+ ],
+ "type": "string"
+ },
+ "ReadableStream