UNPKG

akira.js

Version:

An api wrapper for Akira list API

25 lines (19 loc) 559 B
#### Instalation To install this package please run `npm install akira.js` #### Example of usage ```js const botlist = require("akira.js"); const dbl = new botlist("TOKEN-HERE", client); client.on("ready", async () => { dbl.serverCount(); // console.log("Server count posted" ) let hasVote = await dbl.hasVoted("852709327096774667"); if(hasVote === true) { console.log("Voted"); } else { console.log("Vote please."); } let botInfo = await dbl.botInfo("852709327096774667"); console.log(search); });```