From 691fd4827f23b0727d81ee7829620d3bf69b5931 Mon Sep 17 00:00:00 2001 From: shoopea Date: Sun, 21 Jun 2020 19:51:38 +0200 Subject: [PATCH] test --- main.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/main.go b/main.go index d99739d..2785c9a 100644 --- a/main.go +++ b/main.go @@ -56,6 +56,12 @@ func main() { failError(err, "Registering bot") logInfoDebug("Connected to Telegram") + go BotHandlers(bot) + u := tb.User{ + ID: int(cfg.Bot.Admin), + } + bot.Send(&u, fmt.Sprintf("Started (%s-b%s - %s)", githash, commits, buildstamp)) + for { p := Packet{}