/MensaBot

Node.js Telegram MensaBot

Primary LanguageJavaScriptMIT LicenseMIT

Node.js Telegram MensaBot

Telegram Bot to get the current menu of the day via the OpenMensa Api

Setup

  1. Get your telegram bot token from @BotFather at Telegram
  2. Find your canteen on the map, copy the id from the url Paste both in the config.json File
{
"telegramToken": "aaa", 
"canteenId": "1"
}

Use /setcommands in your chat with @BotFather to add a meal command to your bot, or write the bot directly a message with meal

Dependencies

  • bent: 7.3.12
  • telegraf: 4.8.1