Simple Discord Bot that sends you a message on Discord when your timetable updates.
 
Go to file
Jan 4b31c83320 Magic code that makes it work better 2020-12-14 17:46:48 +01:00
src Magic code that makes it work better 2020-12-14 17:46:48 +01:00
.gitignore Initial commit 2020-12-03 20:18:46 +01:00
package-lock.json idfk but maybe it works 2020-12-11 10:49:53 +01:00
package.json Initial commit 2020-12-03 20:18:46 +01:00
readme.md U p d a t e r e a d m e 2020-12-03 20:04:50 +00:00
tsconfig.json Magic code that makes it work better 2020-12-14 17:46:48 +01:00
yarn.lock Initial commit 2020-12-03 20:18:46 +01:00

readme.md

Untis Bot

Simple bot that notifies you of timetable changes on Discord.
Note: I have no idea if this project actually works as I didn't have the time to test it yet.

Setup

  • Clone the repository and CD into it
  • sudo npm install -g typescript if you haven't already
  • Use npm install to automatically install all dependencies
  • Type tsc to compile
  • Create a .env file in the project's root with the following content:
    • SCHOOLNAME=Your school's name
    • USERNAME=Your username
    • PASSWORD=Your password
    • BASEURL=Your school's Untis URL, for example mese.webuntis.com
    • BOT_TOKEN=Discord bot token
    • CHANNEL=The channel ID that the bot sends messages to. Only supports DM channels right now.
  • node dist/index.js to run the bot. You can use tools like pm2 to automate starting and stopping.