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

@@ -1,9 +1,11 @@
package robot
import (
"blazing/cool"
"blazing/modules/player/service"
"bytes"
"fmt"
"time"
"github.com/fogleman/gg"
zero "github.com/wdvxdr1123/ZeroBot"
@@ -56,6 +58,9 @@ func init() {
// ======================
// 发送图片zeroBot 标准方式)
// ======================
ctx.Send(message.ImageBytes(buf.Bytes()))
msg := ctx.Send(message.ImageBytes(buf.Bytes()))
cool.Cron.AfterFunc(10*time.Second, func() {
ctx.DeleteMessage(msg)
})
})
}