From f062abca0d07049d5ea5e0670eabfdf146e29e5d Mon Sep 17 00:00:00 2001 From: shoopea Date: Sun, 9 Jun 2019 21:02:56 +0800 Subject: [PATCH] test --- bot.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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),