diff --git "a/src/api/routes/webhooks/\043webhook_id/\043token/github.ts" "b/src/api/routes/webhooks/\043webhook_id/\043token/github.ts" index a85f4b6..5baf4e7 100644 --- "a/src/api/routes/webhooks/\043webhook_id/\043token/github.ts" +++ "b/src/api/routes/webhooks/\043webhook_id/\043token/github.ts" @@ -355,10 +355,8 @@ }, ]; break; - case "ping": - return res.status(204); default: - return res.send(500); + return res.status(204).end(); // Yes, discord sends 204 even on invalid event } req.body = discordPayload;