From f56cee9ec185e10293bbedb679c8d4d99121baf7 Mon Sep 17 00:00:00 2001 From: fumiama Date: Thu, 23 Dec 2021 21:46:34 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=8F=EF=B8=8F=20=20=E7=BE=A4=E7=AE=A1=20gi?= =?UTF-8?q?st=20=E9=AA=8C=E8=AF=81=20=E8=87=AA=E5=8A=A8=E8=AE=BE=E7=BD=AE?= =?UTF-8?q?=E6=98=B5=E7=A7=B0=E4=B8=BA=E7=94=A8=E6=88=B7=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin_manager/manager.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugin_manager/manager.go b/plugin_manager/manager.go index 89df1fa0..48aabf27 100644 --- a/plugin_manager/manager.go +++ b/plugin_manager/manager.go @@ -515,6 +515,8 @@ func init() { // 插件主体 ok, reason := checkNewUser(ctx.Event.UserID, ctx.Event.GroupID, ghun, hash) if ok { ctx.SetGroupAddRequest(ctx.Event.Flag, "add", true, "") + process.SleepAbout1sTo2s() + ctx.SetGroupCard(ctx.Event.GroupID, ctx.Event.UserID, ghun) } else { ctx.SetGroupAddRequest(ctx.Event.Flag, "add", false, reason) }