From 763060c42bb65aac6f58d745659ecdbffa95bcc2 Mon Sep 17 00:00:00 2001 From: Yiwen-Chan Date: Sat, 17 Apr 2021 16:21:27 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=8F=EF=B8=8F=20=E6=9B=B4=E6=94=B9?= =?UTF-8?q?=E6=90=9C=E7=B4=A2=20GitHub=20=E4=BB=93=E5=BA=93=E5=91=BD?= =?UTF-8?q?=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- github/repo_searcher.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/github/repo_searcher.go b/github/repo_searcher.go index bca28e85..04eb228e 100644 --- a/github/repo_searcher.go +++ b/github/repo_searcher.go @@ -14,7 +14,7 @@ import ( ) func init() { // 插件主体 - zero.OnRegex(`>G\s(.*)`).SetBlock(true).FirstPriority(). + zero.OnRegex(`^>github\s(.*)$`).SetBlock(true).FirstPriority(). Handle(func(ctx *zero.Ctx) { // 发送请求 header := http.Header{