🔖 v1.10.6

This commit is contained in:
源文雨
2025-12-23 18:29:10 +08:00
parent 8fc733ffd1
commit ec59133f96
3 changed files with 11 additions and 8 deletions

View File

@@ -263,6 +263,9 @@ func init() {
en.OnFullMatch("查看AI聊天配置", ensureconfig, zero.SuperUserPermission).SetBlock(true).
Handle(func(ctx *zero.Ctx) {
gid := ctx.Event.GroupID
if gid == 0 {
gid = -ctx.Event.UserID
}
stor, err := newstorage(ctx, gid)
if err != nil {
ctx.SendChain(message.Text("ERROR: ", err))