mirror of
https://github.com/discord/discord-api-spec.git
synced 2025-11-14 23:59:47 -05:00
Compare commits
No commits in common. "303d82c8927ae3afee36e0a1a95e2ce33200ff71" and "8e1fff51dacc4890fa2219d061109d32f28b638a" have entirely different histories.
303d82c892
...
8e1fff51da
2 changed files with 110 additions and 102 deletions
|
|
@ -5348,7 +5348,59 @@
|
|||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/BotAddGuildMemberRequest"
|
||||
"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"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -15304,54 +15356,6 @@
|
|||
"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": {
|
||||
|
|
@ -17118,7 +17122,7 @@
|
|||
"name": {
|
||||
"type": "string",
|
||||
"minLength": 0,
|
||||
"maxLength": 50
|
||||
"maxLength": 20
|
||||
},
|
||||
"emoji_id": {
|
||||
"oneOf": [
|
||||
|
|
@ -32174,7 +32178,7 @@
|
|||
"name": {
|
||||
"type": "string",
|
||||
"minLength": 0,
|
||||
"maxLength": 50
|
||||
"maxLength": 20
|
||||
},
|
||||
"emoji_id": {
|
||||
"oneOf": [
|
||||
|
|
|
|||
|
|
@ -5348,7 +5348,59 @@
|
|||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/BotAddGuildMemberRequest"
|
||||
"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"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -15304,54 +15356,6 @@
|
|||
"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": {
|
||||
|
|
@ -17158,7 +17162,7 @@
|
|||
"name": {
|
||||
"type": "string",
|
||||
"minLength": 0,
|
||||
"maxLength": 50
|
||||
"maxLength": 20
|
||||
},
|
||||
"emoji_id": {
|
||||
"oneOf": [
|
||||
|
|
@ -32607,7 +32611,7 @@
|
|||
"name": {
|
||||
"type": "string",
|
||||
"minLength": 0,
|
||||
"maxLength": 50
|
||||
"maxLength": 20
|
||||
},
|
||||
"emoji_id": {
|
||||
"oneOf": [
|
||||
|
|
|
|||
Loading…
Reference in a new issue