How to use it
- Save your bot token in
token.txt
file in folder that has project folder data\lessons.json
file has lessons like Dict, where lesson topic iskey
: and lesson description (questions) isvalue
data\groups.json
file has available groups, also like a Dict, where group number iskey
: andvalue
is a string'%d.%m.%Y-%d.%m.%Y'
, where first is start date, and second - end date. Before starting you must parse this range into separate working days of week. It's also simple:- Just run
date_range_maker.py
it returnparsed_group_dates.json
witch will be used in application, if you haven't any messages in console => move forward, in other cases check dates of lessons for group from console
- Just run
- For run bot just run
index.py
data\users.json
file for storing users, after user will be added, you can change role of user toadmin
Plan for making application
- Make a bot, add possibility for register new user and get questions for lessons (till 14.08)
- Add possibility for students to take individual schedule, with dates and topics (till 21.08)
- Add admin role with possibility to send push notification for some group, test application (till 28.08)