Skip to content

Schedule telegram bot able to get the SPbSUE schedule and give it to the user in a user-friendly form

Notifications You must be signed in to change notification settings

smart7even/schedule-bot

Repository files navigation

Schedule bot

About

This is the repository of telegram bot application that provides schedule of lessons for SPbSEU university.

Installation

To run the application you need to clone the repository:

git clone https://github.com/smart7even/schedule-bot.git

Then install all dependencies:

pip3 install -r requirements.txt

Now you need to create .env file in root of the project and specify key DATABASE_URL with your database url and key SCHEDULE_BOT_TOKEN with telegram bot token.

Open project root in console and make database migrations entering command alembic upgrade head and then fill your database running bot_init.py script.

Now you can use application running main.py script.

Server run

To run api server in dev mode use following command

uvicorn server:app --env-file .env --reload --host 0.0.0.0

About

Schedule telegram bot able to get the SPbSUE schedule and give it to the user in a user-friendly form

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages