Skip to content

Commit

Permalink
fix: 回调函数错误
Browse files Browse the repository at this point in the history
  • Loading branch information
RockChinQ committed Oct 13, 2024
1 parent aeb910c commit f56f7b8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion campux/imbot/nbmod.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,15 +224,18 @@ async def qrcode_callback(content: bytes):
]
))

async def ob11_auto_callback(result: dict):
print(result)

try:

await fdelay()

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(
Expand Down

0 comments on commit f56f7b8

Please sign in to comment.