From c825b9cfcba4522dd93f0427f14c2ecc7edc2003 Mon Sep 17 00:00:00 2001 From: shoopea Date: Fri, 17 Jan 2020 00:00:30 +0800 Subject: [PATCH] test --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 59b92f5..c27297a 100644 --- a/main.go +++ b/main.go @@ -98,7 +98,7 @@ func main() { initCache(*initdb) // Registering bot - bot, err := tb.NewBot(tb.Settings{ + bot, err = tb.NewBot(tb.Settings{ Token: cfg.Telegram.Token, URL: cfg.Telegram.URL, Poller: &tb.LongPoller{Timeout: 10 * time.Second},