typo
This commit is contained in:
parent
8032944160
commit
51e07339a0
2
bot.go
2
bot.go
@ -103,7 +103,7 @@ func botText(m *tb.Message) {
|
|||||||
b, _ := json.Marshal(m)
|
b, _ := json.Marshal(m)
|
||||||
log.Printf("botText : %s\n", string(b))
|
log.Printf("botText : %s\n", string(b))
|
||||||
|
|
||||||
if (m.Chat.ID == cfg.Bot.Depositchat || m.Chat.ID == cfg.Bot.Mainchat) && int64(m.OriginalSender) == chtwrsbotID64 {
|
if (m.Chat.ID == cfg.Bot.Depositchat || m.Chat.ID == cfg.Bot.Mainchat) && int64(m.OriginalSender.ID) == chtwrsbotID64 {
|
||||||
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