From 25043ed43c0f534bc63cb74e650eb8cff19b00cd Mon Sep 17 00:00:00 2001 From: RockChinQ <1010553892@qq.com> Date: Fri, 13 Sep 2024 08:04:35 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=A0=BC=E5=BC=8F=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/config/function/pipeline.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/config/function/pipeline.md b/docs/config/function/pipeline.md index 879627e7b..a97900e46 100644 --- a/docs/config/function/pipeline.md +++ b/docs/config/function/pipeline.md @@ -45,11 +45,11 @@ `prefix`:设置响应前缀,带有指定前缀的消息即使没有at机器人也会被响应,发送给AI时会删除前缀。例如: - ```json - "prefix": ["/ai", "!ai", "!ai", "ai"] +```json +"prefix": ["/ai", "!ai", "!ai", "ai"] - 此时,消息"ai 你好"就会被响应,发送给AI时会删除前缀"ai",即"你好" - ``` +此时,消息"ai 你好"就会被响应,发送给AI时会删除前缀"ai",即"你好" +``` `regexp`:正则匹配,[正则表达式教程](https://www.runoob.com/regexp/regexp-syntax.html)