tealist
v0.0.5
Published
The API for Tea-List.glitch.me
Downloads
4
Readme
WWelcome to the Tea List API
- For more info go to the Docs or look below
Send Bots Server Count
const TeaListApi = require('tealist');
let api = new TeaListApi('API Key');
client.on('ready', ()=> {
api.postServers(client.user.id, client.guilds.size);
setInterval(function() {
api.postServers(client.user.id, client.guilds.size);
}, 900000);
});
Get an Bots info
let ID = "BOTS ID";
client.on('ready', ()=> {
api.getBotInfo(ID).then(user => {
console.log(user)
})
});