This bot is intended to be run through a daily cronjob. It will post the menu of the day to a discord channel.
Look at the ".env.template" file and create a ".env" file with the same structure. Alternatively, you can set the environment variables directly.
- You can get the discord token from the discord developer portal.
- The channel id can be obtained by right clicking on the channel in discord and selecting "Copy ID".
- The Mensa URL should be identical to the ones in the Speiseplan
- Make sure that the bot has the "Manage Messages" permission in the channel you want to post to.
- It will delete all messages in the channel before posting the new menu. Do not use this bot in a channel where you want to keep messages!
cargo run
cargo build --release
This project is licensed under the EUPL license - see the LICENSE file for details
- EdJoPaTo for mensa-crawler!