mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-07-20 13:47:15 +08:00
itchat增加hot_reload特性开关,默认关闭。配置文档增加可选参数说明。
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user