3.0.8 • Published 1 month ago

bhbotlist.js v3.0.8

Weekly downloads
-
License
MIT
Repository
github
Last release
1 month ago

bhbotlist.js

Support: https://bhlist.co.in/dc NPM: npmjs.com/package/bhbotlist.js

Installation

If you have trouble with the installation, please feel free to visit our discord address.

  • npm i bhbotlist.js

Define Module & Client

const Discord = require("discord.js");
const client = new Discord.Client();
const bhbotlist = require("bhbotlist.js");
const dbl = new bhbotlist("TOKEN-HERE", client);

client.login("BotToken");

Server Count & Shard Count Posting

client.on("ready", async () => {
  dbl.serverCount();
  /* 
  -> Server count posted. 
  or 
  -> Server count & shard count posted.
  */

});

Vote Checking

let hasVote = await dbl.hasVoted("714451348212678658"); // -> User ID
  if(hasVote === true) {
      console.log("Voted")
    } else {
      console.log("Vote please.")
  }
// -> Vote please.

Search on bhbotlist

let botFind = await dbl.search("779641401482805289");
console.log(botFind.username) // -> Allegro
3.0.8

1 month ago

3.0.7

1 year ago

3.0.6

2 years ago

3.0.5

2 years ago

3.0.4

2 years ago

3.0.3

2 years ago

3.0.2

2 years ago

3.0.1

2 years ago

1.0.2

3 years ago

1.0.1

3 years ago