diff options
| author | Anhgelus Morhtuuzh <anhgelus.morhtuuzh@proton.me> | 2024-04-18 12:45:25 +0200 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <anhgelus.morhtuuzh@proton.me> | 2024-04-18 12:45:25 +0200 |
| commit | 67ad70ec84ba37ab088999e2c28e5d089c07d090 (patch) | |
| tree | c47c0ea4197c82f4e62e5c470cff23358d6a6f4e | |
| parent | 55c9a2a75f4b38591428b613a88d3e1caba9c68a (diff) | |
feat(status): new status with version of the bot
| -rw-r--r-- | main.go | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -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{ |
