diff --git a/campux/imbot/nbmod.py b/campux/imbot/nbmod.py index b2bae4f..c304261 100644 --- a/campux/imbot/nbmod.py +++ b/campux/imbot/nbmod.py @@ -224,6 +224,9 @@ async def qrcode_callback(content: bytes): ] )) + async def ob11_auto_callback(result: dict): + print(result) + try: await fdelay() @@ -231,8 +234,8 @@ async def qrcode_callback(content: bytes): await ap.social.platform_api.relogin( strategy=ap.config.data['campux_qzone_cookies_refresh_strategy'], qrcode_callback=qrcode_callback, + ob11_auto_callback=ob11_auto_callback, ob11_bot=nonebot.get_bot(), - ob11_auto_callback=lambda result: print(result), ) await ap.imbot.send_group_message(