Automated spec update (182499)

This commit is contained in:
Nelly (automation bot) 2026-02-03 22:57:07 +00:00
parent 1aa018afc0
commit aaa5b538a6
2 changed files with 90 additions and 2 deletions

View file

@ -24709,7 +24709,7 @@
"null" "null"
], ],
"items": { "items": {
"$ref": "#/components/schemas/GuildRoleResponse" "$ref": "#/components/schemas/InviteGuildRoleResponse"
} }
} }
}, },
@ -27470,6 +27470,50 @@
"premium_subscription_count" "premium_subscription_count"
] ]
}, },
"InviteGuildRoleResponse": {
"type": "object",
"properties": {
"id": {
"$ref": "#/components/schemas/SnowflakeType"
},
"name": {
"type": "string"
},
"position": {
"type": "integer",
"format": "int32"
},
"color": {
"type": "integer",
"format": "int32"
},
"colors": {
"$ref": "#/components/schemas/GuildRoleColorsResponse"
},
"icon": {
"type": [
"string",
"null"
]
},
"unicode_emoji": {
"type": [
"string",
"null"
]
},
"permissions": {
"type": "string"
}
},
"required": [
"id",
"name",
"position",
"color",
"colors"
]
},
"InviteTargetTypes": { "InviteTargetTypes": {
"type": "integer", "type": "integer",
"oneOf": [ "oneOf": [

View file

@ -25149,7 +25149,7 @@
"null" "null"
], ],
"items": { "items": {
"$ref": "#/components/schemas/GuildRoleResponse" "$ref": "#/components/schemas/InviteGuildRoleResponse"
} }
} }
}, },
@ -28056,6 +28056,50 @@
"premium_subscription_count" "premium_subscription_count"
] ]
}, },
"InviteGuildRoleResponse": {
"type": "object",
"properties": {
"id": {
"$ref": "#/components/schemas/SnowflakeType"
},
"name": {
"type": "string"
},
"position": {
"type": "integer",
"format": "int32"
},
"color": {
"type": "integer",
"format": "int32"
},
"colors": {
"$ref": "#/components/schemas/GuildRoleColorsResponse"
},
"icon": {
"type": [
"string",
"null"
]
},
"unicode_emoji": {
"type": [
"string",
"null"
]
},
"permissions": {
"type": "string"
}
},
"required": [
"id",
"name",
"position",
"color",
"colors"
]
},
"InviteTargetTypes": { "InviteTargetTypes": {
"type": "integer", "type": "integer",
"oneOf": [ "oneOf": [