From 0a1dcde5124c72f67134550e4b6be9de28ad1b7e Mon Sep 17 00:00:00 2001 From: Yiwen-Chan Date: Mon, 22 Mar 2021 21:15:00 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20=E4=BF=AE=E5=A4=8D=E8=BD=AC?= =?UTF-8?q?=E5=8F=91=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manager/manager.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manager/manager.go b/manager/manager.go index a99c9e3b..689b7ac4 100644 --- a/manager/manager.go +++ b/manager/manager.go @@ -202,7 +202,7 @@ func init() { // 插件主体 Handle(func(ctx *zero.Ctx) { ctx.SendGroupMessage( utils.Str2Int(ctx.State["regex_matched"].([]string)[1]), // 需要发送的群 - ctx.State["regex_matched"].([]string)[1], // 需要发送的信息 + ctx.State["regex_matched"].([]string)[2], // 需要发送的信息 ) ctx.Send("📧 --> " + ctx.State["regex_matched"].([]string)[1]) return @@ -212,7 +212,7 @@ func init() { // 插件主体 Handle(func(ctx *zero.Ctx) { ctx.SendPrivateMessage( utils.Str2Int(ctx.State["regex_matched"].([]string)[1]), // 需要发送的人的qq - ctx.State["regex_matched"].([]string)[1], // 需要发送的信息 + ctx.State["regex_matched"].([]string)[2], // 需要发送的信息 ) ctx.Send("📧 --> " + ctx.State["regex_matched"].([]string)[1]) return