Skip to content

Commit 6a55d9b

Browse files
committed
🔖 v1.9.6
1 parent d5227f1 commit 6a55d9b

File tree

5 files changed

+16
-16
lines changed

5 files changed

+16
-16
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ require (
4444
github.com/sirupsen/logrus v1.9.3
4545
github.com/tidwall/gjson v1.18.0
4646
github.com/wcharczuk/go-chart/v2 v2.1.2
47-
github.com/wdvxdr1123/ZeroBot v1.8.2-0.20250329125451-74392a01085b
47+
github.com/wdvxdr1123/ZeroBot v1.8.2-0.20250330133859-27c25d9412b5
4848
gitlab.com/gomidi/midi/v2 v2.1.7
4949
golang.org/x/image v0.24.0
5050
golang.org/x/sys v0.30.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,8 @@ github.com/tklauser/numcpus v0.6.1 h1:ng9scYS7az0Bk4OZLvrNXNSAO2Pxr1XXRAPyjhIx+F
194194
github.com/tklauser/numcpus v0.6.1/go.mod h1:1XfjsgE2zo8GVw7POkMbHENHzVg3GzmoZ9fESEdAacY=
195195
github.com/wcharczuk/go-chart/v2 v2.1.2 h1:Y17/oYNuXwZg6TFag06qe8sBajwwsuvPiJJXcUcLL6E=
196196
github.com/wcharczuk/go-chart/v2 v2.1.2/go.mod h1:Zi4hbaqlWpYajnXB2K22IUYVXRXaLfSGNNR7P4ukyyQ=
197-
github.com/wdvxdr1123/ZeroBot v1.8.2-0.20250329125451-74392a01085b h1:JCnjOzTIOUmNaIbNnWu2ICYyVkbujl+xjuINNgSQeBM=
198-
github.com/wdvxdr1123/ZeroBot v1.8.2-0.20250329125451-74392a01085b/go.mod h1:C86nQ0gIdAri4K2vg8IIQIslt08zzrKMcqYt8zhkx1M=
197+
github.com/wdvxdr1123/ZeroBot v1.8.2-0.20250330133859-27c25d9412b5 h1:HsMcBsVpYuQv+W8pjX5WdwYROrFQP9c5Pbf4x4adDus=
198+
github.com/wdvxdr1123/ZeroBot v1.8.2-0.20250330133859-27c25d9412b5/go.mod h1:C86nQ0gIdAri4K2vg8IIQIslt08zzrKMcqYt8zhkx1M=
199199
github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
200200
github.com/yusufpapurcu/wmi v1.2.4 h1:zFUKzehAFReQwLys1b/iSMl+JQGSCSjtVqQn9bBrPo0=
201201
github.com/yusufpapurcu/wmi v1.2.4/go.mod h1:SBZ9tNy3G9/m5Oi98Zks0QjeHVDvuK0qfxQmPyzfmi0=

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: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -232,10 +232,10 @@ func init() {
232232
Handle(newextrasetstr(&cfg.ModelName))
233233
en.OnPrefix("设置AI聊天系统提示词", ensureconfig, zero.OnlyPrivate, zero.SuperUserPermission).SetBlock(true).
234234
Handle(newextrasetstr(&cfg.SystemP))
235-
en.OnFullMatch("查看AI聊天系统提示词", zero.OnlyPrivate, zero.SuperUserPermission).SetBlock(true).Handle(func(ctx *zero.Ctx) {
235+
en.OnFullMatch("查看AI聊天系统提示词", ensureconfig, zero.OnlyPrivate, zero.SuperUserPermission).SetBlock(true).Handle(func(ctx *zero.Ctx) {
236236
ctx.SendChain(message.Text(cfg.SystemP))
237237
})
238-
en.OnFullMatch("重置AI聊天系统提示词", zero.OnlyPrivate, zero.SuperUserPermission).SetBlock(true).Handle(func(ctx *zero.Ctx) {
238+
en.OnFullMatch("重置AI聊天系统提示词", ensureconfig, zero.OnlyPrivate, zero.SuperUserPermission).SetBlock(true).Handle(func(ctx *zero.Ctx) {
239239
c, ok := ctx.State["manager"].(*ctrl.Control[*zero.Ctx])
240240
if !ok {
241241
ctx.SendChain(message.Text("ERROR: no such plugin"))
@@ -249,10 +249,10 @@ func init() {
249249
}
250250
ctx.SendChain(message.Text("成功"))
251251
})
252-
en.OnPrefix("设置AI聊天分隔符", zero.OnlyPrivate, zero.SuperUserPermission).SetBlock(true).
252+
en.OnPrefix("设置AI聊天分隔符", ensureconfig, zero.OnlyPrivate, zero.SuperUserPermission).SetBlock(true).
253253
Handle(newextrasetstr(&cfg.Separator))
254-
en.OnRegex("^设置AI聊天(不)?响应AT$", zero.OnlyPrivate, zero.SuperUserPermission).SetBlock(true).
254+
en.OnRegex("^设置AI聊天(不)?响应AT$", ensureconfig, zero.OnlyPrivate, zero.SuperUserPermission).SetBlock(true).
255255
Handle(newextrasetbool(&cfg.NoReplyAT))
256-
en.OnRegex("^设置AI聊天(不)?支持系统提示词$", zero.OnlyPrivate, zero.SuperUserPermission).SetBlock(true).
256+
en.OnRegex("^设置AI聊天(不)?支持系统提示词$", ensureconfig, zero.OnlyPrivate, zero.SuperUserPermission).SetBlock(true).
257257
Handle(newextrasetbool(&cfg.NoSystemP))
258258
}

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.9.5.2188"
15+
"version": "1.9.6.2202"
1616
},
1717
"description": "",
1818
"minimum-os": "vista",
@@ -36,23 +36,23 @@
3636
"#1": {
3737
"0000": {
3838
"fixed": {
39-
"file_version": "1.9.5.2188",
40-
"product_version": "v1.9.5",
41-
"timestamp": "2025-02-22T15:34:40+08:00"
39+
"file_version": "1.9.6.2202",
40+
"product_version": "v1.9.6",
41+
"timestamp": "2025-03-30T23:46:55+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.9.5.2188",
48+
"FileVersion": "1.9.6.2202",
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.9.5",
55+
"ProductVersion": "v1.9.6",
5656
"SpecialBuild": ""
5757
}
5858
}

0 commit comments

Comments
 (0)