Skip to content

Commit a656555

Browse files
CoderWanFengheyWFeng
authored andcommitted
更新功能:根据关键词回复👉https://www.bilibili.com/video/BV1fV4y1M7ju
1 parent 0308b39 commit a656555

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

demo/004-根据关键词回复.py

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
"""
2+
已经更新了:发消息、发文件
3+
今日更新:根据关键词,自动回复
4+
1、安装:pip install python-office
5+
2、代码演示
6+
"""
7+
import office
8+
9+
keywords = {
10+
"我要报名": "你好,这是报名链接:www.python-office.com",
11+
"点赞了吗?": "点了",
12+
"关注了吗?": "必须的",
13+
"投币了吗?": "三连走起",
14+
}
15+
office.wechat.chat_by_keywords(who='每天进步一点点', keywords=keywords)

0 commit comments

Comments
 (0)