mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2026-02-06 15:20:22 +00:00
✨ update control
This commit is contained in:
@@ -3,6 +3,7 @@ package translation
|
||||
|
||||
import (
|
||||
"github.com/FloatTech/AnimeAPI/tl"
|
||||
ctrl "github.com/FloatTech/zbpctrl"
|
||||
"github.com/FloatTech/zbputils/control"
|
||||
"github.com/FloatTech/zbputils/ctxext"
|
||||
zero "github.com/wdvxdr1123/ZeroBot"
|
||||
@@ -10,7 +11,7 @@ import (
|
||||
)
|
||||
|
||||
func init() {
|
||||
control.Register("translation", &control.Options{
|
||||
control.Register("translation", &ctrl.Options[*zero.Ctx]{
|
||||
DisableOnDefault: false,
|
||||
Help: "翻译\n" +
|
||||
">TL 你好",
|
||||
|
||||
Reference in New Issue
Block a user