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{