Skip to content

Latest commit

 

History

History
93 lines (68 loc) · 2.47 KB

README.en.md

File metadata and controls

93 lines (68 loc) · 2.47 KB

Логотип бота

Розклад ДТЕУ

License: MIT

Telegram bot for getting the schedule in Ukrainian State University of Trade and Economics (SUTE).
You can try the bot live: @dteubot.


Features

  • ✅ View the classes schedule
  • ✅ Reminders about classes
  • ✅ Link to teacher's profile
  • ✅ Stable work even when the site is unavailable
  • And other features, such as viewing the bell schedule, list of students in the group and time to break.

Screenshots

Screenshot of usage

Commands

  • /today
    lessons today
  • /tomorrow
    lessons tomorrow
  • /left
    time until the end/start of the lesson
  • /calls
    calls schedule
  • /students
    list of students in the group
  • /settings
    open settings
  • /group <groupId?: number>
    select group
  • /lang <lang?: [en/uk/ru]>
    select language

? - optional parameter

Startup

Bot can be started in three ways:

  • Using executable file (.exe for Windows)
  • Using Docker container
  • Using manual compilation

1. Normal way

  1. Download latest bot version
  2. Put file dteubot in any directory you want to store bot data
  3. Run the file with this command: (after first run, config file will be created)
    ./dteubot
  4. Open .env file and fill BOT_TOKEN. Other settings are optional.
  5. Run bot with this command:
    ./dteubot

Done! Now you can use the bot.

2. Docker

At the moment in development.

3. Manual compilation

⚠️ For this method you need Go version 1.21.1+ - download

  1. Download this repository and open command line in it.
    To download, click the green button <> Code > Download ZIP
    or execute command
    git clone https://github.com/cubicbyte/dteubot
  2. Make sure you have Go compiler installed and run command
    go build

Now you have executable file dteubot. Go to section 1. Normal way