✏️ 更改搜索 GitHub 仓库命令

This commit is contained in:
Yiwen-Chan 2021-04-17 16:21:27 +08:00
parent cdf8ff4066
commit 5ea7de3c13

View File

@ -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{