An Instagram-Discord bot that provides notifications to Discord channels when a specified Instagram fan page makes a new post. The bot automatically checks for new posts at set intervals and when a new post is found, it will post to Discord the details & hyperlink to the Instagram page.
- Ensure Python 3.7 and
pipenv
are installed - Activate the virtual environment with
pipenv shell
inside the folder directory - Install the dependencies with
pipenv install
- Create the
.env
by using.env.example
as a reference viacp .env.example .env
- Update the
.env
with the following information:
- DISCORD_TOKEN: secret token of your Discord bot
- CHANNEL_NAME: name of the channel where the bot resides and where you want it to post updates
- INSTAGRAM_PAGE_URL: url address of the instagram account
- Run the bot with
python app.py
- python 3.7
- pipenv
- beautifulsoup4
- requests
- discord-py
- asyncio
- python-dotenv