Skip to content

Commit

Permalink
docs(guide): update preset
Browse files Browse the repository at this point in the history
- 修改了 switch-preset.md 中关于预设文件夹路径的描述,使用了更通用的表述
- 更新了 write-preset.md 中关于预设文件夹路径的说明,采用了相同的通用表述
- 这些修改提高了文档的可读性和适用性,适用于不同安装路径的 Koishi 用户
dingyi222666 committed Oct 20, 2024

Verified

This commit was signed with the committer’s verified signature.
1 parent 6bad0d0 commit a8cc44b
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/guide/preset-system/switch-preset.md
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@
### 对于某个房间

1. 前往 [presets](https://github.com/ChatLunaLab/awesome-chatluna-presets/tree/main/presets) 文件夹,浏览并下载你喜欢的预设文件。
2. 找到你的 Koishi 插件的安装目录,将下载的预设文件放入 `data/chathub/presets` 文件夹中。
2. 找到你的 Koishi 数据目录,将下载的预设文件放入 `<Koishi 数据目录>/data/chathub/presets` 文件夹中。
3. 使用 [`chatluna.preset.list`](../useful-commands.md#预设列表) 命令,查看你已经添加的预设。
4. 使用 [`chatluna.room.set -p <preset>`](../useful-commands.md#设置预设) 命令,对当前你所在的房间切换为你想要使用的预设。

2 changes: 1 addition & 1 deletion docs/guide/preset-system/write-preset.md
Original file line number Diff line number Diff line change
@@ -219,7 +219,7 @@ prompts:
content: 杂鱼大叔这么快就想人家了嘛?
```

将编写好的预设文件(如 `girl.yml`)复制到 Koishi 的预设文件夹中(路径通常为 `你的Koishi目录/data/chathub/preset/`)。
将编写好的预设文件(如 `girl.yml`)复制到 Koishi 的预设文件夹中(路径通常为 `<你的Koishi数据目录>/data/chathub/preset`)。

复制完成后在 Koishi 控制台中执行 `chatluna.preset.list` 命令来查看可用的预设列表。如一切正常,你应该能在列表中看到刚刚添加的"雌小鬼"预设。

0 comments on commit a8cc44b

Please sign in to comment.