Skip to content

Commit 879948a

Browse files
committed
chore: del dress due to 删库
1 parent b09025a commit 879948a

File tree

7 files changed

+3
-173
lines changed

7 files changed

+3
-173
lines changed

README.md

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -638,20 +638,6 @@ print("run[CQ:image,file="+j["img"]+"]")
638638

639639
- [x] 删签[gif签名]
640640

641-
</details>
642-
<details>
643-
<summary>女装</summary>
644-
645-
`import _ "github.com/FloatTech/ZeroBot-Plugin/plugin/dress"`
646-
647-
- [x] 女装
648-
649-
- [x] 男装
650-
651-
- [x] 随机女装
652-
653-
- [x] 随机男装
654-
655641
</details>
656642
<details>
657643
<summary>漂流瓶</summary>

main.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ import (
8282
_ "github.com/FloatTech/ZeroBot-Plugin/plugin/diana" // 嘉心糖发病
8383
_ "github.com/FloatTech/ZeroBot-Plugin/plugin/dish" // 程序员做饭指南
8484
_ "github.com/FloatTech/ZeroBot-Plugin/plugin/drawlots" // 多功能抽签
85-
_ "github.com/FloatTech/ZeroBot-Plugin/plugin/dress" // 女装
8685
_ "github.com/FloatTech/ZeroBot-Plugin/plugin/driftbottle" // 漂流瓶
8786
_ "github.com/FloatTech/ZeroBot-Plugin/plugin/emojimix" // 合成emoji
8887
_ "github.com/FloatTech/ZeroBot-Plugin/plugin/event" // 好友申请群聊邀请事件处理

plugin/coser/coser.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323

2424
var (
2525
ua = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36"
26-
coserURL = "http://ovooa.com/API/cosplay/api.php"
26+
coserURL = "https://picture.yinux.workers.dev"
2727
)
2828

2929
func init() {

plugin/dailynews/dailynews.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,11 @@ func init() {
2424
engine.OnFullMatch(`今日早报`).SetBlock(true).
2525
Handle(func(ctx *zero.Ctx) {
2626
data, err := web.GetData(api)
27-
if err != nil {
28-
return
29-
}
30-
picURL := gjson.Get(binary.BytesToString(data), "imageUrl").String()
3127
if err != nil {
3228
ctx.SendChain(message.Text("ERROR: ", err))
3329
return
3430
}
31+
picURL := gjson.Get(binary.BytesToString(data), "imageUrl").String()
3532
ctx.SendChain(message.Image(picURL))
3633
})
3734
}

plugin/dish/dish.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ func init() {
9090
))
9191
})
9292

93-
en.OnPrefixGroup([]string{"随机菜谱", "随便做点菜"}).SetBlock(true).Limit(ctxext.LimitByUser).Handle(func(ctx *zero.Ctx) {
93+
en.OnFullMatchGroup([]string{"随机菜谱", "随便做点菜"}).SetBlock(true).Limit(ctxext.LimitByUser).Handle(func(ctx *zero.Ctx) {
9494
if !initialized {
9595
ctx.SendChain(message.Text("客官,本店暂未开业"))
9696
return

plugin/dress/api.go

Lines changed: 0 additions & 39 deletions
This file was deleted.

plugin/dress/dress.go

Lines changed: 0 additions & 113 deletions
This file was deleted.

0 commit comments

Comments
 (0)