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: adapter-satori接入chronocat,引用消息的session中quote属性缺失。 #1395

Open
March-7th-Tech opened this issue May 3, 2024 · 0 comments
Labels
bug BUG

Comments

@March-7th-Tech
Copy link

March-7th-Tech commented May 3, 2024

Describe the bug

QQ引用消息传给koishi的时,缺失quote属性。
根据官方文档,session中应该有个quote属性。
沙盒中引用消息时是正常的,但是通过adapter-satori接入chronocat时,接受QQ平台的引用消息,console.log(session)发现quote这个属性直接没了。
在QQ中,直接引用消息并进行指令输入,可以发现 指令 直接被吞掉了……这时候koishi甚至没办法识别help指令。

Steps to reproduce

通过adapter-satori接入chronocat,使用这个插件,输入指令去console.log(Session)。
可以发现(在QQ平台中):
无引用消息并发送指令时,日志中Session的quote属性是缺失的。
引用消息时并发送指令时,koishi无法识别指令。

Expected behavior

通过adapter-satori接入chronocat的消息Session中,应该有个quote属性。

Screenshots

沙盒的Session:
test
QQ的Session:
QQtest
QQ引用消息并输入指令:
QQtest1
可以发现koishi并没有识别到这个help指令……

Versions

  • OS: Ubuntu22.04
  • Platform: Chronocat/QQ
  • Node version: 20.12.2
  • Koishi version: 4.17.5
  • QQ version: 3.2.7
  • Chronocat version: 0.2.9

Additional context

No response

@March-7th-Tech March-7th-Tech added the bug BUG label May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug BUG
Projects
None yet
Development

No branches or pull requests

1 participant