mirror of
https://github.com/discord/discord-api-spec.git
synced 2025-01-06 14:12:40 -05:00
Compare commits
No commits in common. "3b16f449ef9ecb934d18ac3629d170664491f44e" and "6d3360abf2674e1aeeb89b02902595566e45768d" have entirely different histories.
3b16f449ef
...
6d3360abf2
2 changed files with 63 additions and 123 deletions
|
@ -8383,6 +8383,11 @@
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"ApplicationCommandApplicationCommandType": {
|
||||||
|
"type": "integer",
|
||||||
|
"oneOf": [],
|
||||||
|
"format": "int32"
|
||||||
|
},
|
||||||
"ApplicationCommandAttachmentOption": {
|
"ApplicationCommandAttachmentOption": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -8393,7 +8398,7 @@
|
||||||
],
|
],
|
||||||
"allOf": [
|
"allOf": [
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/ApplicationCommandOptionType"
|
"$ref": "#/components/schemas/ApplicationCommandOptionTypeScopeApplicationCommandOptionType"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
|
@ -8455,7 +8460,7 @@
|
||||||
],
|
],
|
||||||
"allOf": [
|
"allOf": [
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/ApplicationCommandOptionType"
|
"$ref": "#/components/schemas/ApplicationCommandOptionTypeScopeApplicationCommandOptionType"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
|
@ -8554,7 +8559,7 @@
|
||||||
],
|
],
|
||||||
"allOf": [
|
"allOf": [
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/ApplicationCommandOptionType"
|
"$ref": "#/components/schemas/ApplicationCommandOptionTypeScopeApplicationCommandOptionType"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
|
@ -8616,7 +8621,7 @@
|
||||||
],
|
],
|
||||||
"allOf": [
|
"allOf": [
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/ApplicationCommandOptionType"
|
"$ref": "#/components/schemas/ApplicationCommandOptionTypeScopeApplicationCommandOptionType"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
|
@ -8680,7 +8685,7 @@
|
||||||
],
|
],
|
||||||
"allOf": [
|
"allOf": [
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/ApplicationCommandOptionType"
|
"$ref": "#/components/schemas/ApplicationCommandOptionTypeScopeApplicationCommandOptionType"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
|
@ -8752,7 +8757,7 @@
|
||||||
],
|
],
|
||||||
"allOf": [
|
"allOf": [
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/ApplicationCommandOptionType"
|
"$ref": "#/components/schemas/ApplicationCommandOptionTypeScopeApplicationCommandOptionType"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
|
@ -8919,7 +8924,7 @@
|
||||||
"type": "null"
|
"type": "null"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/ApplicationCommandType"
|
"$ref": "#/components/schemas/ApplicationCommandApplicationCommandType"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -8938,7 +8943,7 @@
|
||||||
],
|
],
|
||||||
"allOf": [
|
"allOf": [
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/ApplicationCommandOptionType"
|
"$ref": "#/components/schemas/ApplicationCommandOptionTypeScopeApplicationCommandOptionType"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
|
@ -9036,7 +9041,7 @@
|
||||||
],
|
],
|
||||||
"allOf": [
|
"allOf": [
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/ApplicationCommandOptionType"
|
"$ref": "#/components/schemas/ApplicationCommandOptionTypeScopeApplicationCommandOptionType"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
|
@ -9135,7 +9140,7 @@
|
||||||
],
|
],
|
||||||
"allOf": [
|
"allOf": [
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/ApplicationCommandOptionType"
|
"$ref": "#/components/schemas/ApplicationCommandOptionTypeScopeApplicationCommandOptionType"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
|
@ -9197,7 +9202,7 @@
|
||||||
],
|
],
|
||||||
"allOf": [
|
"allOf": [
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/ApplicationCommandOptionType"
|
"$ref": "#/components/schemas/ApplicationCommandOptionTypeScopeApplicationCommandOptionType"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
|
@ -9261,7 +9266,7 @@
|
||||||
],
|
],
|
||||||
"allOf": [
|
"allOf": [
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/ApplicationCommandOptionType"
|
"$ref": "#/components/schemas/ApplicationCommandOptionTypeScopeApplicationCommandOptionType"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
|
@ -9353,7 +9358,7 @@
|
||||||
],
|
],
|
||||||
"allOf": [
|
"allOf": [
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/ApplicationCommandOptionType"
|
"$ref": "#/components/schemas/ApplicationCommandOptionTypeScopeApplicationCommandOptionType"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
|
@ -9616,7 +9621,7 @@
|
||||||
"value"
|
"value"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"ApplicationCommandOptionType": {
|
"ApplicationCommandOptionTypeScopeApplicationCommandOptionType": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"oneOf": [
|
"oneOf": [
|
||||||
{
|
{
|
||||||
|
@ -9835,7 +9840,7 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"type": {
|
"type": {
|
||||||
"$ref": "#/components/schemas/ApplicationCommandType"
|
"$ref": "#/components/schemas/ApplicationCommandApplicationCommandType"
|
||||||
},
|
},
|
||||||
"name": {
|
"name": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
|
@ -9958,7 +9963,7 @@
|
||||||
],
|
],
|
||||||
"allOf": [
|
"allOf": [
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/ApplicationCommandOptionType"
|
"$ref": "#/components/schemas/ApplicationCommandOptionTypeScopeApplicationCommandOptionType"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
|
@ -10020,7 +10025,7 @@
|
||||||
],
|
],
|
||||||
"allOf": [
|
"allOf": [
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/ApplicationCommandOptionType"
|
"$ref": "#/components/schemas/ApplicationCommandOptionTypeScopeApplicationCommandOptionType"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
|
@ -10084,7 +10089,7 @@
|
||||||
],
|
],
|
||||||
"allOf": [
|
"allOf": [
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/ApplicationCommandOptionType"
|
"$ref": "#/components/schemas/ApplicationCommandOptionTypeScopeApplicationCommandOptionType"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
|
@ -10178,7 +10183,7 @@
|
||||||
],
|
],
|
||||||
"allOf": [
|
"allOf": [
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/ApplicationCommandOptionType"
|
"$ref": "#/components/schemas/ApplicationCommandOptionTypeScopeApplicationCommandOptionType"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
|
@ -10271,7 +10276,7 @@
|
||||||
],
|
],
|
||||||
"allOf": [
|
"allOf": [
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/ApplicationCommandOptionType"
|
"$ref": "#/components/schemas/ApplicationCommandOptionTypeScopeApplicationCommandOptionType"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
|
@ -10343,7 +10348,7 @@
|
||||||
],
|
],
|
||||||
"allOf": [
|
"allOf": [
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/ApplicationCommandOptionType"
|
"$ref": "#/components/schemas/ApplicationCommandOptionTypeScopeApplicationCommandOptionType"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
|
@ -10416,7 +10421,7 @@
|
||||||
],
|
],
|
||||||
"allOf": [
|
"allOf": [
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/ApplicationCommandOptionType"
|
"$ref": "#/components/schemas/ApplicationCommandOptionTypeScopeApplicationCommandOptionType"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
|
@ -10516,7 +10521,7 @@
|
||||||
],
|
],
|
||||||
"allOf": [
|
"allOf": [
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/ApplicationCommandOptionType"
|
"$ref": "#/components/schemas/ApplicationCommandOptionTypeScopeApplicationCommandOptionType"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
|
@ -10607,27 +10612,6 @@
|
||||||
"description"
|
"description"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"ApplicationCommandType": {
|
|
||||||
"type": "integer",
|
|
||||||
"oneOf": [
|
|
||||||
{
|
|
||||||
"title": "CHAT",
|
|
||||||
"description": "Slash commands; a text-based command that shows up when a user types /",
|
|
||||||
"const": 1
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"title": "USER",
|
|
||||||
"description": "A UI-based command that shows up when you right click or tap on a user",
|
|
||||||
"const": 2
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"title": "MESSAGE",
|
|
||||||
"description": "A UI-based command that shows up when you right click or tap on a message",
|
|
||||||
"const": 3
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"format": "int32"
|
|
||||||
},
|
|
||||||
"ApplicationCommandUpdateRequest": {
|
"ApplicationCommandUpdateRequest": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -10731,7 +10715,7 @@
|
||||||
"type": "null"
|
"type": "null"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/ApplicationCommandType"
|
"$ref": "#/components/schemas/ApplicationCommandApplicationCommandType"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -10760,7 +10744,7 @@
|
||||||
],
|
],
|
||||||
"allOf": [
|
"allOf": [
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/ApplicationCommandOptionType"
|
"$ref": "#/components/schemas/ApplicationCommandOptionTypeScopeApplicationCommandOptionType"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
|
@ -10822,7 +10806,7 @@
|
||||||
],
|
],
|
||||||
"allOf": [
|
"allOf": [
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/ApplicationCommandOptionType"
|
"$ref": "#/components/schemas/ApplicationCommandOptionTypeScopeApplicationCommandOptionType"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
|
|
|
@ -8383,6 +8383,11 @@
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"ApplicationCommandApplicationCommandType": {
|
||||||
|
"type": "integer",
|
||||||
|
"oneOf": [],
|
||||||
|
"format": "int32"
|
||||||
|
},
|
||||||
"ApplicationCommandAttachmentOption": {
|
"ApplicationCommandAttachmentOption": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -8393,7 +8398,7 @@
|
||||||
],
|
],
|
||||||
"allOf": [
|
"allOf": [
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/ApplicationCommandOptionType"
|
"$ref": "#/components/schemas/ApplicationCommandOptionTypeScopeApplicationCommandOptionType"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
|
@ -8455,7 +8460,7 @@
|
||||||
],
|
],
|
||||||
"allOf": [
|
"allOf": [
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/ApplicationCommandOptionType"
|
"$ref": "#/components/schemas/ApplicationCommandOptionTypeScopeApplicationCommandOptionType"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
|
@ -8554,7 +8559,7 @@
|
||||||
],
|
],
|
||||||
"allOf": [
|
"allOf": [
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/ApplicationCommandOptionType"
|
"$ref": "#/components/schemas/ApplicationCommandOptionTypeScopeApplicationCommandOptionType"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
|
@ -8616,7 +8621,7 @@
|
||||||
],
|
],
|
||||||
"allOf": [
|
"allOf": [
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/ApplicationCommandOptionType"
|
"$ref": "#/components/schemas/ApplicationCommandOptionTypeScopeApplicationCommandOptionType"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
|
@ -8680,7 +8685,7 @@
|
||||||
],
|
],
|
||||||
"allOf": [
|
"allOf": [
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/ApplicationCommandOptionType"
|
"$ref": "#/components/schemas/ApplicationCommandOptionTypeScopeApplicationCommandOptionType"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
|
@ -8752,7 +8757,7 @@
|
||||||
],
|
],
|
||||||
"allOf": [
|
"allOf": [
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/ApplicationCommandOptionType"
|
"$ref": "#/components/schemas/ApplicationCommandOptionTypeScopeApplicationCommandOptionType"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
|
@ -8919,7 +8924,7 @@
|
||||||
"type": "null"
|
"type": "null"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/ApplicationCommandType"
|
"$ref": "#/components/schemas/ApplicationCommandApplicationCommandType"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -8938,7 +8943,7 @@
|
||||||
],
|
],
|
||||||
"allOf": [
|
"allOf": [
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/ApplicationCommandOptionType"
|
"$ref": "#/components/schemas/ApplicationCommandOptionTypeScopeApplicationCommandOptionType"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
|
@ -9036,7 +9041,7 @@
|
||||||
],
|
],
|
||||||
"allOf": [
|
"allOf": [
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/ApplicationCommandOptionType"
|
"$ref": "#/components/schemas/ApplicationCommandOptionTypeScopeApplicationCommandOptionType"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
|
@ -9135,7 +9140,7 @@
|
||||||
],
|
],
|
||||||
"allOf": [
|
"allOf": [
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/ApplicationCommandOptionType"
|
"$ref": "#/components/schemas/ApplicationCommandOptionTypeScopeApplicationCommandOptionType"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
|
@ -9197,7 +9202,7 @@
|
||||||
],
|
],
|
||||||
"allOf": [
|
"allOf": [
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/ApplicationCommandOptionType"
|
"$ref": "#/components/schemas/ApplicationCommandOptionTypeScopeApplicationCommandOptionType"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
|
@ -9261,7 +9266,7 @@
|
||||||
],
|
],
|
||||||
"allOf": [
|
"allOf": [
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/ApplicationCommandOptionType"
|
"$ref": "#/components/schemas/ApplicationCommandOptionTypeScopeApplicationCommandOptionType"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
|
@ -9353,7 +9358,7 @@
|
||||||
],
|
],
|
||||||
"allOf": [
|
"allOf": [
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/ApplicationCommandOptionType"
|
"$ref": "#/components/schemas/ApplicationCommandOptionTypeScopeApplicationCommandOptionType"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
|
@ -9616,7 +9621,7 @@
|
||||||
"value"
|
"value"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"ApplicationCommandOptionType": {
|
"ApplicationCommandOptionTypeScopeApplicationCommandOptionType": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"oneOf": [
|
"oneOf": [
|
||||||
{
|
{
|
||||||
|
@ -9835,7 +9840,7 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"type": {
|
"type": {
|
||||||
"$ref": "#/components/schemas/ApplicationCommandType"
|
"$ref": "#/components/schemas/ApplicationCommandApplicationCommandType"
|
||||||
},
|
},
|
||||||
"name": {
|
"name": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
|
@ -9958,7 +9963,7 @@
|
||||||
],
|
],
|
||||||
"allOf": [
|
"allOf": [
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/ApplicationCommandOptionType"
|
"$ref": "#/components/schemas/ApplicationCommandOptionTypeScopeApplicationCommandOptionType"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
|
@ -10020,7 +10025,7 @@
|
||||||
],
|
],
|
||||||
"allOf": [
|
"allOf": [
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/ApplicationCommandOptionType"
|
"$ref": "#/components/schemas/ApplicationCommandOptionTypeScopeApplicationCommandOptionType"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
|
@ -10084,7 +10089,7 @@
|
||||||
],
|
],
|
||||||
"allOf": [
|
"allOf": [
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/ApplicationCommandOptionType"
|
"$ref": "#/components/schemas/ApplicationCommandOptionTypeScopeApplicationCommandOptionType"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
|
@ -10178,7 +10183,7 @@
|
||||||
],
|
],
|
||||||
"allOf": [
|
"allOf": [
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/ApplicationCommandOptionType"
|
"$ref": "#/components/schemas/ApplicationCommandOptionTypeScopeApplicationCommandOptionType"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
|
@ -10271,7 +10276,7 @@
|
||||||
],
|
],
|
||||||
"allOf": [
|
"allOf": [
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/ApplicationCommandOptionType"
|
"$ref": "#/components/schemas/ApplicationCommandOptionTypeScopeApplicationCommandOptionType"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
|
@ -10343,7 +10348,7 @@
|
||||||
],
|
],
|
||||||
"allOf": [
|
"allOf": [
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/ApplicationCommandOptionType"
|
"$ref": "#/components/schemas/ApplicationCommandOptionTypeScopeApplicationCommandOptionType"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
|
@ -10416,7 +10421,7 @@
|
||||||
],
|
],
|
||||||
"allOf": [
|
"allOf": [
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/ApplicationCommandOptionType"
|
"$ref": "#/components/schemas/ApplicationCommandOptionTypeScopeApplicationCommandOptionType"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
|
@ -10516,7 +10521,7 @@
|
||||||
],
|
],
|
||||||
"allOf": [
|
"allOf": [
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/ApplicationCommandOptionType"
|
"$ref": "#/components/schemas/ApplicationCommandOptionTypeScopeApplicationCommandOptionType"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
|
@ -10607,27 +10612,6 @@
|
||||||
"description"
|
"description"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"ApplicationCommandType": {
|
|
||||||
"type": "integer",
|
|
||||||
"oneOf": [
|
|
||||||
{
|
|
||||||
"title": "CHAT",
|
|
||||||
"description": "Slash commands; a text-based command that shows up when a user types /",
|
|
||||||
"const": 1
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"title": "USER",
|
|
||||||
"description": "A UI-based command that shows up when you right click or tap on a user",
|
|
||||||
"const": 2
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"title": "MESSAGE",
|
|
||||||
"description": "A UI-based command that shows up when you right click or tap on a message",
|
|
||||||
"const": 3
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"format": "int32"
|
|
||||||
},
|
|
||||||
"ApplicationCommandUpdateRequest": {
|
"ApplicationCommandUpdateRequest": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -10731,7 +10715,7 @@
|
||||||
"type": "null"
|
"type": "null"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/ApplicationCommandType"
|
"$ref": "#/components/schemas/ApplicationCommandApplicationCommandType"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -10760,7 +10744,7 @@
|
||||||
],
|
],
|
||||||
"allOf": [
|
"allOf": [
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/ApplicationCommandOptionType"
|
"$ref": "#/components/schemas/ApplicationCommandOptionTypeScopeApplicationCommandOptionType"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
|
@ -10822,7 +10806,7 @@
|
||||||
],
|
],
|
||||||
"allOf": [
|
"allOf": [
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/ApplicationCommandOptionType"
|
"$ref": "#/components/schemas/ApplicationCommandOptionTypeScopeApplicationCommandOptionType"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
|
@ -17868,20 +17852,6 @@
|
||||||
],
|
],
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
},
|
},
|
||||||
"GuildScheduledEventUserResponses": {
|
|
||||||
"type": "integer",
|
|
||||||
"oneOf": [
|
|
||||||
{
|
|
||||||
"title": "UNINTERESTED",
|
|
||||||
"const": 0
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"title": "INTERESTED",
|
|
||||||
"const": 1
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"format": "int32"
|
|
||||||
},
|
|
||||||
"GuildStickerResponse": {
|
"GuildStickerResponse": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -24795,16 +24765,6 @@
|
||||||
"guild_scheduled_event_id": {
|
"guild_scheduled_event_id": {
|
||||||
"$ref": "#/components/schemas/SnowflakeType"
|
"$ref": "#/components/schemas/SnowflakeType"
|
||||||
},
|
},
|
||||||
"guild_scheduled_event_exception_id": {
|
|
||||||
"oneOf": [
|
|
||||||
{
|
|
||||||
"type": "null"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"$ref": "#/components/schemas/SnowflakeType"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"user_id": {
|
"user_id": {
|
||||||
"$ref": "#/components/schemas/SnowflakeType"
|
"$ref": "#/components/schemas/SnowflakeType"
|
||||||
},
|
},
|
||||||
|
@ -24827,15 +24787,11 @@
|
||||||
"$ref": "#/components/schemas/GuildMemberResponse"
|
"$ref": "#/components/schemas/GuildMemberResponse"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
|
||||||
"response": {
|
|
||||||
"$ref": "#/components/schemas/GuildScheduledEventUserResponses"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
"guild_scheduled_event_id",
|
"guild_scheduled_event_id",
|
||||||
"user_id",
|
"user_id"
|
||||||
"response"
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"SelectOption": {
|
"SelectOption": {
|
||||||
|
|
Loading…
Reference in a new issue