1
0
mirror of https://github.com/mgerb/ServerStatus synced 2026-01-10 03:03:04 +00:00

added embedded messages resolves #9

This commit is contained in:
2018-03-15 20:48:25 -05:00
parent 217c6c8baa
commit 8d26fba95d
9 changed files with 155 additions and 46 deletions

14
main.go
View File

@@ -1,9 +1,11 @@
package main
import (
"github.com/mgerb/serverstatus/bot"
"github.com/mgerb/serverstatus/config"
"github.com/mgerb/serverstatus/serverstatus"
"fmt"
"github.com/mgerb/ServerStatus/bot"
"github.com/mgerb/ServerStatus/config"
"github.com/mgerb/ServerStatus/serverstatus"
)
// Variables used for command line parameters
@@ -11,6 +13,12 @@ var (
BotID string
)
var version = "undefined"
func init() {
fmt.Println("Starting Server Status " + version)
}
func main() {
//read config file
config.Configure()