project-mirai / mirai-api-http

Mirai HTTP API (console) plugin
GNU Affero General Public License v3.0
1.65k stars 345 forks source link

fetchMessage 接口接收到的数据中,不存在 marketface 消息类型: #535

Closed QingQiz closed 2 years ago

QingQiz commented 2 years ago

fetchMessage 接口接收到的数据中,不存在marketface消息类型:

mirai-console 的 log

2022-01-19 01:21:53 V/Bot.xxxxxx: [bot测试(xxxxx)] XX(xxxxx) -> [mirai:marketface:203387,[气鼓鼓]]

fetchMessage 返回的数据

{
  "code": 0,
  "msg": "",
  "data": [
    {
      "type": "GroupMessage",
      "messageChain": [
        {
          "type": "Source",
          "id": 2694,
          "time": 1642526563
        }
      ],
      "sender": {
        "id": xxxxxxxxx,
        "memberName": "XX",
        "specialTitle": "",
        "permission": "OWNER",
        "joinTimestamp": 1636215286,
        "lastSpeakTimestamp": 1642526564,
        "muteTimeRemaining": 0,
        "group": {
          "id": xxxxxxxxxxx,
          "name": "bot测试",
          "permission": "MEMBER"
        }
      }
    }
  ]
}

版本信息

  01:02:15 [INFO] Verifying "net.mamoe:mirai-console" v2.9.1
  01:02:15 [INFO] Verifying "net.mamoe:mirai-console-terminal" v2.9.1
  01:02:15 [INFO] Verifying "net.mamoe:mirai-core-all" v2.9.1
  01:02:15 [INFO] Verifying "org.itxtech:mcl-addon" v1.2.2
  01:02:15 [INFO] Verifying "net.mamoe:mirai-api-http" v2.4.0
ryoii commented 2 years ago

留意 #505