1.1.1 • Published 3 years ago

whiteclue.dbots v1.1.1

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

Support: https://discord.gg/XmMU6PXN9t

BotList: https://dbots.ml/

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

npm i whiteclue.dbots

const dbots = require("whiteclue.dbots");
const dbl = new dbots("TOKEN-HERE", client);

client.on("ready", async () => {
  dbl.serverCount(); // => Note: You can only use this package for discord.js use
  // console.log("Server count posted")
  
  let hasVote = await dbl.hasVoted("714451348212678658");
  if(hasVote === true) {
    console.log("Voted")
  } else {
    console.log("Vote please.")
  }
  
  
  let search = await dbl.search("779641401482805289")
  console.log(search)
  
});