Laozi is a Goodreads bot for Telegram and currently it powers @goodreadsbot
.
Currently the bot can be hosted on Heroku. Set the following environment variables in Heroku app:
TELEGRAM_ACCESS_TOKEN
- Bot access token. You can get this from@BotFather
GOODREADS_API_KEY
- API key to access GoodreadsBING_SEARCH_API_KEY
- Bing Search API KeyWEBHOOK_URL
- Set it ashttps://your-app-name.herokuapp.com/duh
Once deployed, visit /setwebhook
like, https://your-app-name.herokuapp.com/setwebhook
. You should see Webhook has been successfully set
.