mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-21 15:30:09 +08:00
修改触发指令,因为和另一个功能冲突~
这是一个查成分的功能 follow字段获取的是与一个关注了2000vup小号的共同关注,并不是被查用户的全部关注
This commit is contained in:
parent
27e683e498
commit
116fca20ee
@ -12,7 +12,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
zero.OnRegex(`^>bili info\s(.{1,25})$`).
|
zero.OnRegex(`^>user info\s(.{1,25})$`).
|
||||||
Handle(func(ctx *zero.Ctx) {
|
Handle(func(ctx *zero.Ctx) {
|
||||||
keyword := ctx.State["regex_matched"].([]string)[1]
|
keyword := ctx.State["regex_matched"].([]string)[1]
|
||||||
res, err := uid(keyword)
|
res, err := uid(keyword)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user