Now, Please Meander

    mbotlist

    1.0.4 • Public • Published

    mikeybotlist

    Join our discord
    Support: https://mbotlist.cf/dc
    NPM: npmjs.com/package/mbotlist

    Installation

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

    • npm i mbotlist
    const mbot = require("mbotlist");
    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'
      }
      */
    });

    Install

    npm i mbotlist

    DownloadsWeekly Downloads

    2

    Version

    1.0.4

    License

    MIT

    Unpacked Size

    3.98 kB

    Total Files

    5

    Last publish

    Collaborators

    • mikey087