Skip to content

maximkanet/python-homeworks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

112 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram bot for managment homeworks.

How to install?

Install requirements pip install -r requirements.txt. Download branch or by means of git controll versions install on server with MySQL database.

Next step.

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 ;)

Version 1.2.1

Add new command /today

Allowed commands

In private chat

--- Show ---

Homework:

  • /tomorrow - show tomorrow homework
  • /anotherdate - show homework for other date using callendar
  • /today - show today homework

More items:

  • /hws - print list homeworks
  • /teachers - show list teachers

--- Add ---

Teacher:

  • /newteacher - add new teacher

Homework:

  • /newhw - add new

/about - about project

In group/supergroup chat

  • /tomorrow - show tomorrow homework
  • /anotherdate - show homework for other date using callendar
  • /about - about project

About

Telegram bot for managment homeworks.

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages