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

adapter-qq 在GUILD_MEMBER 事件下回复异常 #231

Open
Harry-zklcdc opened this issue Jan 24, 2024 · 2 comments
Open

adapter-qq 在GUILD_MEMBER 事件下回复异常 #231

Harry-zklcdc opened this issue Jan 24, 2024 · 2 comments
Assignees

Comments

@Harry-zklcdc
Copy link

会出现这样的报错
061fa9291dc0bdbcc009a36828dcbfef

调用代码是
2b02270c06c205e9d2d466c195de2cc6

查询 QQ 机器人文档后, GUILD_MEMBER 事件支持被动回复: Link

@shigma
Copy link
Contributor

shigma commented Jan 24, 2024

需要对此做两个改动:

  1. 在 Koishi 侧:session.send() 时判断是否 channelId 存在,如果不存在直接报错 @shigma
  2. 在 Satori 侧:支持 QQ 基于 event-id 发送被动消息 @XxLittleCxX

@Harry-zklcdc
Copy link
Author

GUILD_MEMBER 事件似乎不会有 channelId 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants