File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -165,6 +165,7 @@ func init() {
165165 ctx .SendChain (message .Text ("ERROR: " , err ))
166166 return
167167 }
168+ ctx .SendChain (message .Text ("成功" ))
168169 })
169170 en .OnPrefix ("设置AI聊天模型名" , zero .OnlyPrivate , zero .SuperUserPermission ).SetBlock (true ).Handle (func (ctx * zero.Ctx ) {
170171 args := strings .TrimSpace (ctx .State ["args" ].(string ))
@@ -178,6 +179,7 @@ func init() {
178179 ctx .SendChain (message .Text ("ERROR: " , err ))
179180 return
180181 }
182+ ctx .SendChain (message .Text ("成功" ))
181183 })
182184 en .OnPrefix ("设置AI聊天系统提示词" , zero .OnlyPrivate , zero .SuperUserPermission ).SetBlock (true ).Handle (func (ctx * zero.Ctx ) {
183185 args := strings .TrimSpace (ctx .State ["args" ].(string ))
@@ -191,5 +193,6 @@ func init() {
191193 ctx .SendChain (message .Text ("ERROR: " , err ))
192194 return
193195 }
196+ ctx .SendChain (message .Text ("成功" ))
194197 })
195198}
You can’t perform that action at this time.
0 commit comments