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": {
|
"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": {
|
||||||
|
|
@ -17122,7 +17118,7 @@
|
||||||
"name": {
|
"name": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"minLength": 0,
|
"minLength": 0,
|
||||||
"maxLength": 20
|
"maxLength": 50
|
||||||
},
|
},
|
||||||
"emoji_id": {
|
"emoji_id": {
|
||||||
"oneOf": [
|
"oneOf": [
|
||||||
|
|
@ -32178,7 +32174,7 @@
|
||||||
"name": {
|
"name": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"minLength": 0,
|
"minLength": 0,
|
||||||
"maxLength": 20
|
"maxLength": 50
|
||||||
},
|
},
|
||||||
"emoji_id": {
|
"emoji_id": {
|
||||||
"oneOf": [
|
"oneOf": [
|
||||||
|
|
|
||||||
|
|
@ -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": {
|
||||||
|
|
@ -17162,7 +17158,7 @@
|
||||||
"name": {
|
"name": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"minLength": 0,
|
"minLength": 0,
|
||||||
"maxLength": 20
|
"maxLength": 50
|
||||||
},
|
},
|
||||||
"emoji_id": {
|
"emoji_id": {
|
||||||
"oneOf": [
|
"oneOf": [
|
||||||
|
|
@ -32611,7 +32607,7 @@
|
||||||
"name": {
|
"name": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"minLength": 0,
|
"minLength": 0,
|
||||||
"maxLength": 20
|
"maxLength": 50
|
||||||
},
|
},
|
||||||
"emoji_id": {
|
"emoji_id": {
|
||||||
"oneOf": [
|
"oneOf": [
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue