mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-19 13:59:39 +08:00
✏️ 更改搜索 GitHub 仓库命令
This commit is contained in:
parent
e53eacd908
commit
763060c42b
@ -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{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user