Skip to content

Commit

Permalink
更新文档
Browse files Browse the repository at this point in the history
  • Loading branch information
GardenHamster committed Jun 21, 2024
1 parent 0fab9ab commit 3e78392
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 15 deletions.
4 changes: 3 additions & 1 deletion docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
## 安装协议库
在下面机器人协议库中选择一个安装,你可以全部都安装,但是同一时间只能运行其中一个

- **安装LLOneBot(推荐):**参照 [LLOneBot](https://llonebot.github.io/zh-CN/guide/getting-started) 文档安装
- **安装LLOneBot(推荐):**参照 [LLOneBot](https://llonebot.github.io/zh-CN/guide/getting-started) 文档安装,(LLOneBot不支持发送临时消息,如需接收临时消息请添加bot为好友)

- ~~安装Mirai(不推荐):参照 [mirai-console-loader](https://github.com/iTXTech/mirai-console-loader) 文档安装,参考 [mirai-api-http](https://github.com/project-mirai/mirai-api-http) 文档配置`mirai-api-http`插件,参考 [登录方案](https://mirai.mamoe.net/topic/223/%E6%97%A0%E6%B3%95%E7%99%BB%E5%BD%95%E7%9A%84%E4%B8%B4%E6%97%B6%E5%A4%84%E7%90%86%E6%96%B9%E6%A1%88) 登录Bot~~

Expand Down Expand Up @@ -196,6 +196,8 @@ Pixiv 需要一个可以访问外网的网络环境,你需要自行购买机

2. 替换掉除了以下以外的目录/文件
* `Config`
* `BotImg`
* `Data`
* `appsettings.json`
* `appsettings.Production.json`

Expand Down
14 changes: 0 additions & 14 deletions docs/problem.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,20 +126,6 @@ The remote certificate is invalid because of errors in the certificate chain: No
yum update ca-certificates -y
```
### 日榜发送异常
```powershell
replyRankingInfo异常
System.ArgumentException: 调用http-api失败, 参数错误, 请到 https://github.com/Executor-Cheng/Mirai-CSharp/issues 下提交issue。
at Mirai.CSharp.HttpApi.Extensions.ApiResponseExtensions.EnsureApiRespCode(JsonElement root)
at Mirai.CSharp.HttpApi.Session.MiraiHttpSession.CommonSendMessageAsync(String action, Nullable`1 qqNumber, Nullable`1 groupNumber, IChatMessage[] chain, Nullable`1 quoteMsgId, CancellationToken token)
at TheresaBot.MiraiHttpApi.Session.MiraiSession.SendGroupMergeMessageAsync(Int64 groupId, List`1 setuContents) in D:\project\Theresa3rd-Bot\Theresa3rd-Bot\TheresaBot.MiraiHttpApi\Session\MiraiSession.cs:line 93
at TheresaBot.MiraiHttpApi.Session.MiraiSession.SendGroupSetuAsync(List`1 setuContents, Int64 groupId, Boolean sendMerge) in D:\project\Theresa3rd-Bot\Theresa3rd-Bot\TheresaBot.MiraiHttpApi\Session\MiraiSession.cs:line 118
at TheresaBot.Main.Handler.PixivRankingHandler.replyRankingInfo(GroupCommand command, PixivRankingMode rankingMode, PixivRankingItem rankingItem) in D:\project\Theresa3rd-Bot\Theresa3rd-Bot\TheresaBot.Main\Handler\PixivRankingHandler.cs:line 196
```
* 出现这个异常需要将mirai-http-api.jar版本升级到`v2.9.1`及以上
### Ascii2d 403异常
```powershell
SearchWithAscii2d异常
Expand Down

0 comments on commit 3e78392

Please sign in to comment.