bot-listweb-api

This api package is for posting server count on bot-listweb.glitch.me

Usage no npm install needed!

<script type="module">
  import botListwebApi from 'https://cdn.skypack.dev/bot-listweb-api';
</script>

README

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();