WhatsApp Information Bot, or, reading the acronym "WAI" Bot in portuguese, "Uai" Bot, is a WhatsApp chatbot aiming to reduce misinformation by providing complementary information sources for news it detects sent through the app. The bot is in development as a module for the WhatsApp framework mac using the Yowsup library
Requires Python 3.5 and pip3
- Clone this repository with submodules
> git clone https://github.com/skai2/UaiBot.git
- Run setup.sh with sudo as it will install necessary libraries
> sudo ./setup.sh
- Register your phone and obtain a password as follows:
# Replace CC with your country code (See https://countrycode.org)
> yowsup-cli registration --requestcode sms --phone CCXXXXXXXX --cc CC -E android
# After getting the sms code (in this example: 123456)
> yowsup-cli registration --register 123456 --phone CCXXXXXXXX --cc CC -E android
-
Open config.py in whatsapp-framework folder and set your credentials
-
Start UaiBot
> ./start.sh