API

The API has a single endpoint that allows you to get info from bots.

Get bot

GET https://bots.phodit.xyz/bot/:id

Get information about a bot.

Path Parameters

Name
Type
Description

ID

string

The ID of the bot to get.

{
    id: 'ID',
    owner: 'ID'
    collaborators: 'Array inside a string',
    prefix: 'string',
    description: 'string',
    invitelink: 'string',
    supportserver: 'string'
    website: 'string',
    library: 'string',
    votes: 'numeric string',
    addedat: 'numeric string (date in ms)'
}

Vote for a bot

POST https://bots.phodit.xyz/bot/:id/vote

Vote for a vote (you can only vote for each one every 12 hours).

Path Parameters

Name
Type
Description

ID

string

The ID of the bot to vote for.

Headers

Name
Type
Description

Authorization

string

Your account token. You can find out how to get one in the Official Bot sectio

Last updated

Was this helpful?