mirror of
https://github.com/discord/discord-api-spec.git
synced 2025-09-03 14:32:39 -04:00
Automated spec update (128265)
This commit is contained in:
parent
4edbf5e6d3
commit
303d82c892
2 changed files with 98 additions and 106 deletions
|
@ -5348,59 +5348,7 @@
|
||||||
"content": {
|
"content": {
|
||||||
"application/json": {
|
"application/json": {
|
||||||
"schema": {
|
"schema": {
|
||||||
"type": "object",
|
"$ref": "#/components/schemas/BotAddGuildMemberRequest"
|
||||||
"properties": {
|
|
||||||
"nick": {
|
|
||||||
"type": [
|
|
||||||
"string",
|
|
||||||
"null"
|
|
||||||
],
|
|
||||||
"maxLength": 32
|
|
||||||
},
|
|
||||||
"roles": {
|
|
||||||
"type": [
|
|
||||||
"array",
|
|
||||||
"null"
|
|
||||||
],
|
|
||||||
"items": {
|
|
||||||
"oneOf": [
|
|
||||||
{
|
|
||||||
"type": "null"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"$ref": "#/components/schemas/SnowflakeType"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"maxItems": 1521,
|
|
||||||
"uniqueItems": true
|
|
||||||
},
|
|
||||||
"mute": {
|
|
||||||
"type": [
|
|
||||||
"boolean",
|
|
||||||
"null"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"deaf": {
|
|
||||||
"type": [
|
|
||||||
"boolean",
|
|
||||||
"null"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"access_token": {
|
|
||||||
"type": "string",
|
|
||||||
"maxLength": 152133
|
|
||||||
},
|
|
||||||
"flags": {
|
|
||||||
"type": [
|
|
||||||
"integer",
|
|
||||||
"null"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": [
|
|
||||||
"access_token"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -15356,6 +15304,54 @@
|
||||||
"username"
|
"username"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"BotAddGuildMemberRequest": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"nick": {
|
||||||
|
"type": [
|
||||||
|
"string",
|
||||||
|
"null"
|
||||||
|
],
|
||||||
|
"maxLength": 32
|
||||||
|
},
|
||||||
|
"roles": {
|
||||||
|
"type": [
|
||||||
|
"array",
|
||||||
|
"null"
|
||||||
|
],
|
||||||
|
"items": {
|
||||||
|
"$ref": "#/components/schemas/SnowflakeType"
|
||||||
|
},
|
||||||
|
"maxItems": 250,
|
||||||
|
"uniqueItems": true
|
||||||
|
},
|
||||||
|
"mute": {
|
||||||
|
"type": [
|
||||||
|
"boolean",
|
||||||
|
"null"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"deaf": {
|
||||||
|
"type": [
|
||||||
|
"boolean",
|
||||||
|
"null"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"access_token": {
|
||||||
|
"type": "string",
|
||||||
|
"maxLength": 10240
|
||||||
|
},
|
||||||
|
"flags": {
|
||||||
|
"type": [
|
||||||
|
"integer",
|
||||||
|
"null"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"access_token"
|
||||||
|
]
|
||||||
|
},
|
||||||
"BulkBanUsersResponse": {
|
"BulkBanUsersResponse": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|
|
@ -5348,59 +5348,7 @@
|
||||||
"content": {
|
"content": {
|
||||||
"application/json": {
|
"application/json": {
|
||||||
"schema": {
|
"schema": {
|
||||||
"type": "object",
|
"$ref": "#/components/schemas/BotAddGuildMemberRequest"
|
||||||
"properties": {
|
|
||||||
"nick": {
|
|
||||||
"type": [
|
|
||||||
"string",
|
|
||||||
"null"
|
|
||||||
],
|
|
||||||
"maxLength": 32
|
|
||||||
},
|
|
||||||
"roles": {
|
|
||||||
"type": [
|
|
||||||
"array",
|
|
||||||
"null"
|
|
||||||
],
|
|
||||||
"items": {
|
|
||||||
"oneOf": [
|
|
||||||
{
|
|
||||||
"type": "null"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"$ref": "#/components/schemas/SnowflakeType"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"maxItems": 1521,
|
|
||||||
"uniqueItems": true
|
|
||||||
},
|
|
||||||
"mute": {
|
|
||||||
"type": [
|
|
||||||
"boolean",
|
|
||||||
"null"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"deaf": {
|
|
||||||
"type": [
|
|
||||||
"boolean",
|
|
||||||
"null"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"access_token": {
|
|
||||||
"type": "string",
|
|
||||||
"maxLength": 152133
|
|
||||||
},
|
|
||||||
"flags": {
|
|
||||||
"type": [
|
|
||||||
"integer",
|
|
||||||
"null"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"required": [
|
|
||||||
"access_token"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -15356,6 +15304,54 @@
|
||||||
"username"
|
"username"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"BotAddGuildMemberRequest": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"nick": {
|
||||||
|
"type": [
|
||||||
|
"string",
|
||||||
|
"null"
|
||||||
|
],
|
||||||
|
"maxLength": 32
|
||||||
|
},
|
||||||
|
"roles": {
|
||||||
|
"type": [
|
||||||
|
"array",
|
||||||
|
"null"
|
||||||
|
],
|
||||||
|
"items": {
|
||||||
|
"$ref": "#/components/schemas/SnowflakeType"
|
||||||
|
},
|
||||||
|
"maxItems": 250,
|
||||||
|
"uniqueItems": true
|
||||||
|
},
|
||||||
|
"mute": {
|
||||||
|
"type": [
|
||||||
|
"boolean",
|
||||||
|
"null"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"deaf": {
|
||||||
|
"type": [
|
||||||
|
"boolean",
|
||||||
|
"null"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"access_token": {
|
||||||
|
"type": "string",
|
||||||
|
"maxLength": 10240
|
||||||
|
},
|
||||||
|
"flags": {
|
||||||
|
"type": [
|
||||||
|
"integer",
|
||||||
|
"null"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"access_token"
|
||||||
|
]
|
||||||
|
},
|
||||||
"BulkBanUsersResponse": {
|
"BulkBanUsersResponse": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|
Loading…
Reference in a new issue