Skip to content

Commit

Permalink
🔖 v1.7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
fumiama committed Jul 28, 2023
1 parent 73f11d5 commit 21463d0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
2 changes: 2 additions & 0 deletions bot.go
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ func init() {
late := flag.Uint("l", 233, "Response latency (ms).")
rsz := flag.Uint("r", 4096, "Receiving buffer ring size.")
maxpt := flag.Uint("x", 4, "Max process time (min).")
markmsg := flag.Bool("m", false, "Don't mark message as read automatically")
terminal.SetTitle()
gocq.InitBase()

Expand Down Expand Up @@ -246,6 +247,7 @@ func init() {
RingLen: *rsz,
Latency: time.Duration(*late) * time.Millisecond,
MaxProcessTime: time.Duration(*maxpt) * time.Minute,
MarkMessage: !*markmsg,
Driver: []zero.Driver{f},
})
logrus.Debugln("[bot] set superusers:", qqs)
Expand Down
14 changes: 7 additions & 7 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,26 @@ module github.com/FloatTech/gocqzbp
go 1.20

require (
github.com/FloatTech/ZeroBot-Plugin v1.7.1
github.com/FloatTech/ZeroBot-Plugin v1.7.2
github.com/FloatTech/floatbox v0.0.0-20230331064925-9af336a84944
github.com/FloatTech/zbputils v1.6.2-0.20230411114057-4c71136244b2
github.com/Mrs4s/go-cqhttp v1.0.1
github.com/FloatTech/zbputils v1.6.2-0.20230728055141-bf0c1f30e617
github.com/Mrs4s/go-cqhttp v1.1.0
github.com/sirupsen/logrus v1.9.0
github.com/tidwall/gjson v1.14.4
github.com/wdvxdr1123/ZeroBot v1.6.11
github.com/wdvxdr1123/ZeroBot v1.7.2
)

require (
github.com/Baidu-AIP/golang-sdk v1.1.1 // indirect
github.com/FloatTech/AnimeAPI v1.6.1-0.20230409024643-f25135dee0da // indirect
github.com/FloatTech/AnimeAPI v1.6.1-0.20230724165034-a3cf504fab92 // indirect
github.com/FloatTech/gg v1.1.3-0.20230226151425-6ea91286ba08 // indirect
github.com/FloatTech/imgfactory v0.2.2-0.20230413152719-e101cc3606ef // indirect
github.com/FloatTech/rendercard v0.0.10-0.20230223064326-45d29fa4ede9 // indirect
github.com/FloatTech/sqlite v1.6.2 // indirect
github.com/FloatTech/ttl v0.0.0-20220715042055-15612be72f5b // indirect
github.com/FloatTech/zbpctrl v1.5.3-0.20230411055601-7cdff751dd67 // indirect
github.com/FloatTech/zbpctrl v1.5.3-0.20230514154630-b74e6fcca380 // indirect
github.com/Microsoft/go-winio v0.6.0 // indirect
github.com/Mrs4s/MiraiGo v0.0.0-20230401072048-f8d9841755b5 // indirect
github.com/Mrs4s/MiraiGo v0.0.0-20230627090859-19e3d172596e // indirect
github.com/RomiChan/protobuf v0.1.1-0.20230204044148-2ed269a2e54d // indirect
github.com/RomiChan/syncx v0.0.0-20221202055724-5f842c53020e // indirect
github.com/RomiChan/websocket v1.4.3-0.20220227141055-9b2c6168c9c5 // indirect
Expand Down

0 comments on commit 21463d0

Please sign in to comment.