mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2026-02-12 02:00:24 +00:00
✨ update control
This commit is contained in:
@@ -13,6 +13,7 @@ import (
|
||||
|
||||
"github.com/FloatTech/zbputils/web"
|
||||
|
||||
ctrl "github.com/FloatTech/zbpctrl"
|
||||
"github.com/FloatTech/zbputils/control"
|
||||
"github.com/FloatTech/zbputils/ctxext"
|
||||
"github.com/tidwall/gjson"
|
||||
@@ -21,7 +22,7 @@ import (
|
||||
)
|
||||
|
||||
func init() {
|
||||
control.Register("music", &control.Options{
|
||||
control.Register("music", &ctrl.Options[*zero.Ctx]{
|
||||
DisableOnDefault: false,
|
||||
Help: "点歌\n" +
|
||||
"- 点歌[xxx]\n" +
|
||||
|
||||
Reference in New Issue
Block a user