mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-21 15:30:09 +08:00
修改触发指令使其更贴切功能~
This commit is contained in:
parent
98ae37f3bc
commit
29e330227f
@ -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