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:
14
main.go
14
main.go
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user