diff --git a/bot.go b/bot.go index 5c96d1e..1478733 100644 --- a/bot.go +++ b/bot.go @@ -287,7 +287,7 @@ func botMsgLoad(m *tb.Message) { TGCmdQueue <- c r, err := b.GetFile(&f) logOnError(err, "botMsgLoad : GetFile") - c := TGCommand{ + c = TGCommand{ Type: commandReplyMsg, Text: "File downloaded ?", FromMsgID64: int64(m.ID), @@ -295,7 +295,7 @@ func botMsgLoad(m *tb.Message) { } TGCmdQueue <- c if f.OnDisk() { - c := TGCommand{ + c = TGCommand{ Type: commandReplyMsg, Text: "Yes !", FromMsgID64: int64(m.ID), @@ -303,7 +303,7 @@ func botMsgLoad(m *tb.Message) { } TGCmdQueue <- c } else { - c := TGCommand{ + c = TGCommand{ Type: commandReplyMsg, Text: "No !", FromMsgID64: int64(m.ID),