1.0.6 • Published 3 years ago

disbotapi v1.0.6

Weekly downloads
163
License
ISC
Repository
github
Last release
3 years ago

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.)


1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.2

3 years ago

1.0.3

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago