This commit is contained in:
shoopea 2020-06-21 19:51:38 +02:00
parent 319c091fce
commit 691fd4827f

View File

@ -56,6 +56,12 @@ func main() {
failError(err, "Registering bot") failError(err, "Registering bot")
logInfoDebug("Connected to Telegram") 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 { for {
p := Packet{} p := Packet{}