Update setu_geter.go (#452)

This commit is contained in:
weigui404 2022-10-15 10:23:24 +08:00 committed by GitHub
parent 894cf41d37
commit c08e3dfe4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: 可能被风控了")) ctx.SendChain(message.Text("ERROR: 可能被风控了"))
} }
}) })