Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
mhewedy committed May 23, 2024
2 parents 4462154 + 5d10f2c commit 843f387
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@

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

## development
## Deployment

1. Create bot using telegram [@botfather](https://telegram.me/BotFather)
see [How to get Telegram Bot Chat ID](https://gist.github.com/nafiesl/4ad622f344cd1dc3bb1ecbe468ff9f8a)
2. You need to set the env var `BOT_TOKEN` and `CHAT_ID`. (you get from previous step)
3. Run the app using `python main.py`.
4. enjoy
2. Create a telegram group, add the bot to the group, and make it admin
3. You need to 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. Run the app using `python main.py`.
5. Start sending commands in the group (e.g. `/help`), the bot will detect food names as well (using chatgpt)
6. Enjoy!

> This app uses [telebot](https://github.com/mhewedy/telebot)
> This app uses [telebot](https://github.com/mhewedy/telebot)

0 comments on commit 843f387

Please sign in to comment.