File tree Expand file tree Collapse file tree 4 files changed +10
-6
lines changed Expand file tree Collapse file tree 4 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -629,8 +629,15 @@ print("run[CQ:image,file="+j["img"]+"]")
629
629
` import _ "github.com/FloatTech/ZeroBot-Plugin/plugin/lolicon" `
630
630
631
631
- [x] 来份萝莉
632
+
632
633
- [x] 设置随机图片地址[ http...]
633
634
635
+ - 每一小时发一张图
636
+ ```
637
+ 记录在"@every 1h"触发的指令
638
+ 来份萝莉
639
+ ```
640
+
634
641
</details >
635
642
<details >
636
643
<summary >摸鱼</summary >
Original file line number Diff line number Diff line change @@ -94,10 +94,7 @@ func updateVup() error {
94
94
uname := value .Get ("uname" ).String ()
95
95
roomid := value .Get ("roomid" ).Int ()
96
96
err = vdb .insertVupByMid (mid , uname , roomid )
97
- if err != nil {
98
- return false
99
- }
100
- return true
97
+ return err == nil
101
98
})
102
99
if err != nil {
103
100
return err
Original file line number Diff line number Diff line change
1
+ // Package hyaku 百人一首
1
2
package hyaku
2
3
3
4
import (
Original file line number Diff line number Diff line change
1
+ // Package tarot 塔罗牌
1
2
package tarot
2
3
3
4
import (
@@ -114,7 +115,6 @@ func init() {
114
115
msg [i ] = ctxext .FakeSenderForwardNode (ctx , tarotMsg ... )
115
116
}
116
117
ctx .SendGroupForwardMessage (ctx .Event .GroupID , msg )
117
- return
118
118
})
119
119
120
120
engine .OnRegex (`^解塔罗牌\s?(.*)` , ctxext .DoOnceOnSuccess (
@@ -160,6 +160,5 @@ func init() {
160
160
} else {
161
161
ctx .SendChain (message .Text ("没有找到" , match , "噢~" ))
162
162
}
163
- return
164
163
})
165
164
}
You can’t perform that action at this time.
0 commit comments