koishi icon indicating copy to clipboard operation
koishi copied to clipboard

Bug: discord 适配器 `getMessageList` 中获得的消息没有 `quote.id`

Open Seidko opened this issue 1 year ago • 0 comments

Describe the bug

在 discord 适配器中通过 bot.getMessageList 获得的消息没有 quote.id,具体如下图:

Steps to reproduce

  1. create koishi
  2. 启动 discord 适配器
  3. 安装 @seidko/messages 插件
  4. 让机器人接收到某个频道的消息后关闭适配器
  5. 发一条带有 quote 的消息
  6. 启动 discord 适配器
  7. 查看数据库,新获取到的消息中没有 quoteId

Expected behavior

在 discord 适配器中通过 bot.getMessageList 获得的消息正常拥有 quote.id

Screenshots

image image

Versions

  • OS: Windows 10 LTSC
  • Platform: Discord
  • Node version: 20.9.0
  • Koishi version: 4.16.1

Additional context

No response

Seidko avatar Dec 18 '23 05:12 Seidko