From 7b34c70fb84dbc3c9c9dea179ade1cbd99e227e5 Mon Sep 17 00:00:00 2001 From: Puyodead1 Date: Wed, 29 Nov 2023 11:08:35 -0500 Subject: fix some issues with discord bot libs --- assets/schemas.json | 2830 +++++++++++++++++++++++++---- src/api/routes/oauth2/applications/@me.ts | 59 + src/util/dtos/ReadyGuildDTO.ts | 2 +- src/util/entities/Message.ts | 1 + src/util/entities/Role.ts | 7 + 5 files changed, 2514 insertions(+), 385 deletions(-) create mode 100644 src/api/routes/oauth2/applications/@me.ts diff --git a/assets/schemas.json b/assets/schemas.json index e893cb99..b513ee03 100644 --- a/assets/schemas.json +++ b/assets/schemas.json @@ -1253,6 +1253,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -1260,6 +1266,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -1332,9 +1339,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -1401,6 +1405,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -1414,6 +1422,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -4022,6 +4031,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -4029,6 +4044,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -5457,6 +5473,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -5464,6 +5486,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -5536,9 +5559,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -5605,6 +5625,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -5618,6 +5642,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -8226,6 +8251,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -8233,6 +8264,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -9661,6 +9693,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -9668,6 +9706,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -9740,9 +9779,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -9809,6 +9845,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -9822,6 +9862,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -12430,6 +12471,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -12437,6 +12484,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -13860,6 +13908,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -13867,6 +13921,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -13939,9 +13994,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -14008,6 +14060,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -14021,6 +14077,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -16629,6 +16686,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -16636,6 +16699,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -18095,6 +18159,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -18102,6 +18172,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -18174,9 +18245,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -18243,6 +18311,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -18256,6 +18328,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -20864,6 +20937,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -20871,6 +20950,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -22299,6 +22379,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -22306,6 +22392,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -22378,9 +22465,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -22447,6 +22531,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -22460,6 +22548,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -25068,6 +25157,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -25075,6 +25170,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -26494,6 +26590,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -26501,6 +26603,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -26573,9 +26676,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -26642,6 +26742,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -26655,6 +26759,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -29263,6 +29368,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -29270,6 +29381,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -30692,6 +30804,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -30699,6 +30817,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -30771,9 +30890,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -30840,6 +30956,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -30853,6 +30973,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -33461,6 +33582,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -33468,6 +33595,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -34899,6 +35027,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -34906,6 +35040,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -34978,9 +35113,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -35047,6 +35179,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -35060,6 +35196,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -37668,6 +37805,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -37675,6 +37818,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -39094,6 +39238,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -39101,6 +39251,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -39173,9 +39324,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -39242,6 +39390,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -39255,6 +39407,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -41863,6 +42016,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -41870,6 +42029,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -43289,6 +43449,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -43296,6 +43462,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -43368,9 +43535,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -43437,6 +43601,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -43450,6 +43618,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -46058,6 +46227,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -46065,6 +46240,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -47503,6 +47679,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -47510,6 +47692,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -47582,9 +47765,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -47651,6 +47831,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -47664,6 +47848,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -50272,6 +50457,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -50279,6 +50470,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -51701,6 +51893,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -51708,6 +51906,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -51780,9 +51979,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -51849,6 +52045,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -51862,6 +52062,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -54470,6 +54671,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -54477,6 +54684,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -55959,6 +56167,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -55966,6 +56180,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -56038,9 +56253,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -56107,6 +56319,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -56120,6 +56336,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -58728,6 +58945,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -58735,6 +58958,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -60176,6 +60400,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -60183,6 +60413,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -60255,9 +60486,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -60324,6 +60552,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -60337,6 +60569,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -62945,6 +63178,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -62952,6 +63191,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -64534,6 +64774,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -64541,6 +64787,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -64613,9 +64860,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -64682,6 +64926,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -64695,6 +64943,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -67303,6 +67552,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -67310,6 +67565,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -68750,6 +69006,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -68757,6 +69019,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -68829,9 +69092,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -68898,6 +69158,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -68911,6 +69175,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -71519,6 +71784,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -71526,6 +71797,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -72976,6 +73248,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -72983,6 +73261,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -73055,9 +73334,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -73124,6 +73400,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -73137,6 +73417,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -75745,6 +76026,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -75752,6 +76039,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -77184,6 +77472,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -77191,6 +77485,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -77263,9 +77558,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -77332,6 +77624,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -77345,6 +77641,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -79953,6 +80250,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -79960,6 +80263,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -81398,6 +81702,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -81405,6 +81715,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -81477,9 +81788,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -81546,6 +81854,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -81559,6 +81871,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -84167,6 +84480,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -84174,6 +84493,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -85602,6 +85922,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -85609,6 +85935,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -85681,9 +86008,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -85750,6 +86074,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -85763,6 +86091,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -88371,6 +88700,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -88378,6 +88713,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -89794,6 +90130,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -89801,6 +90143,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -89873,9 +90216,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -89942,6 +90282,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -89955,6 +90299,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -92563,6 +92908,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -92570,6 +92921,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -94100,6 +94452,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -94107,6 +94465,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -94179,9 +94538,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -94248,6 +94604,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -94261,6 +94621,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -96869,6 +97230,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -96876,6 +97243,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -98403,6 +98771,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -98410,6 +98784,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -98482,9 +98857,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -98551,6 +98923,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -98564,6 +98940,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -101172,6 +101549,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -101179,6 +101562,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -102598,6 +102982,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -102605,6 +102995,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -102677,9 +103068,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -102746,6 +103134,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -102759,6 +103151,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -105367,6 +105760,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -105374,6 +105773,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -106801,6 +107201,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -106808,6 +107214,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -106880,9 +107287,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -106949,6 +107353,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -106962,6 +107370,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -109570,6 +109979,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -109577,6 +109992,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -110997,6 +111413,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -111004,6 +111426,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -111076,9 +111499,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -111145,6 +111565,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -111158,6 +111582,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -113766,6 +114191,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -113773,6 +114204,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -115193,6 +115625,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -115200,6 +115638,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -115272,9 +115711,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -115341,6 +115777,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -115354,6 +115794,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -117962,6 +118403,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -117969,6 +118416,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -119424,6 +119872,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -119431,6 +119885,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -119503,9 +119958,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -119572,6 +120024,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -119585,6 +120041,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -122193,6 +122650,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -122200,6 +122663,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -123620,6 +124084,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -123627,6 +124097,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -123699,9 +124170,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -123768,6 +124236,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -123781,6 +124253,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -126389,6 +126862,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -126396,6 +126875,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -127815,6 +128295,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -127822,6 +128308,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -127894,9 +128381,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -127963,6 +128447,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -127976,6 +128464,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -130584,6 +131073,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -130591,6 +131086,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -132025,6 +132521,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -132032,6 +132534,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -132104,9 +132607,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -132173,6 +132673,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -132186,6 +132690,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -134794,6 +135299,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -134801,6 +135312,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -136224,6 +136736,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -136231,6 +136749,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -136303,9 +136822,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -136372,6 +136888,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -136385,6 +136905,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -138993,6 +139514,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -139000,6 +139527,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -140497,6 +141025,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -140504,6 +141038,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -140576,9 +141111,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -140645,6 +141177,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -140658,6 +141194,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -143266,6 +143803,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -143273,6 +143816,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -144692,6 +145236,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -144699,6 +145249,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -144771,9 +145322,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -144840,6 +145388,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -144853,6 +145405,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -147461,6 +148014,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -147468,6 +148027,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -148887,6 +149447,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -148894,6 +149460,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -148966,9 +149533,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -149035,6 +149599,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -149048,6 +149616,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -151656,6 +152225,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -151663,6 +152238,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -153079,6 +153655,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -153086,6 +153668,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -153158,9 +153741,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -153227,6 +153807,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -153240,6 +153824,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -155848,6 +156433,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -155855,6 +156446,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -157277,6 +157869,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -157284,6 +157882,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -157356,9 +157955,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -157425,6 +158021,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -157438,6 +158038,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -160046,6 +160647,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -160053,6 +160660,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -161485,6 +162093,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -161492,6 +162106,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -161564,9 +162179,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -161633,6 +162245,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -161646,6 +162262,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -164254,6 +164871,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -164261,6 +164884,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -165677,6 +166301,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -165684,6 +166314,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -165756,9 +166387,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -165825,6 +166453,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -165838,6 +166470,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -168446,6 +169079,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -168453,6 +169092,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -169918,6 +170558,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -169925,6 +170571,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -169997,9 +170644,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -170066,6 +170710,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -170079,6 +170727,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -172687,6 +173336,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -172694,6 +173349,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -174145,6 +174801,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -174152,6 +174814,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -174224,9 +174887,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -174293,6 +174953,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -174306,6 +174970,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -176914,6 +177579,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -176921,6 +177592,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -178337,6 +179009,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -178344,6 +179022,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -178416,9 +179095,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -178485,6 +179161,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -178498,6 +179178,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -181106,6 +181787,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -181113,6 +181800,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -182554,6 +183242,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -182561,6 +183255,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -182633,9 +183328,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -182702,6 +183394,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -182715,6 +183411,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -185323,6 +186020,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -185330,6 +186033,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -186860,6 +187564,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -186867,6 +187577,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -186939,9 +187650,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -187008,6 +187716,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -187021,6 +187733,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -189629,6 +190342,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -189636,6 +190355,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -191051,6 +191771,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -191058,6 +191784,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -191130,9 +191857,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -191199,6 +191923,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -191212,6 +191940,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -193820,6 +194549,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -193827,6 +194562,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -195281,6 +196017,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -195288,6 +196030,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -195360,9 +196103,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -195429,6 +196169,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -195442,6 +196186,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -198050,6 +198795,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -198057,6 +198808,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -199499,6 +200251,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -199506,6 +200264,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -199578,9 +200337,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -199647,6 +200403,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -199660,6 +200420,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -202268,6 +203029,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -202275,6 +203042,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -203769,6 +204537,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -203776,6 +204550,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -203848,9 +204623,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -203917,6 +204689,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -203930,6 +204706,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -206538,6 +207315,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -206545,6 +207328,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -207961,6 +208745,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -207968,6 +208758,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -208040,9 +208831,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -208109,6 +208897,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -208122,6 +208914,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -210730,6 +211523,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -210737,6 +211536,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -212161,6 +212961,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -212168,6 +212974,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -212240,9 +213047,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -212309,6 +213113,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -212322,6 +213130,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -214930,6 +215739,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -214937,6 +215752,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -216351,6 +217167,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -216358,6 +217180,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -216430,9 +217253,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -216499,6 +217319,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -216512,6 +217336,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -219120,6 +219945,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -219127,6 +219958,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -220547,6 +221379,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -220554,6 +221392,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -220626,9 +221465,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -220695,6 +221531,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -220708,6 +221548,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -223316,6 +224157,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -223323,6 +224170,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -224743,6 +225591,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -224750,6 +225604,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -224822,9 +225677,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -224891,6 +225743,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -224904,6 +225760,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -227512,6 +228369,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -227519,6 +228382,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -228939,6 +229803,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -228946,6 +229816,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -229018,9 +229889,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -229087,6 +229955,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -229100,6 +229972,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -231708,6 +232581,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -231715,6 +232594,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -233167,6 +234047,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -233174,6 +234060,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -233246,9 +234133,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -233315,6 +234199,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -233328,6 +234216,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -235936,6 +236825,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -235943,6 +236838,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -237367,6 +238263,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -237374,6 +238276,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -237446,9 +238349,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -237515,6 +238415,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -237528,6 +238432,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -240136,6 +241041,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -240143,6 +241054,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -241557,6 +242469,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -241564,6 +242482,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -241636,9 +242555,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -241705,6 +242621,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -241718,6 +242638,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -244326,6 +245247,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -244333,6 +245260,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -245753,6 +246681,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -245760,6 +246694,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -245832,9 +246767,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -245901,6 +246833,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -245914,6 +246850,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -248522,6 +249459,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -248529,6 +249472,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -249960,6 +250904,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -249967,6 +250917,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -250039,9 +250990,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -250108,6 +251056,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -250121,6 +251073,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -252729,6 +253682,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -252736,6 +253695,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -254181,6 +255141,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -254188,6 +255154,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -254260,9 +255227,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -254329,6 +255293,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -254342,6 +255310,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -256950,6 +257919,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -256957,6 +257932,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -258373,6 +259349,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -258380,6 +259362,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -258452,9 +259435,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -258521,6 +259501,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -258534,6 +259518,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -261142,6 +262127,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -261149,6 +262140,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -262568,6 +263560,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -262575,6 +263573,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -262647,9 +263646,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -262716,6 +263712,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -262729,6 +263729,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -265337,6 +266338,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -265344,6 +266351,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -266792,6 +267800,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -266799,6 +267813,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -266871,9 +267886,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -266940,6 +267952,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -266953,6 +267969,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -269561,6 +270578,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -269568,6 +270591,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -270984,6 +272008,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -270991,6 +272021,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -271063,9 +272094,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -271132,6 +272160,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -271145,6 +272177,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -273753,6 +274786,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -273760,6 +274799,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -275255,6 +276295,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -275262,6 +276308,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -275334,9 +276381,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -275403,6 +276447,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -275416,6 +276464,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -278024,6 +279073,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -278031,6 +279086,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -279454,6 +280510,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -279461,6 +280523,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -279533,9 +280596,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -279602,6 +280662,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -279615,6 +280679,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -282223,6 +283288,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -282230,6 +283301,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -283646,6 +284718,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -283653,6 +284731,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -283725,9 +284804,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -283794,6 +284870,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -283807,6 +284887,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -286415,6 +287496,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -286422,6 +287509,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -287838,6 +288926,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -287845,6 +288939,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -287917,9 +289012,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -287986,6 +289078,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -287999,6 +289095,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -290607,6 +291704,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -290614,6 +291717,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -292037,6 +293141,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -292044,6 +293154,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -292116,9 +293227,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -292185,6 +293293,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -292198,6 +293310,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -294806,6 +295919,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -294813,6 +295932,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -296233,6 +297353,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -296240,6 +297366,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -296312,9 +297439,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -296381,6 +297505,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -296394,6 +297522,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -299002,6 +300131,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -299009,6 +300144,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -300425,6 +301561,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -300432,6 +301574,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -300504,9 +301647,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -300573,6 +301713,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -300586,6 +301730,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -303194,6 +304339,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -303201,6 +304352,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -304692,6 +305844,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -304699,6 +305857,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -304771,9 +305930,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -304840,6 +305996,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -304853,6 +306013,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -307461,6 +308622,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -307468,6 +308635,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -308895,6 +310063,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -308902,6 +310076,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -308974,9 +310149,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -309043,6 +310215,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -309056,6 +310232,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -311664,6 +312841,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -311671,6 +312854,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -313099,6 +314283,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -313106,6 +314296,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -313178,9 +314369,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -313247,6 +314435,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -313260,6 +314452,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -315868,6 +317061,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -315875,6 +317074,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -317353,6 +318553,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -317360,6 +318566,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -317432,9 +318639,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -317501,6 +318705,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -317514,6 +318722,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -320122,6 +321331,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -320129,6 +321344,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -321566,6 +322782,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -321573,6 +322795,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -321645,9 +322868,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -321714,6 +322934,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -321727,6 +322951,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -324335,6 +325560,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -324342,6 +325573,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -325785,6 +327017,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -325792,6 +327030,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -325864,9 +327103,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -325933,6 +327169,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -325946,6 +327186,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -328554,6 +329795,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -328561,6 +329808,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -329998,6 +331246,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -330005,6 +331259,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -330077,9 +331332,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -330146,6 +331398,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -330159,6 +331415,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -332767,6 +334024,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -332774,6 +334037,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -334190,6 +335454,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -334197,6 +335467,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -334269,9 +335540,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -334338,6 +335606,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -334351,6 +335623,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -336959,6 +338232,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -336966,6 +338245,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -338410,6 +339690,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -338417,6 +339703,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -338489,9 +339776,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -338558,6 +339842,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -338571,6 +339859,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -341179,6 +342468,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -341186,6 +342481,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -342642,6 +343938,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -342649,6 +343951,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -342721,9 +344024,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -342790,6 +344090,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -342803,6 +344107,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -345411,6 +346716,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -345418,6 +346729,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -346828,6 +348140,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -346835,6 +348153,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -346907,9 +348226,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -346976,6 +348292,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -346989,6 +348309,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -349597,6 +350918,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -349604,6 +350931,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -351024,6 +352352,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -351031,6 +352365,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -351103,9 +352438,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -351172,6 +352504,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -351185,6 +352521,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -353793,6 +355130,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -353800,6 +355143,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -355216,6 +356560,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -355223,6 +356573,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -355295,9 +356646,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -355364,6 +356712,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -355377,6 +356729,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -357985,6 +359338,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -357992,6 +359351,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -359415,6 +360775,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -359422,6 +360788,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -359494,9 +360861,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -359563,6 +360927,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -359576,6 +360944,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -362184,6 +363553,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -362191,6 +363566,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -362894,6 +364270,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -362901,6 +364283,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -363811,6 +365194,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -363818,6 +365207,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -363890,9 +365280,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -363959,6 +365346,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -363972,6 +365363,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -366580,6 +367972,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -366587,6 +367985,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -367994,6 +369393,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -368001,6 +369406,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -368073,9 +369479,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -368142,6 +369545,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -368155,6 +369562,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -370763,6 +372171,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -370770,6 +372184,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -372271,6 +373686,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -372278,6 +373699,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -372350,9 +373772,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -372419,6 +373838,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -372432,6 +373855,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -375040,6 +376464,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -375047,6 +376477,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -376457,6 +377888,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -376464,6 +377901,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -376536,9 +377974,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -376605,6 +378040,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -376618,6 +378057,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -379226,6 +380666,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -379233,6 +380679,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -380643,6 +382090,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -380650,6 +382103,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -380722,9 +382176,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -380791,6 +382242,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -380804,6 +382259,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -383412,6 +384868,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -383419,6 +384881,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -384829,6 +386292,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -384836,6 +386305,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -384908,9 +386378,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -384977,6 +386444,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -384990,6 +386461,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -387598,6 +389070,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -387605,6 +389083,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -389109,6 +390588,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -389116,6 +390601,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -389188,9 +390674,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -389257,6 +390740,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -389270,6 +390757,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -391878,6 +393366,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -391885,6 +393379,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -393293,6 +394788,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -393300,6 +394801,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -393372,9 +394874,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -393441,6 +394940,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -393454,6 +394957,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -396062,6 +397566,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -396069,6 +397579,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -397477,6 +398988,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -397484,6 +399001,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -397556,9 +399074,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -397625,6 +399140,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -397638,6 +399157,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -400246,6 +401766,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -400253,6 +401779,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -401661,6 +403188,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -401668,6 +403201,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -401740,9 +403274,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -401809,6 +403340,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -401822,6 +403357,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -404430,6 +405966,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -404437,6 +405979,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -405847,6 +407390,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -405854,6 +407403,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -405926,9 +407476,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -405995,6 +407542,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -406008,6 +407559,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -408616,6 +410168,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -408623,6 +410181,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -410033,6 +411592,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -410040,6 +411605,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -410112,9 +411678,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -410181,6 +411744,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -410194,6 +411761,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -412802,6 +414370,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -412809,6 +414383,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -414219,6 +415794,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -414226,6 +415807,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -414298,9 +415880,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -414367,6 +415946,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -414380,6 +415963,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -416988,6 +418572,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -416995,6 +418585,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -418405,6 +419996,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -418412,6 +420009,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -418484,9 +420082,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -418553,6 +420148,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -418566,6 +420165,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -421174,6 +422774,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -421181,6 +422787,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -422591,6 +424198,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -422598,6 +424211,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -422670,9 +424284,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -422739,6 +424350,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -422752,6 +424367,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -425360,6 +426976,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -425367,6 +426989,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -426841,6 +428464,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -426848,6 +428477,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -426920,9 +428550,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -426989,6 +428616,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -427002,6 +428633,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -429610,6 +431242,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -429617,6 +431255,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -431027,6 +432666,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -431034,6 +432679,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -431106,9 +432752,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -431175,6 +432818,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -431188,6 +432835,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -433796,6 +435444,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -433803,6 +435457,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -435213,6 +436868,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -435220,6 +436881,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -435292,9 +436954,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -435361,6 +437020,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -435374,6 +437037,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -437982,6 +439646,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -437989,6 +439659,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -439399,6 +441070,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -439406,6 +441083,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -439478,9 +441156,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -439547,6 +441222,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -439560,6 +441239,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -442168,6 +443848,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -442175,6 +443861,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -443629,6 +445316,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -443636,6 +445329,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -443708,9 +445402,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -443777,6 +445468,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -443790,6 +445485,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -446398,6 +448094,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -446405,6 +448107,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -447132,6 +448835,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -447139,6 +448848,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -448044,6 +449754,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -448051,6 +449767,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -448123,9 +449840,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -448192,6 +449906,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -448205,6 +449923,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -450813,6 +452532,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -450820,6 +452545,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -452230,6 +453956,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -452237,6 +453969,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -452309,9 +454042,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -452378,6 +454108,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -452391,6 +454125,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -454999,6 +456734,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -455006,6 +456747,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -456416,6 +458158,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -456423,6 +458171,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -456495,9 +458244,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -456564,6 +458310,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -456577,6 +458327,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -459185,6 +460936,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -459192,6 +460949,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -460602,6 +462360,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -460609,6 +462373,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -460681,9 +462446,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -460750,6 +462512,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -460763,6 +462529,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -463371,6 +465138,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -463378,6 +465151,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -464788,6 +466562,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -464795,6 +466575,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -464867,9 +466648,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -464936,6 +466714,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -464949,6 +466731,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -467557,6 +469340,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -467564,6 +469353,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -469000,6 +470790,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -469007,6 +470803,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -469079,9 +470876,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -469148,6 +470942,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -469161,6 +470959,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -471769,6 +473568,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -471776,6 +473581,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -473186,6 +474992,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -473193,6 +475005,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -473265,9 +475078,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -473334,6 +475144,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -473347,6 +475161,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -475955,6 +477770,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -475962,6 +477783,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -477393,6 +479215,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -477400,6 +479228,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -477472,9 +479301,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -477541,6 +479367,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -477554,6 +479384,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -480162,6 +481993,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -480169,6 +482006,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -481593,6 +483431,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -481600,6 +483444,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -481672,9 +483517,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -481741,6 +483583,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -481754,6 +483600,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -484362,6 +486209,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -484369,6 +486222,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -485902,6 +487756,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -485909,6 +487769,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -485981,9 +487842,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -486050,6 +487908,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -486063,6 +487925,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -488671,6 +490534,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -488678,6 +490547,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -490106,6 +491976,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -490113,6 +491989,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -490185,9 +492062,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -490254,6 +492128,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -490267,6 +492145,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -492875,6 +494754,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -492882,6 +494767,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -494316,6 +496202,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -494323,6 +496215,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -494395,9 +496288,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -494464,6 +496354,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -494477,6 +496371,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -497085,6 +498980,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -497092,6 +498993,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -498512,6 +500414,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -498519,6 +500427,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -498591,9 +500500,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -498660,6 +500566,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -498673,6 +500583,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -501281,6 +503192,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -501288,6 +503205,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -502708,6 +504626,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -502715,6 +504639,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -502787,9 +504712,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -502856,6 +504778,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -502869,6 +504795,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -505477,6 +507404,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -505484,6 +507417,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -506891,6 +508825,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -506898,6 +508838,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -506970,9 +508911,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -507039,6 +508977,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -507052,6 +508994,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -509660,6 +511603,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -509667,6 +511616,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -511086,6 +513036,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -511093,6 +513049,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -511165,9 +513122,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -511234,6 +513188,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -511247,6 +513205,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -513855,6 +515814,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -513862,6 +515827,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -515296,6 +517262,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -515303,6 +517275,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -515375,9 +517348,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -515444,6 +517414,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -515457,6 +517431,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -518065,6 +520040,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -518072,6 +520053,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -519510,6 +521492,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -519517,6 +521505,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -519589,9 +521578,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -519658,6 +521644,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -519671,6 +521661,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -522279,6 +524270,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -522286,6 +524283,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -523703,6 +525701,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -523710,6 +525714,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -523782,9 +525787,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -523851,6 +525853,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -523864,6 +525870,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -526472,6 +528479,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -526479,6 +528492,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -527895,6 +529909,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -527902,6 +529922,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -527974,9 +529995,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -528043,6 +530061,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -528056,6 +530078,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -530664,6 +532687,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -530671,6 +532700,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -532087,6 +534117,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -532094,6 +534130,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -532166,9 +534203,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -532235,6 +534269,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -532248,6 +534286,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -534856,6 +536895,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -534863,6 +536908,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", @@ -536285,6 +538331,12 @@ "type": "boolean", "default": false }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } + }, "id": { "type": "string" } @@ -536292,6 +538344,7 @@ "additionalProperties": false, "required": [ "bans", + "channel_ordering", "channels", "emojis", "features", @@ -536364,9 +538417,6 @@ "default_auto_archive_duration": { "type": "integer" }, - "position": { - "type": "integer" - }, "permission_overwrites": { "type": "array", "items": { @@ -536433,6 +538483,10 @@ "type": "integer", "default": 0 }, + "position": { + "description": "Must be calculated Channel.calculatePosition", + "type": "integer" + }, "id": { "type": "string" } @@ -536446,6 +538500,7 @@ "nsfw", "owner", "parent_id", + "position", "type" ] }, @@ -539054,6 +541109,12 @@ }, "premium_progress_bar_enabled": { "type": "boolean" + }, + "channel_ordering": { + "type": "array", + "items": { + "type": "string" + } } }, "additionalProperties": false, @@ -539061,6 +541122,7 @@ "_do_validate", "assign", "bans", + "channel_ordering", "channels", "emojis", "features", diff --git a/src/api/routes/oauth2/applications/@me.ts b/src/api/routes/oauth2/applications/@me.ts new file mode 100644 index 00000000..0c23bdb1 --- /dev/null +++ b/src/api/routes/oauth2/applications/@me.ts @@ -0,0 +1,59 @@ +/* + 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 { route } from "@spacebar/api"; +import { + Application, + DiscordApiErrors, + PublicUserProjection, +} from "@spacebar/util"; +import { Request, Response, Router } from "express"; + +const router: Router = Router(); + +router.get( + "/", + route({ + responses: { + 200: { + body: "Application", + }, + }, + }), + async (req: Request, res: Response) => { + const app = await Application.findOneOrFail({ + where: { id: req.params.id }, + relations: ["bot", "owner"], + select: { + owner: Object.fromEntries( + PublicUserProjection.map((x) => [x, true]), + ), + }, + }); + + if (!app.bot) throw DiscordApiErrors.BOT_ONLY_ENDPOINT; + + res.json({ + ...app, + owner: app.owner.toPublicUser(), + install_params: + app.install_params !== null ? app.install_params : undefined, + }); + }, +); +export default router; diff --git a/src/util/dtos/ReadyGuildDTO.ts b/src/util/dtos/ReadyGuildDTO.ts index 905ede74..061959a6 100644 --- a/src/util/dtos/ReadyGuildDTO.ts +++ b/src/util/dtos/ReadyGuildDTO.ts @@ -229,7 +229,7 @@ export class ReadyGuildDTO implements IReadyGuildDTO { nsfw: guild.nsfw, safety_alerts_channel_id: null, }; - this.roles = guild.roles; + this.roles = guild.roles.map((x) => x.toJSON()); this.stage_instances = []; this.stickers = guild.stickers; this.threads = []; diff --git a/src/util/entities/Message.ts b/src/util/entities/Message.ts index 3598d29f..b519099a 100644 --- a/src/util/entities/Message.ts +++ b/src/util/entities/Message.ts @@ -238,6 +238,7 @@ export class Message extends BaseClass { activity: this.activity ?? undefined, application: this.application ?? undefined, components: this.components ?? undefined, + content: this.content ?? "", }; } } diff --git a/src/util/entities/Role.ts b/src/util/entities/Role.ts index e8e5feda..2783a279 100644 --- a/src/util/entities/Role.ts +++ b/src/util/entities/Role.ts @@ -69,4 +69,11 @@ export class Role extends BaseClass { @Column({ default: 0 }) flags: number; + + toJSON(): Role { + return { + ...this, + tags: this.tags ?? undefined, + }; + } } -- cgit 1.4.1