Coder Social home page Coder Social logo

kuakua-chatrobot's Introduction

KUAKUA_ChatRobot

最近夸夸群很是流行,在公众号看到一则推送,手把手教你定制一款专属夸夸机器人。


参考资料: https://mp.weixin.qq.com/s/EssVIqNXLDWn_HubHzJ8Mw


前期准备:

  • 这份代码用到了python的itchat包,小伙伴需要提前安装一下。
pip install itchat pillow

具体步骤:

  • 运行源代码

  • 扫码登录

  • 触发关键字即可


更新日志:

2019/03/18

  • 上传源代码

2019/03/19

  • 更新说明

注意事项:

  • 此回复是使用了微信网页端,如果设置了自动回复,电脑端微信自动退出。

  • 想要在设置哪个群为夸夸群,需要更改代码 if msg['User']['NickName'] == '群名称' ,即将'群名称'改成相应的群名字。

  • 语料可以自行添加扩充。


说明:

用来扫码的那个微信号就自动变成夸夸群机器人,要想体验被夸,需要夸夸群里别的微信号来触发。

用python开发的这款可以在微信群里实现自动夸人的机器人,是不是很简单呢:)


kuakua-chatrobot's People

Contributors

longlively avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.