test
This commit is contained in:
parent
d09f778522
commit
328931f97c
3
bot.go
3
bot.go
@ -101,6 +101,9 @@ func botQuery(q *tb.Query) {
|
||||
func botText(m *tb.Message) {
|
||||
PrintText(m)
|
||||
|
||||
log.Printf("botText : m.Chat.ID : %d\n", m.Chat.ID)
|
||||
log.Printf("botText : m.OriginalSender.ID : %d\n", m.OriginalSender.ID)
|
||||
|
||||
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{
|
||||
|
Loading…
Reference in New Issue
Block a user