aboutsummaryrefslogtreecommitdiff
path: root/commands/credits.go
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <william@herges.fr>2026-03-02 12:38:58 +0100
committerAnhgelus Morhtuuzh <william@herges.fr>2026-03-02 12:38:58 +0100
commite566489af26fc9133a3509251812910e03b90c8c (patch)
tree186a7aac60c64e3466f7a84f6fcf87e811b2486d /commands/credits.go
parent443286aabc9d9e433625e0dd99e678754bbc74e5 (diff)
build(gokord): update to latest nightly
Diffstat (limited to 'commands/credits.go')
-rw-r--r--commands/credits.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/credits.go b/commands/credits.go
index a27d2cc..403329e 100644
--- a/commands/credits.go
+++ b/commands/credits.go
@@ -15,7 +15,7 @@ func Credits(ctx context.Context, dg bot.Session, i *interaction.ApplicationComm
msg += "Utilise :\n- [nyttikord/gokord](<https://github.com/nyttikord/gokord>)\n"
msg += "- [Inter](<https://github.com/rsms/inter>)"
resp := interaction.NewMessageResponse().Message(msg).Response()
- err := dg.InteractionAPI().Respond(i.Interaction, resp).Do(ctx)
+ err := interaction.Respond(i.Interaction, resp).Do(ctx)
if err != nil {
bot.Logger(ctx).Error("sending credits", "error", err)
}