Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

shieldbotlistapi

Shield-Bot-List15ISC1.0.2

Hey, welcome to the Shield Bot List API. Lets get straight to the point!

sbk, shieldbot, shieldbotkit, shieldbotkit-api, shieldbotkit-api-shieldbotlist, shieldbotlist, sbl, api, sblapi

readme

Shield Bot List API

Hey, welcome to the Shield Bot List API. Lets get straight to the point!

Authors

Support

For support, you may create a private ticket or go in the help channel in our discord.

Discord: https://discord.gg/rmZkZPR5CX

Usage/Examples

Server Count Post

const APIs = require('shieldbotlistapi');
// client should be defined as your discord client.
const serverCountAPI = new APIs.serverCountAPI('authtoken', client);
serverCountAPI.init().then(response => console.log(response));
// If you want to get a json response, you can do JSON.parse() method

Get Likes Last 24 hours


const likeAPI = new APIs.likeApi('authtoken', client);
likeAPI.init().then(textRep => {
    const response = JSON.parse(textRep);
    console.log(response.users.length);
});
// parse it so you can access JSON props.

Thank you for using Shield Bot List

changelog

1.0.1

Add Legacy Modes

1.0.2

Fixed me being a stupid.