🔥 精简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

@@ -10,8 +10,6 @@ import (
"github.com/FloatTech/zbputils/ctxext"
zero "github.com/wdvxdr1123/ZeroBot"
"github.com/wdvxdr1123/ZeroBot/message"
"github.com/FloatTech/zbputils/control/order"
)
const (
@@ -21,7 +19,7 @@ const (
var replyModes = [...]string{"青云客", "小爱"}
func init() { // 插件主体
engine := control.Register(replyServiceName, order.AcquirePrio(), &control.Options{
engine := control.Register(replyServiceName, &control.Options{
DisableOnDefault: false,
Help: "人工智能回复\n" +
"- @Bot 任意文本(任意一句话回复)\n- 设置回复模式[青云客 | 小爱]\n- ",