A simple Whatsapp chatbot that chats with any person and responds via watson API Whatsapp
You will require a recent version of Firefox and the drivers. The drivers are included in the drivers
directory of this project.
To run the following python script you will need the Selenium Webdriver for Python
pip3 install selenium
pip3 install --upgrade ibm-watson
- Run the
bot.py
. - Wait for the tab to load
- If you are running for the first time scan the QRCode using your phone
- Press
ENTER
in the python terminal to start the bot
Any unread message will be crawled and responded thereof.
Please note that Whatsapp does not encourage bots on their messaging service. Any mass advertising or spamming will lead to your account being banned. This is only for fun and experimental purposes. Use it at your own risk