Skip to content

Saleh7/WhatsBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

WhatsBot

simple WhatsBot using yowsup

install yowsup2

pip install yowsup2

WhatsApp registration involves 2 steps. First you need to request a registration code. And then you resume the registration with code you got.

step 1

yowsup-cli registration --requestcode sms --phone 49XXXXXXXX --cc 49 --mcc 123 --mnc 456

step 2

yowsup-cli registration --register 123456 --phone 49XXXXXXXX --cc 49  

edit the run.py (credentials)

Running the bot

python run.py