NPM: npmjs.com/package/disbots-xyz
If you have trouble with the installation, please feel free to visit our discord address.
npm i disbots-xyz
Ans: JavaScript Python
Ans: JavaSciprt: npm i disbots-xyz or npm install disbots-xyz Python: pip install disbots
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 disbots = require("disbots-xyz");
const dbl = new disbots("TOKEN-HERE", client);
client.on("ready", async () => {
dbl.serverCount();
console.log("Server count posted")
from disbots import disbots
from discord.ext import commands, tasks
client = commands.Bot(command_prefix="!")
dbl = disbots(client,"token of disbots")
@tasks.loop(minutes = 10)
async def postservercount():
await dbl.serverCountPost()
@client.event
async def on_ready():
postservercount.start()
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 disbots = require("disbots-xyz");
const dbl = new disbots("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: 25,
ownerID: '',
owner: '',
coowners: [ '' ],
tags: [ 'Moderation', 'NSFW', 'Music' ],
longDesc: longDesc,
certificate: 'Certified'
}
*/
});
Come talk to us here: