当指定的联系人或群里有人打哈哈哈的时候,把哈的数量加一并自动回复。
通过 HAHA 开头的两个常量来指定。
本脚本仅仅是把 WeixinBot 的示例程序改吧了几句。
run:
$ virtualenv env
$ source env/bin/activate
$ pip install -r requirements.txt
$ python weixin.py
A hahaha weixin bot
当指定的联系人或群里有人打哈哈哈的时候,把哈的数量加一并自动回复。
通过 HAHA 开头的两个常量来指定。
本脚本仅仅是把 WeixinBot 的示例程序改吧了几句。
run:
$ virtualenv env
$ source env/bin/activate
$ pip install -r requirements.txt
$ python weixin.py
A hahaha weixin bot
Apache License 2.0