This commit is contained in:
源文雨 2023-03-25 21:56:43 +08:00
parent 4a15326977
commit d66dd9b7fa

View File

@ -3,6 +3,7 @@ package wife
import (
"encoding/json"
"os"
"strings"
fcext "github.com/FloatTech/floatbox/ctxext"
@ -21,6 +22,7 @@ func init() {
Brief: "从老婆库抽每日老婆",
PublicDataFolder: "Wife",
}).ApplySingle(ctxext.DefaultSingle)
_ = os.MkdirAll(engine.DataFolder()+"wives", 0755)
cards := []string{}
engine.OnFullMatch("抽老婆", fcext.DoOnceOnSuccess(
func(ctx *zero.Ctx) bool {