quarantine-bot
quarantine-bot copied to clipboard
WhatsApp bot powered by Twilio API to get through the quarantine. Latest COVID19 statistics, world news, inspirational quotes and cat photos.
Quarantine Bot
WhatsApp bot powered by Twilio API to get through the quarantine. Latest COVID19 statistics, world news, inspirational quotes and cat photos.
Building Your Own Bot
Read my tutorial here!
How to Deploy
- Clone this repository and deploy it on any Django-friendly hosting service like PythonAnywhere. Use
$ pip install -r requirements.txt
to install the program dependencies. - Create a free Twilio account and setup the WhatsApp sandbox here
- Under Sandbox Configuration, set the webhook for 'WHEN A MESSAGE COMES IN' to e.g. http://zeyu2001.pythonanywhere.com/bot/ depending on where you host the webhook. Remember the relative url bot/. Set the request method to HTTP POST.
- Click save, and send 'hello' to the Twilio bot!
What You Can Do
Simply type 'Hello' for a list of commands you can use.




