perf: 进行更新时提示耐心等待

This commit is contained in:
Rock Chin 2023-01-05 15:52:45 +08:00
parent 948b0f4df9
commit 7ca8dcfb6a

View File

@ -260,6 +260,8 @@ def process_message(launcher_type: str, launcher_id: int, text_message: str, mes
pkg.utils.context.get_qqbot_manager().notify_admin("更新完成")
threading.Thread(target=update_task, daemon=True).start()
reply = ["[bot]正在更新,请耐心等待,请勿重复发起更新..."]
elif cmd == 'cfg' and launcher_type == 'person' and launcher_id == config.admin_qq:
reply = config_operation(cmd, params)
else: