Update __init__.py

This commit is contained in:
HibiKier 2021-09-05 13:54:55 +08:00 committed by GitHub
parent 58a1fc1ca0
commit cbacd726ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,7 @@ restart = on_command('重启', aliases={'restart'}, permission=SUPERUSER, rule=t
@update_zhenxun.handle()
async def _(bot: Bot, event: MessageEvent, state: T_State):
try:
error, code = await check_update(bot)
code, error = await check_update(bot)
if error:
logger.error(f'更新真寻未知错误 {error}')
await bot.send_private_msg(