This is a bot written in python that runs in whatsapp and is purely an extension of yowsup.
##CAUTION## Although this used to work fine, I got two numbers banned(?) in late August, 2014. So, please be warned.
##Installation## The installation process is quite simple
git clone https://github.com/asdofindia/python-whatsapp-bot.git
cd python-whatsapp-bot
git submodule init
git submodule update
Follow https://github.com/tgalal/yowsup/wiki/yowsup-cli#registration and register a number. After registering you must have created a config file as mentioned here like this
Place the config file in configs
folder.
python bot.py -c configs/<yourconfig> -b -a -k
if -c is not specified, configs/config
will be used.
I have tried to use modules that are already available in python. If any missing module error is thrown, try pip install <modulename>
.
Please create an issue if you have errors that needs fix
Read modules in the modules folder and create your own modules. If possible teach me python and refactor this mess. Send pull requests, I'll merge them if I know how to :P
- tgalal for yowsup which is the most important reason this project is possible.
- Schumix for chatterbotapi
- Countless people on StackOverflow for numerous code snippets
##About Look at my older implementation to know more about how that used to work.