gamerbotlist.js

1.0.0 • Public • Published

Installation

  • npm i gamerbotlist.js
const astrabots = require("gamerbotlist.js");
const dbl = new astrabots("TOKEN-HERE", client);

client.on("ready", async () => {
  dbl.serverCount();
  // console.log("Server count posted")
  
  let hasVote = await dbl.hasVoted("REPLACE-WITH-BOT-ID");
  if(hasVote === true) {
    console.log("Voted")
  } else {
    console.log("Vote please.")
  }
  
  
  let search = await dbl.search("REPLACE-WITH-BOT-ID")
  console.log(search)
});

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i gamerbotlist.js

      Weekly Downloads

      1

      Version

      1.0.0

      License

      ISC

      Unpacked Size

      2.17 kB

      Total Files

      3

      Last publish

      Collaborators

      • jlbubbles0920_yt