1.1.1 • Published 3 years ago

blapi.js v1.1.1

Weekly downloads
3
License
ISC
Repository
-
Last release
3 years ago

Botlist.xyz API | cblapi

Official module for interacting with the botlist.xyz API

Installation

npm install blapi.js

Example

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

Documentation

being worked on

Changelog

v1.1.0

Performance tweaks

v1.1.0-prebuild

rebranded all tools

v1.0.9

Remove unused code Update Vote api Simplified the TypeScript files

v1.0.8 and below

<<< Not Supported >>>

1.1.1

3 years ago

1.1.0-prebuild

3 years ago

1.1.0

3 years ago