Skip to content

Commit ec59133

Browse files
committed
🔖 v1.10.6
1 parent 8fc733f commit ec59133

File tree

3 files changed

+11
-8
lines changed

3 files changed

+11
-8
lines changed

kanban/banner/banner.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugin/aichat/main.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,9 @@ func init() {
263263
en.OnFullMatch("查看AI聊天配置", ensureconfig, zero.SuperUserPermission).SetBlock(true).
264264
Handle(func(ctx *zero.Ctx) {
265265
gid := ctx.Event.GroupID
266+
if gid == 0 {
267+
gid = -ctx.Event.UserID
268+
}
266269
stor, err := newstorage(ctx, gid)
267270
if err != nil {
268271
ctx.SendChain(message.Text("ERROR: ", err))

winres/winres.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"0409": {
1313
"identity": {
1414
"name": "ZeroBot-Plugin",
15-
"version": "1.10.5.2322"
15+
"version": "1.10.6.2327"
1616
},
1717
"description": "",
1818
"minimum-os": "vista",
@@ -36,23 +36,23 @@
3636
"#1": {
3737
"0000": {
3838
"fixed": {
39-
"file_version": "1.10.5.2322",
40-
"product_version": "v1.10.5",
41-
"timestamp": "2025-12-23T17:25:31+08:00"
39+
"file_version": "1.10.6.2327",
40+
"product_version": "v1.10.6",
41+
"timestamp": "2025-12-23T18:29:03+08:00"
4242
},
4343
"info": {
4444
"0409": {
4545
"Comments": "OneBot plugins based on ZeroBot",
4646
"CompanyName": "FloatTech",
4747
"FileDescription": "https://github.com/FloatTech/ZeroBot-Plugin",
48-
"FileVersion": "1.10.5.2322",
48+
"FileVersion": "1.10.6.2327",
4949
"InternalName": "",
5050
"LegalCopyright": "© 2020 - 2025 FloatTech. All Rights Reserved.",
5151
"LegalTrademarks": "",
5252
"OriginalFilename": "ZBP.EXE",
5353
"PrivateBuild": "",
5454
"ProductName": "ZeroBot-Plugin",
55-
"ProductVersion": "v1.10.5",
55+
"ProductVersion": "v1.10.6",
5656
"SpecialBuild": ""
5757
}
5858
}

0 commit comments

Comments
 (0)