mirror of
https://github.com/RockChinQ/QChatGPT.git
synced 2024-11-16 19:57:04 +08:00
perf: 进行更新时提示耐心等待
This commit is contained in:
parent
948b0f4df9
commit
7ca8dcfb6a
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user