astrabotseris.js

1.2.1 • Public • Published

Installation

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

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

client.on("ready", async () => {
if(!this.client.guilds.cache && this.client.guilds) this.library = "eris";
  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)
});

Package Sidebar

Install

npm i astrabotseris.js

Weekly Downloads

0

Version

1.2.1

License

ISC

Unpacked Size

2.35 kB

Total Files

3

Last publish

Collaborators

  • luckytarget