基于python的微信机器人,猪哥开发环境Macos+Python3.7+Pycharm
欢迎大家在我公众号:裸睡的猪
中给我提出建议和意见
1.下载wxpy库 pip3 install -U wxpy -i "https://pypi.doubanio.com/simple/"
,使用的是国内源,如果使用anaconda直接在pycharm里面下载,注意项目环境问题!
2.启动robot.py
,弹出登录二维码,手机微信扫一扫登录
3.邀请好友尽情调戏
针对微信好友的一些功能,如自动通过好友申请,与使用机器人好友聊天等
可匹配好友申请时的消息中关键字,例如:请求添加好友说明中包含"加群",则通过申请,其他则不做处理!
目前聊天仅支持文字
wxpy库已经深度整合图灵机器人与小i机器人,目前暂时只接入图灵机器人,后面可实现管理员口令自动切换
pass
pass
1.wxpy官方文档