feat: 添加帮助功能

This commit is contained in:
lixiangwuxian
2024-10-15 23:07:49 +08:00
parent ea3ef541e2
commit 48891fbd0a
12 changed files with 217 additions and 33 deletions

View File

@@ -8,7 +8,9 @@ import (
func init() {
handler.RegisterHandler("喜报", xiBao)
handler.RegisterHelpInform("喜报", "喜报 [内容] 生成喜报图片,支持换行")
handler.RegisterHandler("悲报", beiBao)
handler.RegisterHelpInform("悲报", "悲报 [内容] 生成悲报图片,支持换行")
}
func xiBao(msg model.Message) (reply model.Reply) {