From c23a1c796977dca16ee19a00937bde8c878256f7 Mon Sep 17 00:00:00 2001 From: vaporvee Date: Thu, 22 Feb 2024 09:46:27 +0100 Subject: [PATCH] whoops wrong print --- register_commands.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/register_commands.go b/register_commands.go index ce7eb35..72d147a 100644 --- a/register_commands.go +++ b/register_commands.go @@ -34,7 +34,7 @@ func ready(s *discordgo.Session, event *discordgo.Ready) { for _, command := range commands { if !slices.Contains(existingCommandNames, command.Definition.Name) || slices.Contains(os.Args, "--update") { cmd, err := s.ApplicationCommandCreate(s.State.User.ID, guild.ID, &command.Definition) - fmt.Printf("\nDeleted command \"%s\"", cmd.Name) + fmt.Printf("\nAdded command \"%s\"", cmd.Name) if err != nil { fmt.Println("error creating command,", err) continue