test
This commit is contained in:
parent
691fd4827f
commit
1ec37c7fcf
7
main.go
7
main.go
@ -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))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user