add: 添加Brief (#482)

* add brief

* fix: README中插件位置
This commit is contained in:
DreamZero
2022-11-04 12:12:47 +08:00
committed by GitHub
parent 68a9ecf995
commit 88824126f7
85 changed files with 240 additions and 191 deletions

View File

@@ -16,10 +16,11 @@ var (
func init() { // 插件主体
engine := control.Register("tracemoe", &ctrl.Options[*zero.Ctx]{
DisableOnDefault: false,
Help: "tracemoe\n- 搜番 | 搜索番剧[图片]",
Brief: "以图搜番",
Help: "- 以图搜番 | 搜番 | 搜索番剧[图片]",
})
// 以图搜图
engine.OnKeywordGroup([]string{"搜番", "搜索番剧"}, zero.MustProvidePicture).SetBlock(true).
engine.OnKeywordGroup([]string{"以图搜番", "搜番", "搜索番剧"}, zero.MustProvidePicture).SetBlock(true).
Handle(func(ctx *zero.Ctx) {
// 开始搜索图片
ctx.SendChain(message.Text("少女祈祷中......"))