mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-02-22 08:28:42 +08:00
feat: itchat login 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=True)
|
||||
|
||||
# start message listener
|
||||
itchat.run()
|
||||
|
||||
Reference in New Issue
Block a user