mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2026-02-13 02:30:26 +00:00
✨ update control
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
package moyucalendar
|
||||
|
||||
import (
|
||||
ctrl "github.com/FloatTech/zbpctrl"
|
||||
"github.com/FloatTech/zbputils/control"
|
||||
"github.com/FloatTech/zbputils/web"
|
||||
zero "github.com/wdvxdr1123/ZeroBot"
|
||||
@@ -9,7 +10,7 @@ import (
|
||||
)
|
||||
|
||||
func init() {
|
||||
control.Register("moyucalendar", &control.Options{
|
||||
control.Register("moyucalendar", &ctrl.Options[*zero.Ctx]{
|
||||
DisableOnDefault: true,
|
||||
Help: "摸鱼人日历\n" +
|
||||
"- /启用 moyucalendar\n" +
|
||||
|
||||
Reference in New Issue
Block a user