From 3e7839228087c4959ad5a6e9bc04945913b7d8fa Mon Sep 17 00:00:00 2001 From: GardenHamster Date: Fri, 21 Jun 2024 18:52:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/install.md | 4 +++- docs/problem.md | 14 -------------- 2 files changed, 3 insertions(+), 15 deletions(-) diff --git a/docs/install.md b/docs/install.md index c00b2020..4b3832e7 100644 --- a/docs/install.md +++ b/docs/install.md @@ -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~~ @@ -196,6 +196,8 @@ Pixiv 需要一个可以访问外网的网络环境,你需要自行购买机 2. 替换掉除了以下以外的目录/文件 * `Config` +* `BotImg` +* `Data` * `appsettings.json` * `appsettings.Production.json` diff --git a/docs/problem.md b/docs/problem.md index 93e34d4e..5e002443 100644 --- a/docs/problem.md +++ b/docs/problem.md @@ -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异常