Links

Commands

get
/bot/:id/commands
Get Commands
Parameters
Path
id*
string
It specifies which bot data you will withdraw.
Responses
200: OK
404: Not Found
500: Internal Server Error
post
/bot/:id/commands
Add Command
Parameters
Path
id
It specifies which bot data you will withdraw.
Header
Authorization*
Body
category
Category of command
name*
Name of command
description*
Description of command
syntax*
Usage of command
Responses
200: OK
400: Bad Request
401: Unauthorized
404: Not Found
500: Internal Server Error
post
/bot/:id/commands
Edit Command
Parameters
Path
id
It specifies which bot data you will withdraw.
Header
Authorization*
Body
id*
ID of command
category
Category of command
name*
Name of command
description*
Description of command
syntax*
Usage of command
Responses
200: OK
400: Bad Request
401: Unauthorized
404: Not Found
500: Internal Server Error
delete
/bot/:id/commands/:commandId
Delete Command
Parameters
Path
id
It specifies which bot data you will withdraw.
commandId
Header
Authorization*
Responses
200: OK
400: Bad Request
403: Forbidden
404: Not Found
Last modified 5mo ago