mirror of
https://github.com/discord/discord-api-spec.git
synced 2025-08-31 21: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": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"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"
|
||||
]
|
||||
"$ref": "#/components/schemas/BotAddGuildMemberRequest"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -15356,6 +15304,54 @@
|
|||
"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": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
|
|
@ -5348,59 +5348,7 @@
|
|||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"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"
|
||||
]
|
||||
"$ref": "#/components/schemas/BotAddGuildMemberRequest"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -15356,6 +15304,54 @@
|
|||
"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": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
|
Loading…
Reference in a new issue