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,11 +13,11 @@ import (
func init() {
handler.RegisterHandler("kw", setKw, constants.LEVEL_TRUSTED)
handler.RegisterHelpInform("kw", "kw [关键词] [回复内容] 添加关键词回复,kw [关键词] 删除全部关键词回复")
handler.RegisterHelpInform("kw [关键词] [回复内容]", "kw", "添加关键词回复,kw [关键词] 删除关键词下全部回复")
handler.RegisterHandler("kwd", deleteKw, constants.LEVEL_TRUSTED)
handler.RegisterHelpInform("kwd [关键词] [回复内容]", "kw", "删除关键词下指定回复")
handler.RegisterHandler("kwall", getGroupAllKW, constants.LEVEL_TRUSTED)
handler.RegisterHelpInform("kwall", "kwall 查看所有关键词回复")
handler.RegisterHelpInform("kwall", "kw", "kwall 查看本群所有关键词回复")
initKw()
}