From 67ad70ec84ba37ab088999e2c28e5d089c07d090 Mon Sep 17 00:00:00 2001 From: Anhgelus Morhtuuzh Date: Thu, 18 Apr 2024 12:45:25 +0200 Subject: [PATCH] feat(status): new status with version of the bot --- main.go | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/main.go b/main.go index 9ba35f5..34810d3 100644 --- a/main.go +++ b/main.go @@ -13,6 +13,10 @@ import ( var token string +const ( + Version = "2.2.0" // git version: 0.2.0 (it's the v2 of the bot) +) + func init() { flag.StringVar(&token, "token", "", "token of the bot") flag.Parse() @@ -125,17 +129,18 @@ func main() { { Type: gokord.WatchStatus, Content: "Les Copaings", - Url: "", }, { Type: gokord.GameStatus, Content: "dev par @anhgelus", - Url: "", }, { Type: gokord.ListeningStatus, Content: "http 418, I'm a tea pot", - Url: "", + }, + { + Type: gokord.GameStatus, + Content: "Les Copaings Bot " + Version, }, }, Commands: []*gokord.GeneralCommand{