Skip to content

[BUG]get_forword_msg无法正常获取转发信息 #941

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
bruce545 opened this issue Apr 13, 2025 · 4 comments
Closed

[BUG]get_forword_msg无法正常获取转发信息 #941

bruce545 opened this issue Apr 13, 2025 · 4 comments
Assignees
Labels
invalid This doesn't seem right question Further information is requested suspend

Comments

@bruce545
Copy link

系统版本

ubuntu 20.04

QQNT 版本

3.2.16-32869

NapCat 版本

4.7.19

OneBot 客户端

nonebot

发生了什么?

get_forword_msg无法正常获取转发信息

Image
Image

如何复现

import requests
import re
import json

url = "http://127.0.0.1:3000/get_forward_msg"

payload = json.dumps({
"message_id": 7491567521670112331
})
headers = {
'Content-Type': 'application/json'
}

response = requests.request("POST", url, headers=headers, data=payload)
response=response.json()

print(response)

期望的结果?

正常获取信息内容

NapCat 运行日志

OneBot 客户端运行日志

@bruce545 bruce545 added the bug Something isn't working label Apr 13, 2025
@bruce545 bruce545 changed the title [BUG] [BUG]get_forword_msg无法正常获取转发信息 Apr 13, 2025
@MliKiowa
Copy link
Member

7491567521670112331是哪里来的 注意消息id不是持久化的东西 重启和超过一段时间就会失效

@MliKiowa MliKiowa reopened this Apr 13, 2025
@MliKiowa MliKiowa added invalid This doesn't seem right question Further information is requested suspend and removed bug Something isn't working labels Apr 13, 2025
@MliKiowa MliKiowa self-assigned this Apr 13, 2025
@MliKiowa
Copy link
Member

补充上述相关信息后 开发组如果确认问题则会再开启本issue

@MliKiowa MliKiowa closed this as not planned Won't fix, can't repro, duplicate, stale Apr 14, 2025
@bruce545
Copy link
Author

消息id是在插件触发时获取的
插件原文:
Image
debug输出,消息id为cq中的id
Image

@MliKiowa
Copy link
Member

已确认 下个版本修复

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right question Further information is requested suspend
Projects
None yet
Development

No branches or pull requests

2 participants