next() Packaged Middleware

    tealist

    0.0.5 • Public • Published

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

    Keywords

    Install

    npm i tealist

    DownloadsWeekly Downloads

    5

    Version

    0.0.5

    License

    ISC

    Unpacked Size

    2.32 kB

    Total Files

    3

    Last publish

    Collaborators

    • teacup99