diff --git a/README.md b/README.md index 2f060fdb..44943447 100644 --- a/README.md +++ b/README.md @@ -331,6 +331,10 @@ PS: **ARM平台** 请使用全量版 同时 **如果你的机器 RAM < 1G 可能 ## 更新 +### 2023/4/16 + +* 修复开箱更新未登录时没有停止更新 + ### 2023/4/5 * 词条正则回答中允许使用$1.$2..来获取()捕获组 diff --git a/plugins/open_cases/__init__.py b/plugins/open_cases/__init__.py index 029f2a93..34539ea6 100755 --- a/plugins/open_cases/__init__.py +++ b/plugins/open_cases/__init__.py @@ -137,7 +137,6 @@ my_knifes = on_command("我的金色", priority=1, permission=GROUP, block=True) show_skin = on_command("查看皮肤", priority=5, block=True) - @reload_count.handle() async def _(event: GroupMessageEvent): await reset_count_daily() @@ -226,7 +225,8 @@ async def _(event: MessageEvent, arg: Message = CommandArg(), cmd: str = OneComm try: info = await update_skin_data(case_name, is_update_case_name) if "请先登录" in info: - await update_case.finish(f"未登录, 已停止更新...") + await update_case.send(f"未登录, 已停止更新, 请配置BUFF token...") + return rand = random.randint(300, 500) result = f"更新全部{type_}完成" if i < len(case_list) - 1: