ch4t5ky / ScheduleBot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker Image CI

ITMO University schedule bot for Discord

This project is a simple bot that parses the ITMO website and sends a schedule.

Possible commands:

  • !full - Sends a full schedule of the week.
  • !short - Sends a short schedule of the week.
  • !today - Sends a short schedule for today.
  • !tomorrow - Sends a short schedule for tomorrow.
  • !today_full - Sends a full schedule for today.
  • !tomorrow_full - Sends a full schedule for tomorrow.
  • !setgroup <group_number> = Set group for the current user.
  • !weekmode - Change schedule week style: full schedule or odd-even week schedule.
  • !picmode - Change style of schedule: text or image.

Docker

Build

docker build -t schedule_itmo_bot .

Run

docker run -e TOKEN="<Your Token>" schedule_itmo_bot

Building manually

Run in command prompt:

mvn clean package assembly:single

Or easily execute:

./build.sh

About


Languages

Language:Java 98.3%Language:Dockerfile 1.2%Language:Shell 0.5%