wixbots
v1.0.2
Published
A official wixbots.cf api
Downloads
2
Maintainers
Readme
wixbots-api
Support: https://wixbots.cf/dc NPM: npmjs.com/package/wixbots
Installation
If you have trouble with the installation, please feel free to visit our discord address.
npm i wixbots
const mbot = require("wixbots");
const dbl = new mbot("TOKEN-HERE", client);
client.on("ready", async () => {
dbl.serverCount();
// console.log("Server count posted")
let hasVote = await dbl.hasVoted("BOTID-HERE");
if(hasVote === true) {
console.log("Voted")
} else {
console.log("Vote please.")
}
let search = await dbl.search("BOTID-HERE")
console.log(search)
/*
{
avatar: '',
botID: '',
username: '',
discrim: '',
shortDesc: '',
prefix: '',
votes: 1,
ownerID: '',
owner: '',
coowners: [ '' ],
tags: [ 'Moderation', 'NSFW', 'Music' ],
longDesc: longDesc,
certificate: 'Certified'
}
*/
});