mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-20 06:20:08 +08:00
✏️ 修复涩图缓存提示发送失败
This commit is contained in:
parent
96786aebe6
commit
b55c792406
@ -66,10 +66,7 @@ func init() { // 插件主体
|
|||||||
ctx.Send(fmt.Sprintf("ERROR: %v", err))
|
ctx.Send(fmt.Sprintf("ERROR: %v", err))
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if id := ctx.SendGroupMessage(PoolsCache.Group, illust.NormalPic(file)); id == 0 {
|
ctx.SendGroupMessage(PoolsCache.Group, illust.NormalPic(file))
|
||||||
ctx.Send(fmt.Sprintf("ERROR: %v", "发送到缓存群失败,请确认缓存群群号"))
|
|
||||||
continue
|
|
||||||
}
|
|
||||||
// 向缓冲池添加一张图片
|
// 向缓冲池添加一张图片
|
||||||
if err := PoolsCache.Push(type_, illust); err != nil {
|
if err := PoolsCache.Push(type_, illust); err != nil {
|
||||||
ctx.Send(fmt.Sprintf("ERROR: %v", err))
|
ctx.Send(fmt.Sprintf("ERROR: %v", err))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user