main - Automated spec update (133517)
made at remote:2025-07-28T23:33:23 taken at now:2025-07-29T00:10:02 made by remote Nelly (automation bot) <>
This commit is contained in:
		
							parent
							
								
									db04ac7d38
								
							
						
					
					
						commit
						d507df8377
					
				
					 2 changed files with 1000 additions and 0 deletions
				
			
		|  | @ -5552,6 +5552,61 @@ | ||||||
|         ] |         ] | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|  |     "/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}": { |     "/guilds/templates/{code}": { | ||||||
|       "parameters": [ |       "parameters": [ | ||||||
|         { |         { | ||||||
|  | @ -5607,6 +5662,76 @@ | ||||||
|             "BotToken": [] |             "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}": { |     "/guilds/{guild_id}": { | ||||||
|  | @ -21529,6 +21654,251 @@ | ||||||
|           } |           } | ||||||
|         } |         } | ||||||
|       }, |       }, | ||||||
|  |       "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": { |       "CreateMessageInteractionCallbackRequest": { | ||||||
|         "type": "object", |         "type": "object", | ||||||
|         "properties": { |         "properties": { | ||||||
|  | @ -24389,6 +24759,136 @@ | ||||||
|           "position" |           "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": { |       "GuildExplicitContentFilterTypes": { | ||||||
|         "type": "integer", |         "type": "integer", | ||||||
|         "oneOf": [ |         "oneOf": [ | ||||||
|  |  | ||||||
|  | @ -5552,6 +5552,61 @@ | ||||||
|         ] |         ] | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|  |     "/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}": { |     "/guilds/templates/{code}": { | ||||||
|       "parameters": [ |       "parameters": [ | ||||||
|         { |         { | ||||||
|  | @ -5607,6 +5662,76 @@ | ||||||
|             "BotToken": [] |             "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}": { |     "/guilds/{guild_id}": { | ||||||
|  | @ -21569,6 +21694,251 @@ | ||||||
|           } |           } | ||||||
|         } |         } | ||||||
|       }, |       }, | ||||||
|  |       "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": { |       "CreateMessageInteractionCallbackRequest": { | ||||||
|         "type": "object", |         "type": "object", | ||||||
|         "properties": { |         "properties": { | ||||||
|  | @ -24460,6 +24830,136 @@ | ||||||
|           "position" |           "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": { |       "GuildExplicitContentFilterTypes": { | ||||||
|         "type": "integer", |         "type": "integer", | ||||||
|         "oneOf": [ |         "oneOf": [ | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue