Skip to content
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

[Bug]通过Webhook方式接入QQ官方机器人存在问题。 #484

Closed
2 tasks done
Huoiop opened this issue Feb 12, 2025 · 2 comments
Closed
2 tasks done

[Bug]通过Webhook方式接入QQ官方机器人存在问题。 #484

Huoiop opened this issue Feb 12, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@Huoiop
Copy link

Huoiop commented Feb 12, 2025

发生了什么

通过Webhook的方式接入QQ官方机器人后,私聊发送消息至QQ机器人时无法正常回复,群聊时正常。

如何复现?

通过Webhook的方式接入QQ官方机器人并完成配置,可以正常登录QQ官方机器人账号。

AstrBot 版本与部署方式

3.4.26 Docker

操作系统

Linux

额外信息

Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/botpy/client.py", line 285, in _run_event
await coro(*args, **kwargs)
File "/AstrBot/astrbot/core/platform/sources/qqofficial_webhook/qo_webhook_adapter.py", line 46, in on_c2c_message_create
abm = self.platform._parse_from_qqofficial(message, MessageType.FRIEND_MESSAGE)
AttributeError: 'QQOfficialWebhookPlatformAdapter' object has no attribute '_parse_from_qqofficial'

你愿意提交 PR 吗?

  • 是的,我愿意提交 PR!

Code of Conduct

@Huoiop Huoiop added the bug Something isn't working label Feb 12, 2025
@Soulter
Copy link
Owner

Soulter commented Feb 12, 2025

已经修复,将在下个版本发布。

@Soulter
Copy link
Owner

Soulter commented Feb 14, 2025

v3.4.27 已经修复

@Soulter Soulter closed this as completed Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants