1.0.1 • Published 4 years ago
btapi.js v1.0.1
btapi.js
The official api for https://botstemple.glitch.me to post an get bots/users statistics.
Usage Example
const Client = require('btapi.js');
const BTClient = new Client('API_TOKEN', 'BOT_ID');
// If you only need get bot/users info in API_TOKEN and BOT_ID put 1.
// Posting server count.
BTClient.postServers(/*<guilds>*/).then(() => {
console.log("Posted!");
});
BTClient.getBot('id').then((bot) => {
console.log(bot)
})