mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2026-02-12 02:00:24 +00:00
✨ fortune 增加下载锁;优化 gui 插件控制
This commit is contained in:
@@ -190,6 +190,7 @@ func (ts *Timer) nextWakeTime() (date time.Time) {
|
||||
func (ts *Timer) judgeHM() {
|
||||
if ts.Hour < 0 || ts.Hour == int32(time.Now().Hour()) {
|
||||
if ts.Minute < 0 || ts.Minute == int32(time.Now().Minute()) {
|
||||
//zero.GetBot(zero.BotConfig.SelfID)
|
||||
zero.RangeBot(func(id int64, ctx *zero.Ctx) bool {
|
||||
ctx.Event = new(zero.Event)
|
||||
ctx.Event.GroupID = int64(ts.Grpid)
|
||||
|
||||
Reference in New Issue
Block a user