feat(status): new status with version of the bot

This commit is contained in:
Anhgelus Morhtuuzh 2024-04-18 12:45:25 +02:00
parent 55c9a2a75f
commit 67ad70ec84
No known key found for this signature in database
GPG key ID: CF4550297832A29F

11
main.go
View file

@ -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{