whiteclue.dbots
v1.1.1
Published
API for posting server count in dbots.ml
Downloads
10
Maintainers
Readme
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)
});