t-bots

0.0.3 • Public • Published

WWelcome to the T-Bots API

  • For more info go to the Docs or look below

Send Bots Server Count

const Tbot = require('T-Bots');
let api = new Tbot('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)
})
});

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i t-bots

    Weekly Downloads

    1

    Version

    0.0.3

    License

    ISC

    Unpacked Size

    2.41 kB

    Total Files

    4

    Last publish

    Collaborators

    • teacup99