skai2 / UaiBot

In development
GNU General Public License v3.0
0 stars 0 forks source link

Uai Bot :point_up::open_mouth::grey_question:

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

Setup:

Requires Python 3.5 and pip3

  1. Clone this repository with submodules

    > git clone https://github.com/skai2/UaiBot.git
  2. Run setup.sh with sudo as it will install necessary libraries

    > sudo ./setup.sh
  3. 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
  4. Open config.py in whatsapp-framework folder and set your credentials

  5. Start UaiBot

    > ./start.sh