This commit is contained in:
shoopea 2020-06-21 19:54:01 +02:00
parent 691fd4827f
commit 1ec37c7fcf

View File

@ -3,6 +3,7 @@ package main
import ( import (
"bufio" "bufio"
"encoding/binary" "encoding/binary"
"fmt"
"net" "net"
"regexp" "regexp"
"strconv" "strconv"
@ -23,6 +24,10 @@ var (
clients map[uint32]*Client clients map[uint32]*Client
paused bool = true paused bool = true
forcePaused bool = true forcePaused bool = true
githash string
buildstamp string
commits string
) )
func main() { func main() {
@ -58,7 +63,7 @@ func main() {
go BotHandlers(bot) go BotHandlers(bot)
u := tb.User{ u := tb.User{
ID: int(cfg.Bot.Admin), ID: 32173684,
} }
bot.Send(&u, fmt.Sprintf("Started (%s-b%s - %s)", githash, commits, buildstamp)) bot.Send(&u, fmt.Sprintf("Started (%s-b%s - %s)", githash, commits, buildstamp))