From b4a1f9399329ca0fd968ec666daeb14761deb054 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BA=90=E6=96=87=E9=9B=A8?= <41315874+fumiama@users.noreply.github.com> Date: Sat, 25 Mar 2023 21:47:24 +0800 Subject: [PATCH] fix wifw --- plugin/wife/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/wife/main.go b/plugin/wife/main.go index e86b41d5..5a2385ac 100644 --- a/plugin/wife/main.go +++ b/plugin/wife/main.go @@ -39,7 +39,7 @@ func init() { )).SetBlock(true). Handle(func(ctx *zero.Ctx) { card := cards[fcext.RandSenderPerDayN(ctx.Event.UserID, len(cards))] - data, err := engine.GetLazyData(engine.DataFolder()+"wives/"+card, true) + data, err := engine.GetLazyData("wives/"+card, true) if err != nil { ctx.SendChain( message.At(ctx.Event.UserID),