UnivesityBot is the bot that ease your life at Politecnico di Milano. Use it to find information about halls, free classrooms and useful links.
- shows useful links
- gets classroom information (building, photo, notes, directions)
- searches for free classrooms
- file cache requests for api calls for faster response
- deployment using docker
- multi-language support through the gettext standard
- use of the tested and reliable Python Telegram Bot framework
- Flavio Primo (@flaprimo)
- Paolo Paterna (@TopoDiFogna)
- Install Docker CE edition (including post-installation instructions)
- clone this repository in /opt/ or wherever you want
- If you cloned in /opt/ just run
docker_install.sh
and you're done (if you stop the container just rundocker_run.sh
to restart it), else continue reading - open a terminal into project folder and build the docker image with
docker build -t universitybot .
- run the docker image with:
docker run -d --name=universitybot -v installdir/logs:/opt/UniversityBot/logs -v installdir/cache:/opt/UniversityBot/cache -v installdir/config:/opt/UniversityBot/config --restart=on-failure:10 universitybot
- implement inline
- implement add arguments to commands
- implement occupation, returns html of the occupation of the day
- implement room occupation, returns classroom occupation based on the day, https://github.com/jarrekk/imgkit
- webhook
- run docker image on travis
- add more translations (Spanish, German, Dutch, Arabic, Portuguese and Korean)
- update framework to latest version