修改触发指令,因为和另一个功能冲突~

这是一个查成分的功能
follow字段获取的是与一个关注了2000vup小号的共同关注,并不是被查用户的全部关注
This commit is contained in:
Suika 2021-07-01 15:53:56 +08:00 committed by GitHub
parent 27e683e498
commit 116fca20ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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