diff --git a/kanban/banner/banner.go b/kanban/banner/banner.go index 1f46c879..60796e8f 100644 --- a/kanban/banner/banner.go +++ b/kanban/banner/banner.go @@ -3,13 +3,13 @@ package banner // Version ... -var Version = "v1.10.5" +var Version = "v1.10.6" // Copyright ... var Copyright = "© 2020 - 2025 FloatTech" // Banner ... var Banner = "* OneBot + ZeroBot + Golang\n" + - "* Version " + Version + " - 2025-12-23 17:25:19 +0800 CST\n" + + "* Version " + Version + " - 2025-12-23 18:28:52 +0800 CST\n" + "* Copyright " + Copyright + ". All Rights Reserved.\n" + "* Project: https://github.com/FloatTech/ZeroBot-Plugin" diff --git a/plugin/aichat/main.go b/plugin/aichat/main.go index 8201b2c4..5413ba14 100644 --- a/plugin/aichat/main.go +++ b/plugin/aichat/main.go @@ -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)) diff --git a/winres/winres.json b/winres/winres.json index fa98f55c..8fb197d1 100644 --- a/winres/winres.json +++ b/winres/winres.json @@ -12,7 +12,7 @@ "0409": { "identity": { "name": "ZeroBot-Plugin", - "version": "1.10.5.2322" + "version": "1.10.6.2327" }, "description": "", "minimum-os": "vista", @@ -36,23 +36,23 @@ "#1": { "0000": { "fixed": { - "file_version": "1.10.5.2322", - "product_version": "v1.10.5", - "timestamp": "2025-12-23T17:25:31+08:00" + "file_version": "1.10.6.2327", + "product_version": "v1.10.6", + "timestamp": "2025-12-23T18:29:03+08:00" }, "info": { "0409": { "Comments": "OneBot plugins based on ZeroBot", "CompanyName": "FloatTech", "FileDescription": "https://github.com/FloatTech/ZeroBot-Plugin", - "FileVersion": "1.10.5.2322", + "FileVersion": "1.10.6.2327", "InternalName": "", "LegalCopyright": "© 2020 - 2025 FloatTech. All Rights Reserved.", "LegalTrademarks": "", "OriginalFilename": "ZBP.EXE", "PrivateBuild": "", "ProductName": "ZeroBot-Plugin", - "ProductVersion": "v1.10.5", + "ProductVersion": "v1.10.6", "SpecialBuild": "" } }