1.0.2 • Published 4 years ago
bot-listweb-api v1.0.2
botlist-web-api
official module to interact with bot-listweb api
Installation
npm i bot-listweb-api
Example
Example of posting server count with Discord.js
const Discord = require("discord.js");
const client = new Discord.Client();
const BW = require("bot-listweb-api");
const botlistApi = new BW("Your token", client);
Example of posting server count manually with Discord.js
const Discord = require("discord.js");
const client = new Discord.Client();
const BW = require("bot-listweb-api");
const botlistApi = new BW("Your token", client);
botlistApi.apiPost();