An unofficial package used to interact with the Radar Bot Directory API
This package was originally made by Yoshiboi18303, but updated and edited by BritishDev
const Discord = require("discord.js");
const Radar = require("rbd.js");
const client = new Discord.Client({
intents: Object.values(Discord.Intents.FLAGS),
});
const radar = new Radar(client, "Your Radar Bot Directory Token");
client.on("ready", async () => {
console.log("The client is ready!");
console.log(await radar.stats(client.guilds.cache.size));
});
client.login("Your token goes here");
<> = Required [] = Optional
radar.stats(<guild count>, [shards], [autopost = true/false])
console.log(await radar.botWidget())
This package could contain bugs. If you wish to report a bug, join https://discord.gg/dsk7J5CSV5
and ping @BritishDev#9085