- Track stock notifications (India Only)
- Create Trade Channels
- Obtain a Discord bot token from the Discord developer portal
- Install all the required modules with:
pip install -r requirements.txt
- Create a .env similiar to the .env sample.
- Chrome Web Drivers for selenium will also need to be installed from here to take the screenshot of webpages.
- Obtain a Discord bot token from the Discord developer portal
- On Heroku, open your App. Click on the Settings tab and scroll down to Buildpacks. Add the following buildpacks that allow us to install Chrome drivers for selenium on Heroku:
Python (Select it from the officially supported buildpacks)
Headless Google Chrome: https://github.com/heroku/heroku-buildpack-google-chrome
Chromedriver: https://github.com/heroku/heroku-buildpack-chromedriver
- Within the settings for project in Heroku, create the following
Config Vars
to configure the following:
DISCORD_BOT_TOKEN
CHROMEDRIVER_PATH = /app/.chromedriver/bin/chromedriver
GOOGLE_CHROME_BIN = /app/.apt/usr/bin/google-chrome
python bot.py