From 418bb05b4cca96487f325182b5555cdffc2a4796 Mon Sep 17 00:00:00 2001
From: Rock Chin <1010553892@qq.com>
Date: Mon, 24 Apr 2023 15:46:58 +0800
Subject: [PATCH] =?UTF-8?q?doc:=20=E6=B7=BB=E5=8A=A0go-cqhttp=E9=85=8D?=
=?UTF-8?q?=E7=BD=AE=E8=AF=B4=E6=98=8E?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
README.md | 23 ++++++++++++++++++++---
README_en.md | 17 ++++++++++++++++-
2 files changed, 36 insertions(+), 4 deletions(-)
diff --git a/README.md b/README.md
index d4ffc9ff..4f47a1db 100644
--- a/README.md
+++ b/README.md
@@ -192,10 +192,27 @@
- 请使用Python 3.9.x以上版本
-#### 配置Mirai
+#### 配置QQ登录框架
-按照[此教程](https://yiri-mirai.wybxc.cc/tutorials/01/configuration)配置Mirai及YiriMirai
-启动mirai-console后,使用`login`命令登录QQ账号,保持mirai-console运行状态
+目前支持mirai和go-cqhttp,配置任意一个即可
+
+
+mirai
+
+1. 按照[此教程](https://yiri-mirai.wybxc.cc/tutorials/01/configuration)配置Mirai及mirai-api-http
+2. 启动mirai-console后,使用`login`命令登录QQ账号,保持mirai-console运行状态
+3. 在下一步配置主程序时请在config.py中将`msg_source_adapter`设为`yirimirai`
+
+
+
+
+go-cqhttp
+
+1. 按照[此文档](https://github.com/RockChinQ/QChatGPT/wiki/go-cqhttp%E9%85%8D%E7%BD%AE)配置go-cqhttp
+2. 启动go-cqhttp,确保登录成功,保持运行
+3. 在下一步配置主程序时请在config.py中将`msg_source_adapter`设为`nakuru`
+
+
#### 配置主程序
diff --git a/README_en.md b/README_en.md
index ffffab53..92ca57b8 100644
--- a/README_en.md
+++ b/README_en.md
@@ -107,11 +107,26 @@ Use [this installer](https://github.com/RockChinQ/qcg-installer) to deploy.
- Python 3.9.x or higher
-#### Configure Mirai
+#### 配置QQ登录框架
+
+Currently supports mirai and go-cqhttp, configure either one
+
+
+mirai
Follow [this tutorial(cn)](https://yiri-mirai.wybxc.cc/tutorials/01/configuration) to configure Mirai and YiriMirai.
After starting mirai-console, use the `login` command to log in to the QQ account, and keep the mirai-console running.
+
+
+
+go-cqhttp
+
+1. Follow [this tutorial(cn)](https://github.com/RockChinQ/QChatGPT/wiki/go-cqhttp%E9%85%8D%E7%BD%AE) to configure go-cqhttp.
+2. Start go-cqhttp, make sure it is logged in and running.
+
+
+
#### Configure QChatGPT
1. Clone the repository