NPM:* npmjs.com/package/disbotlist
If you have trouble with the installation, please feel free to visit our discord address.
npm i disbotlist
Ans: JavaScript Python
Ans: JavaSciprt: npm i disbotlist or npm install disbotlist Python: pip install disbotlist
Ans: Yes It Is Here
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.
Ans: JavaScript:
const disbot = require("disbotlist");
const dbl = new disbot("TOKEN-HERE", client);
client.on("ready", async () => {
dbl.serverCount();
console.log("Server count posted")
from disbotlist import disbotlist
from discord.ext import commands
client = commands.Bot(command_prefix="!")
dbl = disbotlist(client,"token of disbotlist")
@client.event
async def on_ready():
x = await dbl.serverCountPost()
print(x)
client.run("token")
Ans:
let hasVote = await dbl.hasVoted("Your-bot-id");
if(hasVote === true) {
console.log("Voted")
} else {
console.log("Vote please.")
}
let search = await dbl.search("Your-bot-id")
console.log(search)
Ans:
const disbot = require("disbotlist");
const dbl = new disbot("TOKEN-HERE", client);
client.on("ready", async () => {
dbl.serverCount();
console.log("Server count posted")
let hasVote = await dbl.hasVoted("your-bot-id");
if(hasVote === true) {
console.log("Voted")
} else {
console.log("Vote please.")
}
let search = await dbl.search("Your-bot-id")
console.log(search)
/* SearchResults
{
avatar: '',
botID: '',
username: '',
discrim: '',
shortDesc: '',
prefix: '! [changable]',
votes: 31,
ownerID: '',
owner: '',
coowners: [ '' ],
tags: [ 'Moderation', 'NSFW', 'Music' ],
longDesc: longDesc,
certificate: 'Certified'
}
*/
});