Skip to content

Commit

Permalink
chore: update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
fumiama committed May 4, 2024
1 parent 1351a7e commit 15df65a
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ require (
github.com/FloatTech/sqlite v1.6.3
github.com/FloatTech/ttl v0.0.0-20230307105452-d6f7b2b647d1
github.com/FloatTech/zbpctrl v1.6.1
github.com/FloatTech/zbputils v1.7.1-0.20240504134720-ce2b1be4b85a
github.com/FloatTech/zbputils v1.7.1-0.20240504183209-0ffd8b27cbeb
github.com/RomiChan/syncx v0.0.0-20240418144900-b7402ffdebc7
github.com/RomiChan/websocket v1.4.3-0.20220227141055-9b2c6168c9c5
github.com/antchfx/htmlquery v1.2.5
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ github.com/FloatTech/ttl v0.0.0-20230307105452-d6f7b2b647d1 h1:g4pTnDJUW4VbJ9Nvo
github.com/FloatTech/ttl v0.0.0-20230307105452-d6f7b2b647d1/go.mod h1:fHZFWGquNXuHttu9dUYoKuNbm3dzLETnIOnm1muSfDs=
github.com/FloatTech/zbpctrl v1.6.1 h1:SilK5R2poO8iUT6JPzpgr/BSzxYAaybBYNZkMyZ8STw=
github.com/FloatTech/zbpctrl v1.6.1/go.mod h1:I+MetM++1sJhNPg3zww1aw04BicYsNohvHC4Jh52XSo=
github.com/FloatTech/zbputils v1.7.1-0.20240504134720-ce2b1be4b85a h1:tjpvpv8Elnj2w+MSE9lu1qrghfpVU1zNw8ngKZS1H4A=
github.com/FloatTech/zbputils v1.7.1-0.20240504134720-ce2b1be4b85a/go.mod h1:drCjiDLLtRIfN9sRJKJneReZmn/LsBGB8TWYgEoWrA0=
github.com/FloatTech/zbputils v1.7.1-0.20240504183209-0ffd8b27cbeb h1:fr58qeiqEz5UfeN/e07jBqVobPvp1ZjE2spFLtny6eI=
github.com/FloatTech/zbputils v1.7.1-0.20240504183209-0ffd8b27cbeb/go.mod h1:drCjiDLLtRIfN9sRJKJneReZmn/LsBGB8TWYgEoWrA0=
github.com/PuerkitoBio/goquery v1.5.1/go.mod h1:GsLWisAFVj4WgDibEWF4pvYnkVQBpKBKeU+7zCJoLcc=
github.com/RomiChan/syncx v0.0.0-20240418144900-b7402ffdebc7 h1:S/ferNiehVjNaBMNNBxUjLtVmP/YWD6Yh79RfPv4ehU=
github.com/RomiChan/syncx v0.0.0-20240418144900-b7402ffdebc7/go.mod h1:vD7Ra3Q9onRtojoY5sMCLQ7JBgjUsrXDnDKyFxqpf9w=
Expand Down
2 changes: 1 addition & 1 deletion plugin/lolicon/lolicon.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func init() {
m, err := imagepool.GetImage(name)
if err != nil {
m.SetFile(imageurl)
_ = m.Push(ctxext.SendToSelf(ctx), ctxext.GetMessage(ctx))
_, _ = m.Push(ctxext.SendToSelf(ctx), ctxext.GetMessage(ctx))
process.SleepAbout1sTo2s()
}
if err == nil {
Expand Down
2 changes: 1 addition & 1 deletion plugin/saucenao/searcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ func init() { // 插件主体
err1 := illust.DownloadToCache(i)
if err1 == nil {
m.SetFile(f)
_ = m.Push(ctxext.SendToSelf(ctx), ctxext.GetMessage(ctx))
_, _ = m.Push(ctxext.SendToSelf(ctx), ctxext.GetMessage(ctx))
}
if err1 != nil {
logrus.Debugln("[saucenao]下载err:", err1)
Expand Down
2 changes: 1 addition & 1 deletion plugin/setutime/setu_geter.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ func (p *imgpool) push(ctx *zero.Ctx, imgtype string, illust *pixiv.Illust) {
}
}
m.SetFile(f)
_ = m.Push(ctxext.SendToSelf(ctx), ctxext.GetMessage(ctx))
_, _ = m.Push(ctxext.SendToSelf(ctx), ctxext.GetMessage(ctx))
msg = message.Image("file:///" + f)
} else {
msg = message.Image(m.String())
Expand Down
2 changes: 1 addition & 1 deletion plugin/tarot/tarot.go
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ func poolimg(ctx *zero.Ctx, imgurl, imgname, cache string) (msg message.MessageS
}
}
m.SetFile(aimgfile)
_ = m.Push(ctxext.SendToSelf(ctx), ctxext.GetMessage(ctx))
_, _ = m.Push(ctxext.SendToSelf(ctx), ctxext.GetMessage(ctx))
msg = message.Image("file:///" + aimgfile)
return
}

0 comments on commit 15df65a

Please sign in to comment.