修复help显示问题 (#473)

* 修复help显示问题

* Update command.go

* Update wenxinAI.go

* Update README.md
This commit is contained in:
方柳煜
2022-10-27 11:04:10 +08:00
committed by GitHub
parent 852629fa2e
commit 71434232fe
4 changed files with 10 additions and 8 deletions

View File

@@ -277,20 +277,20 @@ func init() { // 插件主体
"————————————————————\n" +
"- 文心摘要 (x字的)[文章内容]\n" +
"————————————————————\n" +
"- 文心小说 (x字的)[小说上文]" +
"- 文心小说 (x字的)[小说上文]\n" +
"————————————————————\n" +
"- 文心对联 [上联]\n" +
"————————————————————\n" +
"- 文心问答 [问题]" +
"————————————————————\n" +
"- 文心补全 [带“_”的填空题]" +
"- 文心补全 [带“_”的填空题]\n" +
"————————————————————\n" +
"- 文心自定义 [prompt]\n" +
"prompt: [问题描述] [问题类型]:[题目] [解答类型]:[解题必带内容]\n" +
"指令示例:\n" +
"文心自定义 请写出下面这道题的解题过程。 题目:养殖场养鸭376只,养鸡的只数比鸭多258只,这个养殖场一共养鸭和鸡多少只 解:\n" +
"文心自定义 请写出下面这道题的解题过程。\\n题目:养殖场养鸭376只,养鸡的只数比鸭多258只,这个养殖场一共养鸭和鸡多少只?\\n解:\n" +
"文心自定义 1+1=?\n" +
"文心自定义 歌曲名:大风车转啊转 歌词:",
"文心自定义 歌曲名:大风车转啊转\\n歌词:",
}).ApplySingle(single.New(
single.WithKeyFn(func(ctx *zero.Ctx) int64 { return ctx.Event.GroupID }),
single.WithPostFn[int64](func(ctx *zero.Ctx) {