A fully working instagram bot using Insta.js by androz2091
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Killian 51d70d21cf Fixed doc 4 years ago
Commands Added bingo 4 years ago
Events Use logger instead of default log + exceptions handling 4 years ago
Helpers Changed all double quote to backticks 4 years ago
Models Added prefix command (dm and groups) 4 years ago
Structure Fixed db for groups 4 years ago
.env.example Fixed myInfos and added help command 4 years ago
.gitignore Eval command + readme fixes 4 years ago
LICENSE Fixed conflict 4 years ago
README.md Fixed doc 4 years ago
config.example.js Eval command + readme fixes 4 years ago
index.js Use logger instead of default log + exceptions handling 4 years ago
package.json Fixed doc 4 years ago

README.md

Instagram Bot

A fully working instagram bot using Insta.js by androz2091

Here is how you can install and use it

Install the MongoDB Server and MongoDB compass

  • Open a command prompt
  • Go to the folder you want using
cd <PATH TO FOLDER>
  • Clone this repository
git clone https://github.com/Mr-KayJayDee/instagram-bot
  • Go to the folder where the bot is cloned
cd instagram-bot
  • Install all dependencies
npm i
  • Rename the .env.example file to .env and fill it with your informations

Your can get your id by doing !myinfos after starting the bot The default mongodb link is mongodb://localhost:27017/Instagram but you can also use a cluster

  • Start the bot
npm start

When you see something like that

Logged in as Full Name (username).
Followers: 67
Following: 57
Business : true
Verified: false
Private: false

it means that the bot is ready to be used. 🎉

Available commands

Bot

  • !ping: Return the bot ping.
  • !help: Return the bot commands list.
  • !eval: Eval a JS code.
  • !prefix: Change the bot's prefix for groups or private chats.

Games

  • !bingo: Find a number between 1 and 100 in 2 minutes. (some bug may appears)

Images

  • !ad: Return an ad image.
  • !affect: Return an affect image.
  • !beautiful: Return a beautiful image.
  • !blur: Return a blured image.
  • !circle: Return a circled image.
  • !confuedStonk: Return a confuedStonk image.
  • !delete: Return a delete image.
  • !facepalm: Return a facepalm image.
  • !gay: Return a gay image.
  • !greyscale: Return a greyscale image.
  • !hitler: Return an hitler image.
  • !invert: Return an invert image.
  • !jail: Return a jail image.
  • !lisaPresentation: Return a lisaPresentation image.
  • !mms: Return a mms image.
  • !notstonk: Return a notstonk image.
  • !poutine: Return a poutine image.
  • !rip: Return a rip image.
  • !sepia: Return a sepia image.
  • !stonk: Return a stonk image.
  • !tatoo: Return a tatoo image.
  • !thomas: Return a thomas image.
  • !trash: Return a trash image.
  • !wanted: Return a wanted image.

Utils

  • !myinfos: Return some informations about you.

Known bugs

  • A story answer return an error (TypeError: Cannot read property 'indexOf' of undefined, same for all system messages)

Future updates

  • Ability to change the prefix on a chat
  • Ability to change the lang
  • Ability to make reminders (working on it)
  • Ability to get the informations about an user

Feel free to make a pull request if you have any edit to do in the code or just open an issue if you don't know how to fix it.

Just open an issue if you have any features suggestions.

Credits

😘 - Thanks to Androz2091 for the Insta.js package.