aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <anhgelus.morhtuuzh@proton.me>2024-04-18 12:45:25 +0200
committerAnhgelus Morhtuuzh <anhgelus.morhtuuzh@proton.me>2024-04-18 12:45:25 +0200
commit67ad70ec84ba37ab088999e2c28e5d089c07d090 (patch)
treec47c0ea4197c82f4e62e5c470cff23358d6a6f4e
parent55c9a2a75f4b38591428b613a88d3e1caba9c68a (diff)
feat(status): new status with version of the bot
-rw-r--r--main.go11
1 files 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{