修复at导致命令无法识别的问题
This commit is contained in:
@@ -78,7 +78,7 @@ async def callback_receive(request: Request):
|
||||
return JSONResponse({"result": "error", "message": str(e)})
|
||||
|
||||
# 解析指令
|
||||
content = callback_data.content
|
||||
content = parse_message_after_at(callback_data.content)
|
||||
command = content.split(" ")[0]
|
||||
message = content[len(command):].strip()
|
||||
logger.Log("Info", f"识别指令: command={command}")
|
||||
|
||||
Reference in New Issue
Block a user