From 2f3a76ff93a9392558cf7670b0d2e873a7a43be5 Mon Sep 17 00:00:00 2001 From: dingyi <dingyi222666@foxmail.com> Date: Sun, 19 Nov 2023 02:10:07 +0800 Subject: [PATCH] =?UTF-8?q?docs=20=F0=9F=93=9D:=20update=20switch-preset?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/guide/preset-system/switch-preset.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/guide/preset-system/switch-preset.md b/docs/guide/preset-system/switch-preset.md index 0c731d77..d5acf279 100644 --- a/docs/guide/preset-system/switch-preset.md +++ b/docs/guide/preset-system/switch-preset.md @@ -4,7 +4,14 @@ ## 如何使用预设? +### 对于某个房间 + 1. 前往 [presets](https://github.com/ChatLunaLab/awesome-chatluna-presets/tree/main/presets) 文件夹,浏览并下载你喜欢的预设文件。 2. 找到你的 Koishi 插件的安装目录,然后将下载的预设文件放入 `data/chathub/presets` 文件夹中。 3. 使用 [`chatluna.preset.list`](#预设列表) 命令,查看你已经添加的预设。 4. 使用 [`chatluna.room.set -p <preset>`](#设置预设) 命令,对当前你所在的房间切换为你想要使用的预设。 + +### 对于模版克隆房间 + +1. 执行一次 [`chatluna.preset.list`](#预设列表) 命令,查看你已经添加的预设。 +2. 前往 Koishi 控制台,找到 ChatLuna 的配置项,在 [`defaultPreset`](../useful-configurations.md#defaultpreset) 选项里选择你需要使用的预设即可。