Commands
Get Commands
GET
/bot/:id/commands
Path Parameters
Name | Type | Description |
---|---|---|
id* | string | It specifies which bot data you will withdraw. |
Add Command
POST
/bot/:id/commands
Path Parameters
Name | Type | Description |
---|---|---|
id | String | It specifies which bot data you will withdraw. |
Headers
Name | Type | Description |
---|---|---|
Authorization* | String |
Request Body
Name | Type | Description |
---|---|---|
name* | String | Name of command |
description* | String | Description of command |
syntax* | String | Usage of command |
category | String | Category of command |
Edit Command
POST
/bot/:id/commands
Path Parameters
Name | Type | Description |
---|---|---|
id | String | It specifies which bot data you will withdraw. |
Headers
Name | Type | Description |
---|---|---|
Authorization* | String |
Request Body
Name | Type | Description |
---|---|---|
id* | String | ID of command |
category | String | Category of command |
name* | String | Name of command |
description* | String | Description of command |
syntax* | String | Usage of command |
Delete Command
DELETE
/bot/:id/commands/:commandId
Path Parameters
Name | Type | Description |
---|---|---|
id | String | It specifies which bot data you will withdraw. |
commandId | String |
Headers
Name | Type | Description |
---|---|---|
Authorization* | String |
Last updated