diff --git a/bot.go b/bot.go index 17cc101..ed0b41c 100644 --- a/bot.go +++ b/bot.go @@ -264,7 +264,7 @@ func botMsgLoad(m *tb.Message) { return } if m.ReplyTo != nil { - c = TGCommand{ + c := TGCommand{ Type: commandReplyMsg, Text: `Message found.`, FromMsgID64: int64(m.ID), @@ -272,7 +272,7 @@ func botMsgLoad(m *tb.Message) { } TGCmdQueue <- c } else { - c = TGCommand{ + c := TGCommand{ Type: commandReplyMsg, Text: `You need to reply to the message with the backup.`, FromMsgID64: int64(m.ID),