Versão 1.0
A simple bot using whatsapp web, selenium and python 3.
Settings
- Clone the repository:
git clone https://github.com/francis-taylor/zapbot.git
- Enter the repository:
cd zapbot
Dowload ChromeDriver
-
Open
https://chromedriver.chromium.org/downloads
and download the file according to your version of chrome. -
Open the
config.py
file and place the chromedriver path in thepath
field and put the name of the contact that the bot should answer in thecontact
field.
Install selenium webdriver
- Type
pip3 install selenium
orpython3 -m pip install selenium
in the terminal and wait to install.
starting the bot
- After configuring the bot correctly, just type
python3 bot.py
Commands
- Type
/start
and bot return "Hello!"
- Type
/media
and bot return a media.
add yourself, more commands in the bot.py
file.