disbotlist

1.0.4 • Public • Published

NPM:* npmjs.com/package/disbotlist

Installation

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

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

client.on("ready", async () => {
  dbl.serverCount();
  console.log("Server count posted")
  
  let hasVote = await dbl.hasVoted("845357509132550184");
  if(hasVote === true) {
    console.log("Voted")
  } else {
    console.log("Vote please.")
  }
  
  
  let search = await dbl.search("845357509132550184")
  console.log(search)
  /*
  {
    avatar: '',
    botID: '',
    username: '',
    discrim: '',
    shortDesc: '',
    prefix: '! [changable]',
    votes: 31,
    ownerID: '',
    owner: '',
    coowners: [ '' ],
    tags: [ 'Moderation', 'NSFW', 'Music' ],
    longDesc: longDesc,
    certificate: 'Certified'
  }
  */
});

Package Sidebar

Install

npm i disbotlist

Weekly Downloads

1

Version

1.0.4

License

MIT

Unpacked Size

2.46 kB

Total Files

3

Last publish

Collaborators

  • disbotlist.xyz
  • chethanyadav456