✏️ 更改搜索 GitHub 仓库命令

This commit is contained in:
Yiwen-Chan 2021-04-17 16:21:27 +08:00
parent e53eacd908
commit 763060c42b

View File

@ -14,7 +14,7 @@ import (
) )
func init() { // 插件主体 func init() { // 插件主体
zero.OnRegex(`>G\s(.*)`).SetBlock(true).FirstPriority(). zero.OnRegex(`^>github\s(.*)$`).SetBlock(true).FirstPriority().
Handle(func(ctx *zero.Ctx) { Handle(func(ctx *zero.Ctx) {
// 发送请求 // 发送请求
header := http.Header{ header := http.Header{