GithubHelp home page GithubHelp logo

maks-oleksyuk / vnu-rozklad-bot Goto Github PK

View Code? Open in Web Editor NEW
1.0 0.0 0.0 252 KB

🤖 Telegram bot is designed to show the university schedule with a user-friendly interface and the use of third-party API.

Home Page: http://t.me/vnu_rozklad_bot

License: MIT License

Python 96.05% Dockerfile 1.10% Makefile 2.85%
telegram-bot vnu aiogram-bot bot python telegram aiogram sqlalchemy

vnu-rozklad-bot's Introduction

Telegram Bot to show university schedule

This is a Telegram bot for showing the university schedule, with a user-friendly interface and the use of third-party APIs (© ПП Політек-софт).

Instructions for launching the bot

To run the bot, you need to install dependencies and configure some environment variables. Below are instructions on how to do this:

  1. Clone the repository to your local computer:

    git clone https://github.com/maks-oleksyuk/VNU-Rozklad-bot.git
  2. Create an .env file in the root directory of the project and fill it according to the example specified in the .env.example file

    TOKEN=your_bot_token
    ADMIN_ID=1234567
    API_IP=0.0.0.0
    # and other, see .env.example
  3. If all the variables are configured correctly, you can run the bot on Docker. To do this, you can execute the following commands.

    make up
  4. Import mariadb database. In order to import an existing database, you can place the .sql file in the ./db-init folder for automatic import when the container is started

  5. More detailed information can be obtained with the following command:

    make help

Commands

This Telegram bot has the following commands:

  • start - 🚀 Start the bot
  • now - 🔆 Current pair
  • today - ⬇️ Schedule for today
  • tomorrow - ⤵️ Schedule for tomorrow
  • week - ⏬ Schedule for the week
  • nextweek - ⏩ Schedule for next week
  • rooms - 🚪Search for free audiences
  • set_date - 📆 Schedule for the entered date
  • about - ℹ️ About the bot
  • help - ❔ Help
  • cancel - 🆑 Cancel action | Change request

vnu-rozklad-bot's People

Contributors

dependabot[bot] avatar maks-oleksyuk avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.