From 347d5b826703a20cb046ccfc86f82fecc2a88efb Mon Sep 17 00:00:00 2001 From: Anhgelus Morhtuuzh Date: Tue, 13 May 2025 21:10:01 +0200 Subject: [PATCH] feat(command): update /credits --- commands/credits.go | 26 +++----------------------- go.mod | 1 - 2 files changed, 3 insertions(+), 24 deletions(-) diff --git a/commands/credits.go b/commands/credits.go index fb26530..d5aa42e 100644 --- a/commands/credits.go +++ b/commands/credits.go @@ -11,12 +11,12 @@ func Credits(s *discordgo.Session, i *discordgo.InteractionCreate) { { Type: discordgo.EmbedTypeRich, Title: "Crédits", - Description: "Auteur du bot : @anhgelus (https://github.com/anhgelus)\nLangage : Go 1.22\nLicence : AGPLv3", + Description: "Auteur du bot : @anhgelus (https://github.com/anhgelus)\nLangage : Go 1.24\nLicence : AGPLv3", Color: utils.Success, Fields: []*discordgo.MessageEmbedField{ { Name: "anhgelus/gokord", - Value: "v0.3.0 - MPL 2.0", + Value: "v0.6.3 - MPL 2.0", Inline: true, }, { @@ -24,29 +24,9 @@ func Credits(s *discordgo.Session, i *discordgo.InteractionCreate) { Value: "v0.28.1 - BSD-3-Clause", Inline: true, }, - { - Name: "pelletier/go-toml/v2", - Value: "v2.2.1 - MIT", - Inline: true, - }, { Name: "redis/go-redis/v9", - Value: "v9.5.1 - BSD-2-Clause", - Inline: true, - }, - { - Name: "gorm.io/gorm", - Value: "v1.25.9 - MIT", - Inline: true, - }, - { - Name: "gorm.io/driver/postgres", - Value: "v1.5.7 - MIT", - Inline: true, - }, - { - Name: "other", - Value: "Et leurs dépendances !", + Value: "v9.8.0 - BSD-2-Clause", Inline: true, }, }, diff --git a/go.mod b/go.mod index f11cdd8..c80b3b4 100644 --- a/go.mod +++ b/go.mod @@ -6,7 +6,6 @@ require ( github.com/anhgelus/gokord v0.6.3 github.com/bwmarrin/discordgo v0.28.1 github.com/redis/go-redis/v9 v9.8.0 - gorm.io/gorm v1.26.1 ) require (