Official module for interacting with the botlist.xyz API
npm install blapi.js
const BL = require('blapi.js')
const Discord = require('discord.js')
const client = new Discord.Client()
const bl = new BL('BL Token', client)
// Events
bl.on('posted', () => {
console.log('Succesfully posted!')
})
bl.on('error', err => {
console.error(`Oops! ${err}`)
})
// Usage
client.on('ready', () => {
bl.postStats(client.guilds.cache.size, client.shard.id, client.shard.count)//if using sharding
bl.postStats(client.guilds.cache.size) // no sharding
})
being worked on
Performance tweaks
rebranded all tools
Remove unused code
Update Vote api
Simplified the TypeScript files
<<< Not Supported >>>