Discord bot to embed Piazza posts in the server
PiazzaBot will give you a embeded preview of a Piazza post right on your server! Just enter in the link to the post, and PiazzaBot will take care of the rest!
To run PiazzaBot locally, do the following:
- First make a virtual environment in python using
python3 -m venv ./env
source ./env/bin/activate
pip3 install -r requirements
- Export your environment variables as such
export EMAIL='{your email here}'
export PASSWORD='{your password here}`
export DISCORD_TOKEN='{your Discord Bot Token}'
export GUILD_ID='{your server ID}'
- Then run the program with
python3 ./connect.py
NOTE: Your Piazza account must be enrolled in the class to get the embeded preview, or else it won't work.
This current repository is connected & deployed using Heroku. Any commits to the master branch will automatically be deployed.
- Python
- piazza-api
- discord.py
This project is licensed under MIT - see the LICENSE file for details