botrix-npm
v0.1.4
Published
The official npm wrapper for Botrix.cc
Downloads
14
Readme
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()