Skip to content

😃 Telegram Bot @asciifacesbot that allows you to append ascii faces to your messages ¯\_(ツ)_/¯

License

Notifications You must be signed in to change notification settings

phil-r/asciifacesbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

asciifacesbot

Telegram Bot @asciifacesbot that allows you to append ascii faces to your messages ¯\_(ツ)_/¯

Backend

Bot runs on Google App Engine

Telegram API

Bot replies to every incoming webhook and doesn't send requests to the API directly

How to run your own asciifacesbot

  • 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 to app.yaml and replace YOUR_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
  • ¯\_(ツ)_/¯

TODO:

  • 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 ¯\_(ツ)_/¯

See also

About

😃 Telegram Bot @asciifacesbot that allows you to append ascii faces to your messages ¯\_(ツ)_/¯

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages