aboutsummaryrefslogtreecommitdiff
path: root/commands/deploy.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/deploy.go
parent443286aabc9d9e433625e0dd99e678754bbc74e5 (diff)
build(gokord): update to latest nightly
Diffstat (limited to 'commands/deploy.go')
-rw-r--r--commands/deploy.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/deploy.go b/commands/deploy.go
index ee98d07..e652d43 100644
--- a/commands/deploy.go
+++ b/commands/deploy.go
@@ -73,6 +73,6 @@ func Deploy(ctx context.Context, dg bot.Session) error {
guildID = dg.GuildAPI().State.Guilds()[0]
bot.Logger(ctx).Debug("using guild as debug", "guild", guildID)
}
- _, err := dg.InteractionAPI().CommandBulkOverwrite(dg.SessionState().Application().ID, guildID, commands).Do(ctx)
+ _, err := interaction.OverwriteCommands(dg.SessionState().Application().ID, guildID, commands).Do(ctx)
return err
}