feat: itchat login hot reload

This commit is contained in:
zhayujie
2023-03-19 01:09:36 +08:00
parent 1aa2382843
commit b3e1f56fb9

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=True)
# start message listener
itchat.run()