mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2026-01-02 16:29:07 +08:00
🔖 v1.10.6
Some checks failed
最新版 / Build binary CI (386, linux) (push) Has been cancelled
最新版 / Build binary CI (386, windows) (push) Has been cancelled
最新版 / Build binary CI (amd64, linux) (push) Has been cancelled
最新版 / Build binary CI (amd64, windows) (push) Has been cancelled
最新版 / Build binary CI (arm, linux) (push) Has been cancelled
最新版 / Build binary CI (arm64, linux) (push) Has been cancelled
PushLint / lint (push) Has been cancelled
Some checks failed
最新版 / Build binary CI (386, linux) (push) Has been cancelled
最新版 / Build binary CI (386, windows) (push) Has been cancelled
最新版 / Build binary CI (amd64, linux) (push) Has been cancelled
最新版 / Build binary CI (amd64, windows) (push) Has been cancelled
最新版 / Build binary CI (arm, linux) (push) Has been cancelled
最新版 / Build binary CI (arm64, linux) (push) Has been cancelled
PushLint / lint (push) Has been cancelled
This commit is contained in:
parent
8fc733ffd1
commit
ec59133f96
@ -3,13 +3,13 @@
|
|||||||
package banner
|
package banner
|
||||||
|
|
||||||
// Version ...
|
// Version ...
|
||||||
var Version = "v1.10.5"
|
var Version = "v1.10.6"
|
||||||
|
|
||||||
// Copyright ...
|
// Copyright ...
|
||||||
var Copyright = "© 2020 - 2025 FloatTech"
|
var Copyright = "© 2020 - 2025 FloatTech"
|
||||||
|
|
||||||
// Banner ...
|
// Banner ...
|
||||||
var Banner = "* OneBot + ZeroBot + Golang\n" +
|
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" +
|
"* Copyright " + Copyright + ". All Rights Reserved.\n" +
|
||||||
"* Project: https://github.com/FloatTech/ZeroBot-Plugin"
|
"* Project: https://github.com/FloatTech/ZeroBot-Plugin"
|
||||||
|
|||||||
@ -263,6 +263,9 @@ func init() {
|
|||||||
en.OnFullMatch("查看AI聊天配置", ensureconfig, zero.SuperUserPermission).SetBlock(true).
|
en.OnFullMatch("查看AI聊天配置", ensureconfig, zero.SuperUserPermission).SetBlock(true).
|
||||||
Handle(func(ctx *zero.Ctx) {
|
Handle(func(ctx *zero.Ctx) {
|
||||||
gid := ctx.Event.GroupID
|
gid := ctx.Event.GroupID
|
||||||
|
if gid == 0 {
|
||||||
|
gid = -ctx.Event.UserID
|
||||||
|
}
|
||||||
stor, err := newstorage(ctx, gid)
|
stor, err := newstorage(ctx, gid)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
ctx.SendChain(message.Text("ERROR: ", err))
|
ctx.SendChain(message.Text("ERROR: ", err))
|
||||||
|
|||||||
@ -12,7 +12,7 @@
|
|||||||
"0409": {
|
"0409": {
|
||||||
"identity": {
|
"identity": {
|
||||||
"name": "ZeroBot-Plugin",
|
"name": "ZeroBot-Plugin",
|
||||||
"version": "1.10.5.2322"
|
"version": "1.10.6.2327"
|
||||||
},
|
},
|
||||||
"description": "",
|
"description": "",
|
||||||
"minimum-os": "vista",
|
"minimum-os": "vista",
|
||||||
@ -36,23 +36,23 @@
|
|||||||
"#1": {
|
"#1": {
|
||||||
"0000": {
|
"0000": {
|
||||||
"fixed": {
|
"fixed": {
|
||||||
"file_version": "1.10.5.2322",
|
"file_version": "1.10.6.2327",
|
||||||
"product_version": "v1.10.5",
|
"product_version": "v1.10.6",
|
||||||
"timestamp": "2025-12-23T17:25:31+08:00"
|
"timestamp": "2025-12-23T18:29:03+08:00"
|
||||||
},
|
},
|
||||||
"info": {
|
"info": {
|
||||||
"0409": {
|
"0409": {
|
||||||
"Comments": "OneBot plugins based on ZeroBot",
|
"Comments": "OneBot plugins based on ZeroBot",
|
||||||
"CompanyName": "FloatTech",
|
"CompanyName": "FloatTech",
|
||||||
"FileDescription": "https://github.com/FloatTech/ZeroBot-Plugin",
|
"FileDescription": "https://github.com/FloatTech/ZeroBot-Plugin",
|
||||||
"FileVersion": "1.10.5.2322",
|
"FileVersion": "1.10.6.2327",
|
||||||
"InternalName": "",
|
"InternalName": "",
|
||||||
"LegalCopyright": "© 2020 - 2025 FloatTech. All Rights Reserved.",
|
"LegalCopyright": "© 2020 - 2025 FloatTech. All Rights Reserved.",
|
||||||
"LegalTrademarks": "",
|
"LegalTrademarks": "",
|
||||||
"OriginalFilename": "ZBP.EXE",
|
"OriginalFilename": "ZBP.EXE",
|
||||||
"PrivateBuild": "",
|
"PrivateBuild": "",
|
||||||
"ProductName": "ZeroBot-Plugin",
|
"ProductName": "ZeroBot-Plugin",
|
||||||
"ProductVersion": "v1.10.5",
|
"ProductVersion": "v1.10.6",
|
||||||
"SpecialBuild": ""
|
"SpecialBuild": ""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user