Telegram Bot @asciifacesbot that allows you to append ascii faces to your messages ¯\_(ツ)_/¯
Bot runs on Google App Engine
Bot replies to every incoming webhook and doesn't send requests to the API directly
- Clone this project
- Run
pip install -r requirements.txt -t lib/
to install dependencies - Download and install App Engine SDK
- Register your app in Google Cloud console
- Register your bot via BotFather
- Rename
sample_app.yaml
toapp.yaml
and replaceYOUR_TELEGRAM_BOT_TOKEN
with your bot token - Set up webhook by running something like
curl -X POST -H "Content-Type: application/json" -d '{"url":"https://{yourappid}.appspot.com/{YOUR_TELEGRAM_BOT_TOKEN}"}' https://api.telegram.org/bot{YOUR_TELEGRAM_BOT_TOKEN}/setWebhook
- Run
gcloud app deploy app.yaml --project yourappid
in the project folder ¯\_(ツ)_/¯
- Add basic inline bot
- Do something with thumbnail
- Setup your favorite faces through bot commands
- Collect feedback
Thanks to https://github.com/maxogden/cool-ascii-faces for the list of faces ¯\_(ツ)_/¯