mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-19 22:00:11 +08:00
fix wifw
This commit is contained in:
parent
4a15326977
commit
d66dd9b7fa
@ -3,6 +3,7 @@ package wife
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
|
"os"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
fcext "github.com/FloatTech/floatbox/ctxext"
|
fcext "github.com/FloatTech/floatbox/ctxext"
|
||||||
@ -21,6 +22,7 @@ func init() {
|
|||||||
Brief: "从老婆库抽每日老婆",
|
Brief: "从老婆库抽每日老婆",
|
||||||
PublicDataFolder: "Wife",
|
PublicDataFolder: "Wife",
|
||||||
}).ApplySingle(ctxext.DefaultSingle)
|
}).ApplySingle(ctxext.DefaultSingle)
|
||||||
|
_ = os.MkdirAll(engine.DataFolder()+"wives", 0755)
|
||||||
cards := []string{}
|
cards := []string{}
|
||||||
engine.OnFullMatch("抽老婆", fcext.DoOnceOnSuccess(
|
engine.OnFullMatch("抽老婆", fcext.DoOnceOnSuccess(
|
||||||
func(ctx *zero.Ctx) bool {
|
func(ctx *zero.Ctx) bool {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user