Install requirements pip install -r requirements.txt.
Download branch or by means of git controll versions install on server with MySQL database.
Create .env file and add a few rows
TOKEN=YOUR TOKEN
HOST=YOUR HOST
USER=DATABASE USER
PASSWORD=DATABASE PASSWAORD
DATABASE=DATABASE NAME
PROXY=None
PROXY will be None if you start bot in local machine. You can leave this field blank.
Run python run.py. Enjoy ;)
Add new command /today
--- Show ---
/tomorrow- show tomorrow homework/anotherdate- show homework for other date using callendar/today- show today homework
/hws- print list homeworks/teachers- show list teachers
--- Add ---
/newteacher- add new teacher
/newhw- add new
/about - about project
/tomorrow- show tomorrow homework/anotherdate- show homework for other date using callendar/about- about project