From e53db2c345923794797faae8d9828b7e55d7445a Mon Sep 17 00:00:00 2001 From: toast Date: Fri, 20 Oct 2023 23:43:25 +1100 Subject: [PATCH] Remove debug logs from production --- events/interaction.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/events/interaction.go b/events/interaction.go index 6fb4605..49879b6 100644 --- a/events/interaction.go +++ b/events/interaction.go @@ -109,7 +109,6 @@ func ListenForCommand(e *events.ApplicationCommandInteractionCreate) { jsonData := jsonDataStruct{} jsonDataBytes, _ := json.Marshal(readData) json.Unmarshal(jsonDataBytes, &jsonData) - fmt.Println(jsonData) banRecordsCh, _ := e.SlashCommandInteractionData().OptChannel("ban-records") googleSheetsURL, _ := e.SlashCommandInteractionData().OptString("google-sheets") @@ -171,7 +170,6 @@ func ListenForCommand(e *events.ApplicationCommandInteractionCreate) { } } - fmt.Printf("google-sheets: %v\n", googleSheetsURL) if err := e.CreateMessage(discord.MessageCreate{ Embeds: []discord.Embed{{Title: "Config saved!", Color: mainEmbedColor}}, }); err != nil {