Telegram bot written in Elixir that hits the lunch qian backend API to return a random eating place. Project structure based off lubien/elixir-telegram-bot-boilerplate.
- Install Elixir
- Get a telegram bot token
- Get Google Places web service API token
- Add bot token to
.env
file - Add Places API key to
.env
file - Add lunch qian API URL to
.env
file
mix deps.get
mix run --no-halt
- Send a
/eat
message to the bot
docker-compose build
docker-compose create
docker-compose start