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

@@ -8,9 +8,9 @@ import (
func init() {
handler.RegisterHandler("监听新债", listenBond, constants.LEVEL_USER)
handler.RegisterHelpInform("监听新债", "监听新债 开启新债监听")
handler.RegisterHelpInform("监听新债", "新债", "开启新债监听")
handler.RegisterHandler("取消监听新债", unListenBond, constants.LEVEL_USER)
handler.RegisterHelpInform("取消监听新债", "取消监听新债 关闭新债监听")
handler.RegisterHelpInform("取消监听新债", "新债", "关闭新债监听")
}
func listenBond(msg model.Message) (reply model.Reply) {