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.

116 lines
2.9 KiB
Markdown

4 years ago
# Instagram Bot
### A fully working instagram bot using [Insta.js](https://github.com/Androz2091/insta.js) by [androz2091](https://github.com/Androz2091)
4 years ago
Here is how you can install and use it
[Install the MongoDB Server and MongoDB compass](https://www.mongodb.com/)
4 years ago
- Open a command prompt
- Go to the folder you want using
```bash
cd <PATH TO FOLDER>
4 years ago
```
- Clone this repository
```bash
git clone https://github.com/Mr-KayJayDee/instagram-bot
```
- Go to the folder where the bot is cloned
```bash
cd instagram-bot
```
- Install all dependencies
```bash
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
4 years ago
- Start the bot
```bash
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.
4 years ago
## Games
4 years ago
- !bingo: Find a number between 1 and 100 in 2 minutes.
4 years ago
## 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.
4 years ago
- !hitler: Return a "worse than Hilter" meme.
- !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.
4 years ago
- !poutine: Return a poutine meme 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)
4 years ago
- The chatUserAdd event return an error (IgResponseError: POST /api/v1/direct_v2/threads/broadcast/text/ - 500 Internal Server Error;)
# 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](https://github.com/Androz2091) for the [Insta.js](https://github.com/Androz2091/insta.js) package.