node.js package
Offical docs for the discord-botlist.eu node package
Install
npm i @dbleu/nodeGetting started
const API = require("@dbleu/node")
const dbleu = new API("Your API-Token")
// Get an array with all dates when the bot was voted for
dbleu.getVotes().then(votes => {
console.log(votes)
})
// Get the current information about the bot
dbleu.ping().then(data => {
console.log(data)
})
// Update the bot stats
dbleu.updateStats(serverCount).then(data => {
console.log(data)
})Last updated