itchat增加hot_reload特性开关,默认关闭。配置文档增加可选参数说明。

This commit is contained in:
lichengzhe
2023-03-19 08:29:25 +08:00
parent 9b2da6c431
commit 3ef7855384
2 changed files with 4 additions and 1 deletions

View File

@@ -42,7 +42,7 @@ class WechatChannel(Channel):
def startup(self):
# login by scan QRCode
itchat.auto_login(enableCmdQR=2)
itchat.auto_login(enableCmdQR=2, hotReload=conf().get('hot_reload', False))
# start message listener
itchat.run()