diff --git a/cmd/bot/main.go b/cmd/bot/main.go index 2414728..42adf85 100644 --- a/cmd/bot/main.go +++ b/cmd/bot/main.go @@ -13,7 +13,7 @@ import ( "code.destrealm.net/zancarius/justusbot/internal/commands" ) -// Send any text message to the bot after the bot has been started +var Version string func main() { var rootfs vfs.VFS @@ -33,7 +33,12 @@ func main() { os.Exit(1) } + if Version == "" { + Version = "devbuild" + } + cmd := cli.Command{ + Version: Version, Flags: []cli.Flag{ &cli.StringFlag{ Name: "config",