From b871573dc365795cace38d8edd6d0e5cfcba781c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 15 Dec 2021 14:29:05 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20=E6=94=B9=E8=BF=9B=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin_coser/coser.go | 4 ++-- plugin_hs/run.go | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/plugin_coser/coser.go b/plugin_coser/coser.go index 65ebefea..86d86fa1 100644 --- a/plugin_coser/coser.go +++ b/plugin_coser/coser.go @@ -1,9 +1,10 @@ package plugin_coser import ( - "github.com/tidwall/gjson" "time" + "github.com/tidwall/gjson" + log "github.com/sirupsen/logrus" zero "github.com/wdvxdr1123/ZeroBot" "github.com/wdvxdr1123/ZeroBot/extension/rate" @@ -61,6 +62,5 @@ func init() { m).Get("message_id").Int(); id == 0 { ctx.SendChain(message.Text("ERROR: 可能被风控了")) } - }) } diff --git a/plugin_hs/run.go b/plugin_hs/run.go index e1f36348..5af43304 100644 --- a/plugin_hs/run.go +++ b/plugin_hs/run.go @@ -97,7 +97,6 @@ func init() { ).Get("message_id").Int(); id == 0 { ctx.SendChain(message.Text("ERROR: 可能被风控了")) } - }) // 卡组 engine.OnRegex(`^[\s\S]*?(AAE[a-zA-Z0-9/\+=]{70,})[\s\S]*$`).