onebots icon indicating copy to clipboard operation
onebots copied to clipboard

基于icqq的多例oneBot管理应用

Results 13 onebots issues
Sort by recently updated
recently updated
newest added

- fix #143 - fix #137 - fix: 修复callApi错误调用 - fix: V11模式的错误码使用错误 - fix: 修复V11的get_msg获取图片等消息时结构出现多一层data的问题 - improve: 优化V11的响应码,兼容go-cqhttp的用户

![image](https://github.com/lc-cn/onebots/assets/94736026/6296c421-4817-4bb8-83ca-a42499af14f6)

- WebConsole 无法选中日志并复制 - 输入滑动验证码后报错 第一个问题,`[email protected]` 这个版本是可以选中复制的。 第二个问题,以下是输入内容后的报错信息: ``` [2024-03-26T14:46:40.187] [MARK] [OneBots:icqq] - 请输入滑块验证返回的ticket unhandledRejection TypeError: process_1.default.stdin.write is not a function at WebSocket. (/app/node_modules/onebots/lib/server/app.js:221:56) at WebSocket.emit (node:events:517:28) at Receiver.receiverOnMessage (/app/node_modules/ws/lib/websocket.js:1209:20)...

最新版的`onebots`和`icqqjs/icqq` 又出现了合并转发一直超时的问题,我这边用的时候好像 action 匹配不到就会一直超时,应该是 V11 没有像 V12 那样匹配不到 action 就抛出 404 异常的兜底。

请问这个我需要怎么解决 ![image](https://github.com/lc-cn/onebots/assets/107689301/53ee5a31-d8ea-4ac5-ab8c-3df1ca28dc86) 这是项目信息 ![image](https://github.com/lc-cn/onebots/assets/107689301/1b7603db-956a-42ef-b7f0-e55688eee5d3)

bot端代码: ![image](https://github.com/lc-cn/onebots/assets/49012015/64ed8233-a00c-4a45-8670-eff05e0cebad) ![image](https://github.com/lc-cn/onebots/assets/49012015/a7a358b2-37c9-4eb3-b0c9-e795ca3898cd) onebot侧现象: ![image](https://github.com/lc-cn/onebots/assets/49012015/fb3f7356-4287-4234-a84a-db8f25797ff9) nonebot2版本:2.1.2 nonebot-adapter-onebot版本:2.3.1 onebots版本:0.6.1 发送图片时会提示无message,如果是文字+图片,图片会直接消失掉: ![image](https://github.com/lc-cn/onebots/assets/49012015/4ef9ead2-261e-45c4-b18c-6f03eb6adcc7) 可以保证的是bytesIO返回的图片数据是正确的,因为gocq可以正常发送

kotlinx.serialization.MissingFieldException: Field 'nickname' is required for type with serial name 'love.forte.simbot.component.onebot.v11.core.api.GetLoginInfoResult', but it was missing at path: $.data

onebots版本为0.4.92,nb与nb端的v11适配器均是最新版。收到任意消息都会报错 ValueError: Event has no message ![683d5fa067a1e4ba2ae23f8e4d22b7a7](https://github.com/lc-cn/onebots/assets/57926506/592715bd-9c1c-4e8b-8945-0730f69afbb3) onebots配置如下: ![image](https://github.com/lc-cn/onebots/assets/57926506/350d2d64-7c81-42e7-b56a-fa82d5a59c2f)

## Nodejs v20 ## 预期效果 ```log 10-02 23:58:55 [SUCCESS] nonebot | OneBot V11 3xxx8 | [message.group.normal]: Message 2039027551 from 21xxx0@[群:8xxx185] '[reply:id=2038969363] 🌿🌿' ``` ## 实际效果 ```log 10-02 13:52:13 [SUCCESS] nonebot...