mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2025-12-15 06:12:53 +08:00
修复开箱更新未登录时没有停止更新
This commit is contained in:
parent
08c7aae6b7
commit
9f16f938dc
@ -331,6 +331,10 @@ PS: **ARM平台** 请使用全量版 同时 **如果你的机器 RAM < 1G 可能
|
||||
|
||||
## 更新
|
||||
|
||||
### 2023/4/16
|
||||
|
||||
* 修复开箱更新未登录时没有停止更新
|
||||
|
||||
### 2023/4/5
|
||||
|
||||
* 词条正则回答中允许使用$1.$2..来获取()捕获组
|
||||
|
||||
@ -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:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user