NPM: npmjs.com/package/dscbots-tk


Installation
If you have trouble with the installation, please feel free to visit our discord address.
1. Does it have any GitHub Repository?
Ans: Yes It Is Here
2. What is it's uses?
Ans: To get the daily vote count, server count and information about your bot.
Examples: avatar, botID, discriminator, shortDescription, prefix, votes, serverCount, ownerID, owner, co-owners, tags, longDescription, certificate etc.
3. How can I get my bot's server count?
Ans: JavaScript:
const dscbots = require("dscbots-tk");
const dsl = new disbots("TOKEN-HERE", client);
client.on("ready", async () => {
dsl.serverCount();
console.log("Server count posted")
4. How can I get my bot's vote count?
Ans:
let hasVote = await dsl.hasVoted("Your-bot-id");
if(hasVote === true) {
console.log("Voted")
} else {
console.log("Vote please.")
}
let search = await dsl.search("Your-bot-id")
console.log(search)
5. Full Example?
Ans:
const dscbots = require("dscbots-tk");
const dsl = new disbots("TOKEN-HERE", client);
client.on("ready", async () => {
dsl.serverCount();
console.log("Server count posted")
let hasVote = await dsl.hasVoted("your-bot-id");
if(hasVote === true) {
console.log("Voted")
} else {
console.log("Vote please.")
}
let search = await dsl.search("Your-bot-id")
console.log(search)
});
Questions?
Come talk to us here:
