Skip to content

Commit

Permalink
fix wifw
Browse files Browse the repository at this point in the history
  • Loading branch information
fumiama committed Mar 25, 2023
1 parent 4a15326 commit d66dd9b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugin/wife/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package wife

import (
"encoding/json"
"os"
"strings"

fcext "github.com/FloatTech/floatbox/ctxext"
Expand All @@ -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 {
Expand Down

0 comments on commit d66dd9b

Please sign in to comment.