mirror of
https://github.com/langbot-app/LangBot.git
synced 2025-11-25 11:29:39 +08:00
doc: 添加go-cqhttp配置说明
This commit is contained in:
23
README.md
23
README.md
@@ -192,10 +192,27 @@
|
|||||||
|
|
||||||
- 请使用Python 3.9.x以上版本
|
- 请使用Python 3.9.x以上版本
|
||||||
|
|
||||||
#### 配置Mirai
|
#### 配置QQ登录框架
|
||||||
|
|
||||||
按照[此教程](https://yiri-mirai.wybxc.cc/tutorials/01/configuration)配置Mirai及YiriMirai
|
目前支持mirai和go-cqhttp,配置任意一个即可
|
||||||
启动mirai-console后,使用`login`命令登录QQ账号,保持mirai-console运行状态
|
|
||||||
|
<details>
|
||||||
|
<summary>mirai</summary>
|
||||||
|
|
||||||
|
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`
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary>go-cqhttp</summary>
|
||||||
|
|
||||||
|
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`
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
#### 配置主程序
|
#### 配置主程序
|
||||||
|
|
||||||
|
|||||||
17
README_en.md
17
README_en.md
@@ -107,11 +107,26 @@ Use [this installer](https://github.com/RockChinQ/qcg-installer) to deploy.
|
|||||||
|
|
||||||
- Python 3.9.x or higher
|
- Python 3.9.x or higher
|
||||||
|
|
||||||
#### Configure Mirai
|
#### 配置QQ登录框架
|
||||||
|
|
||||||
|
Currently supports mirai and go-cqhttp, configure either one
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary>mirai</summary>
|
||||||
|
|
||||||
Follow [this tutorial(cn)](https://yiri-mirai.wybxc.cc/tutorials/01/configuration) to configure Mirai and YiriMirai.
|
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.
|
After starting mirai-console, use the `login` command to log in to the QQ account, and keep the mirai-console running.
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary>go-cqhttp</summary>
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
#### Configure QChatGPT
|
#### Configure QChatGPT
|
||||||
|
|
||||||
1. Clone the repository
|
1. Clone the repository
|
||||||
|
|||||||
Reference in New Issue
Block a user