test
This commit is contained in:
parent
ee92709079
commit
cce71562f1
1
bot.go
1
bot.go
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user