forked from Lea/UntisBot
| src | ||
| .gitignore | ||
| package.json | ||
| readme.md | ||
| tsconfig.json | ||
| yarn.lock | ||
Untis Bot
Simple bot that notifies you of timetable changes on Discord.
Setup
- Clone the repository and CD into it
sudo npm install -g typescriptif you haven't already- Type
tscto compile - Create a
.envfile 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.jsto run the bot. You can use tools likepm2to automate starting and stopping.