From e5d85f7df6fa039d0b9e2fddef4cea5bced30a2d Mon Sep 17 00:00:00 2001 From: Asuza Date: Thu, 3 Oct 2024 23:27:06 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E6=8F=90=E9=AB=98=E6=9F=A5=E9=87=8D?= =?UTF-8?q?=E6=AF=94=E4=BE=8B=E9=98=88=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin/asill/asill.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/asill/asill.go b/plugin/asill/asill.go index 73c58b5..697d24a 100644 --- a/plugin/asill/asill.go +++ b/plugin/asill/asill.go @@ -72,8 +72,8 @@ func init() { for _, unit := range data { rate := smetrics.Jaro(unit.Text, msg) - if rate > 0.6 { - ctx.SendChain(message.Text(fmt.Sprintf("在本文库中,总文字复制比:%f \n相似小作文:\n%s", 100*rate, unit.Text))) + if rate > 0.7 { + ctx.SendChain(message.Text(fmt.Sprintf("在本文库中,总文字复制比:%f%% \n相似小作文:\n%s", 100*rate, unit.Text))) return } }