guitar-api.js
v1.0.1
Published
GuitarHost Server Count For Bot List.
Maintainers
Readme
Installation
If You Are Having Any Kind Of Problem With The Installation, Please Feel Free To Join Our Support Server Discord.
npm i guitar-api.js
const GuitarHost = require("guitar-api.js");
const dbl = new GuitarHost("TOKEN-HERE", client);
client.on("ready", async () => {
dbl.serverCount();
// console.log("Server count posted")
let hasVote = await dbl.hasVoted("834847658660069396");
if(hasVote === true) {
console.log("Voted")
} else {
console.log("Vote please.")
}
let search = await dbl.search("834847658660069396")
console.log(search)
/*
{
avatar: 'https://cdn.discordapp.com/avatars/779641401482805289/8cf145d2189d76cc110101b7a69c6b20.webp',
botID: '834847658660069396',
username: 'Alix',
discrim: '3047',
shortDesc: 'Alix Bot The Best Moderation Bot For Discord 😉',
prefix: '!! or Custom',
votes: 5,
ownerID: '597822927198748686',
owner: 'ʳᵒʸᵃˡ| 𝓐𝔂𝓾𝓾♥ |ᵇⁱʳᵈˢ',
coowners: [ '' ],
longDesc: longDesc,
certificate: 'Certified'
}
*/
});