From 95d5d62cce949ac26441d005e88f70074a3ffbdb Mon Sep 17 00:00:00 2001 From: Adversary Date: Tue, 29 Jul 2025 02:10:01 +0000 Subject: [PATCH] main - Automated spec update (133552) made at remote:2025-07-29T01:40:30 taken at now:2025-07-29T02:10:01 made by remote Nelly (automation bot) <> --- specs/openapi.json | 500 ------------------------------------- specs/openapi_preview.json | 500 ------------------------------------- 2 files changed, 1000 deletions(-) diff --git a/specs/openapi.json b/specs/openapi.json index 566bafb..6afb70d 100644 --- a/specs/openapi.json +++ b/specs/openapi.json @@ -5552,61 +5552,6 @@ ] } }, - "/guilds": { - "post": { - "operationId": "create_guild", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GuildCreateRequest" - } - } - }, - "required": true - }, - "responses": { - "201": { - "description": "201 response for create_guild", - "headers": { - "X-RateLimit-Limit": { - "$ref": "#/components/headers/X-RateLimit-Limit" - }, - "X-RateLimit-Remaining": { - "$ref": "#/components/headers/X-RateLimit-Remaining" - }, - "X-RateLimit-Reset": { - "$ref": "#/components/headers/X-RateLimit-Reset" - }, - "X-RateLimit-Reset-After": { - "$ref": "#/components/headers/X-RateLimit-Reset-After" - }, - "X-RateLimit-Bucket": { - "$ref": "#/components/headers/X-RateLimit-Bucket" - } - }, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GuildResponse" - } - } - } - }, - "429": { - "$ref": "#/components/responses/ClientRatelimitedResponse" - }, - "4XX": { - "$ref": "#/components/responses/ClientErrorResponse" - } - }, - "security": [ - { - "BotToken": [] - } - ] - } - }, "/guilds/templates/{code}": { "parameters": [ { @@ -5662,76 +5607,6 @@ "BotToken": [] } ] - }, - "post": { - "operationId": "create_guild_from_template", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "name": { - "type": "string", - "minLength": 2, - "maxLength": 100 - }, - "icon": { - "type": [ - "string", - "null" - ], - "contentEncoding": "base64" - } - }, - "required": [ - "name" - ] - } - } - }, - "required": true - }, - "responses": { - "201": { - "description": "201 response for create_guild_from_template", - "headers": { - "X-RateLimit-Limit": { - "$ref": "#/components/headers/X-RateLimit-Limit" - }, - "X-RateLimit-Remaining": { - "$ref": "#/components/headers/X-RateLimit-Remaining" - }, - "X-RateLimit-Reset": { - "$ref": "#/components/headers/X-RateLimit-Reset" - }, - "X-RateLimit-Reset-After": { - "$ref": "#/components/headers/X-RateLimit-Reset-After" - }, - "X-RateLimit-Bucket": { - "$ref": "#/components/headers/X-RateLimit-Bucket" - } - }, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GuildResponse" - } - } - } - }, - "429": { - "$ref": "#/components/responses/ClientRatelimitedResponse" - }, - "4XX": { - "$ref": "#/components/responses/ClientErrorResponse" - } - }, - "security": [ - { - "BotToken": [] - } - ] } }, "/guilds/{guild_id}": { @@ -21654,251 +21529,6 @@ } } }, - "CreateGuildRequestChannelItem": { - "type": "object", - "properties": { - "type": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "integer", - "enum": [ - 0, - 2, - 4 - ], - "allOf": [ - { - "$ref": "#/components/schemas/ChannelTypes" - } - ], - "format": "int32" - } - ] - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "position": { - "type": [ - "integer", - "null" - ], - "minimum": 0, - "format": "int32" - }, - "topic": { - "type": [ - "string", - "null" - ], - "minLength": 0, - "maxLength": 4096 - }, - "bitrate": { - "type": [ - "integer", - "null" - ], - "minimum": 8000, - "format": "int32" - }, - "user_limit": { - "type": [ - "integer", - "null" - ], - "minimum": 0, - "format": "int32" - }, - "nsfw": { - "type": [ - "boolean", - "null" - ] - }, - "rate_limit_per_user": { - "type": [ - "integer", - "null" - ], - "minimum": 0, - "maximum": 21600 - }, - "parent_id": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/SnowflakeType" - } - ] - }, - "permission_overwrites": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/ChannelPermissionOverwriteRequest" - }, - "maxItems": 100 - }, - "rtc_region": { - "type": [ - "string", - "null" - ] - }, - "video_quality_mode": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/VideoQualityModes" - } - ] - }, - "default_auto_archive_duration": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ThreadAutoArchiveDuration" - } - ] - }, - "default_reaction_emoji": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/UpdateDefaultReactionEmojiRequest" - } - ] - }, - "default_thread_rate_limit_per_user": { - "type": [ - "integer", - "null" - ], - "minimum": 0, - "maximum": 21600 - }, - "default_sort_order": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ThreadSortOrder" - } - ] - }, - "default_forum_layout": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ForumLayout" - } - ] - }, - "default_tag_setting": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ThreadSearchTagSetting" - } - ] - }, - "id": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/SnowflakeType" - } - ] - }, - "available_tags": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/CreateOrUpdateThreadTagRequest" - }, - "maxItems": 20 - } - }, - "required": [ - "name" - ] - }, - "CreateGuildRequestRoleItem": { - "type": "object", - "properties": { - "id": { - "type": "integer" - }, - "name": { - "type": [ - "string", - "null" - ], - "maxLength": 100 - }, - "permissions": { - "type": [ - "integer", - "null" - ] - }, - "color": { - "type": [ - "integer", - "null" - ], - "minimum": 0, - "maximum": 16777215 - }, - "hoist": { - "type": [ - "boolean", - "null" - ] - }, - "mentionable": { - "type": [ - "boolean", - "null" - ] - }, - "unicode_emoji": { - "type": [ - "string", - "null" - ], - "maxLength": 100 - } - }, - "required": [ - "id" - ] - }, "CreateMessageInteractionCallbackRequest": { "type": "object", "properties": { @@ -24759,136 +24389,6 @@ "position" ] }, - "GuildCreateRequest": { - "type": "object", - "properties": { - "description": { - "type": [ - "string", - "null" - ], - "minLength": 0, - "maxLength": 300 - }, - "name": { - "type": "string", - "minLength": 2, - "maxLength": 100 - }, - "region": { - "type": [ - "string", - "null" - ] - }, - "icon": { - "type": [ - "string", - "null" - ], - "contentEncoding": "base64" - }, - "verification_level": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/VerificationLevels" - } - ] - }, - "default_message_notifications": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/UserNotificationSettings" - } - ] - }, - "explicit_content_filter": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/GuildExplicitContentFilterTypes" - } - ] - }, - "preferred_locale": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/AvailableLocalesEnum" - } - ] - }, - "afk_timeout": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/AfkTimeouts" - } - ] - }, - "roles": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/CreateGuildRequestRoleItem" - }, - "maxItems": 1521 - }, - "channels": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/CreateGuildRequestChannelItem" - }, - "maxItems": 1521 - }, - "afk_channel_id": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/SnowflakeType" - } - ] - }, - "system_channel_id": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/SnowflakeType" - } - ] - }, - "system_channel_flags": { - "type": [ - "integer", - "null" - ] - } - }, - "required": [ - "name" - ] - }, "GuildExplicitContentFilterTypes": { "type": "integer", "oneOf": [ diff --git a/specs/openapi_preview.json b/specs/openapi_preview.json index 584d9c7..eb2eb66 100644 --- a/specs/openapi_preview.json +++ b/specs/openapi_preview.json @@ -5552,61 +5552,6 @@ ] } }, - "/guilds": { - "post": { - "operationId": "create_guild", - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GuildCreateRequest" - } - } - }, - "required": true - }, - "responses": { - "201": { - "description": "201 response for create_guild", - "headers": { - "X-RateLimit-Limit": { - "$ref": "#/components/headers/X-RateLimit-Limit" - }, - "X-RateLimit-Remaining": { - "$ref": "#/components/headers/X-RateLimit-Remaining" - }, - "X-RateLimit-Reset": { - "$ref": "#/components/headers/X-RateLimit-Reset" - }, - "X-RateLimit-Reset-After": { - "$ref": "#/components/headers/X-RateLimit-Reset-After" - }, - "X-RateLimit-Bucket": { - "$ref": "#/components/headers/X-RateLimit-Bucket" - } - }, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GuildResponse" - } - } - } - }, - "429": { - "$ref": "#/components/responses/ClientRatelimitedResponse" - }, - "4XX": { - "$ref": "#/components/responses/ClientErrorResponse" - } - }, - "security": [ - { - "BotToken": [] - } - ] - } - }, "/guilds/templates/{code}": { "parameters": [ { @@ -5662,76 +5607,6 @@ "BotToken": [] } ] - }, - "post": { - "operationId": "create_guild_from_template", - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "name": { - "type": "string", - "minLength": 2, - "maxLength": 100 - }, - "icon": { - "type": [ - "string", - "null" - ], - "contentEncoding": "base64" - } - }, - "required": [ - "name" - ] - } - } - }, - "required": true - }, - "responses": { - "201": { - "description": "201 response for create_guild_from_template", - "headers": { - "X-RateLimit-Limit": { - "$ref": "#/components/headers/X-RateLimit-Limit" - }, - "X-RateLimit-Remaining": { - "$ref": "#/components/headers/X-RateLimit-Remaining" - }, - "X-RateLimit-Reset": { - "$ref": "#/components/headers/X-RateLimit-Reset" - }, - "X-RateLimit-Reset-After": { - "$ref": "#/components/headers/X-RateLimit-Reset-After" - }, - "X-RateLimit-Bucket": { - "$ref": "#/components/headers/X-RateLimit-Bucket" - } - }, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GuildResponse" - } - } - } - }, - "429": { - "$ref": "#/components/responses/ClientRatelimitedResponse" - }, - "4XX": { - "$ref": "#/components/responses/ClientErrorResponse" - } - }, - "security": [ - { - "BotToken": [] - } - ] } }, "/guilds/{guild_id}": { @@ -21694,251 +21569,6 @@ } } }, - "CreateGuildRequestChannelItem": { - "type": "object", - "properties": { - "type": { - "oneOf": [ - { - "type": "null" - }, - { - "type": "integer", - "enum": [ - 0, - 2, - 4 - ], - "allOf": [ - { - "$ref": "#/components/schemas/ChannelTypes" - } - ], - "format": "int32" - } - ] - }, - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "position": { - "type": [ - "integer", - "null" - ], - "minimum": 0, - "format": "int32" - }, - "topic": { - "type": [ - "string", - "null" - ], - "minLength": 0, - "maxLength": 4096 - }, - "bitrate": { - "type": [ - "integer", - "null" - ], - "minimum": 8000, - "format": "int32" - }, - "user_limit": { - "type": [ - "integer", - "null" - ], - "minimum": 0, - "format": "int32" - }, - "nsfw": { - "type": [ - "boolean", - "null" - ] - }, - "rate_limit_per_user": { - "type": [ - "integer", - "null" - ], - "minimum": 0, - "maximum": 21600 - }, - "parent_id": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/SnowflakeType" - } - ] - }, - "permission_overwrites": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/ChannelPermissionOverwriteRequest" - }, - "maxItems": 100 - }, - "rtc_region": { - "type": [ - "string", - "null" - ] - }, - "video_quality_mode": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/VideoQualityModes" - } - ] - }, - "default_auto_archive_duration": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ThreadAutoArchiveDuration" - } - ] - }, - "default_reaction_emoji": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/UpdateDefaultReactionEmojiRequest" - } - ] - }, - "default_thread_rate_limit_per_user": { - "type": [ - "integer", - "null" - ], - "minimum": 0, - "maximum": 21600 - }, - "default_sort_order": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ThreadSortOrder" - } - ] - }, - "default_forum_layout": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ForumLayout" - } - ] - }, - "default_tag_setting": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/ThreadSearchTagSetting" - } - ] - }, - "id": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/SnowflakeType" - } - ] - }, - "available_tags": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/CreateOrUpdateThreadTagRequest" - }, - "maxItems": 20 - } - }, - "required": [ - "name" - ] - }, - "CreateGuildRequestRoleItem": { - "type": "object", - "properties": { - "id": { - "type": "integer" - }, - "name": { - "type": [ - "string", - "null" - ], - "maxLength": 100 - }, - "permissions": { - "type": [ - "integer", - "null" - ] - }, - "color": { - "type": [ - "integer", - "null" - ], - "minimum": 0, - "maximum": 16777215 - }, - "hoist": { - "type": [ - "boolean", - "null" - ] - }, - "mentionable": { - "type": [ - "boolean", - "null" - ] - }, - "unicode_emoji": { - "type": [ - "string", - "null" - ], - "maxLength": 100 - } - }, - "required": [ - "id" - ] - }, "CreateMessageInteractionCallbackRequest": { "type": "object", "properties": { @@ -24830,136 +24460,6 @@ "position" ] }, - "GuildCreateRequest": { - "type": "object", - "properties": { - "description": { - "type": [ - "string", - "null" - ], - "minLength": 0, - "maxLength": 300 - }, - "name": { - "type": "string", - "minLength": 2, - "maxLength": 100 - }, - "region": { - "type": [ - "string", - "null" - ] - }, - "icon": { - "type": [ - "string", - "null" - ], - "contentEncoding": "base64" - }, - "verification_level": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/VerificationLevels" - } - ] - }, - "default_message_notifications": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/UserNotificationSettings" - } - ] - }, - "explicit_content_filter": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/GuildExplicitContentFilterTypes" - } - ] - }, - "preferred_locale": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/AvailableLocalesEnum" - } - ] - }, - "afk_timeout": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/AfkTimeouts" - } - ] - }, - "roles": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/CreateGuildRequestRoleItem" - }, - "maxItems": 1521 - }, - "channels": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/components/schemas/CreateGuildRequestChannelItem" - }, - "maxItems": 1521 - }, - "afk_channel_id": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/SnowflakeType" - } - ] - }, - "system_channel_id": { - "oneOf": [ - { - "type": "null" - }, - { - "$ref": "#/components/schemas/SnowflakeType" - } - ] - }, - "system_channel_flags": { - "type": [ - "integer", - "null" - ] - } - }, - "required": [ - "name" - ] - }, "GuildExplicitContentFilterTypes": { "type": "integer", "oneOf": [