From 2caf63b36da56c35f974fef2807bd73051bdeaa4 Mon Sep 17 00:00:00 2001 From: shoopea Date: Sun, 9 Jun 2019 18:03:23 +0800 Subject: [PATCH] test --- bot.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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),