Skip to content

Commit aebd57e

Browse files
authored
feat: new serverpic art styles (#45)
1 parent 0f2add4 commit aebd57e

File tree

6 files changed

+9
-11
lines changed

6 files changed

+9
-11
lines changed

chat/agent.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,11 @@ import (
2121

2222
"github.com/FloatTech/floatbox/binary"
2323
"github.com/FloatTech/floatbox/process"
24-
"github.com/FloatTech/zbputils/control"
25-
"github.com/FloatTech/zbputils/vevent"
2624
zero "github.com/wdvxdr1123/ZeroBot"
2725
"github.com/wdvxdr1123/ZeroBot/message"
26+
27+
"github.com/FloatTech/zbputils/control"
28+
"github.com/FloatTech/zbputils/vevent"
2829
)
2930

3031
const (

chat/storage.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
package chat
22

33
import (
4-
"github.com/FloatTech/zbputils/ctxext"
54
zero "github.com/wdvxdr1123/ZeroBot"
5+
6+
"github.com/FloatTech/zbputils/ctxext"
67
)
78

89
// Bitmap constants for storage

driver/funcall.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,6 @@ func (f *FCClient) Listen(handler func([]byte, zero.APICaller)) {
9898
}
9999

100100
// CallAPI 发送请求
101-
//
102-
//nolint:revive
103101
func (f *FCClient) CallAPI(_ context.Context, req zero.APIRequest) (zero.APIResponse, error) {
104102
req.Echo = f.nextSeq()
105103
rsp, err := f.handleRequest(&req)

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
module github.com/FloatTech/zbputils
22

3-
go 1.24.0
3+
go 1.24.2
44

55
require (
66
github.com/FloatTech/ZeroBot-Plugin-Webui v1.0.1-0.20230412164529-cfe878675931
77
github.com/FloatTech/floatbox v0.0.0-20251002074805-f95cbc7edb31
88
github.com/FloatTech/imgfactory v0.2.2-0.20230413152719-e101cc3606ef
9-
github.com/FloatTech/rendercard v0.2.0
9+
github.com/FloatTech/rendercard v0.2.2
1010
github.com/FloatTech/sqlite v1.7.2
1111
github.com/FloatTech/zbpctrl v1.7.1
1212
github.com/RomiChan/syncx v0.0.0-20240418144900-b7402ffdebc7

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ github.com/FloatTech/gg v1.1.3 h1:+GlL02lTKsxJQr4WCuNwVxC1/eBZrCvypCIBtxuOFb4=
66
github.com/FloatTech/gg v1.1.3/go.mod h1:/9oLP54CMfq4r+71XL26uaFTJ1uL1boAyX67680/1HE=
77
github.com/FloatTech/imgfactory v0.2.2-0.20230413152719-e101cc3606ef h1:CJbK/2FRwPuZpeb6M4sWK2d7oXDnBEGhpkQuQrgc91A=
88
github.com/FloatTech/imgfactory v0.2.2-0.20230413152719-e101cc3606ef/go.mod h1:el5hGpj1C1bDRxcTXYRwEivDCr40zZeJpcrLrB1fajs=
9-
github.com/FloatTech/rendercard v0.2.0 h1:PBTZ2gCEy/dAEGSfWecrGTrWDYpiBJD1dVzNDDaOxh4=
10-
github.com/FloatTech/rendercard v0.2.0/go.mod h1:Sbojcy1t3NfFz7/WicZRmR/uKFxNMYkKF8qHx69dxY0=
9+
github.com/FloatTech/rendercard v0.2.2 h1:rUroJHeesfEpBgkfGfHrOJ6XeTbFIoqmtpE1CAJdFnM=
10+
github.com/FloatTech/rendercard v0.2.2/go.mod h1:TdM9U3t0pHMz1qS5bSeVbOnJzrqMRu7D1v3uzJowGiA=
1111
github.com/FloatTech/sqlite v1.7.2 h1:b8COegNLSzofzOyARsVwSbz9OOzWEa8IElsTlx1TBLw=
1212
github.com/FloatTech/sqlite v1.7.2/go.mod h1:/4tzfCGhrZnnjC1U8vcfwGQeF6eR649fhOsS3+Le0+s=
1313
github.com/FloatTech/ttl v0.0.0-20250224045156-012b1463287d h1:mUQ/c3wXKsUGa4Sg9DBy01APXKB68PmobhxOyaJI7lY=

vevent/vcall.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ func NewAPICallerReturnHook(ctx *zero.Ctx, callback func(req zero.APIRequest, rs
2323
}
2424

2525
// CallAPI call original caller and pass rsp to callback
26-
//
27-
//nolint:revive
2826
func (v *APICallerReturnHook) CallAPI(c context.Context, req zero.APIRequest) (rsp zero.APIResponse, err error) {
2927
rsp, err = v.caller.CallAPI(c, req)
3028
v.callback(req, rsp, err)

0 commit comments

Comments
 (0)