mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2026-02-12 02:00:24 +00:00
🔥 ⚡️ 🎨 优化代码结构
This commit is contained in:
@@ -15,7 +15,7 @@ import (
|
||||
"github.com/FloatTech/zbputils/ctxext"
|
||||
"github.com/FloatTech/zbputils/process"
|
||||
|
||||
"github.com/FloatTech/ZeroBot-Plugin/order"
|
||||
"github.com/FloatTech/zbputils/control/order"
|
||||
)
|
||||
|
||||
func tl(d string) ([]byte, error) {
|
||||
@@ -38,7 +38,7 @@ func tl(d string) ([]byte, error) {
|
||||
}
|
||||
|
||||
func init() {
|
||||
control.Register("translation", order.PrioTranslation, &control.Options{
|
||||
control.Register("translation", order.AcquirePrio(), &control.Options{
|
||||
DisableOnDefault: false,
|
||||
Help: "翻译\n" +
|
||||
">TL 你好",
|
||||
|
||||
Reference in New Issue
Block a user