From 2a848366f373c64da997770ca3ea9b11f5e49d24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BA=90=E6=96=87=E9=9B=A8?= <41315874+fumiama@users.noreply.github.com> Date: Fri, 14 Feb 2025 22:48:47 +0900 Subject: [PATCH] optimize(aichat): more replys --- plugin/aichat/main.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugin/aichat/main.go b/plugin/aichat/main.go index b07b5e9f..a393b7f7 100644 --- a/plugin/aichat/main.go +++ b/plugin/aichat/main.go @@ -165,6 +165,7 @@ func init() { ctx.SendChain(message.Text("ERROR: ", err)) return } + ctx.SendChain(message.Text("成功")) }) en.OnPrefix("设置AI聊天模型名", zero.OnlyPrivate, zero.SuperUserPermission).SetBlock(true).Handle(func(ctx *zero.Ctx) { args := strings.TrimSpace(ctx.State["args"].(string)) @@ -178,6 +179,7 @@ func init() { ctx.SendChain(message.Text("ERROR: ", err)) return } + ctx.SendChain(message.Text("成功")) }) en.OnPrefix("设置AI聊天系统提示词", zero.OnlyPrivate, zero.SuperUserPermission).SetBlock(true).Handle(func(ctx *zero.Ctx) { args := strings.TrimSpace(ctx.State["args"].(string)) @@ -191,5 +193,6 @@ func init() { ctx.SendChain(message.Text("ERROR: ", err)) return } + ctx.SendChain(message.Text("成功")) }) }