A simple Python Telegram bot to help me keep track of power supply schedule. Uses Flask microframework, setWebhook method
Please exchange the TOKEN, the webhook URL, and the HOOK path with your own.
- The app.py file is for general purpose.
- Clone the repo
- If you have virtualenv installed activate (venv)
- Run
pip install -r requirements.txt
- Run
python app.py
and you are good to go
DB
Your mongodb host url if you are using it locally set it aslocal
TOKEN
Telegram bot token holla BotFather to get one