Support: https://dbots.online/dc
NPM: npmjs.com/package/dbots.online
If you have trouble with the installation, please feel free to visit our discord address.
npm i dbots.online
const Discord = require("discord.js");
const client = new Discord.Client();
const dbots = require("dbots.online");
const dbl = new dbots("TOKEN-HERE", client);
client.login("BotToken");
client.on("ready", async () => {
dbl.serverCount();
/*
-> Server count posted.
or
-> Server count & shard count posted.
*/
});
let hasVote = await dbl.hasVoted("671390595184459782"); // -> User ID
if(hasVote === true) {
console.log("Voted")
} else {
console.log("Vote please.")
}
// -> Vote please.
let botFind = await dbl.search("842752825888342056");
console.log(botFind.username) // -> Allegro
Support: https://dbots.online/dc
Package: pypi.org/project/dbots.py/
If you have trouble with the installation, please feel free to visit our discord address.
pip install bhbotlist
from dbots.py import dbots
from discord.ext import commands
client = commands.Bot(command_prefix="!")
dbl = dbots(client,"token of dbots")
@client.event
async def on_ready():
await dbl.serverCountPost()
print("Posted")
client.run("token")
Come talk to us here: