radarcord.js

1.0.4 • Public • Published

radarcord.js

The official API wrapper for the botlist Radarcord.

Installation

npm install radarcord.js

Usage

// Import
const { rjs } = require('radarcord.js');

// Declare
const radar = new rjs(<client>, "TOKEN");

// Post Guild Stats
console.log(await radar.post(client.guilds.cache.size));
// Success

// Get Bot Information
const info = await radar.getBot("ID");
/*
{
    longdescription: "",
    shortdescription: "",
    prefix: "",
    category: [],
    ownerid: "",
    id: "",
    name: "",
    votes: 0,
    website: "",
    guilds: 0,
    verified: true/false
}
*/

// Get User Information
const user = await radar.getUser("ID");
/*
{
    username: "abcdefgh",
    id: 0000000,
    bots: []
}
*/

// Get Bot Reviews
const reviews = await radar.getReviews("BOTID");
/*
{
    reviews: []
}
*/

Documentation

Can be found here

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i radarcord.js

    Weekly Downloads

    3

    Version

    1.0.4

    License

    ISC

    Unpacked Size

    3.4 kB

    Total Files

    3

    Last publish

    Collaborators

    • yoshiboi18303
    • scorpacula
    • knox3039