skai2 / UaiBot

In development

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Uai Bot ☝️😮❔

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
  1. Run setup.sh with sudo as it will install necessary libraries
> sudo ./setup.sh
  1. 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
  1. Open config.py in whatsapp-framework folder and set your credentials

  2. Start UaiBot

> ./start.sh

About

In development

License:GNU General Public License v3.0


Languages

Language:Shell 58.5%Language:Python 41.5%