feat: enhance help inform structure and update command descriptions across various handlers

This commit is contained in:
lixiangwuxian
2024-12-26 11:35:34 +08:00
parent 48dd4b17de
commit a79991c4ff
18 changed files with 66 additions and 41 deletions

View File

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