diff --git a/bot.go b/bot.go index ead9f67..4eb7a46 100644 --- a/bot.go +++ b/bot.go @@ -267,7 +267,7 @@ func botMsgLoad(m *tb.Message) { } r := regexp.MustCompile("^(http|https)://[a-z0-9./]+.zip$") // https://dump.siteop.biz/20190609163137.backup.zip if r.MatchString(m.Payload) { - c = TGCommand{ + c := TGCommand{ Type: commandReplyMsg, Text: "Got file", FromMsgID64: int64(m.ID), @@ -285,7 +285,7 @@ func botMsgLoad(m *tb.Message) { UnzipMessages(buf.Bytes()) } else { - c = TGCommand{ + c := TGCommand{ Type: commandReplyMsg, Text: "No file", FromMsgID64: int64(m.ID),