mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-27 20:31:21 +08:00
修改触发指令使其更贴切功能~
This commit is contained in:
parent
24f723ed8e
commit
4d3a47820b
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user