mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2025-12-15 14:22:55 +08:00
Update data_source.py
This commit is contained in:
parent
cbacd726ef
commit
4e3010d75e
@ -115,6 +115,7 @@ async def check_update(bot: Bot) -> 'int, str':
|
|||||||
user_id=int(list(bot.config.superusers)[0]),
|
user_id=int(list(bot.config.superusers)[0]),
|
||||||
message=f"自动获取真寻版本成功:{latest_version},当前版本为最新版,无需更新...",
|
message=f"自动获取真寻版本成功:{latest_version},当前版本为最新版,无需更新...",
|
||||||
)
|
)
|
||||||
|
return 200, ''
|
||||||
else:
|
else:
|
||||||
logger.warning("自动获取真寻版本失败....")
|
logger.warning("自动获取真寻版本失败....")
|
||||||
await bot.send_private_msg(
|
await bot.send_private_msg(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user