From a57ae5f1f65d20765c5f6f93845b98f8972036e1 Mon Sep 17 00:00:00 2001 From: darius Date: Sat, 4 May 2024 18:43:16 +0200 Subject: [PATCH] crash fix --- handlers/httpCommand.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/handlers/httpCommand.go b/handlers/httpCommand.go index aa4893d..fba98ee 100644 --- a/handlers/httpCommand.go +++ b/handlers/httpCommand.go @@ -56,6 +56,8 @@ func HttpCommand(data discordgo.ApplicationCommandInteractionData, s *discordgo. if err != nil { log.Fatalf("An Error Occured %v", err) } + default: + return //todo add handeling later } byts, _ := httputil.DumpResponse(response, true)