修改触发指令使其更贴切功能~

This commit is contained in:
Suika 2021-07-01 15:58:53 +08:00 committed by GitHub
parent 24f723ed8e
commit 4d3a47820b

View File

@ -13,7 +13,7 @@ import (
)
func init() {
zero.OnRegex(`^>bili info\s?(.{1,25})$`).
zero.OnRegex(`^>vup info\s?(.{1,25})$`).
Handle(func(ctx *zero.Ctx) {
keyword := ctx.State["regex_matched"].([]string)[1]
res, err := uid(keyword)