Skip to content

Telegram Bot which tells you the meal of the current day in the mensa of the University of Basel

Notifications You must be signed in to change notification settings

silvanheller/mensa-bot

Repository files navigation

mensa-bot

Telegram Bot which tells you what the mensa is offering today

Setup

Register your own Bot on Telegram with the @Botfather. Using the /newbot command gives you a token and a username. If you want your bot to be able to read all messages in a group and not just those he is mentioned in, use the /setprivacy command.

Create a file called mensabot.conf in src/main/resources. There is a template file called config.template which has the desired properties.

You can then build the jar using ./gradlew build and execute it with

java -jar build/libs/mensa-bot.jar