From c08e3dfe4a128a9d77fd524cfcc13b1c232da95e Mon Sep 17 00:00:00 2001 From: weigui404 <74092436+weigui404@users.noreply.github.com> Date: Sat, 15 Oct 2022 10:23:24 +0800 Subject: [PATCH] Update setu_geter.go (#452) --- plugin/setutime/setu_geter.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugin/setutime/setu_geter.go b/plugin/setutime/setu_geter.go index bcd08200..21cde5e8 100644 --- a/plugin/setutime/setu_geter.go +++ b/plugin/setutime/setu_geter.go @@ -94,7 +94,8 @@ func init() { // 插件主体 } } // 从缓冲池里抽一张 - if id := ctx.Send(ctxext.FakeSenderForwardNode(ctx, *pool.pop(imgtype))); id.ID() == 0 { + m := message.Message{ctxext.FakeSenderForwardNode(ctx, *pool.pop(imgtype))} + if id := ctx.Send(m).ID(); id == 0 { ctx.SendChain(message.Text("ERROR: 可能被风控了")) } })