1.0.0 • Published 3 years ago
scarpsbots v1.0.0
What is this ?
SCARPS Bot List API "Vote"
Installation
npm i scarpsbots
If you have trouble with the installation, please feel free to visit our discord : https://discord.gg/XQhdYjzTrT
const scarpsbots = require("scarpsbots.js");
const dbl = new astrabots("TOKEN-HERE", client);
client.on("ready", async () => {
dbl.serverCount();
// console.log("Server count posted")
let hasVote = await dbl.hasVoted("223426469815255044");
if(hasVote === true) {
console.log("Voted")
} else {
console.log("Vote please.")
}
let search = await dbl.search("857450106600161280")
console.log(search)
});
1.0.0
3 years ago