🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

bbl-api

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bbl-api

The official bladebotlist.xyz's api to post your server count easly and interact with the bladebotlist api

latest
Source
npmnpm
Version
0.1.1
Version published
Maintainers
1
Created
Source

Welcome to bbl-api 👋

Version Documentation Maintenance License: mit Twitter: bladebotlist

The official bladebotlist.xyz's api to post your server count easly and interact with the bladebotlist api

🏠 Homepage

Install

npm install bbl-api

Usage

const BBL = require("bbl-api");
const client = new BBL(
    "BOT ID", // BOT_ID
    "THE API KEY", // API_KEY, use bbl!key gen on the discord server
    {
        server_count: "2",
        interval: 300000,
    });


client.on("ready", () => console.log("Client is started !")); // when the module is loaded and ready to post data

client.on("debug", (log) => console.log(log))

client.on("update", () => console.log("Stats updated !")); // autopost or manual post

client.on("error", (error) => console.log(`Something was wrong when the module has posted stats: ${error}`)); // complete reports about errors like invalid api key or bot id

you can also checkout the exemples directory where you can see some examples :P

Author

👤 HiiZun

🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page. You can also take a look at the contributing guide.

Show your support

Give a ⭐️ if this project helped you!

📝 License

Copyright Š 2020 HiiZun.
This project is MIT licensed.

Keywords

bbl

FAQs

Package last updated on 28 Oct 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts