Misc
Get Bot State
Returns the list of core/builtin commands of the bot
Response Body
application/json
application/json
curl -X GET "https://loading/bot-state"{
"commands": [
{
"description": "string",
"description_localizations": {
"property1": "string",
"property2": "string"
},
"integration_types": 0,
"name": "string",
"name_localizations": {
"property1": "string",
"property2": "string"
},
"nsfw": true,
"options": [
{
"autocomplete": true,
"channel_types": 0,
"choices": [
{
"name": "string",
"name_localizations": {
"property1": "string",
"property2": "string"
},
"value": null
}
],
"description": "string",
"description_localizations": {
"property1": "string",
"property2": "string"
},
"max_length": 0,
"max_value": 0,
"min_length": 0,
"min_value": 0,
"name": "string",
"name_localizations": {
"property1": "string",
"property2": "string"
},
"options": [
{
"autocomplete": true,
"channel_types": 0,
"choices": [
{
"name": "string",
"name_localizations": {
"property1": "string",
"property2": "string"
},
"value": null
}
],
"description": "string",
"description_localizations": {
"property1": "string",
"property2": "string"
},
"max_length": 0,
"max_value": 0,
"min_length": 0,
"min_value": 0,
"name": "string",
"name_localizations": {
"property1": "string",
"property2": "string"
},
"options": [],
"required": true,
"type": 0
}
],
"required": true,
"type": 0
}
],
"type": 0
}
]
}{
"code": "InternalAuthError",
"message": "string"
}Last updated on