From ceb38d58306ae0cc1e5e238ec612090d4a148324 Mon Sep 17 00:00:00 2001 From: lixiangwuxian Date: Tue, 25 Mar 2025 10:05:01 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9B=B4=E6=96=B0=20RoundCheckSteamPlay?= =?UTF-8?q?ing=20=E5=87=BD=E6=95=B0=E4=B8=AD=E7=9A=84=20FromMsg=20?= =?UTF-8?q?=E4=BB=A5=E4=BD=BF=E7=94=A8=E9=85=8D=E7=BD=AE=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E5=99=A8=E8=8E=B7=E5=8F=96=E6=8A=A5=E5=91=8A=E7=BB=84=20ID?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- handler/steamplaying/steam_playing.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/handler/steamplaying/steam_playing.go b/handler/steamplaying/steam_playing.go index 5fa3265..2b665ab 100644 --- a/handler/steamplaying/steam_playing.go +++ b/handler/steamplaying/steam_playing.go @@ -7,6 +7,7 @@ import ( "strings" "time" + "git.lxtend.com/qqbot/config" "git.lxtend.com/qqbot/constants" "git.lxtend.com/qqbot/handler" "git.lxtend.com/qqbot/model" @@ -281,7 +282,8 @@ func RoundCheckSteamPlaying() { msg := model.Reply{ ReplyMsg: "速报:\n" + strings.Join(gameList, "\n"), ReferOriginMsg: false, - FromMsg: model.Message{GroupInfo: model.GroupInfo{GroupId: group}}, + // FromMsg: model.Message{GroupInfo: model.GroupInfo{GroupId: group}}, + FromMsg: model.Message{GroupInfo: model.GroupInfo{GroupId: config.ConfigManager.GetConfig().Management.ReportGroup}}, } // action.ActionManager.SendMsg(msg) log.Println(msg.ReplyMsg)