This project is a simple Telegram bot that allows users to retrieve and interact with the daily meal menu of a specific canteen using the OpenMensa API. The bot allows users to get meal information for a given canteen and date, set default canteens, and access help information. It leverages the Telegram Bot API and various Python libraries to run the bot and handle requests.
- Get Daily Canteen Menus: Users can retrieve the meal menu for a specific canteen and date.
- Set Default Canteen: Users can set a default canteen to avoid repeatedly entering it in the future.
- Bot Commands: The bot supports the following commands:
/get meals [date] [canteen_id]: Retrieve the meal menu for a given date and canteen./set default_canteen [value]: Set a specific setting, such as the default canteen./help: Get the help text.
Before running this bot, make sure you have the following:
- Python 3.x
- Telegram Bot API key (you can get it by creating a bot on BotFather)
- docker compose
- Navigate to the directory.
- docker compose up -d