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 #49

Closed
test-qq-mail-bot opened this issue Aug 20, 2020 · 4 comments
Closed

您好,发现几个bug #49

test-qq-mail-bot opened this issue Aug 20, 2020 · 4 comments
Labels
bug Something isn't working

Comments

@test-qq-mail-bot
Copy link

您好,发现几个bug,plugins里的配置文件是这个
`# Debug日志输出选项
debug: false

要进行配置的QQ号 (Mirai支持多帐号登录, 故需要对每个帐号进行单独设置)

'q号':

是否缓存所有收到的图片, 默认为否 (仅包含图片信息, 不包含图片本身, < 0.5KB)

cacheImage: false

是否缓存所有收到的语音, 默认为否 (将下载完整语音进行保存)

cacheRecord: false

心跳包相关配置

heartbeat:
# 是否发送心跳包, 默认为否
enable: false
# 心跳包发送间隔, 默认为 15000毫秒
interval: 15000

HTTP 相关配置

http:
# 可选,是否启用HTTP API服务器, 默认为不启用, 此项开始与否跟postUrl无关
enable: true
# 可选,HTTP API服务器监听地址, 默认为0.0.0.0
host: 0.0.0.0
# 可选,HTTP API服务器监听端口, 5700
port: 5700
# 可选,访问口令, 默认为空, 即不设置Token
accessToken: ""
# 可选,事件及数据上报URL, 默认为空, 即不上报
postUrl: ""
# 可选,上报消息格式,string 为字符串格式,array 为数组格式, 默认为string
postMessageFormat: string
# 可选,上报数据签名密钥, 默认为空
secret: ""

可选,反向客户端服务

ws_reverse:
# 可选,是否启用反向客户端,默认不启用
- enable: true
# 上报消息格式,string 为字符串格式,array 为数组格式
postMessageFormat: string
# 反向Websocket主机
reverseHost: 127.0.0.1
# 反向Websocket端口
reversePort: 9999
# 访问口令, 默认为空, 即不设置Token
accessToken: ""
# 反向Websocket路径
reversePath: /ws
# 可选, 反向Websocket Api路径, 默认为reversePath
reverseApiPath: /api
# 可选, 反向Websocket Event路径, 默认为reversePath
reverseEventPath: /event
# 是否使用Universal客户端 默认为true
useUniversal: true
# 反向 WebSocket 客户端断线重连间隔,单位毫秒
reconnectInterval: 3000
- enable: true # 这里是第二个连接, 相当于CQHTTP分身版
postMessageFormat: string
reverseHost: 127.0.0.1
reversePort: 9222
reversePath: /ws
useUniversal: true
reconnectInterval: 3000

正向Websocket服务器

ws:
# 可选,是否启用正向Websocket服务器,默认不启用
enable: true
# 可选,上报消息格式,string 为字符串格式,array 为数组格式, 默认为string
postMessageFormat: string
# 可选,访问口令, 默认为空, 即不设置Token
accessToken: ""
# 监听主机
wsHost: "0.0.0.0"
# 监听端口
wsPort: 8080

'0987654321': # 这里是第二个QQ Bot的配置
ws_reverse:
- enable: true
postMessageFormat: string
reverseHost:
reversePort:
reversePath: /ws
reconnectInterval: 3000`

@test-qq-mail-bot
Copy link
Author

恩...排班有点乱...
在打开yobot的情况下,yobot的指令都不能用
TIM截图20200820171517
报刀这些指令,yobot里有显示,但都显示群聊失败和发送不了消息
TIM截图20200820171536
这个bug是2.1之后的版本都有的.embedded版也是

@test-qq-mail-bot
Copy link
Author

还有一个bug
2.1 2.2的embedded版里plugins添加了mirai-api-http-v1.7.3这个插件,会导致cqhttp-mirai不能用,cqhttp-mirai-embedded的面板如下,
TIM截图20200820210701
plugins里面的配置文件没改过,只是放了mirai-api-http-v1.7.3.jar进去plugins文件夹里

@yyuueexxiinngg yyuueexxiinngg added the bug Something isn't working label Aug 20, 2020
@yyuueexxiinngg
Copy link
Owner

对于yobot问题已发修复包, mirai-api-http问题正在调查中

@yyuueexxiinngg
Copy link
Owner

abc4dd1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants