mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2026-02-06 15:20:22 +00:00
修改触发指令,因为和另一个功能冲突~
这是一个查成分的功能 follow字段获取的是与一个关注了2000vup小号的共同关注,并不是被查用户的全部关注
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user