/follower-counter

The simplest script to get the number of followers of a Instagram page and apply it to a discord voice channel.

Primary LanguageJavaScriptMIT LicenseMIT

logo Join Community Badge Pull Requests Badge Issues Badge License Badge Commitizen friendly

🤖 Follower counter bot

is a Discord Bot built with discord.js 12.5.3 & uses request module from request - npm

Requirements

  1. Discord Bot Token Guide
  2. Node.js 16.9 or newer

🚀 Getting Started

Step one:

Download the ZIP from the github or clone the repository using "git clone https://github.com/SadraKhorami/follower-counter.git".

Step two:

Unpack the ZIP.

Step three:

Open a console and type "npm install" commands.

After installation finishes follow configuration instructions then run node index.js Or node . to start the bot.

⚙️ Configuration

Copy or Rename config.json.example to config.json and fill out the values:

⚠️ Note: Never commit or share your token or Cookies data publicly ⚠️

{
  "token": "your disocrd bot token",
  "vchannel": "The channel where the number of followers is to be displayed.",
  "username": "Instagram username, to get the number of followers.",
    
  "x-csrftoken": "",

  "rur": "",
  "shbid": "",
  "csrftoken": "",
  "shbts": "",
  "sessionid": "",
  "ds_user_id": "",
  "ig_did": "",
  "mid": ""
}

To define cookie data, just install the Cookie Tab Viewer plugin in your browser and then open your Instagram page in the browser and copy the datas with this plugin | Cookie Tab Viewer - chrome extension

📝 Author

Sadra Khorami | If you have any problems or questions, be sure to join our Discord server.