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的message.create出现多次调用 #1445

Open
wyapx opened this issue Aug 13, 2024 · 1 comment
Open

Bug: adapter-satori的message.create出现多次调用 #1445

wyapx opened this issue Aug 13, 2024 · 1 comment
Labels
bug BUG

Comments

@wyapx
Copy link

wyapx commented Aug 13, 2024

Describe the bug

使用adapter-satori适配器发送消息时,message.create接口会被调用两次

第二次调用的content参数为空(空消息),且仅在第一次调用完成后触发

Steps to reproduce

配置好adapter-satori插件,让机器人随意发送一条消息即可触发

Expected behavior

排除错误的调用

Screenshots

No response

Versions

  • OS: Windows11
  • Platform: Satori
  • Node version: v20.11.0
  • Koishi version: v4.17.11(latest)

Additional context

No response

@wyapx wyapx added the bug BUG label Aug 13, 2024
@DGCK81LNN
Copy link
Contributor

DGCK81LNN commented Oct 11, 2024

怀疑可能与 session.execute() 二参不为 true 时现在返回空数组而非空字符串 (d69e934) 有关。

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

2 participants