1.1.0 • Published 3 years ago
scarpsbotlist v1.1.0
What is this ?
SCARPS Bot List API "Vote"
Installation
npm i scarpsbotlist
If you have trouble with the installation, please feel free to visit our discord : https://discord.gg/XQhdYjzTrT
const scarpsbotlist = require("scarpsbotlist.js");
const dbl = new scarpsbotlist("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)
});