sends the current menu of the ostfalia-cantine to a telegram chat
# install dependencies
npm install
# run
npm run dev
Name | Description | Required |
---|---|---|
SEND_CRON | Describes when to automatically send the menu into the telegram chat. Formatted as cron schedule expression. |
x |
TELEGRAM_TOKEN | Token of the telegram bot that was created for running an instance of this project. (telegram documentation) | x |
TELEGRAM_CHAT | ID of the telegram chat that the menu should automatically sent to. Can be obtained with the telegram /chatid command. |
x |
/menu
: bot replies with the current menu/chatid
: bot replies with the chatid this command was sent in