Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 929 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 929 Bytes

Lunchy

A simple Telegram chatbot to suggest who will order the lunch today!

Deployment

  1. Create bot using telegram @BotFather see How to get Telegram Bot Chat ID.
  2. Create a telegram group, add the bot to the group, and make it admin.
  3. Set the env var BOT_TOKEN and CHAT_ID. (you get from previous steps, where CHAT_ID should refer to the group created in prev step).
  4. Optionally, if you need to persist the data between restarts, configure VOLUME_ROOT_FS to point to path of some persistent volume (block or network storage).
  5. Run the app using BOT_TOKEN=<bot_token> CHAT_ID=<chat_id> python main.py
  6. Start sending commands in the group (e.g. /help), the bot will detect food names as well (using chatgpt).
  7. Enjoy!

This app built using telebot