feat: enhance help inform structure and update command descriptions across various handlers
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user