🎨 update deps

This commit is contained in:
fumiama
2022-08-16 14:01:32 +08:00
parent 5295701541
commit b4d6e1ef04
68 changed files with 158 additions and 141 deletions

View File

@@ -3,7 +3,7 @@ package reborn
import (
"encoding/json"
"github.com/FloatTech/zbputils/file"
"github.com/FloatTech/floatbox/file"
)
// load 加载rate数据

View File

@@ -5,9 +5,9 @@ import (
"fmt"
"math/rand"
fcext "github.com/FloatTech/floatbox/ctxext"
ctrl "github.com/FloatTech/zbpctrl"
"github.com/FloatTech/zbputils/control"
"github.com/FloatTech/zbputils/ctxext"
wr "github.com/mroth/weightedrand"
"github.com/sirupsen/logrus"
zero "github.com/wdvxdr1123/ZeroBot"
@@ -21,7 +21,7 @@ func init() {
PublicDataFolder: "Reborn",
})
en.OnFullMatch("reborn", ctxext.DoOnceOnSuccess(
en.OnFullMatch("reborn", fcext.DoOnceOnSuccess(
func(ctx *zero.Ctx) bool {
datapath := en.DataFolder()
jsonfile := datapath + "rate.json"