This bot is created using discord's libraries for searching over google & persisting history for lookup.
- Python3.8
- Redis
- MySQL
Install Python Dependencies:
sudo apt install python3-dev
Clone the repository using:
git@github.com:suhridmathur/discord-bot.git
Create environment and install python packages:
virtualenv -p python3.8 env
pip install -r requirementst.txt
Export the following envirnment variables in bashrc:
- BOT_TOKEN
- BOT_DB_URI
- GOOGLE_SEARCH_API_KEY
- GOOGLE_SEARCH_CX
Run server:
python bot.py