Update README.md

This commit is contained in:
2025-03-02 11:39:38 +08:00
parent 1134f8df3f
commit 5ef6fedc9b

View File

@@ -11,7 +11,7 @@ A QQbot Based on Nonebot.
1. Install [Python3.12](https://www.python.org/downloads/release/python-3129/) 1. Install [Python3.12](https://www.python.org/downloads/release/python-3129/)
2. Install [Nonebot](https://nonebot.dev/docs/quick-start) 2. Install [Nonebot](https://nonebot.dev/docs/quick-start)
3. Download this repo. 3. Download this repo.
4. Download the [resource file](https://alist.error063.work/Games/res.zip) for maicard and put it into .env.prod. *The resource file and script code are from [Error063](https://github.com/Error063/maicard?tab=readme-ov-file) 4. Download the [resource file](https://alist.error063.work/Games/res.zip) for maicard and put it into Step8's resource path. *The resource file and script code are from [Error063](https://github.com/Error063/maicard?tab=readme-ov-file)
5. Create a nonebot project at another place and copy .venv/pyvenv.cfg to the bot folder. 5. Create a nonebot project at another place and copy .venv/pyvenv.cfg to the bot folder.
6. Change the configuration on .env.prod. 6. Change the configuration on .env.prod.
7. Change the script path on /.venv/Lib/site-packages/nonebot_plugin_maimai_helper/__init__.py, line 87, 93, 201, 204 and line 205. (Please ignore my sh!t code, thanks:() 7. Change the script path on /.venv/Lib/site-packages/nonebot_plugin_maimai_helper/__init__.py, line 87, 93, 201, 204 and line 205. (Please ignore my sh!t code, thanks:()
@@ -33,7 +33,7 @@ A QQbot Based on Nonebot.
1. 安装 [Python3.12](https://www.python.org/downloads/release/python-3129/) 1. 安装 [Python3.12](https://www.python.org/downloads/release/python-3129/)
2. 安装 [Nonebot](https://nonebot.dev/docs/quick-start) 2. 安装 [Nonebot](https://nonebot.dev/docs/quick-start)
3. 下载此仓库到你的本地设备。 3. 下载此仓库到你的本地设备。
4. 下载用于生成maicard的[资源文件](https://alist.error063.work/Games/res.zip)并将此文件目录填入至.env.prod。*资源文件及脚本代码来源[Error063](https://github.com/Error063/maicard?tab=readme-ov-file) 4. 下载用于生成maicard的[资源文件](https://alist.error063.work/Games/res.zip)并将此文件目录填入至第8步的资源路径。*资源文件及脚本代码来源[Error063](https://github.com/Error063/maicard?tab=readme-ov-file)
5. 在别的地方创建一个新的nonebot项目并将 .venv/pyvenv.cfg 复制到你的Bot目录下并覆盖。 5. 在别的地方创建一个新的nonebot项目并将 .venv/pyvenv.cfg 复制到你的Bot目录下并覆盖。
6. 按照.env.prod中的提示更改配置。 6. 按照.env.prod中的提示更改配置。
7. 更改在/.venv/Lib/site-packages/nonebot_plugin_maimai_helper/\__init__.py下的第 87, 93, 201, 204, 205行的脚本路径。(不要在意我的狗史代码,谢谢你¯\_(ツ)_/¯) 7. 更改在/.venv/Lib/site-packages/nonebot_plugin_maimai_helper/\__init__.py下的第 87, 93, 201, 204, 205行的脚本路径。(不要在意我的狗史代码,谢谢你¯\_(ツ)_/¯)