--- a/main.go Fri May 10 23:16:01 2019 -0500
+++ b/main.go Fri May 10 23:23:35 2019 -0500
@@ -1,6 +1,8 @@
"github.com/alecthomas/kong"
"bitbucket.org/TheToyz/nowdead/run"
@@ -10,13 +12,26 @@
+type versionCmd struct{} +func (c *versionCmd) Run() error { + fmt.Printf("wasdead v%s\n", version) - Run run.RunCmd `kong:"cmd,help='Run the bot'"`
+ Run run.RunCmd `kong:"cmd,help='Run the bot'"` + Version versionCmd `kong:"cmd,help='Display the version of this program'"` - ctx := kong.Parse(&cli)
+ kong.Description("A live stream announcement bot for discord"),