This is a Telegram chatbot for sending notifications about reviewed home assignemnts on dvmn.org. It also sends all errors occured during its lifetime.
Chatbot uses Telegram API via python-telegram-bot library for sending messages. It uses dvmn.org API for receiving updates on home assignment review status.
- Install required python libraries
pip install -r requirements.txt
- Copy/move
.env.template
to.env
- Fill in the following environment variables in
.env
DVMN_API_TOKEN
- dvmn.org tokenTG_BOT_OWNER_CHAT_ID
- Telegram chat (user) ID. Can be obtained from @userinfobotTG_BOT_TOKEN
- Telegram Bot token. Generated during bot creation with @BotFather
- Run with:
python main.py