🔥 精简Register

This commit is contained in:
源文雨
2022-04-02 22:45:21 +08:00
parent 1a85deb36e
commit 176a2eb392
68 changed files with 70 additions and 182 deletions

View File

@@ -8,8 +8,6 @@ import (
zero "github.com/wdvxdr1123/ZeroBot"
"github.com/wdvxdr1123/ZeroBot/message"
"github.com/wdvxdr1123/ZeroBot/utils/helper"
"github.com/FloatTech/zbputils/control/order"
)
const (
@@ -19,7 +17,7 @@ const (
)
func init() {
control.Register("wangyiyun", order.AcquirePrio(), &control.Options{
control.Register("wangyiyun", &control.Options{
DisableOnDefault: false,
Help: "wangyiyun \n- 来份网易云热评",
}).OnFullMatch("来份网易云热评").SetBlock(true).Limit(ctxext.LimitByUser).