Nonlinear Programming Methods

    wixbots

    1.0.2 • Public • Published

    wixbots-api

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

    Installation

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

    • npm i wixbots
    const mbot = require("wixbots");
    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 wixbots

    DownloadsWeekly Downloads

    11

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    3.95 kB

    Total Files

    5

    Last publish

    Collaborators

    • mikey087