1.0.6 • Published 3 years ago
disbotapi v1.0.6
Disbot.top API
The disbot.top js library for the disbot API.
Support
Installation
npm i disbotapi
Ratelimits
You can POST Server and Shard Count stats once every 5 minutes
Updating Server Count
const disbotapi = require("disbotapi")
client.on("ready", () => {
const disbot = new disbotapi(client.user.id, "bot-auth-token", false) // BOOLEAN IS FOR DEBUG MODE
setInterval(() => {
disbot.updateStats(client.guilds.cache.size)
}, 300000)
})
Where can I find the auth token?
You can find your auth token via the API page on the disbot.top website
https://disbot.top/api/bottokens (Ensure you're logged in.)