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{}