mirror of
https://github.com/N1ngYu/SaltBot.git
synced 2025-09-28 08:42:40 +08:00
Update README.md
This commit is contained in:
@@ -12,7 +12,8 @@ A QQbot Based on Nonebot.
|
||||
2. Install [Nonebot](https://nonebot.dev/docs/quick-start)
|
||||
3. Download this repo.
|
||||
4. 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.)
|
||||
5. Run `nb run` in the SaltBot folder.
|
||||
5. Also, the script need change resouse path, too. The defult res path is `F:/res/` ; generate path is `F:/img/`
|
||||
6. Run `nb run` in the SaltBot folder.
|
||||
|
||||
> [!NOTE]
|
||||
> This bot will use MySQL to storge your & others Userid & Token.
|
||||
@@ -30,7 +31,8 @@ A QQbot Based on Nonebot.
|
||||
2. 安装 [Nonebot](https://nonebot.dev/docs/quick-start)
|
||||
3. 下载此仓库到你的本地设备。
|
||||
4. 更改在/.venv/Lib/site-packages/nonebot_plugin_maimai_helper/__init__.py下的第 87, 93, 201, 204, 205行的脚本路径。(不要在意我的狗史代码,谢谢你¯\_(ツ)_/¯)
|
||||
5. 在Bot运行目录下运行 `nb run` 指令以启动。
|
||||
5. 你还需要更改脚本的资源路径,默认资源为 `F:/res/` 生成为 `F:/img/` 。
|
||||
6. 在Bot运行目录下运行 `nb run` 指令以启动。
|
||||
|
||||
> [!NOTE]
|
||||
> 此Bot依赖于MySQL数据库以存储你和别人的*userid*和*token*。
|
||||
|
||||
Reference in New Issue
Block a user