From 44aa5f753ea0e5cdf43c2ed1014b422a64d72a9a Mon Sep 17 00:00:00 2001 From: shoopea Date: Sun, 9 Jun 2019 19:52:05 +0800 Subject: [PATCH] test --- bot.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bot.go b/bot.go index be5ed61..0a43c15 100644 --- a/bot.go +++ b/bot.go @@ -285,9 +285,12 @@ func botMsgLoad(m *tb.Message) { } TGCmdQueue <- c + x, err := json.Marshal(f) + logOnError(err, "botMsgLoad : Marshal") + log.Printf("URL : %s\n", b.URL) log.Printf("Token : %s\n", b.Token) - log.Printf("FilePath : %s\n", f.FilePath) + log.Printf("File : %s\n", string(x)) //url := fmt.Sprintf("%s/file/bot%s/%s", b.URL, b.Token, f.FilePath)