braxybots-utils
v1.0.4
Published
A collection of utility functions for interacting with Braxy Bots List on Discord Platform!
Downloads
7
Maintainers
Readme
npm i braxybots-utils
-- Javascript Language Example:
const BraxyBots = require("braxybots-utils");
const botlist = new BraxyBots("BRAXYBOTS_BOT_TOKEN", client);
client.on("ready", async () => {
botlist.stats(); // Post the new bot stats
let hasVote = await botlist.hasVoted("USERS_ID");
if (hasVote === true) {
console.log("Voted");
} else {
console.log("Please vote.");
}
let result = await botlist.search("LISTEDBOT_ID");
console.log(result);
});
Support: https://braxybots.eu.org/dc
NPM: npmjs.com/package/braxybots-utils