PUT
/api/v1/bot/commands.phpBulk upsert global slash commands
Request Body
application/json
[
{
"name": "example",
"description": "string",
"options": [
[]
]
}
]Example Request
cURL
curl -X PUT 'https://nexuschatly.com/api/v1/bot/commands.php' \
-H 'Authorization: Bot nx_bot_...' \
-H 'Content-Type: application/json' \
-d '[
{
"name": "example",
"description": "string",
"options": [
[]
]
}
]'Responses
200Successful response400Error response401Error response403Error response429Error response