From e6e5e883c3f14fd31970796c9d69786b2e62bc30 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 6 Sep 2023 12:39:38 +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 --- main.go | 2 +- plugin/coc/setting.go | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/main.go b/main.go index 21873f9b0d2..ab2d53b4860 100644 --- a/main.go +++ b/main.go @@ -78,7 +78,7 @@ import ( _ "github.com/FloatTech/ZeroBot-Plugin/plugin/choose" // 选择困难症帮手 _ "github.com/FloatTech/ZeroBot-Plugin/plugin/chouxianghua" // 说抽象话 _ "github.com/FloatTech/ZeroBot-Plugin/plugin/chrev" // 英文字符翻转 - _ "github.com/FloatTech/ZeroBot-Plugin/plugin/coc" // coc辅助器 + _ "github.com/FloatTech/ZeroBot-Plugin/plugin/coc" // coc辅助器 _ "github.com/FloatTech/ZeroBot-Plugin/plugin/coser" // 三次元小姐姐 _ "github.com/FloatTech/ZeroBot-Plugin/plugin/cpstory" // cp短打 _ "github.com/FloatTech/ZeroBot-Plugin/plugin/dailynews" // 今日早报 diff --git a/plugin/coc/setting.go b/plugin/coc/setting.go index f53617e83ba..644b460cce9 100644 --- a/plugin/coc/setting.go +++ b/plugin/coc/setting.go @@ -113,7 +113,6 @@ func init() { return } cocInfo.Other[site-1] = settingMsg[2] - } err = savePanel(cocInfo, gid, uid) if err != nil { @@ -247,7 +246,6 @@ func init() { } } ctx.Send(msg) - }) engine.OnRegex(`^(\.|。)(setpc|SETPC)(\[CQ:at,qq=)?(\d+)(\])?`, getsetting, zero.AdminPermission).SetBlock(true).Handle(func(ctx *zero.Ctx) { gid := ctx.Event.GroupID