Bots

Bot

GET https://discords.com/bots/api/bot/:id

Path Parameters

NameTypeDescription

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

NameTypeDescription

id

integer

The ID of the bot you are requesting voting information on.

Headers

NameTypeDescription

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

NameTypeDescription

id

integer

The ID of the bot you are requesting information on.

Query Parameters

NameTypeDescription

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

NameTypeDescription

id

integer

The ID of the bot you are posting information about.

Headers

NameTypeDescription

Authorization

string

The bot's API token.

Request Body

NameTypeDescription

server_count

number

The server count for the bot.

{ message: 'Server count successfully updated.' }

Last updated