From 79b0d31df9131b84975ec626ced11c09e6a0cd2a Mon Sep 17 00:00:00 2001 From: Yiwen-Chan Date: Tue, 20 Apr 2021 23:38:25 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=8F=EF=B8=8F=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E6=B6=A9=E5=9B=BE=E7=BC=93=E5=AD=98=E6=8F=90=E7=A4=BA=E5=8F=91?= =?UTF-8?q?=E9=80=81=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- setutime/setu_geter.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/setutime/setu_geter.go b/setutime/setu_geter.go index 300586cd..0084b3d0 100644 --- a/setutime/setu_geter.go +++ b/setutime/setu_geter.go @@ -66,10 +66,7 @@ func init() { // 插件主体 ctx.Send(fmt.Sprintf("ERROR: %v", err)) continue } - if id := ctx.SendGroupMessage(PoolsCache.Group, illust.NormalPic(file)); id == 0 { - ctx.Send(fmt.Sprintf("ERROR: %v", "发送到缓存群失败,请确认缓存群群号")) - continue - } + ctx.SendGroupMessage(PoolsCache.Group, illust.NormalPic(file)) // 向缓冲池添加一张图片 if err := PoolsCache.Push(type_, illust); err != nil { ctx.Send(fmt.Sprintf("ERROR: %v", err))