diff --git a/api/webhook/interactionserver.go b/api/webhook/interactionserver.go index 08bc898..38ed908 100644 --- a/api/webhook/interactionserver.go +++ b/api/webhook/interactionserver.go @@ -120,6 +120,7 @@ func (s *InteractionServer) handle(w http.ResponseWriter, r *http.Request) { switch ev.Data.(type) { case *discord.PingInteraction: + w.Header().Set("Content-Type", "application/json") json.NewEncoder(w).Encode(api.InteractionResponse{ Type: api.PongInteraction, })