feat(command): update /credits
This commit is contained in:
parent
f56e10514e
commit
347d5b8267
2 changed files with 3 additions and 24 deletions
|
@ -11,12 +11,12 @@ func Credits(s *discordgo.Session, i *discordgo.InteractionCreate) {
|
||||||
{
|
{
|
||||||
Type: discordgo.EmbedTypeRich,
|
Type: discordgo.EmbedTypeRich,
|
||||||
Title: "Crédits",
|
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,
|
Color: utils.Success,
|
||||||
Fields: []*discordgo.MessageEmbedField{
|
Fields: []*discordgo.MessageEmbedField{
|
||||||
{
|
{
|
||||||
Name: "anhgelus/gokord",
|
Name: "anhgelus/gokord",
|
||||||
Value: "v0.3.0 - MPL 2.0",
|
Value: "v0.6.3 - MPL 2.0",
|
||||||
Inline: true,
|
Inline: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -24,29 +24,9 @@ func Credits(s *discordgo.Session, i *discordgo.InteractionCreate) {
|
||||||
Value: "v0.28.1 - BSD-3-Clause",
|
Value: "v0.28.1 - BSD-3-Clause",
|
||||||
Inline: true,
|
Inline: true,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
Name: "pelletier/go-toml/v2",
|
|
||||||
Value: "v2.2.1 - MIT",
|
|
||||||
Inline: true,
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
Name: "redis/go-redis/v9",
|
Name: "redis/go-redis/v9",
|
||||||
Value: "v9.5.1 - BSD-2-Clause",
|
Value: "v9.8.0 - 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 !",
|
|
||||||
Inline: true,
|
Inline: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
1
go.mod
1
go.mod
|
@ -6,7 +6,6 @@ require (
|
||||||
github.com/anhgelus/gokord v0.6.3
|
github.com/anhgelus/gokord v0.6.3
|
||||||
github.com/bwmarrin/discordgo v0.28.1
|
github.com/bwmarrin/discordgo v0.28.1
|
||||||
github.com/redis/go-redis/v9 v9.8.0
|
github.com/redis/go-redis/v9 v9.8.0
|
||||||
gorm.io/gorm v1.26.1
|
|
||||||
)
|
)
|
||||||
|
|
||||||
require (
|
require (
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue