From f0fd1eaf22a31d1838c429b395f289f8efa18d06 Mon Sep 17 00:00:00 2001 From: fumiama Date: Sat, 7 Aug 2021 15:05:37 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20=E5=AE=8C=E5=96=84=E7=A7=81?= =?UTF-8?q?=E8=81=8A=E8=8E=B7=E5=8F=96=E5=9B=BE=E7=89=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin_acgimage/classify.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin_acgimage/classify.go b/plugin_acgimage/classify.go index f8228ec9..886aa6d7 100644 --- a/plugin_acgimage/classify.go +++ b/plugin_acgimage/classify.go @@ -89,7 +89,7 @@ func init() { // 插件主体 zero.OnRegex(`^给你点提示哦:(.*)$`, zero.OnlyPrivate).SetBlock(true).SetPriority(20). Handle(func(ctx *zero.Ctx) { dhash := ctx.State["regex_matched"].([]string)[1] - if len(dhash) == 5 { + if len(dhash) == 5*3 { ctx.Send(message.Image(apihead + dhash)) } })