fix: 修复日志输出与代码格式错误
Some checks failed
ci/woodpecker/push/my-first-workflow Pipeline failed

This commit is contained in:
xinian
2026-03-25 01:22:44 +08:00
committed by cnb
parent e0a82d57b4
commit f8b8a87331
13 changed files with 146 additions and 54 deletions

View File

@@ -2,8 +2,10 @@ package robot
import (
"blazing/common/data/xmlres"
"blazing/cool"
"blazing/modules/config/service"
"strings"
"time"
zero "github.com/wdvxdr1123/ZeroBot"
)
@@ -31,6 +33,9 @@ func init() {
}
ctx.Send(strings.Join(cdks, "\n"))
msg := ctx.Send(strings.Join(cdks, "\n"))
cool.Cron.AfterFunc(10*time.Second, func() {
ctx.DeleteMessage(msg)
})
})
}