From 3092bbd21047f6c44d6371328b36d4e2ff334cf5 Mon Sep 17 00:00:00 2001 From: Soulter <37870767+Soulter@users.noreply.github.com> Date: Sun, 5 Mar 2023 12:40:51 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E8=A7=A3=E9=99=A4=E5=90=AF=E5=8A=A8?= =?UTF-8?q?=E6=97=B6=E9=9C=80=E8=A6=81=E5=9B=9E=E8=BD=A6=E7=9A=84=E9=99=90?= =?UTF-8?q?=E5=88=B6=20perf:=20=E4=BC=98=E5=8C=96Linux=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=9A=84=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cores/qqbot/core.py | 2 +- main.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cores/qqbot/core.py b/cores/qqbot/core.py index 239cc1aa3..f660f8e02 100644 --- a/cores/qqbot/core.py +++ b/cores/qqbot/core.py @@ -288,7 +288,7 @@ def initBot(cfg, prov): print("\n[System] 如果有任何问题,请在https://github.com/Soulter/QQChannelChatGPT上提交issue说明问题!或者添加QQ:905617992") print("[System] 请给https://github.com/Soulter/QQChannelChatGPT点个star!") print("[System] 请给https://github.com/Soulter/QQChannelChatGPT点个star!") - input("\n仔细阅读完以上信息后,输入任意信息并回车以继续") + # input("\n仔细阅读完以上信息后,输入任意信息并回车以继续") try: run_bot(cfg['qqbot']['appid'], cfg['qqbot']['token']) except BaseException as e: diff --git a/main.py b/main.py index 3533caacf..c91d6b289 100644 --- a/main.py +++ b/main.py @@ -82,11 +82,11 @@ def hot_update(): print('自启动') py = sys.executable os.execl(py, py, *sys.argv) - time.sleep(60*20) + time.sleep(60*60*3) except BaseException as e: print(e) print("upd出现异常, 请联系QQ905617992") - time.sleep(60*20) + time.sleep(60*60*3) def update_version(ver): if not os.path.exists('update_record'):