mirror of
https://github.com/zhayujie/bot-on-anything.git
synced 2026-02-05 08:12:52 +08:00
Merge pull request #135 from mouyong/patch-1
chore: 避免重复扫码登录问题,减少触发微信的频繁登录
This commit is contained in:
@@ -41,7 +41,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