mirror of
https://github.com/discord/discord-api-spec.git
synced 2025-11-14 07:49:48 -05:00
Compare commits
2 commits
8e1fff51da
...
303d82c892
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
303d82c892 | ||
|
|
4edbf5e6d3 |
2 changed files with 102 additions and 110 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": {
|
||||
|
|
@ -17122,7 +17118,7 @@
|
|||
"name": {
|
||||
"type": "string",
|
||||
"minLength": 0,
|
||||
"maxLength": 20
|
||||
"maxLength": 50
|
||||
},
|
||||
"emoji_id": {
|
||||
"oneOf": [
|
||||
|
|
@ -32178,7 +32174,7 @@
|
|||
"name": {
|
||||
"type": "string",
|
||||
"minLength": 0,
|
||||
"maxLength": 20
|
||||
"maxLength": 50
|
||||
},
|
||||
"emoji_id": {
|
||||
"oneOf": [
|
||||
|
|
|
|||
|
|
@ -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": {
|
||||
|
|
@ -17162,7 +17158,7 @@
|
|||
"name": {
|
||||
"type": "string",
|
||||
"minLength": 0,
|
||||
"maxLength": 20
|
||||
"maxLength": 50
|
||||
},
|
||||
"emoji_id": {
|
||||
"oneOf": [
|
||||
|
|
@ -32611,7 +32607,7 @@
|
|||
"name": {
|
||||
"type": "string",
|
||||
"minLength": 0,
|
||||
"maxLength": 20
|
||||
"maxLength": 50
|
||||
},
|
||||
"emoji_id": {
|
||||
"oneOf": [
|
||||
|
|
|
|||
Loading…
Reference in a new issue