feat: 更新完成的提示信息

This commit is contained in:
Rock Chin
2023-01-02 13:28:32 +08:00
parent a93f681913
commit cd8d03e8ff
2 changed files with 5 additions and 3 deletions

View File

@@ -172,7 +172,8 @@ def process_message(launcher_type: str, launcher_id: int, text_message: str, mes
except Exception as e0:
pkg.utils.context.get_qqbot_manager().notify_admin("更新失败:{}".format(e0))
return
pkg.utils.reloader.reload_all()
pkg.utils.reloader.reload_all(notify=False)
pkg.utils.context.get_qqbot_manager().notify_admin("更新完成")
threading.Thread(target=update_task, daemon=True).start()
else: