kurdlist
v2.3.6
Published
A official kurd-botlist.cf api.
Downloads
2
Maintainers
Readme
kurdlist.js
Support: https://www.kurd-botlist.cf/dc NPM: npmjs.com/package/kurdlist
Installation
If you have trouble with the installation, please feel free to visit our discord address.
npm i kurdlist.js
const kurdlist = require("kurdlist");
const dbl = new kurdlist("TOKEN-HERE", client);
client.on("ready", async () => {
dbl.serverCount();
// console.log("Server count posted")
let hasVote = await dbl.hasVoted("838593240328044554");
if(hasVote === true) {
console.log("Voted")
} else {
console.log("Vote please.")
}
let search = await dbl.search("838593240328044554")
console.log(search)
/*
{
avatar: 'https://cdn.discordapp.com/avatars/779641401482805289/8cf145d2189d76cc110101b7a69c6b20.webp',
botID: '838593240328044554',
username: 'Partner Bot',
discrim: '2830',
shortDesc: 'Cheer up your own server with 🎶',
prefix: '! [changable]',
votes: 31,
ownerID: '714451348212678658',
owner: 'Lord',
coowners: [ '' ],
tags: [ 'Moderation', 'NSFW', 'Music' ],
longDesc: longDesc,
certificate: 'Certified'
}
*/
});