- Notifications
You must be signed in to change notification settings - Fork1k
offu/WeRoBot
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
WeRoBot 是一个微信公众号开发框架,采用MIT协议发布。
文档在这里:https://werobot.readthedocs.org/zh_CN/latest/
推荐使用 pip 进行安装
pip install werobot
一个非常简单的 Hello World 微信公众号,会对收到的所有文本消息回复 Hello World
import werobotrobot = werobot.WeRoBot(token='tokenhere')@robot.textdef hello_world(): return 'Hello World!'robot.run()