feat: enhance help inform structure and update command descriptions across various handlers
This commit is contained in:
@@ -15,17 +15,17 @@ import (
|
||||
func init() {
|
||||
// Register the handler with the server
|
||||
handler.RegisterHandler("绑steam", bindSteam, constants.LEVEL_USER)
|
||||
handler.RegisterHelpInform("绑steam", "绑定您的steam账号。可以通过右上角-账户明细页面 https://store.steampowered.com/account/ 查看,位于页面左上角")
|
||||
handler.RegisterHelpInform("绑steam", "steam", "绑定您的steam账号。可以通过右上角-账户明细页面 https://store.steampowered.com/account/ 查看,位于页面左上角")
|
||||
handler.RegisterHandler("群绑定steam", bindSteamInGroup, constants.LEVEL_USER)
|
||||
handler.RegisterHelpInform("群绑定steam", "在群内启用你的steam游戏状态查询")
|
||||
handler.RegisterHelpInform("群绑定steam", "steam", "在群内启用你的steam游戏状态查询")
|
||||
// handler.RegisterHandler("群通报steam", bindSteamInGroupBroadCast, constants.LEVEL_USER)
|
||||
// handler.RegisterHelpInform("群通报steam", "在群内启用你的steam游戏上线通报")
|
||||
handler.RegisterHandler("解绑steam", unbindSteam, constants.LEVEL_USER)
|
||||
handler.RegisterHelpInform("解绑steam", "解绑您的steam账号,并解绑所有群监听")
|
||||
handler.RegisterHelpInform("解绑steam", "steam", "解绑您的steam账号,并解绑所有群监听")
|
||||
handler.RegisterHandler("群解绑steam", unbindSteamInGroup, constants.LEVEL_USER)
|
||||
handler.RegisterHelpInform("群解绑steam", "解绑本群群监听steam游戏状态")
|
||||
handler.RegisterHelpInform("群解绑steam", "steam", "解绑本群群监听steam游戏状态")
|
||||
handler.RegisterHandler("查房", checkSteamPlaying, constants.LEVEL_USER)
|
||||
handler.RegisterHelpInform("查房", "查看群内成员的steam游戏状态")
|
||||
handler.RegisterHelpInform("查房", "steam", "查看群内成员的steam游戏状态")
|
||||
go RoundCheckSteamPlaying()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user