From 15c37822e751049d5c44ad43e003dc415c2d5a2b Mon Sep 17 00:00:00 2001 From: shoopea Date: Sun, 21 Jun 2020 19:54:07 +0200 Subject: [PATCH] test --- bot.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bot.go b/bot.go index 67c851a..fe0a93c 100644 --- a/bot.go +++ b/bot.go @@ -1,6 +1,8 @@ package main import ( + "encoding/json" + tb "gopkg.in/tucnak/telebot.v2" ) @@ -33,7 +35,7 @@ func botDocument(m *tb.Message) { func botChannelPost(m *tb.Message) { PrintText(m) b, _ := json.Marshal(m) - llogInfoDebug("botChannelPost : %s\n", string(b)) + logInfoDebug("botChannelPost : %s\n", string(b)) // channel posts only }