Bots
Ping Uptime
POST
/bot/:id/uptime
Allows you to ping the API - Displays the last time you pinged on your bot profile i.e "Last Ping: 2 minutes ago"
Headers
Content-Type
application/json
Authorization
Bearer <token>
Response
{
"message": "Bot has been temporarily blocked due to sending too many requests"
}
{
"error": "Ping blocked, cannot be within 2 minutes of last."
}
Post Commands
POST
/bot/:id/commands
Allows you to list your slash or text commands on your page
Headers
Content-Type
application/json
Authorization
Bearer <token>
Body
commands
array
Array of your commands - slash or text
Response
{
"message": "Success"
}
Post Stats
POST
/bot/:id/stats
Allows you to post your Guild and Shard count to your bot's page Recommended: Put post request in your bot's ready event
Path Parameters
id
string
ID of your Bot
Headers
Authentication/Authorization
string
Your API key
Request Body
shards
integer
Amount of shards your bot has
guilds*
integer
Amount of servers your bot is in
{
message: "Success"
}
Find Individual Bot
GET
/bot/:id/
Path Parameters
id/vanity*
string
The ID or Vanity of Specific Bot
{
"longdescription": "Setup a channel and send your ad, Global Advertising will echo your ad across many servers.\n\nUse g!link to get started!",
"shortdescription": "Global Advertising is the perfect way to get your ad more exposure",
"prefix": "g!",
"category": "Ad",
"ownerid": "381710555096023061",
"id": "843661607346765864",
"name": "Global Advertising",
"votes": 0,
"website": "",
"guilds": "???",
"verified": true
}
Vote Notification
POST
{
"user": <ID of user that voted>,
"type": 'vote',
"bot": <ID of your bot>
}
Fetch Individual Bot Reviews
GET
/:id/reviews
Path Parameters
id
string
ID of Specific Bot
{
"reviews": [
{
"content": "Works like a charm. Best Minecraft bot you can invite",
"stars": "5",
"botid": "712808436588347443",
"userid": "381710555096023061"
},
{
"botid": "712808436588347443",
"content": "Good bot",
"stars": "4",
"userid": "704790614755246212"
}
]
}
Last updated