This commit is contained in:
shoopea 2019-12-29 19:06:13 +08:00
parent ee92709079
commit cce71562f1

1
bot.go
View File

@ -102,7 +102,6 @@ func botText(m *tb.Message) {
PrintText(m) PrintText(m)
if (m.Chat.ID == cfg.Bot.Depositchat || m.Chat.ID == cfg.Bot.Mainchat) && m.IsForwarded() && int64(m.OriginalSender.ID) == chtwrsbotID64 { if (m.Chat.ID == cfg.Bot.Depositchat || m.Chat.ID == cfg.Bot.Mainchat) && m.IsForwarded() && int64(m.OriginalSender.ID) == chtwrsbotID64 {
log.Printf("botText : forwarding message.\n")
cwm := ChatWarsMessage{ cwm := ChatWarsMessage{
TGUserID64: int64(m.Sender.ID), TGUserID64: int64(m.Sender.ID),
TGSenderUserID64: chtwrsbotID64, TGSenderUserID64: chtwrsbotID64,