1.0.4 • Published 3 years ago
botcordtop.js v1.0.4
NPM: npmjs.com/package/botcordtop.js
Installation
npm i botcordtop.js
If that does not work try npm install botcordtop.js
This would be to update the server count on BOTCORD
const dbct = require("botcordtop.js");
const dbt = new dbct("TOKEN_HERE", client);
client.on("ready", async () => {
dbt.serverCount();
console.log("[BOTCORD.TOP] - Server Count Updated!")
Check to see if the author has voted on the bot recently!
let hasVote = await dbt.hasVoted("DISCORD_BOT_CLIENT_ID");
if(hasVote === true) {
console.log("[BOTCORD.TOP] - Bot voted recently.")
} else {
console.log("[BOTCORD.TOP] - Please vote on the Bot.")
}
If you are still having issue's please join our DISCORD
❤️ System Developers ❤️