diff --git a/bot.go b/bot.go index 50f1179..ca257c6 100644 --- a/bot.go +++ b/bot.go @@ -102,6 +102,7 @@ func botText(m *tb.Message) { PrintText(m) if (m.Chat.ID == cfg.Bot.Depositchat || m.Chat.ID == cfg.Bot.Mainchat) && int64(m.OriginalSender.ID) == chtwrsbotID64 { + log.Printf("botText : forwarding message.\n") cwm := ChatWarsMessage{ TGUserID64: int64(m.Sender.ID), TGSenderUserID64: chtwrsbotID64, @@ -114,6 +115,7 @@ func botText(m *tb.Message) { MQCWMsgQueue <- cwm } else { + log.Printf("botText : printing message.\n") b, _ := json.Marshal(m) log.Printf("botText : %s\n", string(b)) }