Compare commits
1 Commits
36324398c3
...
ac68bb27a3
| Author | SHA1 | Date | |
|---|---|---|---|
| ac68bb27a3 |
@@ -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