feat(command): update /credits

This commit is contained in:
Anhgelus Morhtuuzh 2025-05-13 21:10:01 +02:00
parent f56e10514e
commit 347d5b8267
Signed by: anhgelus
GPG key ID: CAD341EFA92DDDE5
2 changed files with 3 additions and 24 deletions

View file

@ -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,
},
},

1
go.mod
View file

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