diff --git a/handler/steamplaying/steam_playing.go b/handler/steamplaying/steam_playing.go index 07a34c1..3deb45e 100644 --- a/handler/steamplaying/steam_playing.go +++ b/handler/steamplaying/steam_playing.go @@ -2,11 +2,11 @@ package steamplaying import ( "fmt" + "log" "regexp" "strings" "time" - "git.lxtend.com/qqbot/action" "git.lxtend.com/qqbot/constants" "git.lxtend.com/qqbot/handler" "git.lxtend.com/qqbot/model" @@ -33,7 +33,7 @@ func init() { handler.RegisterHelpInform("禁用上号通知", "steam", "禁用您在本群的steam上号通知") handler.RegisterHandler("查房", checkSteamPlaying, constants.LEVEL_USER) handler.RegisterHelpInform("查房", "steam", "查看群内成员的steam游戏状态") - // go RoundCheckSteamPlaying() + go RoundCheckSteamPlaying() } func bindSteam(msg model.Message) model.Reply { @@ -292,7 +292,8 @@ func RoundCheckSteamPlaying() { ReferOriginMsg: false, FromMsg: model.Message{GroupInfo: model.GroupInfo{GroupId: group}}, } - action.ActionManager.SendMsg(msg) + // action.ActionManager.SendMsg(msg) + log.Println(msg.ReplyMsg) } }