✨ 检查更新支持webui更新 (#1925)

* ✨ 检查更新支持webui跟新

* 🎨 移除无用导入
This commit is contained in:
HibiKier
2025-07-11 10:11:14 +08:00
committed by GitHub
parent 4bcc5aeea5
commit acfed0837a
6 changed files with 90 additions and 34 deletions
+4
View File
@@ -5,6 +5,10 @@ from nonebot.adapters.onebot.v11 import GroupMessageEvent, Message, MessageSegme
from nonebot.adapters.onebot.v11.event import Sender
def get_reply_cq(uid: int | str) -> str:
return f"[CQ:reply,id={uid}]"
def get_response_json(base_path: Path, file: str) -> dict:
try:
return json.loads(