Skip to content

Commit

Permalink
chore: del dress due to 删库
Browse files Browse the repository at this point in the history
  • Loading branch information
fumiama committed Apr 30, 2024
1 parent b09025a commit 879948a
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 173 deletions.
14 changes: 0 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -638,20 +638,6 @@ print("run[CQ:image,file="+j["img"]+"]")

- [x] 删签[gif签名]

</details>
<details>
<summary>女装</summary>

`import _ "github.com/FloatTech/ZeroBot-Plugin/plugin/dress"`

- [x] 女装

- [x] 男装

- [x] 随机女装

- [x] 随机男装

</details>
<details>
<summary>漂流瓶</summary>
Expand Down
1 change: 0 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ import (
_ "github.com/FloatTech/ZeroBot-Plugin/plugin/diana" // 嘉心糖发病
_ "github.com/FloatTech/ZeroBot-Plugin/plugin/dish" // 程序员做饭指南
_ "github.com/FloatTech/ZeroBot-Plugin/plugin/drawlots" // 多功能抽签
_ "github.com/FloatTech/ZeroBot-Plugin/plugin/dress" // 女装
_ "github.com/FloatTech/ZeroBot-Plugin/plugin/driftbottle" // 漂流瓶
_ "github.com/FloatTech/ZeroBot-Plugin/plugin/emojimix" // 合成emoji
_ "github.com/FloatTech/ZeroBot-Plugin/plugin/event" // 好友申请群聊邀请事件处理
Expand Down
2 changes: 1 addition & 1 deletion plugin/coser/coser.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (

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

func init() {
Expand Down
5 changes: 1 addition & 4 deletions plugin/dailynews/dailynews.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,11 @@ func init() {
engine.OnFullMatch(`今日早报`).SetBlock(true).
Handle(func(ctx *zero.Ctx) {
data, err := web.GetData(api)
if err != nil {
return
}
picURL := gjson.Get(binary.BytesToString(data), "imageUrl").String()
if err != nil {
ctx.SendChain(message.Text("ERROR: ", err))
return
}
picURL := gjson.Get(binary.BytesToString(data), "imageUrl").String()
ctx.SendChain(message.Image(picURL))
})
}
2 changes: 1 addition & 1 deletion plugin/dish/dish.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ func init() {
))
})

en.OnPrefixGroup([]string{"随机菜谱", "随便做点菜"}).SetBlock(true).Limit(ctxext.LimitByUser).Handle(func(ctx *zero.Ctx) {
en.OnFullMatchGroup([]string{"随机菜谱", "随便做点菜"}).SetBlock(true).Limit(ctxext.LimitByUser).Handle(func(ctx *zero.Ctx) {
if !initialized {
ctx.SendChain(message.Text("客官,本店暂未开业"))
return
Expand Down
39 changes: 0 additions & 39 deletions plugin/dress/api.go

This file was deleted.

113 changes: 0 additions & 113 deletions plugin/dress/dress.go

This file was deleted.

0 comments on commit 879948a

Please sign in to comment.