gamerbotlist.js
v1.0.0
Published
An official Gamer1 Bot List api that you can get your latest information on the website!
Downloads
6
Maintainers
Readme
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)
});