Bots
Bot
GET
https://discords.com/bots/api/bot/:id
Path Parameters
Name | Type | Description |
---|---|---|
id | integer | The ID of the bot you are requesting information about. |
Votes
GET
https://discords.com/bots/api/bot/:id/votes
Path Parameters
Name | Type | Description |
---|---|---|
id | integer | The ID of the bot you are requesting voting information on. |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | The bot's API token. |
Content-Type | string | This should be set to application/json |
Widget
GET
https://discords.com/bots/api/bot/:id/widget
Path Parameters
Name | Type | Description |
---|---|---|
id | integer | The ID of the bot you are requesting information on. |
Query Parameters
Name | Type | Description |
---|---|---|
theme | string | Set this to dark for a dark themed widget |
width | number | Set the width of the widget |
Server Count
POST
https://discords.com/bots/api/bot/:id
Path Parameters
Name | Type | Description |
---|---|---|
id | integer | The ID of the bot you are posting information about. |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | The bot's API token. |
Request Body
Name | Type | Description |
---|---|---|
server_count | number | The server count for the bot. |
Last updated