botrix-npm

0.1.4 • Public • Published

The official package for the botrix API

npm i botrix-npm

Useage

This is a simple example on how you can get the user object. More info on user object

const botrix_ = require('botrix-npm');
 
var botrix = new botrix_();
 
 
(async function ()  {
    console.log(await botrix.getUser("222042705285480448"))
})();

Get bot method

botrix.getBot("721013842200756276")

Get queue method.. Returns the queue of the current bots.

botrix.getQueue()

/botrix-npm/

    Package Sidebar

    Install

    npm i botrix-npm

    Weekly Downloads

    2

    Version

    0.1.4

    License

    ISC

    Unpacked Size

    2.71 kB

    Total Files

    4

    Last publish

    Collaborators

    • windowscmd