test
This commit is contained in:
parent
319c091fce
commit
691fd4827f
6
main.go
6
main.go
@ -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{}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user