An unofficial Telegram bot for students of University of Padua (Unipd) - try it at @UnipdBot!
Still in early stage, the code is messy and the bot might be unresponsive. Be careful!
Simple Telegram bot! Data source: http://unidata.xyz. Backend's source code: https://github.com/mikexine/unidata-backend
Just some simple instructions if you want to test the bot
pip install -r requirements.txt
- Rename settings.ini.sample to settings.ini
- Create an access token with Telegram's @Botfather and place it in
settings.ini
. - Create an access token with Botan (for analytics) and place it in
settings.ini
. - Switch into the
db
folder and runpython createdb_logs.py
. - Run
create_localdb.py
to create a localpickledb
database in which you'll store commands.
Read LICENSE file for @UnipdBot's license.
This bot uses also:
- python-telegram-bot
- beautifulsoup4
- requests
- pickledb
- geopy
- simplejson
- arrow
- Python, Internet, Telegram, and all those nice things.
For anything (bugs, contributing, saying hi!), contact me on Telegram at @mikexine or via e-mail at mikexine@gmail.com