1.0.0 • Published 4 years ago

dbl.cf v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

vcodes.js

Support: https://vcodes.xyz/dc

NOT: MODÜL VCODES'A AİTTİR

Installation

If you have trouble with the installation, please feel free to visit our discord address.

  • npm i dbl.js
const dbl = require("dbl.js");
const dbl = new dbl("TOKEN-HERE", client);

client.on("ready", async () => {
  dbl.serverCount();
  // console.log("Server count posted")
  
  let hasVote = await dbl.hasVoted("859100202119200769");  //bot id
  if(hasVote === true) {
    console.log("Voted")
  } else {
    console.log("Vote please.")
  }
  
  
  let search = await dbl.search("859100202119200769")    //bot id
  console.log(search)
  /*
  {
    avatar: 'https://cdn.discordapp.com/avatars/859100202119200769/8cf145d2189d76cc110101b7a69c6b20.webp',
    botID: '859100202119200769',
    username: 'Discord BotList',
    discrim: '1915',
    shortDesc: 'The Offical Discord BotList Bots',
    prefix: '!',
    votes: 31,
    ownerID: '673802320454352917',
    owner: '! `Kerem®#3131',
    coowners: [ '' ],
    tags: [ 'Moderation', 'NSFW', 'Music' ],
    longDesc: longDesc,
    certificate: 'Certified'
  }
  */
});