A simple Whatsapp chatbot that chats with a group or person using the web version of Whatsapp
You will require a recent version of Google Chrome 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
- Run the
Whatsapp_Chat_Bot.py
. - Wait for both tabs to load and navigate to the WhatsApp Tab
- If you are running for the first time scan the QRCode using your phone
- Select the Group or Person you want the Chat bot to work with
- Press
ENTER
in the python terminal
Now ask your friend to send a message. All messages to the chat bot should start with the $
sign.
Example : $Hello there.
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