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

This commit is contained in:
Suika 2021-07-01 15:58:53 +08:00 committed by GitHub
parent 98ae37f3bc
commit 29e330227f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)