Skip to content

Commit 5f2fc19

Browse files
committed
add new function to python_wechat.py
1 parent c92ecd7 commit 5f2fc19

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

python_wechat.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
主要包括如下功能:
66
(1) 自动提醒群红包
77
(2) 自动监测被撤回消息
8-
(3) 群统计:发言人数、发言次数等
9-
(4) 群关键字提醒,群被@提醒
8+
(3) 群关键字提醒,群被@提醒
109
"""
1110

1211
import time
@@ -16,7 +15,8 @@
1615

1716
# 初始化
1817
my = itchat.new_instance()
19-
my.auto_login(hotReload=False, enableCmdQR=-2)
18+
my.auto_login(hotReload=False, enableCmdQR=2)
19+
2020
# my还包括的以下属性,注意用点.查看:
2121
# (1) alive 是否还活着,isLogging 是否已登陆
2222
# (2) loginInfo 登陆信息,其中的User属性为自己的信息User字典类,包括UserName, NickName, RemarkName, Sex(1 or 2), Signature, Province, City等

0 commit comments

Comments
 (0)