From b61a834b608df3d5e617912eefb28924ef3a46df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?William=20Herg=C3=A8s?= Date: Fri, 26 Sep 2025 18:30:57 +0200 Subject: build(gokord): bump to latest nightly --- commands/credits.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'commands/credits.go') diff --git a/commands/credits.go b/commands/credits.go index e5fd711..b303834 100644 --- a/commands/credits.go +++ b/commands/credits.go @@ -3,10 +3,11 @@ package commands import ( "github.com/anhgelus/gokord" "github.com/anhgelus/gokord/cmd" - discordgo "github.com/nyttikord/gokord" + "github.com/nyttikord/gokord/bot" + "github.com/nyttikord/gokord/event" ) -func Credits(s *discordgo.Session, i *discordgo.InteractionCreate, _ cmd.OptionMap, resp *cmd.ResponseBuilder) { +func Credits(s bot.Session, _ *event.InteractionCreate, _ cmd.OptionMap, resp *cmd.ResponseBuilder) { msg := "**Les Copaings**, le bot gérant les serveurs privés de [anhgelus]().\n" msg += "Code source : \n\n" msg += "Host du bot : " + gokord.BaseCfg.GetAuthor() + ".\n\n" -- cgit v1.2.3