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.

The content of this response varies.

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

{
    "hasVoted": [],
    "hasVoted24": [],
    "votes": 0,
    "votes24": 0,
    "votesMonth": 0
}

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

The content of this response varies.

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.

{ message: 'Server count successfully updated.' }

Last updated