Add banner

This commit is contained in:
Adrian Gallagher
2018-01-19 17:30:08 +11:00
parent 5a2c81346c
commit 5ca9db8ad4

10
main.go
View File

@@ -32,6 +32,15 @@ type Bot struct {
configFile string
}
const banner = `
______ ______ __ ______ __
/ ____/____ / ____/_____ __ __ ____ / /_ ____ /_ __/_____ ______ ____/ /___ _____
/ / __ / __ \ / / / ___// / / // __ \ / __// __ \ / / / ___// __ // __ // _ \ / ___/
/ /_/ // /_/ // /___ / / / /_/ // /_/ // /_ / /_/ // / / / / /_/ // /_/ // __// /
\____/ \____/ \____//_/ \__, // .___/ \__/ \____//_/ /_/ \__,_/ \__,_/ \___//_/
/____//_/
`
var bot Bot
func main() {
@@ -53,6 +62,7 @@ func main() {
}
bot.config = &config.Cfg
fmt.Println(banner)
fmt.Println(BuildVersion(false))
log.Printf("Loading config file %s..\n", bot.configFile)