diff options
| author | Anhgelus Morhtuuzh <william@herges.fr> | 2025-08-21 15:41:40 +0200 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <william@herges.fr> | 2025-08-21 15:41:40 +0200 |
| commit | e00f05d7c636f9a1b7a10930402cfeb9331f6631 (patch) | |
| tree | a84053c6f902f9769ac7a88c17d208a9fcd1ab0b /main.go | |
| parent | d98e5704f9a3d4fd98800bbc4bd48e1b0a442d3f (diff) | |
feat(command): fetch stats
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -84,6 +84,9 @@ func main() { creditsCmd := cmd.New("credits", "Crédits"). SetHandler(commands.Credits) + statsCmd := cmd.New("stats", "Affiche des stats :D"). + SetHandler(commands.Stats) + innovations, err := gokord.LoadInnovationFromJson(updatesData) if err != nil { panic(err) @@ -116,6 +119,7 @@ func main() { resetCmd, resetUserCmd, creditsCmd, + statsCmd, }, AfterInit: func(dg *discordgo.Session) { d := 24 * time.Hour |
