💩👌 make lint happy

This commit is contained in:
源文雨 2022-05-12 11:21:20 +08:00
parent c94b9f54ce
commit 452f5e5f83
4 changed files with 10 additions and 6 deletions

View File

@ -629,8 +629,15 @@ print("run[CQ:image,file="+j["img"]+"]")
`import _ "github.com/FloatTech/ZeroBot-Plugin/plugin/lolicon"`
- [x] 来份萝莉
- [x] 设置随机图片地址[http...]
- 每一小时发一张图
```
记录在"@every 1h"触发的指令
来份萝莉
```
</details>
<details>
<summary>摸鱼</summary>

View File

@ -94,10 +94,7 @@ func updateVup() error {
uname := value.Get("uname").String()
roomid := value.Get("roomid").Int()
err = vdb.insertVupByMid(mid, uname, roomid)
if err != nil {
return false
}
return true
return err == nil
})
if err != nil {
return err

View File

@ -1,3 +1,4 @@
// Package hyaku 百人一首
package hyaku
import (

View File

@ -1,3 +1,4 @@
// Package tarot 塔罗牌
package tarot
import (
@ -114,7 +115,6 @@ func init() {
msg[i] = ctxext.FakeSenderForwardNode(ctx, tarotMsg...)
}
ctx.SendGroupForwardMessage(ctx.Event.GroupID, msg)
return
})
engine.OnRegex(`^解塔罗牌\s?(.*)`, ctxext.DoOnceOnSuccess(
@ -160,6 +160,5 @@ func init() {
} else {
ctx.SendChain(message.Text("没有找到", match, "噢~"))
}
return
})
}